equal
deleted
inserted
replaced
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 |