--- a/tests/test-largefiles-misc.t Thu Jan 01 16:30:11 2015 -0600
+++ b/tests/test-largefiles-misc.t Sun Jan 04 15:26:26 2015 -0500
@@ -250,6 +250,7 @@
Add a normal file to the subrepo, then test archiving
$ echo 'normal file' > subrepo/normal.txt
+ $ touch large.dat
$ mv subrepo/large.txt subrepo/renamed-large.txt
$ hg -R subrepo addremove --dry-run
removing large.txt
@@ -257,11 +258,19 @@
adding renamed-large.txt
$ hg status -S
! subrepo/large.txt
+ ? large.dat
? subrepo/normal.txt
? subrepo/renamed-large.txt
$ mv subrepo/renamed-large.txt subrepo/large.txt
$ hg -R subrepo add subrepo/normal.txt
+ $ hg addremove
+ adding large.dat as a largefile
+ $ rm large.dat
+
+ $ hg addremove
+ removing large.dat
+
Lock in subrepo, otherwise the change isn't archived
$ hg ci -S -m "add normal file to top level"