--- a/tests/test-largefiles.t Sat Jan 07 23:37:19 2012 +0100
+++ b/tests/test-largefiles.t Sun Jan 08 14:50:20 2012 +0100
@@ -17,7 +17,8 @@
> EOF
Create the repo with a couple of revisions of both large and normal
-files, testing that status correctly shows largefiles.
+files, testing that status correctly shows largefiles and that summary output
+is correct.
$ hg init a
$ cd a
@@ -38,7 +39,20 @@
M normal1
M sub/large2
M sub/normal2
+ $ hg sum
+ parent: 0:30d30fe6a5be tip
+ add files
+ branch: default
+ commit: 4 modified
+ update: (current)
$ hg commit -m "edit files"
+ $ hg sum --large
+ parent: 1:ce8896473775 tip
+ edit files
+ branch: default
+ commit: (clean)
+ update: (current)
+ largefiles: No remote repo
Commit preserved largefile contents.
@@ -57,6 +71,18 @@
$ hg commit -m "remove files"
$ ls
sub
+ $ echo "testlargefile" > large1-test
+ $ hg add --large large1-test
+ $ hg st
+ A large1-test
+ $ hg rm large1-test
+ not removing large1-test: file has been marked for add (use forget to undo)
+ $ hg st
+ A large1-test
+ $ hg forget large1-test
+ $ hg st
+ ? large1-test
+ $ rm large1-test
Copy both largefiles and normal files (testing that status output is correct).