hgext/rebase.py
changeset 33157 5d29c55414b3
parent 33145 0a370b93cca2
child 33332 3b7cb3d17137
--- a/hgext/rebase.py	Thu Jun 29 23:04:47 2017 -0700
+++ b/hgext/rebase.py	Wed Jun 28 14:53:54 2017 -0700
@@ -317,7 +317,7 @@
                 hint=_('use --keep to keep original changesets'))
 
         obsrevs = _filterobsoleterevs(self.repo, set(rebaseset))
-        self._handleskippingobsolete(rebaseset, obsrevs, dest)
+        self._handleskippingobsolete(rebaseset, obsrevs, dest.rev())
 
         result = buildstate(self.repo, dest, rebaseset, self.collapsef,
                             self.obsoletenotrebased)
@@ -1464,7 +1464,7 @@
     if allsuccessors:
         # Look for successors of obsolete nodes to be rebased among
         # the ancestors of dest
-        ancs = cl.ancestors([repo[dest].rev()],
+        ancs = cl.ancestors([dest],
                             stoprev=min(allsuccessors),
                             inclusive=True)
         for s in allsuccessors: