hgext/convert/bzr.py
changeset 38572 85da230c316a
parent 37843 670eb4fa1b86
child 43076 2372284d9457
--- a/hgext/convert/bzr.py	Thu Jul 05 15:07:29 2018 -0400
+++ b/hgext/convert/bzr.py	Thu Jul 05 15:07:29 2018 -0400
@@ -65,6 +65,7 @@
             raise common.NoRepo(_('%s does not look like a Bazaar repository')
                               % path)
         self._parentids = {}
+        self._saverev = ui.configbool('convert', 'bzr.saverev')
 
     def _checkrepotype(self, path):
         # Lightweight checkouts detection is informational but probably
@@ -175,7 +176,8 @@
                 author=self.recode(rev.committer),
                 desc=self.recode(rev.message),
                 branch=branch,
-                rev=version)
+                rev=version,
+                saverev=self._saverev)
 
     def gettags(self):
         bytetags = {}