From: David Mansfield <david@cobite.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] cvsps/cvsimport: fix branch point calculation and broken branch imports
Date: Wed, 02 Apr 2008 22:27:43 -0400 [thread overview]
Message-ID: <1207189663.17329.27.camel@gandalf.cobite.com> (raw)
In-Reply-To: <7viqyz66b3.fsf@gitster.siamese.dyndns.org>
On Wed, 2008-04-02 at 19:06 -0700, Junio C Hamano wrote:
> 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.
Quite right. And also, one of the failure modes I've found is based on
real abuse of cvs, and the result is that cvsps shows the branch as
occurring AFTER the first commit on that branch. Anyway, it's all
nonsense and hand waiving after all. cvsps just creates an illusion
anyway.
But to fix it, I'll need something similar to the code that I removed
anyway, so that will definitely be in the mix when all is said and done.
David
next prev parent reply other threads:[~2008-04-03 2:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-02 1:34 [PATCH] cvsps/cvsimport: fix branch point calculation and broken branch imports David Mansfield
2008-04-02 19:29 ` Junio C Hamano
2008-04-03 1:44 ` David Mansfield
2008-04-03 2:06 ` Junio C Hamano
2008-04-03 2:27 ` David Mansfield [this message]
2008-04-03 5:47 ` Steffen Prohaska
2008-04-03 13:49 ` David Mansfield
2008-04-04 9:52 ` Michael Haggerty
2008-04-07 17:54 ` David Mansfield
2008-04-07 18:07 ` Jean-François Veillette
2008-04-09 1:53 ` Michael Haggerty
2008-04-27 5:06 ` Ping Yin
2008-04-27 5:47 ` Michael Haggerty
2008-04-27 5:51 ` Ping Yin
2008-04-27 7:38 ` Ping Yin
2008-04-27 7:43 ` Ping Yin
2008-04-27 7:48 ` Ping Yin
2008-04-27 8:48 ` Ping Yin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1207189663.17329.27.camel@gandalf.cobite.com \
--to=david@cobite.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).