Comments
Patch
@@ -1715,6 +1715,21 @@
1 largefiles updated, 0 removed
$ hg -R ../update_on_clone status -S
+Check that a clean subrepo update replaces largefiles
+
+ $ echo "modified" > ../update_on_clone/subrepo/large.txt
+ $ hg -R ../update_on_clone update
+ 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ $ hg -R ../update_on_clone status -S
+ M subrepo/large.txt
+ $ hg -R ../update_on_clone update -C
+ getting changed largefiles
+ 1 largefiles updated, 0 removed
+ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ getting changed largefiles
+ 0 largefiles updated, 0 removed
+ $ hg -R ../update_on_clone status -S
+
Test archiving a revision that references a subrepo that is not yet
cloned (see test-subrepo-recursion.t):