Show More
@@ -732,12 +732,9 b' def overridepull(orig, ui, repo, source=' | |||||
732 | else: |
|
732 | else: | |
733 | result = orig(ui, repo, source, **opts) |
|
733 | result = orig(ui, repo, source, **opts) | |
734 | revspostpull = len(repo) |
|
734 | revspostpull = len(repo) | |
|
735 | lfrevs = opts.get('lfrev', []) | |||
735 | if opts.get('all_largefiles'): |
|
736 | if opts.get('all_largefiles'): | |
736 | revs = [] |
|
737 | lfrevs.append('pulled()') | |
737 | for rev in xrange(revsprepull, revspostpull): |
|
|||
738 | revs.append(repo[rev].rev()) |
|
|||
739 | lfcommands.downloadlfiles(ui, repo, revs) |
|
|||
740 | lfrevs = opts.get('lfrev', []) |
|
|||
741 | if lfrevs and revspostpull > revsprepull: |
|
738 | if lfrevs and revspostpull > revsprepull: | |
742 | numcached = 0 |
|
739 | numcached = 0 | |
743 | repo.firstpulled = revsprepull # for pulled() revset expression |
|
740 | repo.firstpulled = revsprepull # for pulled() revset expression |
@@ -911,7 +911,7 b" downloaded from 'default' instead of 'de" | |||||
911 | adding file changes |
|
911 | adding file changes | |
912 | added 6 changesets with 16 changes to 8 files |
|
912 | added 6 changesets with 16 changes to 8 files | |
913 | (run 'hg update' to get a working copy) |
|
913 | (run 'hg update' to get a working copy) | |
914 |
6 |
|
914 | 6 largefiles cached | |
915 |
|
915 | |||
916 | redo pull with --lfrev and check it pulls largefiles for the right revs |
|
916 | redo pull with --lfrev and check it pulls largefiles for the right revs | |
917 |
|
917 | |||
@@ -1002,7 +1002,7 b' rebased or not.' | |||||
1002 | M sub/normal4 |
|
1002 | M sub/normal4 | |
1003 | M sub2/large6 |
|
1003 | M sub2/large6 | |
1004 | saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-backup.hg (glob) |
|
1004 | saved backup bundle to $TESTTMP/d/.hg/strip-backup/f574fb32bb45-backup.hg (glob) | |
1005 |
0 |
|
1005 | 0 largefiles cached | |
1006 | nothing to rebase |
|
1006 | nothing to rebase | |
1007 | $ [ -f .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 ] |
|
1007 | $ [ -f .hg/largefiles/e166e74c7303192238d60af5a9c4ce9bef0b7928 ] | |
1008 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' |
|
1008 | $ hg log --template '{rev}:{node|short} {desc|firstline}\n' | |
@@ -1361,7 +1361,6 b' Pulling 0 revisions with --all-largefile' | |||||
1361 | pulling from $TESTTMP/d (glob) |
|
1361 | pulling from $TESTTMP/d (glob) | |
1362 | searching for changes |
|
1362 | searching for changes | |
1363 | no changes found |
|
1363 | no changes found | |
1364 | 0 additional largefiles cached |
|
|||
1365 |
|
1364 | |||
1366 | Merging does not revert to old versions of largefiles and also check |
|
1365 | Merging does not revert to old versions of largefiles and also check | |
1367 | that merging after having pulled from a non-default remote works |
|
1366 | that merging after having pulled from a non-default remote works |
General Comments 0
You need to be logged in to leave comments.
Login now