largefiles: opts appears to already be bytes in this instance
authorAugie Fackler <augie@google.com>
Fri, 13 Apr 2018 23:12:07 -0400
changeset 37755 886754323bed
parent 37754 9bbb13c0f982
child 37756 e7bf5a73e4e1
largefiles: opts appears to already be bytes in this instance test-largefiles.t now passes. Differential Revision: https://phab.mercurial-scm.org/D3364
contrib/python3-whitelist
hgext/largefiles/overrides.py
--- a/contrib/python3-whitelist	Fri Apr 13 23:58:13 2018 -0400
+++ b/contrib/python3-whitelist	Fri Apr 13 23:12:07 2018 -0400
@@ -211,6 +211,7 @@
 test-largefiles-misc.t
 test-largefiles-small-disk.t
 test-largefiles-update.t
+test-largefiles.t
 test-lfs-largefiles.t
 test-linerange.py
 test-locate.t
--- a/hgext/largefiles/overrides.py	Fri Apr 13 23:58:13 2018 -0400
+++ b/hgext/largefiles/overrides.py	Fri Apr 13 23:12:07 2018 -0400
@@ -897,7 +897,7 @@
         # Caching is implicitly limited to 'rev' option, since the dest repo was
         # truncated at that point.  The user may expect a download count with
         # this option, so attempt whether or not this is a largefile repo.
-        if opts.get(r'all_largefiles'):
+        if opts.get('all_largefiles'):
             success, missing = lfcommands.downloadlfiles(ui, repo, None)
 
             if missing != 0: