Inclusion of Bazaar Fast Import in the repository.
Depends on D2936, closes T6399.
Signed-off-by: Pierre-Yves <pyu@riseup.net>
DataDrake |
Triage Team |
Inclusion of Bazaar Fast Import in the repository.
Depends on D2936, closes T6399.
Signed-off-by: Pierre-Yves <pyu@riseup.net>
TBD
No Linters Available |
No Unit Test Coverage |
I need some help to test this: I feel kinda stupid but my attempt for testing this failed and (and I think it's rather me who's the problem and not the package).
From the request:
To be able to migrate repositories from bzr to git or another vcs
So maybe try to migrate a bzr repo to git?
I haven't managed to make a successful test. I did export a dummy git repository with just one branch and a few commits into a file
Then I did initialize a new bzr repo and I tried to import the file but I did not work:
py master ~ tmp GIT git fast-export --all > project.fi py master ~ tmp GIT cd ../BZR/ py ~ tmp BZR bzr init-repo . Shared repository with trees (format: 2a) Location: shared repository: . py BZR ~ tmp BZR cp ../GIT/project.fi . py BZR ~ tmp BZR bzr fast-import project.fi project.bzr bzr: ERROR: exceptions.ImportError: cannot import name single_plural Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/cmds.py", line 280, in run from bzrlib.plugins.fastimport.processors import generic_processor File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/processors/generic_processor.py", line 40, in <module> from bzrlib.plugins.fastimport import ( File "/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/cache_manager.py", line 31, in <module> from fastimport.helpers import ( ImportError: cannot import name single_plural bzr 2.7.0 on python 2.7.15 (Linux-4.17.6-82.current-x86_64-with-glibc2.2.5) arguments: ['/usr/bin/bzr', 'fast-import', 'project.fi', 'project.bzr'] plugins: bash_completion[2.7.0], changelog_merge[2.7.0], fastimport[0.13.0], grep[2.7.0], launchpad[2.7.0], netrc_credential_store[2.7.0], news_merge[2.7.0], po_merge[2.7.0], weave_fmt[2.7.0] encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8' *** Bazaar has encountered an internal error. This probably indicates a bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug including this traceback and a description of the problem.