Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322885

Summary: File that got deleted in cvs still exists in the git mirror
Product: Community Reporter: Satyam Kandula <satyam.kandula>
Component: GitAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: kellyc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to cvsps 2.2b1 none

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.