# HG changeset patch # User Augie Fackler # Date 2018-04-14 03:12:07 # Node ID 886754323bede9e79da8f05335458af63c377668 # Parent 9bbb13c0f98287c0896a4b9dcb6365d4acb66c27 largefiles: opts appears to already be bytes in this instance test-largefiles.t now passes. Differential Revision: https://phab.mercurial-scm.org/D3364 diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -211,6 +211,7 @@ test-largefiles-cache.t 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 diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -897,7 +897,7 @@ def hgclone(orig, ui, opts, *args, **kwa # 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: