shelve: change transaction description from "commit" to "shelve"
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 05 Dec 2018 14:17:15 -0800
changeset 53619 236af7cfa4c3dfe358ec4f0f4f1c9590298a200c
parent 53618 d7e44da4dc706e1755a02aab7452320a1c4a22d8
child 53620 b7823bd59b078bfdf7ce9c208a4f9e3d470fa5c0
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
shelve: change transaction description from "commit" to "shelve" "commit" was probably a copy&paste mistake. Differential Revision: https://phab.mercurial-scm.org/D5390
hgext/shelve.py
--- a/hgext/shelve.py
+++ b/hgext/shelve.py
@@ -474,17 +474,17 @@ def _docreatecmd(ui, repo, pats, opts):
         opts['message'] = desc
 
     lock = tr = activebookmark = None
     try:
         lock = repo.lock()
 
         # use an uncommitted transaction to generate the bundle to avoid
         # pull races. ensure we don't print the abort message to stderr.
-        tr = repo.transaction('commit', report=lambda x: None)
+        tr = repo.transaction('shelve', report=lambda x: None)
 
         interactive = opts.get('interactive', False)
         includeunknown = (opts.get('unknown', False) and
                           not opts.get('addremove', False))
 
         name = getshelvename(repo, parent, opts)
         activebookmark = _backupactivebookmark(repo)
         extra = {'internal': 'shelve'}