From: "Eric S. Raymond" <esr@thyrsus.com>
To: Ilya Basin <basinilya@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc)
Date: Tue, 23 Apr 2013 13:50:00 -0400 [thread overview]
Message-ID: <20130423175000.GA25994@thyrsus.com> (raw)
In-Reply-To: <214169596.20130420142251@gmail.com>
Apologies for the somewhat belated reply. I've been even busier than
usual lately and am about to be traveling for a week.
Ilya Basin <basinilya@gmail.com>:
> Hi Eric.
>
> ESR> cvs-fast-export does not have incremental-import support.
> ESR> Whether git-cvs-import has it depend on which version you have
> ESR> and what backend it it is using. I don't maintain that wrapper.
> Did you mean "git-fast-import"? Or do you know any wrapper that
> already uses cvsps3 --fast-export?
No, I meant git-cvs-import. I wrote a version of it that supports
cvsps3, but Junio chose to keep the old wrapper. Apparently he would
rather inflict cvsps2's rather serious known bugs on users than break
backward compatibility even a little.
> First of all, I think cvsps3 has almost everithing required for
> incremental import: one could just take the date of the last commit
> and invoke cvs ps with the '-d' flag. However, to import new commits
> into existing branches the stream should contain the "from" command in
> oldest commits in each branch (now missing).
> If the branch already exists in the target git repo, it's easy to
> refer it in the stream:
> from refs/heads/branchname^0
Look at the -i option. That may do what you need.
> But if the branch is new, but it's parent commit is already imported,
> I guess, the only way to refer it is by its SHA-1
> Eric, what parent information can cvsps provide for the first commit
> in a branch, when invoked with the '-d' flag?
At the moment it doesn't provide any at all. That case wasn't on my
radar when I was fixing the code. If you can specify a behavior you
think would be useful, I'm listening.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
next prev parent reply other threads:[~2013-04-23 17:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-14 8:18 cvsps: bad usage: invalid argument --norc Ilya Basin
2013-04-14 8:48 ` Ilya Basin
2013-04-14 9:47 ` John Keeping
2013-04-14 11:33 ` State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc) Eric S. Raymond
2013-04-15 5:00 ` Michael Haggerty
2013-04-15 17:58 ` Ilya Basin
2013-04-15 20:43 ` Jakub Narębski
2013-04-18 9:43 ` Eric S. Raymond
2013-04-19 5:29 ` Does git fast-import support deltas? Ilya Basin
2013-04-19 5:44 ` Felipe Contreras
2013-04-19 6:13 ` Jonathan Nieder
2013-04-20 10:22 ` Re[2]: State of CVS-to-git conversion tools (Was: Re: cvsps: bad usage: invalid argument --norc) Ilya Basin
2013-04-23 17:50 ` Eric S. Raymond [this message]
2013-04-23 18:30 ` Ilya Basin
2013-04-23 21:06 ` Eric S. Raymond
2013-04-24 4:47 ` Re[2]: " Ilya Basin
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=20130423175000.GA25994@thyrsus.com \
--to=esr@thyrsus.com \
--cc=basinilya@gmail.com \
--cc=git@vger.kernel.org \
/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).