--- a/hgext/largefiles/overrides.py Thu Oct 08 15:35:44 2020 -0700
+++ b/hgext/largefiles/overrides.py Thu Oct 08 13:37:31 2020 -0700
@@ -734,7 +734,7 @@
try:
result = orig(ui, repo, pats, opts, rename)
except error.Abort as e:
- if pycompat.bytestr(e) != _(b'no files to copy'):
+ if e.message != _(b'no files to copy'):
raise e
else:
nonormalfiles = True
@@ -851,7 +851,7 @@
lfdirstate.add(destlfile)
lfdirstate.write()
except error.Abort as e:
- if pycompat.bytestr(e) != _(b'no files to copy'):
+ if e.message != _(b'no files to copy'):
raise e
else:
nolfiles = True