mercurial/localrepo.py
branchstable
changeset 25219 2664f536a97e
parent 25218 00d905a12bb6
child 25229 451df92cec49
child 25267 69c5cab0b893
--- a/mercurial/localrepo.py	Wed May 20 04:34:27 2015 +0900
+++ b/mercurial/localrepo.py	Wed May 20 04:34:27 2015 +0900
@@ -975,7 +975,7 @@
             """will run pre-closing hooks"""
             pending = lambda: tr.writepending() and self.root or ""
             reporef().hook('pretxnclose', throw=True, pending=pending,
-                           xnname=desc, **tr.hookargs)
+                           txnname=desc, **tr.hookargs)
 
         tr = transaction.transaction(rp, self.sopener, vfsmap,
                                      "journal",