[PATCH 2 of 2] largefiles: check status output for rename and copy
Na'Tosha Bard
natosha at unity3d.com
Tue Nov 29 15:15:41 UTC 2011
# HG changeset patch
# User Na'Tosha Bard <natosha at unity3d.com>
# Date 1322579356 -3600
# Node ID 1c544a55f52323e291fdbb29da4ddb87028cc2f6
# Parent dfe717266e728cb2f780899ad218f3a4fa2a5ee9
largefiles: check status output for rename and copy
diff -r dfe717266e72 -r 1c544a55f523 tests/test-largefiles.t
--- a/tests/test-largefiles.t Tue Nov 29 16:08:44 2011 +0100
+++ b/tests/test-largefiles.t Tue Nov 29 16:09:16 2011 +0100
@@ -53,10 +53,13 @@
$ ls
sub
-Copy both largefiles and normal files.
+Copy both largefiles and normal files (testing that status output is correct).
$ hg cp sub/normal2 normal1
$ hg cp sub/large2 large1
+ $ hg st
+ A large1
+ A normal1
$ hg commit -m "copy files"
$ cat normal1
normal22
@@ -695,7 +698,20 @@
large6-modified
$ cat sub2/large7
large7
- $ cd ..
+
+Test that renaming a largefile results in correct output for status
+
+ $ hg rename sub/large4 large4-renamed
+ $ hg st
+ A large4-renamed
+ R sub/large4
+ $ hg commit -m "test rename output"
+ $ cd sub2
+ $ hg rename large6 large6-renamed
+ $ hg st
+ A sub2/large6-renamed
+ R sub2/large6
+ $ cd ../..
vanilla clients not locked out from largefiles servers on vanilla repos
$ mkdir r1
More information about the Mercurial-devel
mailing list