changeset 32393 | f432897a9f49 |
parent 32372 | 566cfe9cbbb9 |
child 32411 | df448de7cf3b |
--- a/mercurial/obsolete.py Fri May 19 19:46:45 2017 -0700 +++ b/mercurial/obsolete.py Sat May 20 03:10:23 2017 +0200 @@ -1246,7 +1246,10 @@ metadata = {} if 'user' not in metadata: metadata['user'] = repo.ui.username() - if operation: + useoperation = repo.ui.configbool('experimental', + 'evolution.track-operation', + False) + if useoperation and operation: metadata['operation'] = operation tr = repo.transaction('add-obsolescence-marker') try: