D532: obsolete: clean createmarkers part about operation
lothiraldan (Boris Feld)
phabricator at mercurial-scm.org
Sun Oct 1 06:55:35 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGddcef6d0b0ef: obsolete: clean createmarkers part about operation (authored by lothiraldan, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D532?vs=1336&id=2233
REVISION DETAIL
https://phab.mercurial-scm.org/D532
AFFECTED FILES
mercurial/obsolete.py
CHANGE DETAILS
diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -1028,10 +1028,13 @@
metadata = {}
if 'user' not in metadata:
metadata['user'] = repo.ui.username()
+
+ # Operation metadata handling
useoperation = repo.ui.configbool('experimental',
'stabilization.track-operation')
if useoperation and operation:
metadata['operation'] = operation
+
tr = repo.transaction('add-obsolescence-marker')
try:
markerargs = []
To: lothiraldan, #hg-reviewers, pulkit, durin42
Cc: pulkit, mercurial-devel
More information about the Mercurial-devel
mailing list