Re: [PATCH] cvsimport: rewritten in Perl
- From
- Sven Verdoolaege <skimo@liacs.nl>
- Date
- Jun 30, 2005, 19:38 UTC
- Message-ID
- <20050630193825.GA17345@pc117b.liacs.nl>
- In-Reply-To
- <20050630161043.GR10850@kiste.smurf.noris.de>
On Thu, Jun 30, 2005 at 06:10:43PM +0200, Matthias Urlichs wrote:
> I'll find it. However, you don't actually need to re-import your > existing CVS->GIT trees; as long as the dates and the branch names > match, my script will continue where the other left off.
That seems to work, once I figured out I had to pass in the "-o master" option (as cvs2git didn't create an "origin" branch).
If you don't, you get a rather cryptic message: usage: git-read-tree (<sha> | -m [-u] <sha1> [<sha2> [<sha3>]]) read-tree failed: 256
You probably want to check whether the origin branch actually exists.
Apparently you also need to pass the '-x' option to cvsps. Otherwise, it won't look at anything new.
It would also be nice if the user could pass extra options to cvsps (notably '-z').
skimo