changeset 37755:886754323bed

largefiles: opts appears to already be bytes in this instance test-largefiles.t now passes. Differential Revision: https://phab.mercurial-scm.org/D3364
author Augie Fackler <augie@google.com>
date Fri, 13 Apr 2018 23:12:07 -0400
parents 9bbb13c0f982
children e7bf5a73e4e1
files contrib/python3-whitelist hgext/largefiles/overrides.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: