Mercurial > hg-stable
changeset 19752:11fdf9f754b7
mq: remove unused repo._committingpatch-related code
This was introduced in 20ad8f0512a2 but its usage was removed in
46cc3b74e1c5.
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Mon, 16 Sep 2013 01:08:29 -0700 |
parents | d4ed26beae0e |
children | 2c9645c0a582 |
files | hgext/mq.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/mq.py Wed Sep 18 14:52:16 2013 -0500 +++ b/hgext/mq.py Mon Sep 16 01:08:29 2013 -0700 @@ -283,15 +283,11 @@ phase = phases.secret if phase is not None: backup = repo.ui.backupconfig('phases', 'new-commit') - # Marking the repository as committing an mq patch can be used - # to optimize operations like branchtags(). - repo._committingpatch = True try: if phase is not None: repo.ui.setconfig('phases', 'new-commit', phase) return repo.commit(*args, **kwargs) finally: - repo._committingpatch = False if phase is not None: repo.ui.restoreconfig(backup)