Submitter | phabricator |
---|---|
Date | Jan. 29, 2022, 2:14 p.m. |
Message ID | <differential-rev-PHID-DREV-pauzshmoh42fx36rktnw-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50431/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -537,9 +537,8 @@ hint = _(b'merging in the other direction may work') raise error.Abort(msg % f, hint=hint) else: - raise error.StateError( - _(b'conflict in file \'%s\' is outside narrow clone') % f - ) + msg = _(b'conflict in file \'%s\' is outside narrow clone') + raise error.StateError(msg % f) class mergeresult(object):