##// END OF EJS Templates
largefiles: fix caching largefiles from an aliased repo (issue3212)
Na'Tosha Bard -
r15943:f9efb325 stable
parent child Browse files
Show More
@@ -166,8 +166,11 b' def _openstore(repo, remote=None, put=Fa'
166 ui = repo.ui
166 ui = repo.ui
167
167
168 if not remote:
168 if not remote:
169 path = (getattr(repo, 'lfpullsource', None) or
169 lfpullsource = getattr(repo, 'lfpullsource', None)
170 ui.expandpath('default-push', 'default'))
170 if lfpullsource:
171 path = ui.expandpath(lfpullsource)
172 else:
173 path = ui.expandpath('default-push', 'default')
171
174
172 # ui.expandpath() leaves 'default-push' and 'default' alone if
175 # ui.expandpath() leaves 'default-push' and 'default' alone if
173 # they cannot be expanded: fallback to the empty string,
176 # they cannot be expanded: fallback to the empty string,
General Comments 0
You need to be logged in to leave comments. Login now