equal
deleted
inserted
replaced
1515 wlock.release() |
1515 wlock.release() |
1516 |
1516 |
1517 def commithook(node=hex(ret), parent1=hookp1, parent2=hookp2): |
1517 def commithook(node=hex(ret), parent1=hookp1, parent2=hookp2): |
1518 # hack for command that use a temporary commit (eg: histedit) |
1518 # hack for command that use a temporary commit (eg: histedit) |
1519 # temporary commit got stripped before hook release |
1519 # temporary commit got stripped before hook release |
1520 if node in self: |
1520 if self.changelog.hasnode(ret): |
1521 self.hook("commit", node=node, parent1=parent1, |
1521 self.hook("commit", node=node, parent1=parent1, |
1522 parent2=parent2) |
1522 parent2=parent2) |
1523 self._afterlock(commithook) |
1523 self._afterlock(commithook) |
1524 return ret |
1524 return ret |
1525 |
1525 |