Submitter | phabricator |
---|---|
Date | Oct. 9, 2020, 4:23 p.m. |
Message ID | <differential-rev-PHID-DREV-p76h2reuvfwjff2skocp-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/47421/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/merge.py b/mercurial/merge.py --- a/mercurial/merge.py +++ b/mercurial/merge.py @@ -1309,7 +1309,8 @@ wctx[f].remove(ignoremissing=True) except OSError as inst: repo.ui.warn( - _(b"update failed to remove %s: %s!\n") % (f, inst.strerror) + _(b"update failed to remove %s: %s!\n") + % (f, pycompat.bytestr(inst.strerror)) ) if i == 100: yield i, f