hgext/shelve.py
changeset 40854 236af7cfa4c3
parent 40853 d7e44da4dc70
child 41007 a06dc62f1c82
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