diff hgext/mq.py @ 10881:a685011ed38e

localrepo: add desc parameter to transaction All callers to localrepo.transaction() must supply a transaction description. The description and the existing repository tip are then stored (transactionally) into .hg/undo.desc; where rollback can later find it.
author Steve Borho <steve@borho.org>
date Fri, 09 Apr 2010 17:23:35 -0500
parents bbf496db0766
children 301633755dec
line wrap: on
line diff
--- a/hgext/mq.py	Fri Apr 09 15:16:52 2010 +0200
+++ b/hgext/mq.py	Fri Apr 09 17:23:35 2010 -0500
@@ -610,7 +610,7 @@
         try:
             wlock = repo.wlock()
             lock = repo.lock()
-            tr = repo.transaction()
+            tr = repo.transaction("qpush")
             try:
                 ret = self._apply(repo, series, list, update_status,
                                   strict, patchdir, merge, all_files=all_files)