hgext/histedit.py
changeset 37505 966061b8826d
parent 37314 8474005fcfe2
child 37506 c4131138eadb
--- a/hgext/histedit.py	Sun Apr 08 08:06:34 2018 -0700
+++ b/hgext/histedit.py	Fri Apr 06 09:41:25 2018 -0700
@@ -448,8 +448,7 @@
         except error.RepoError:
             raise error.ParseError(_('unknown changeset %s listed')
                               % ha[:12])
-        if self.node is not None:
-            self._verifynodeconstraints(prev, expected, seen)
+        self._verifynodeconstraints(prev, expected, seen)
 
     def _verifynodeconstraints(self, prev, expected, seen):
         # by default command need a node in the edited list