##// END OF EJS Templates
histedit: look up partial nodeid as partial nodeid...
Martin von Zweigbergk -
r37745:c4131138 default
parent child Browse files
Show More
@@ -443,11 +443,9 b' class histeditaction(object):'
443 """ Verifies semantic correctness of the rule"""
443 """ Verifies semantic correctness of the rule"""
444 repo = self.repo
444 repo = self.repo
445 ha = node.hex(self.node)
445 ha = node.hex(self.node)
446 try:
446 self.node = scmutil.resolvepartialhexnodeid(repo, ha)
447 self.node = repo[ha].node()
447 if self.node is None:
448 except error.RepoError:
448 raise error.ParseError(_('unknown changeset %s listed') % ha[:12])
449 raise error.ParseError(_('unknown changeset %s listed')
450 % ha[:12])
451 self._verifynodeconstraints(prev, expected, seen)
449 self._verifynodeconstraints(prev, expected, seen)
452
450
453 def _verifynodeconstraints(self, prev, expected, seen):
451 def _verifynodeconstraints(self, prev, expected, seen):
General Comments 0
You need to be logged in to leave comments. Login now