branch | stable |
changeset 25268 | a973b050621d |
parent 25267 | 69c5cab0b893 |
child 25270 | 61b3529e2377 |
--- a/mercurial/localrepo.py Mon May 25 01:26:19 2015 +0900 +++ b/mercurial/localrepo.py Mon May 25 01:26:23 2015 +0900 @@ -962,7 +962,7 @@ idbase = "%.40f#%f" % (random.random(), time.time()) txnid = 'TXN:' + util.sha1(idbase).hexdigest() - self.hook('pretxnopen', throw=True, txnname=desc) + self.hook('pretxnopen', throw=True, txnname=desc, txnid=txnid) self._writejournal(desc) renames = [(vfs, x, undoname(x)) for vfs, x in self._journalfiles()]