Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322885 - File that got deleted in cvs still exists in the git mirror
Summary: File that got deleted in cvs still exists in the git mirror
Status: RESOLVED WONTFIX
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Git (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 05:48 EDT by Satyam Kandula CLA
Modified: 2012-03-23 11:02 EDT (History)
1 user (show)

See Also:


Attachments
patch to cvsps 2.2b1 (1.04 KB, patch)
2010-08-20 15:01 EDT, Kelly Campbell CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Satyam Kandula CLA 2010-08-17 05:48:05 EDT
In project org.eclipse.jdt.core, the file search/org/eclipse/jdt/internal/core/index/CategoryTable.java had got deleted in cvs  but it still exists in the Git mirror. The delete commit doesn't seem to have gone into the git mirror. The file still exists in git mirror even in the subsequent branch that was created. Other changes that had gone along with that fix are present in the git mirror.

The cvs comment for the fix is HEAD - 306170 and this fix had gone on 7th May. 

Can this be fixed in the git mirror?
Comment 1 Kelly Campbell CLA 2010-08-17 10:57:32 EDT
I've tracked this down to problems with a feature in cvsps that makes it think this is a bogus branch add commit so it ignores the entire patchset. This stackoverflow thread has some details: http://stackoverflow.com/questions/702980/why-is-git-cvsimport-missing-one-major-patchset

One possible workaround would be to tell cvsps to ignore its cache.

e.g. git cvsimport -p -x ...

Unfortunately, this means the git repositories need to be rebuilt which will possibly invalidate any clones or branches made from the existing ones.
Comment 2 Denis Roy CLA 2010-08-20 14:44:29 EDT
All our import scripts are run with git-cvsimport -i -p -x ...
Comment 3 Kelly Campbell CLA 2010-08-20 15:01:04 EDT
Created attachment 177134 [details]
patch to cvsps 2.2b1

I'm testing this patch to cvsps which should correct the issue.
Comment 4 Denis Roy CLA 2012-03-23 11:02:36 EDT
CVS is deprecated at Eclipse, and as such these Git mirrors will be going away.  As such, no effort will be invested in fixing these issues.