Show More
@@ -435,11 +435,12 b' def downloadlfiles(ui, repo, rev=None):' | |||||
435 | pass |
|
435 | pass | |
436 | totalsuccess = 0 |
|
436 | totalsuccess = 0 | |
437 | totalmissing = 0 |
|
437 | totalmissing = 0 | |
438 | for ctx in cmdutil.walkchangerevs(repo, matchfn, {'rev' : rev}, |
|
438 | if rev != []: # walkchangerevs on empty list would return all revs | |
439 | prepare): |
|
439 | for ctx in cmdutil.walkchangerevs(repo, matchfn, {'rev' : rev}, | |
440 | success, missing = cachelfiles(ui, repo, ctx.node()) |
|
440 | prepare): | |
441 | totalsuccess += len(success) |
|
441 | success, missing = cachelfiles(ui, repo, ctx.node()) | |
442 |
|
|
442 | totalsuccess += len(success) | |
|
443 | totalmissing += len(missing) | |||
443 | ui.status(_("%d additional largefiles cached\n") % totalsuccess) |
|
444 | ui.status(_("%d additional largefiles cached\n") % totalsuccess) | |
444 | if totalmissing > 0: |
|
445 | if totalmissing > 0: | |
445 | ui.status(_("%d largefiles failed to download\n") % totalmissing) |
|
446 | ui.status(_("%d largefiles failed to download\n") % totalmissing) |
@@ -1262,6 +1262,16 b' revert some files to an older revision' | |||||
1262 | - cleanup |
|
1262 | - cleanup | |
1263 | $ rm $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 |
|
1263 | $ rm $TESTTMP/d/.hg/largefiles/eb7338044dc27f9bc59b8dd5a246b065ead7a9c4 | |
1264 |
|
1264 | |||
|
1265 | Pulling 0 revisions with --all-largefiles should not fetch for all revisions | |||
|
1266 | ||||
|
1267 | $ hg pull --all-largefiles | |||
|
1268 | pulling from $TESTTMP/d (glob) | |||
|
1269 | searching for changes | |||
|
1270 | no changes found | |||
|
1271 | caching new largefiles | |||
|
1272 | 0 largefiles cached | |||
|
1273 | 0 additional largefiles cached | |||
|
1274 | ||||
1265 | Merging does not revert to old versions of largefiles and also check |
|
1275 | Merging does not revert to old versions of largefiles and also check | |
1266 | that merging after having pulled from a non-default remote works |
|
1276 | that merging after having pulled from a non-default remote works | |
1267 | correctly. |
|
1277 | correctly. |
General Comments 0
You need to be logged in to leave comments.
Login now