--- a/hgext/fastannotate/commands.py Tue Oct 08 19:35:30 2019 -0700
+++ b/hgext/fastannotate/commands.py Sun Oct 06 20:17:41 2019 -0700
@@ -218,7 +218,7 @@
paths = list(_matchpaths(repo, rev, pats, opts, aopts))
# for client, prefetch from the server
- if util.safehasattr(repo, b'prefetchfastannotate'):
+ if util.safehasattr(repo, 'prefetchfastannotate'):
repo.prefetchfastannotate(paths)
for path in paths:
@@ -273,7 +273,7 @@
# check if we need to do prefetch (client-side)
rev = opts.get(r'rev')
- if util.safehasattr(repo, b'prefetchfastannotate') and rev is not None:
+ if util.safehasattr(repo, 'prefetchfastannotate') and rev is not None:
paths = list(_matchpaths(repo, rev, pats, pycompat.byteskwargs(opts)))
repo.prefetchfastannotate(paths)
@@ -320,7 +320,7 @@
ctx = scmutil.revsingle(repo, rev)
m = scmutil.match(ctx, pats, opts)
paths = list(ctx.walk(m))
- if util.safehasattr(repo, b'prefetchfastannotate'):
+ if util.safehasattr(repo, 'prefetchfastannotate'):
# client
if opts.get(b'REV'):
raise error.Abort(_(b'--rev cannot be used for client'))