Mercurial > hg
comparison hgext/largefiles/overrides.py @ 45453:39ddb1121c4e
largefiles: remove unused 'rev' parameter from downloadlfiles()
It's no longer used since 83ead8cb0ff2 "largefiles: implement pull
--all-largefiles as a special case of --lfrev."
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 11 Sep 2020 10:47:17 +0900 |
parents | 8c466bcb0879 |
children | e5e1285b6f6f |
comparison
equal
deleted
inserted
replaced
45452:dd9e28612468 | 45453:39ddb1121c4e |
---|---|
1092 | 1092 |
1093 # Caching is implicitly limited to 'rev' option, since the dest repo was | 1093 # Caching is implicitly limited to 'rev' option, since the dest repo was |
1094 # truncated at that point. The user may expect a download count with | 1094 # truncated at that point. The user may expect a download count with |
1095 # this option, so attempt whether or not this is a largefile repo. | 1095 # this option, so attempt whether or not this is a largefile repo. |
1096 if opts.get(b'all_largefiles'): | 1096 if opts.get(b'all_largefiles'): |
1097 success, missing = lfcommands.downloadlfiles(ui, repo, None) | 1097 success, missing = lfcommands.downloadlfiles(ui, repo) |
1098 | 1098 |
1099 if missing != 0: | 1099 if missing != 0: |
1100 return None | 1100 return None |
1101 | 1101 |
1102 return result | 1102 return result |