Mercurial > public > mercurial-scm > hg
diff contrib/import-checker.py @ 47377:26127236b229
convert-bazaar: use breezy package instead of old bzr one
Breezy is the most recent of the two, and works on Python 3 while being
compatible with the (old) Bazaar file format.
This patch contains a variety of unicode <-> bytes changes, API breakage fixing,
restoring failing imports and changing the executable from `bzr` to `brz`.
I recommend using the debian packages for `brz` and `python3-breezy` (3.1+),
because the pip package seems to be haunted by radioactive dragons.
Differential Revision: https://phab.mercurial-scm.org/D10513
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 26 Apr 2021 22:59:56 +0200 |
parents | c102b704edb5 |
children | 42e2cdb50db0 |
line wrap: on
line diff
--- a/contrib/import-checker.py Wed Apr 21 10:58:21 2021 +0200 +++ b/contrib/import-checker.py Mon Apr 26 22:59:56 2021 +0200 @@ -23,7 +23,7 @@ # Whitelist of modules that symbols can be directly imported from. allowsymbolimports = ( '__future__', - 'bzrlib', + 'breezy', 'hgclient', 'mercurial', 'mercurial.hgweb.common',