git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] cvsps/cvsimport: fix branch point calculation and broken branch imports

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 3, 2008, 02:06 UTC
Message-ID
<7viqyz66b3.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1207187090.17329.15.camel@gandalf.cobite.com>
David Mansfield <david@cobite.com> writes:
> Also, how does the git packaging (non-rpm version) specify and/or
> guarantee dependencies are at a certain version anyway?

We cannot really do much with the old cvsimport out in the field, but I was wondering more about automatic detection in new cvsimport.

The way I read 02-cvsps-implement-branch-point-detection.patch, you have three cases:

 - "Ancestor branch:" is not followed by "Branches:" before "Log:"
   (old cvsps);
 - "Ancestor branch:" is followed by "Branches:" before "Log:" (new);
 - "Branches:" without "Ancestor branch:" (new);

So perhaps your 04-cvsimport-redo-branch-creation-process.patch, instead of ignoring what "Ancestor branch:" said, can remember it has seen what "ancestor" (which may be a bit off) information it was given, and when you see "Log:" (by that time, you either have seen "Branches:" from new cvsps, or you didn't see it from old cvsps) you can decide which vintage of cvsps it is reading from.

Or something like that.
Previous: David MansfieldNext: David Mansfield
Message 4 of 18 in “cvsps/cvsimport: fix branch point calculation and broken branch imports”
  1. cvsps/cvsimport: fix branch point calculation and broken branch importsDavid Mansfield, Apr 2, 2008
  2. Junio C HamanoApr 2, 2008
  3. David MansfieldApr 3, 2008
  4. Junio C HamanoApr 3, 2008
  5. David MansfieldApr 3, 2008
  6. Steffen ProhaskaApr 3, 2008
  7. David MansfieldApr 3, 2008
  8. Michael HaggertyApr 4, 2008
  9. David MansfieldApr 7, 2008
  10. Jean-François VeilletteApr 7, 2008
  11. Michael HaggertyApr 9, 2008
  12. Ping YinApr 27, 2008
  13. Michael HaggertyApr 27, 2008
  14. Ping YinApr 27, 2008
  15. Ping YinApr 27, 2008
  16. Ping YinApr 27, 2008
  17. Ping YinApr 27, 2008
  18. Ping YinApr 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.