# HG changeset patch # User Mads Kiilerich # Date 1422034897 -3600 # Node ID 164bd5218ddb6381366d5ce849c9cea4ee431e6f # Parent d0ef40776999b47cccb79c187f9cbb0e9a6d58f3 largefiles: use 'default' path for pulling largefiles, not 'default-push' The put parameter has been unused since day 0. diff -r d0ef40776999 -r 164bd5218ddb hgext/largefiles/basestore.py --- a/hgext/largefiles/basestore.py Fri Jan 23 06:28:28 2015 +0100 +++ b/hgext/largefiles/basestore.py Fri Jan 23 18:41:37 2015 +0100 @@ -181,8 +181,10 @@ lfpullsource = getattr(repo, 'lfpullsource', None) if lfpullsource: path = ui.expandpath(lfpullsource) + elif put: + path = ui.expandpath('default-push', 'default') else: - path = ui.expandpath('default-push', 'default') + path = ui.expandpath('default') # ui.expandpath() leaves 'default-push' and 'default' alone if # they cannot be expanded: fallback to the empty string,