git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git cvsimport and deleted files

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 20, 2008, 12:49 UTC
Message-ID
<alpine.DEB.1.00.0807201448020.3305@eeepc-johanness>
In-Reply-To
<18563.10979.379533.580413@cargo.ozlabs.ibm.com>
Hi,
On Sun, 20 Jul 2008, Paul Mackerras wrote:
Show 5 quoted lines
> I just tried importing the CVS repository for a long-running project
> (ppp) into git using git cvsimport.  It looks like git cvsimport
> doesn't notice when files have been deleted, so files that used to be
> present and were subsequently deleted are present in the git tree for
> the most recent commit.

I never had that problem. See http://repo.or.cz/w/libvncserver.git?a=commit;h=8dead0759febaa7176507e1bde13ebd9d2a30720 for a commit that was imported with cvsimport.

So your issue must lie somewhere else.

BTW do you have the repository locally? Then you should import with cvs2svn or parsecvs instead. These programs are both faster and more accurate than cvsimport. And AFAIK you can use cvsimport on the generated repositories to update them incrementally.

Ciao, Dscho

Previous: Paul MackerrasNext: Lars Noschinski
Message 2 of 4 in “git cvsimport and deleted files”
  1. Paul MackerrasJul 20, 2008
  2. Johannes SchindelinJul 20, 2008
  3. Lars NoschinskiJul 20, 2008
  4. Lars NoschinskiJul 20, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.