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