diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2020-08-06 10:14:30 +0000 |
---|---|---|
committer | Ben Brown <ben.brown@codethink.co.uk> | 2020-08-06 10:14:30 +0000 |
commit | 39e5fc62a338cf2ff0b3c6dd9aa8ad7547e87945 (patch) | |
tree | 04fc9cce50de2faab745050f7589526c2c720fc9 | |
parent | a934314cbdc56e30c77f554cd21772e5fbd306c3 (diff) | |
parent | a839d558c96f03833b026ee33a383e9ce2108006 (diff) | |
download | lorry-39e5fc62a338cf2ff0b3c6dd9aa8ad7547e87945.tar.gz |
Merge branch 'bwh/breezy-warning' into 'master'
Add warnings about using Breezy
See merge request CodethinkLabs/lorry/lorry!13
-rw-r--r-- | README.md | 8 | ||||
-rwxr-xr-x | lorry | 4 |
2 files changed, 9 insertions, 3 deletions
@@ -42,9 +42,11 @@ Required: Optional: -* **bzr-fastimport** or **Breezy**: Needed if you want to import - Bazaar (bzr) repositories. Can be installed as the `bzr-fastimport` - or `brz` package in Debian. +* **bzr-fastimport**: Needed if you want to import Bazaar (bzr) + repositories. Can be installed as the `bzr-fastimport` package in + Debian. It is also possible to use Breezy instead, but this should + currently be considered experimental due to bugs in its + implementation of `fast-export`. * **cmdtest**: Needed if you want to run the test suite. Can be installed as the `cmdtest` package in Debian, or from the source at @@ -466,6 +466,10 @@ class Lorry(cliapp.Application): def gitify_bzr(self, project_name, dirname, gitdir, spec): bzr = self.settings['bazaar-command'] + if os.path.basename(bzr) == 'brz': + msg = 'Using Breezy for Bazaar conversion, which may not work correctly' + logging.warning(msg) + self.output.write('%s\n' % msg) bzrdir = os.path.join(dirname, 'bzr') # check if repo exists |