##// END OF EJS Templates
largefiles: download missing subrepo revs when archiving...
Matt Harbison -
r17695:75f25bd4 stable
parent child Browse files
Show More
@@ -841,6 +841,7 b' def overridearchive(orig, repo, dest, no'
841 archiver.done()
841 archiver.done()
842
842
843 def hgsubrepoarchive(orig, repo, ui, archiver, prefix, match=None):
843 def hgsubrepoarchive(orig, repo, ui, archiver, prefix, match=None):
844 repo._get(repo._state + ('hg',))
844 rev = repo._state[1]
845 rev = repo._state[1]
845 ctx = repo._repo[rev]
846 ctx = repo._repo[rev]
846
847
@@ -1582,6 +1582,14 b' Lock in subrepo, otherwise the change is'
1582 lf_subrepo_archive/subrepo/large.txt
1582 lf_subrepo_archive/subrepo/large.txt
1583 lf_subrepo_archive/subrepo/normal.txt
1583 lf_subrepo_archive/subrepo/normal.txt
1584
1584
1585 Test archiving a revision that references a subrepo that is not yet
1586 cloned (see test-subrepo-recursion.t):
1587
1588 $ hg clone -U . ../empty
1589 $ cd ../empty
1590 $ hg archive --subrepos -r tip ../archive.tar.gz 2>&1 | "$TESTDIR/filtercr.py"
1591 cloning subrepo subrepo from $TESTTMP/statusmatch/subrepo
1592
1585 $ cd ..
1593 $ cd ..
1586
1594
1587 Test that addremove picks up largefiles prior to the initial commit (issue3541)
1595 Test that addremove picks up largefiles prior to the initial commit (issue3541)
General Comments 0
You need to be logged in to leave comments. Login now