On Tue, 24 May 2005, Linus Torvalds wrote: > > It has the logic for branches, but it doesn't work, and I'm fed up enough > with CVS and RCS for the moment that I'm not going to work on it any more > tonight. I'm back, and yes, it was a really stupid thing. However, David, I need more help deciphering "cvsps" output.. Fixing the branch handling shows that cvsps does some really strange things with the newly added "Ancestor grpah". Here's one example: --------------------- PatchSet 372 Date: 2002/02/03 21:37:50 Author: hpa Branch: syslinux-1_6x-1 Ancestor branch: HEAD Tag: syslinux-1_67 Log: New mailing list information Members: syslinux.doc:1.48->1.48.2.1 --------------------- PatchSet 373 Date: 2002/02/11 23:08:47 Author: hpa Branch: HEAD Tag: (none) Log: tftpd32 needs version 2.11 or later. Members: pxelinux.doc:1.28->1.29 --------------------- PatchSet 374 Date: 2002/02/18 23:43:43 Author: hpa Branch: syslinux-1_6x-1 Ancestor branch: HEAD Tag: syslinux-1_6x-merge-2 Log: Actually make the -o option work properly. Members: syslinux.c:1.13->1.13.2.1 --------------------- note how both 372 _and_ 374 claim to have HEAD as their ancestor, and are on the "syslinux-1_6x-1" branch. What's up with that? Right now this causes my git archive to first create 372 as a branch off HEAD, and then overwrite that with 374, resulting in a dangling branch for 372 that _exists_, but it's not reachable any more, because the branch name that it used has been overwritten by the _new_ branch off HEAD. Side note: cvs2git is pretty robust since it doesn't rely on patches anywhere, so the head of the branch likely ends up being correct, if that "syslinux.doc" file has been modified anywhere else in the branch. So this _usually_ just results in (a) git-fsck-cache complaining about unreachable commits and (b) possible history being hard to find. Maybe this cvs2git behaviour is the right thing to do, and what really happened was that the changes described by PatchSet 372 aren't really available any more even in CVS, unless you go back by date or something like that. However, I suspect it's a cvsps bug in the "ancestor branch" thing. I could work around it by just saying "if I have already seen this branch, I'll ignore the ancestor information". So I'd like to know whether this is a cvsps issue or whether I actually ended up doing the right thing and it really should be a dangling branch-name that got re-used... (And if it's a cvsps issue, I'd obviously prefer to get a cvsps patch instead of having a questionable workaround in cvs2git). "Davi-Mansfieldobi, you're our only hope.." Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed May 25 02:11:23 2005
This archive was generated by hypermail 2.1.8 : 2005-05-25 02:11:24 EST