author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
Sat, 07 Jan 2012 11:40:45 +0100 | |
changeset 123 | 36b27bd12aef |
parent 122 | c75a73209f1e |
child 124 | c6af5921bb74 |
hgext/obsolete.py | file | annotate | diff | comparison | revisions |
--- a/hgext/obsolete.py Sat Jan 07 11:33:20 2012 +0100 +++ b/hgext/obsolete.py Sat Jan 07 11:40:45 2012 +0100 @@ -496,9 +496,9 @@ repo.__class__ = obsoletingrepo - obsoletes = [c.node() for c in repo.set('obsolete() - public()')] - lock = repo.lock() if repo.ui.configbool('obsolete', 'secret-unstable', True): + obsoletes = [c.node() for c in repo.set('obsolete()')] + lock = repo.lock() try: phases.retractboundary(repo, 2, obsoletes) finally: