converting CVS repo to bzr
John Arbash Meinel
john at arbash-meinel.com
Sun Oct 25 23:35:13 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Clatworthy wrote:
> Alexander Belchenko wrote:
>> Alexander Belchenko пишет:
>>> Alexander Belchenko пишет:
>>>> Alexander Belchenko пишет:
>>>>> Alexander Belchenko пишет:
>>>>>> Alexander Belchenko пишет:
>>>>>>> Hi Ian,
>>>>>>>
>>>>>>> I'm trying to convert CVS repo of FTE project to bzr with your
>>>>>>> fast-import plugin.
>>>>>>>
>>>>>>> I'm working on Windows with standalone bzr.exe v.2.0.1 so my setup
>>>>>>> is interesting corner case. And BTW this is most default setup so
>>>>>>> far.
>
>> OK, I've downloaded native cvs client from
>> http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/
>>
>> Using cvs.exe 1-11-22 produce correct fi dumpfile identical to one
>> generated with co utility. So cvs executable from CVSNT (used by
>> TortoiseCVS under the hood) cannot be used at all.
>
> Alexander,
>
> Thanks for the testing and feedback. At a minimum, it sounds like we
> need to provide much better documentation. Maybe we need some code
> changes as well to try and detect that the cvs.exe is one that works.
>
> I've copied Michael as he's the maintainer of cvs2svn. What changes do
> you suggest we make in that layer? What changes are needed above cvs2svn?
>
> Michael,
>
> Here's the full thread:
> https://lists.ubuntu.com/archives/bazaar/2009q4/063627.html
>
> Ian C.
>
>
I would assume that you are using "cvs co -p" which is supposed to check
out content to stdout.
I don't know if it is giving an error return value that you aren't
handling, or maybe it is just giving the error on stderr, and you don't
notice?
As for the problem with "bzr fast-export-from" my guess is that it is
calling something like "subprocess.Popen('cvs2bzr')" and it needs the
"shell=True" flag to be set.
With that flag, 'cvs2bzr.bat' can be called. Without it, the program
must be a '.exe' (or possibly .cmd, I'm not 100% sure.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrk4LEACgkQJdeBCYSNAAMUhACgik//e0jl4RdEgbU7iClMPkL1
VBQAniYzIjumlNmfSrQFOr2OephWVitn
=nZoe
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list