CVS to Bazaar using cvsps-import
Thomas Manson
dev.mansonthomas at gmail.com
Sat Oct 4 14:29:46 BST 2008
I did undrestand that, what should I do with the product of this conversion
?
How should I re import this into the bazaar repo ? It's not explained... and
to me the product of the conversion is half the job of a cvs to bazaar
migration...
Btw, i've some strange error (i've also tried with utf-8 encoding):
paquerette at home:~/temp$ bzr cvsps-import cvs/files/ . bazaar --use-cvs
Creating cvsps dump file: bazaar/staging/ROOT.dump
Read 118 patchsets (string cache hits: 0, total: 16939)
Failed while processing: Patchset(2, HEAD, paquerette, 2006/10/22 22:08:38)
Processed 1 patches (1 new, 0 existing) on 0 branches (1 tags) in 0.8s (1.29
patch/s)
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte
0xe9 in position 43: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in
run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in
run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in
run_argv_aliases
return self.run(**all_cmd_args)
File "/home/paquerette/.bazaar/plugins/cvsps_import/__init__.py", line 95,
in run
importer.process()
File "/home/paquerette/.bazaar/plugins/cvsps_import/cvsps/importer.py",
line 1269, in process
self._process_patchsets(cvs_to_bzr, patchsets, pb=pb)
File "/home/paquerette/.bazaar/plugins/cvsps_import/cvsps/importer.py",
line 1208, in _process_patchsets
rev_id, action = cvs_to_bzr.handle_patchset(patchset)
File "/home/paquerette/.bazaar/plugins/cvsps_import/cvsps/importer.py",
line 749, in handle_patchset
revision_id = self._extract_changes(patchset)
File "/home/paquerette/.bazaar/plugins/cvsps_import/cvsps/importer.py",
line 986, in _extract_changes
txt, executable = self._cvs_updater.get_text(member, revision)
File "/home/paquerette/.bazaar/plugins/cvsps_import/cvsps/importer.py",
line 666, in get_text
rcs_file = self._get_rcs_filename(filename)
File "/home/paquerette/.bazaar/plugins/cvsps_import/cvsps/importer.py",
line 601, in _get_rcs_filename
filename + ',v')
File "/usr/lib/python2.5/posixpath.py", line 63, in join
path += b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 43:
ordinal not in range(128)
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'cvsps-import', 'cvs/files/', '.', 'bazaar',
'--use-cvs']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools
/usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0]
cvsps_import /home/paquerette/.bazaar/plugins/cvsps_import
[unknown]
launchpad
/usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
On Sat, Oct 4, 2008 at 3:10 PM, Matthew D. Fuller
<fullermd at over-yonder.net>wrote:
> On Sat, Oct 04, 2008 at 02:51:05PM +0200 I heard the voice of
> Thomas Manson, and lo! it spake thus:
> >
> > I understand the 2 first parameters, but not the last ! What should
> > I do with the 'output' ?
>
> That's the directory you intend the bzr conversion to go into.
>
>
> --
> Matthew Fuller (MF4839) | fullermd at over-yonder.net
> Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
> On the Internet, nobody can hear you scream.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081004/add69336/attachment.htm
More information about the bazaar
mailing list