Show More
@@ -2538,12 +2538,12 b' class localrepository(object):' | |||||
2538 | _('note: commit message saved in %s\n') % msgfn) |
|
2538 | _('note: commit message saved in %s\n') % msgfn) | |
2539 | raise |
|
2539 | raise | |
2540 |
|
2540 | |||
2541 | def commithook(node=hex(ret), parent1=hookp1, parent2=hookp2): |
|
2541 | def commithook(): | |
2542 | # hack for command that use a temporary commit (eg: histedit) |
|
2542 | # hack for command that use a temporary commit (eg: histedit) | |
2543 | # temporary commit got stripped before hook release |
|
2543 | # temporary commit got stripped before hook release | |
2544 | if self.changelog.hasnode(ret): |
|
2544 | if self.changelog.hasnode(ret): | |
2545 |
self.hook("commit", node= |
|
2545 | self.hook("commit", node=hex(ret), parent1=hookp1, | |
2546 |
parent2=p |
|
2546 | parent2=hookp2) | |
2547 | self._afterlock(commithook) |
|
2547 | self._afterlock(commithook) | |
2548 | return ret |
|
2548 | return ret | |
2549 |
|
2549 |
General Comments 0
You need to be logged in to leave comments.
Login now