git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git cvsimport and deleted files
@ 2008-07-20 12:09 Paul Mackerras
  2008-07-20 12:49 ` Johannes Schindelin
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Mackerras @ 2008-07-20 12:09 UTC (permalink / raw)
  To: git

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.

Is this a known problem?  Is it a limitation of cvsps?  I know that
cvs doesn't represent deletions explicitly anywhere, so I guess it's
not surprising, but it is a bit annoying.

Paul.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git cvsimport and deleted files
  2008-07-20 12:09 git cvsimport and deleted files Paul Mackerras
@ 2008-07-20 12:49 ` Johannes Schindelin
  2008-07-20 18:04   ` Lars Noschinski
  2008-07-20 18:05   ` Lars Noschinski
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes Schindelin @ 2008-07-20 12:49 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: git

Hi,

On Sun, 20 Jul 2008, Paul Mackerras wrote:

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git cvsimport and deleted files
  2008-07-20 12:49 ` Johannes Schindelin
@ 2008-07-20 18:04   ` Lars Noschinski
  2008-07-20 18:05   ` Lars Noschinski
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Noschinski @ 2008-07-20 18:04 UTC (permalink / raw)
  To: git

* Johannes Schindelin <Johannes.Schindelin@gmx.de> [08-07-20 14:49]:
>> 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.

I encountered such an issue some time ago in incremental mode, when
another person did some cvs branch stuff. The error persisted even as I
did a clean checkout, but disappeared, after I deleted all the cvsps
cache files.

I failed to report the error, because I had not much time for debugging
at that time and I would not have been able to publish the repository.

That's when I switched to fromcvs, which seems to work reliably so far (and
much faster), but requires a local repository.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git cvsimport and deleted files
  2008-07-20 12:49 ` Johannes Schindelin
  2008-07-20 18:04   ` Lars Noschinski
@ 2008-07-20 18:05   ` Lars Noschinski
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Noschinski @ 2008-07-20 18:05 UTC (permalink / raw)
  To: git

* Johannes Schindelin <Johannes.Schindelin@gmx.de> [08-07-20 14:49]:
>>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.

I encountered such an issue some time ago in incremental mode, when
another person did some cvs branch stuff. The error persisted even as I
did a clean checkout, but disappeared, after I deleted all the cvsps
cache files.

I failed to report the error, because I had not much time for debugging
at that time and I would not have been able to publish the repository.

That's when I switched to fromcvs, which seems to work reliably so far
(and much faster), but requires a local repository.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-20 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-20 12:09 git cvsimport and deleted files Paul Mackerras
2008-07-20 12:49 ` Johannes Schindelin
2008-07-20 18:04   ` Lars Noschinski
2008-07-20 18:05   ` Lars Noschinski

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).