mergestate: action name was str stable
authorGeorges Racinet <georges.racinet@octobus.net>
Tue, 19 Jul 2022 12:41:46 +0200
branchstable
changeset 49392 34e15bbab67c
parent 49388 4a1f0bc0713e
child 49397 9d427cc2e742
mergestate: action name was str Apparently the standard for them is still to use byte strings. Found while looking at something else
mercurial/mergestate.py
--- a/mercurial/mergestate.py	Wed Jul 13 18:27:40 2022 +0200
+++ b/mercurial/mergestate.py	Tue Jul 19 12:41:46 2022 +0200
@@ -159,7 +159,7 @@
 ACTION_ADD = MergeAction(b'a', narrow_safe=True, changes=CHANGE_ADDED)
 ACTION_GET = MergeAction(b'g', narrow_safe=True, changes=CHANGE_MODIFIED)
 ACTION_PATH_CONFLICT = MergeAction(b'p')
-ACTION_PATH_CONFLICT_RESOLVE = MergeAction('pr')
+ACTION_PATH_CONFLICT_RESOLVE = MergeAction(b'pr')
 ACTION_ADD_MODIFIED = MergeAction(
     b'am', narrow_safe=True, changes=CHANGE_ADDED
 )  # not 100% about the changes value here