{"thread":{"id":"14546","subject":"git cvsimport and deleted files","startedAt":"2008-07-20T12:09:07Z","lastAt":"2008-07-20T18:05:14Z","messageCount":4,"participants":["Paul Mackerras","Johannes Schindelin","Lars Noschinski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"84026","messageId":"18563.10979.379533.580413@cargo.ozlabs.ibm.com","threadId":"14546","inReplyTo":null,"subject":"git cvsimport and deleted files","fromName":"Paul Mackerras","fromEmail":"paulus@samba.org","sentAt":"2008-07-20T12:09:07Z","receivedAt":"2008-07-20T12:09:07Z","isPatch":false,"sender":{"key":"paulus@samba.org","avatar":"https://avatars.githubusercontent.com/u/1606439?v=4"},"body":"I just tried importing the CVS repository for a long-running project\n(ppp) into git using git cvsimport.  It looks like git cvsimport\ndoesn't notice when files have been deleted, so files that used to be\npresent and were subsequently deleted are present in the git tree for\nthe most recent commit.\n\nIs this a known problem?  Is it a limitation of cvsps?  I know that\ncvs doesn't represent deletions explicitly anywhere, so I guess it's\nnot surprising, but it is a bit annoying.\n\nPaul.\n"},{"id":"84032","messageId":"alpine.DEB.1.00.0807201448020.3305@eeepc-johanness","threadId":"14546","inReplyTo":"18563.10979.379533.580413@cargo.ozlabs.ibm.com","subject":"Re: git cvsimport and deleted files","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-07-20T12:49:57Z","receivedAt":"2008-07-20T12:49:57Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Sun, 20 Jul 2008, Paul Mackerras wrote:\n\n> I just tried importing the CVS repository for a long-running project\n> (ppp) into git using git cvsimport.  It looks like git cvsimport\n> doesn't notice when files have been deleted, so files that used to be\n> present and were subsequently deleted are present in the git tree for\n> the most recent commit.\n\nI never had that problem.  See \nhttp://repo.or.cz/w/libvncserver.git?a=commit;h=8dead0759febaa7176507e1bde13ebd9d2a30720\nfor a commit that was imported with cvsimport.\n\nSo your issue must lie somewhere else.\n\nBTW do you have the repository locally?  Then you should import with \ncvs2svn or parsecvs instead.  These programs are both faster and more \naccurate than cvsimport.  And AFAIK you can use cvsimport on the generated \nrepositories to update them incrementally.\n\nCiao,\nDscho\n"},{"id":"84040","messageId":"20080720180432.GA30285@lars.home.noschinski.de","threadId":"14546","inReplyTo":"alpine.DEB.1.00.0807201448020.3305@eeepc-johanness","subject":"Re: git cvsimport and deleted files","fromName":"Lars Noschinski","fromEmail":"lars-2008-1@usenet.noschinski.de","sentAt":"2008-07-20T18:04:33Z","receivedAt":"2008-07-20T18:04:33Z","isPatch":false,"sender":{"key":"lars-2008-1@usenet.noschinski.de","avatar":null},"body":"* Johannes Schindelin <Johannes.Schindelin@gmx.de> [08-07-20 14:49]:\n>> I just tried importing the CVS repository for a long-running project\n>> (ppp) into git using git cvsimport.  It looks like git cvsimport\n>> doesn't notice when files have been deleted, so files that used to be\n>> present and were subsequently deleted are present in the git tree for\n>> the most recent commit.\n>\n>I never had that problem.  See \n>http://repo.or.cz/w/libvncserver.git?a=commit;h=8dead0759febaa7176507e1bde13ebd9d2a30720\n>for a commit that was imported with cvsimport.\n>\n>So your issue must lie somewhere else.\n\nI encountered such an issue some time ago in incremental mode, when\nanother person did some cvs branch stuff. The error persisted even as I\ndid a clean checkout, but disappeared, after I deleted all the cvsps\ncache files.\n\nI failed to report the error, because I had not much time for debugging\nat that time and I would not have been able to publish the repository.\n\nThat's when I switched to fromcvs, which seems to work reliably so far (and\nmuch faster), but requires a local repository.\n"},{"id":"84041","messageId":"20080720180513.GB30285@lars.home.noschinski.de","threadId":"14546","inReplyTo":"alpine.DEB.1.00.0807201448020.3305@eeepc-johanness","subject":"Re: git cvsimport and deleted files","fromName":"Lars Noschinski","fromEmail":"lars-2008-1@usenet.noschinski.de","sentAt":"2008-07-20T18:05:14Z","receivedAt":"2008-07-20T18:05:14Z","isPatch":false,"sender":{"key":"lars-2008-1@usenet.noschinski.de","avatar":null},"body":"* Johannes Schindelin <Johannes.Schindelin@gmx.de> [08-07-20 14:49]:\n>>I just tried importing the CVS repository for a long-running project\n>>(ppp) into git using git cvsimport.  It looks like git cvsimport\n>>doesn't notice when files have been deleted, so files that used to be\n>>present and were subsequently deleted are present in the git tree for\n>>the most recent commit.\n>\n>I never had that problem.  See\n>http://repo.or.cz/w/libvncserver.git?a=commit;h=8dead0759febaa7176507e1bde13ebd9d2a30720\n>for a commit that was imported with cvsimport.\n>\n>So your issue must lie somewhere else.\n\nI encountered such an issue some time ago in incremental mode, when\nanother person did some cvs branch stuff. The error persisted even as I\ndid a clean checkout, but disappeared, after I deleted all the cvsps\ncache files.\n\nI failed to report the error, because I had not much time for debugging\nat that time and I would not have been able to publish the repository.\n\nThat's when I switched to fromcvs, which seems to work reliably so far\n(and much faster), but requires a local repository.\n"}]}