comparison hgext/shelve.py @ 40854:236af7cfa4c3

shelve: change transaction description from "commit" to "shelve" "commit" was probably a copy&paste mistake. Differential Revision: https://phab.mercurial-scm.org/D5390
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 05 Dec 2018 14:17:15 -0800
parents d7e44da4dc70
children a06dc62f1c82
comparison
equal deleted inserted replaced
40853:d7e44da4dc70 40854:236af7cfa4c3
477 try: 477 try:
478 lock = repo.lock() 478 lock = repo.lock()
479 479
480 # use an uncommitted transaction to generate the bundle to avoid 480 # use an uncommitted transaction to generate the bundle to avoid
481 # pull races. ensure we don't print the abort message to stderr. 481 # pull races. ensure we don't print the abort message to stderr.
482 tr = repo.transaction('commit', report=lambda x: None) 482 tr = repo.transaction('shelve', report=lambda x: None)
483 483
484 interactive = opts.get('interactive', False) 484 interactive = opts.get('interactive', False)
485 includeunknown = (opts.get('unknown', False) and 485 includeunknown = (opts.get('unknown', False) and
486 not opts.get('addremove', False)) 486 not opts.get('addremove', False))
487 487