summaryrefslogtreecommitdiff
path: root/lorry
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2020-08-05 18:45:28 +0100
committerBen Hutchings <ben.hutchings@codethink.co.uk>2020-08-05 18:49:51 +0100
commita839d558c96f03833b026ee33a383e9ce2108006 (patch)
tree04fc9cce50de2faab745050f7589526c2c720fc9 /lorry
parenta934314cbdc56e30c77f554cd21772e5fbd306c3 (diff)
downloadlorry-a839d558c96f03833b026ee33a383e9ce2108006.tar.gz
Add warnings about using Breezy
We should not recommend using Breezy until we can point to a version where fast-export is reliable. * README: describe support for Breezy as experiemntal * lorry: warn if attempting a Bazaar conversion using 'brz' Relates to lorry-buildstream#14.
Diffstat (limited to 'lorry')
-rwxr-xr-xlorry4
1 files changed, 4 insertions, 0 deletions
diff --git a/lorry b/lorry
index 955b46b..1989400 100755
--- a/lorry
+++ b/lorry
@@ -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