Submitter | Boris Feld |
---|---|
Date | July 7, 2017, 12:38 p.m. |
Message ID | <030b6e711be36cf764cb.1499431110@FB> |
Download | mbox | patch |
Permalink | /patch/22093/ |
State | Changes Requested |
Headers | show |
Comments
Patch
diff -r 89796a25d4bb -r 030b6e711be3 mercurial/obsolete.py --- a/mercurial/obsolete.py Mon Jul 03 11:22:00 2017 +0200 +++ b/mercurial/obsolete.py Thu Jul 06 14:46:07 2017 +0200 @@ -989,11 +989,14 @@ metadata = {} if 'user' not in metadata: metadata['user'] = repo.ui.username() + + # Operation metadata handling useoperation = repo.ui.configbool('experimental', 'evolution.track-operation', False) if useoperation and operation: metadata['operation'] = operation + tr = repo.transaction('add-obsolescence-marker') try: markerargs = []