test-convert-bzr-directories.t fails

timeless timeless at gmail.com
Fri Nov 3 00:30:53 EDT 2017


Mercurial Distributed SCM (version 4.4+11-7ebf850d3166+20171103)
Bazaar 2.5.1 -- a free distributed version-control tool

--- /home/timeless/hg/crewplan/tests/test-convert-bzr-directories.t
+++ /home/timeless/hg/crewplan/tests/test-convert-bzr-directories.t.err
@@ -56,12 +56,56 @@
   converting...
   1 Added directory
   0 Oops, typo
+  ** unknown exception encountered, please report by visiting
+  ** https://mercurial-scm.org/wiki/BugTracker
+  ** Python 2.7.5 (default, Aug  5 2017, 21:54:58) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
+  ** Mercurial Distributed SCM (version 4.4+11-7ebf850d3166+20171103)
+  ** Extensions loaded: convert
+  Traceback (most recent call last):
+    File "/tmp/hgtests.wDzHcj/install/bin/hg", line 41, in <module>
+      dispatch.run()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 85, in run
+      status = (dispatch(req) or 0) & 255
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 173, in dispatch
+      ret = _runcatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 313, in _runcatch
+      return _callcatch(ui, _runcatchfunc)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 321, in _callcatch
+      return scmutil.callcatch(ui, func)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/scmutil.py",
line 154, in callcatch
+      return func()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 303, in _runcatchfunc
+      return _dispatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 940, in _dispatch
+      cmdpats, cmdoptions)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 701, in runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 948, in _runcommand
+      return cmdfunc()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 937, in <lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/util.py",
line 1183, in check
+      return func(*args, **kwargs)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/__init__.py",
line 539, in convert
+      return convcmd.convert(ui, src, dest, revmapfile, **opts)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 611, in convert
+      c.convert(sortmode)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 522, in convert
+      self.copy(c)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 451, in copy
+      changes = self.source.getchanges(rev, full)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 157, in getchanges
+      files, changes = self._gettreechanges(self._revtree, prevtree)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 232, in _gettreechanges
+      subdir = origin.root_inventory.path2id(paths[0])
+  AttributeError: 'InventoryRevisionTree' object has no attribute
'root_inventory'
+  [1]
   $ manifest source-hg 0
   % manifest of 0
   644   tpyo/something
   $ manifest source-hg tip
   % manifest of tip
-  644   typo/something
+  644   tpyo/something
   $ cd ..

 nested directory renames
@@ -86,10 +130,54 @@
   converting...
   1 Added nested directories
   0 Moved secondlevel one level up
-  $ manifest source-hg tip
-  % manifest of tip
-  644   secondlevel/file
-  644   secondlevel/thirdlevel/stuff
+  ** unknown exception encountered, please report by visiting
+  ** https://mercurial-scm.org/wiki/BugTracker
+  ** Python 2.7.5 (default, Aug  5 2017, 21:54:58) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
+  ** Mercurial Distributed SCM (version 4.4+11-7ebf850d3166+20171103)
+  ** Extensions loaded: convert
+  Traceback (most recent call last):
+    File "/tmp/hgtests.wDzHcj/install/bin/hg", line 41, in <module>
+      dispatch.run()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 85, in run
+      status = (dispatch(req) or 0) & 255
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 173, in dispatch
+      ret = _runcatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 313, in _runcatch
+      return _callcatch(ui, _runcatchfunc)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 321, in _callcatch
+      return scmutil.callcatch(ui, func)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/scmutil.py",
line 154, in callcatch
+      return func()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 303, in _runcatchfunc
+      return _dispatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 940, in _dispatch
+      cmdpats, cmdoptions)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 701, in runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 948, in _runcommand
+      return cmdfunc()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 937, in <lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/util.py",
line 1183, in check
+      return func(*args, **kwargs)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/__init__.py",
line 539, in convert
+      return convcmd.convert(ui, src, dest, revmapfile, **opts)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 611, in convert
+      c.convert(sortmode)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 522, in convert
+      self.copy(c)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 451, in copy
+      changes = self.source.getchanges(rev, full)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 157, in getchanges
+      files, changes = self._gettreechanges(self._revtree, prevtree)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 232, in _gettreechanges
+      subdir = origin.root_inventory.path2id(paths[0])
+  AttributeError: 'InventoryRevisionTree' object has no attribute
'root_inventory'
+  [1]
+  $ manifest source-hg tip
+  % manifest of tip
+  644   firstlevel/secondlevel/file
+  644   firstlevel/secondlevel/thirdlevel/stuff
   $ cd ..

 directory remove
@@ -144,11 +232,55 @@
   converting...
   1 Initial layout
   0 Some conflicting moves
-  $ manifest source-hg tip
-  % manifest of tip
-  644   second/file
+  ** unknown exception encountered, please report by visiting
+  ** https://mercurial-scm.org/wiki/BugTracker
+  ** Python 2.7.5 (default, Aug  5 2017, 21:54:58) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
+  ** Mercurial Distributed SCM (version 4.4+11-7ebf850d3166+20171103)
+  ** Extensions loaded: convert
+  Traceback (most recent call last):
+    File "/tmp/hgtests.wDzHcj/install/bin/hg", line 41, in <module>
+      dispatch.run()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 85, in run
+      status = (dispatch(req) or 0) & 255
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 173, in dispatch
+      ret = _runcatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 313, in _runcatch
+      return _callcatch(ui, _runcatchfunc)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 321, in _callcatch
+      return scmutil.callcatch(ui, func)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/scmutil.py",
line 154, in callcatch
+      return func()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 303, in _runcatchfunc
+      return _dispatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 940, in _dispatch
+      cmdpats, cmdoptions)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 701, in runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 948, in _runcommand
+      return cmdfunc()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 937, in <lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/util.py",
line 1183, in check
+      return func(*args, **kwargs)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/__init__.py",
line 539, in convert
+      return convcmd.convert(ui, src, dest, revmapfile, **opts)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 611, in convert
+      c.convert(sortmode)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 522, in convert
+      self.copy(c)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 451, in copy
+      changes = self.source.getchanges(rev, full)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 157, in getchanges
+      files, changes = self._gettreechanges(self._revtree, prevtree)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 232, in _gettreechanges
+      subdir = origin.root_inventory.path2id(paths[0])
+  AttributeError: 'InventoryRevisionTree' object has no attribute
'root_inventory'
+  [1]
+  $ manifest source-hg tip
+  % manifest of tip
+  644   first/dummy
+  644   first/file
   644   second/something
-  644   third/dummy
   $ cd ..

 divergent nested renames (issue3089)
@@ -184,11 +316,54 @@
   converting...
   1 Initial layout
   0 Divergent renames
+  ** unknown exception encountered, please report by visiting
+  ** https://mercurial-scm.org/wiki/BugTracker
+  ** Python 2.7.5 (default, Aug  5 2017, 21:54:58) [GCC 4.8.5
20150623 (Red Hat 4.8.5-16)]
+  ** Mercurial Distributed SCM (version 4.4+11-7ebf850d3166+20171103)
+  ** Extensions loaded: convert
+  Traceback (most recent call last):
+    File "/tmp/hgtests.wDzHcj/install/bin/hg", line 41, in <module>
+      dispatch.run()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 85, in run
+      status = (dispatch(req) or 0) & 255
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 173, in dispatch
+      ret = _runcatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 313, in _runcatch
+      return _callcatch(ui, _runcatchfunc)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 321, in _callcatch
+      return scmutil.callcatch(ui, func)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/scmutil.py",
line 154, in callcatch
+      return func()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 303, in _runcatchfunc
+      return _dispatch(req)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 940, in _dispatch
+      cmdpats, cmdoptions)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 701, in runcommand
+      ret = _runcommand(ui, options, cmd, d)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 948, in _runcommand
+      return cmdfunc()
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/dispatch.py",
line 937, in <lambda>
+      d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/mercurial/util.py",
line 1183, in check
+      return func(*args, **kwargs)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/__init__.py",
line 539, in convert
+      return convcmd.convert(ui, src, dest, revmapfile, **opts)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 611, in convert
+      c.convert(sortmode)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 522, in convert
+      self.copy(c)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/convcmd.py",
line 451, in copy
+      changes = self.source.getchanges(rev, full)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 157, in getchanges
+      files, changes = self._gettreechanges(self._revtree, prevtree)
+    File "/tmp/hgtests.wDzHcj/install/lib/python/hgext/convert/bzr.py",
line 232, in _gettreechanges
+      subdir = origin.root_inventory.path2id(paths[0])
+  AttributeError: 'InventoryRevisionTree' object has no attribute
'root_inventory'
+  [1]
   $ hg -R source-hg st -C --change 1
-  A b/fa
-    a/fa
-  R a/fa
+  abort: unknown revision '1'!
+  [255]
   $ hg -R source-hg manifest -r 1
-  a/c/fc
-  b/fa
-  $ cd ..
+  abort: unknown revision '1'!
+  [255]
+  $ cd ..

ERROR: test-convert-bzr-directories.t output changed
!


More information about the Mercurial-devel mailing list