CVS migration help

Thomas Manson dev.mansonthomas at gmail.com
Mon Oct 6 21:57:32 BST 2008


Has someone ever convert from cvs to bazaar ?


I've now tryed fast import...

Documentation says :


> bzr init-repo .
> front-end | bzr fast-import -
>

as front-end, there is cvs2svn...

But cvs2svn doesn't have an option to put the conversion on the output.
so i've tryed the following :

cvs2svn --encoding ISO-8859-1 --dumpfile=test  cvs/files/
mkdir bzr-tst
cd bzr-tst
bzr init-repo .
cat ../test  | bzr fast-import -

which fails...


> bzr: ERROR: line 1: Invalid command 'SVN-fs-dump-format-version: 2'


I even tried this :

 cvs2svn --encoding ISO-8859-1 --dumpfile=../test  ../cvs/files/ | bzr
fast-import -


> bzr: ERROR: line 1: Invalid command '----- pass 1 (CollectRevsPass) -----'
> Traceback (most recent call last):
>   File "/usr/bin/cvs2svn", line 31, in <module>
>     main(sys.argv[0], sys.argv[1:])
> ...
>


 Maybe I'll stay on cvs... maybe bad, but works... (yes, I'm bitter)

On Mon, Oct 6, 2008 at 22:15, Thomas Manson <dev.mansonthomas at gmail.com>wrote:

> Hi,
>
>   does someone has full instruction to migrate from cvs to bazaar other
> than bzr cvsps-import ?
>
> I've tryed with
>
> bzr cvsps-import cvs/files/ . bazaar --use-cvs
> or
> bzr cvsps-import cvs/files/ . bazaar
>
> but I've an encoding error.
>
> I really want to be able to start coding with bazaar... and i'm stuck with
> this encoding bug which is really really frustrating !
>
> Thomas.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081006/dad0203e/attachment.htm 


More information about the bazaar mailing list