Submitter | phabricator |
---|---|
Date | Jan. 29, 2022, 2:13 p.m. |
Message ID | <differential-rev-PHID-DREV-wokcpzbasyjpxichrkgf-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50428/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -336,10 +336,9 @@ for f in pmmf: fold = util.normcase(f) if fold in foldmap: - raise error.StateError( - _(b"case-folding collision between %s and %s") - % (f, foldmap[fold]) - ) + msg = _(b"case-folding collision between %s and %s") + msg %= (f, foldmap[fold]) + raise error.StateError(msg) foldmap[fold] = f # check case-folding of directories