tests/test-largefiles.t
branchstable
changeset 17229 a6d9b2d33040
parent 17092 5d0d99952494
child 17230 fc4c155658b7
--- a/tests/test-largefiles.t	Thu Jul 19 21:20:56 2012 +0200
+++ b/tests/test-largefiles.t	Thu Jul 19 06:30:59 2012 -0400
@@ -370,6 +370,25 @@
   removing normal3
   adding normaladdremove
 
+Test addremove with -R
+
+  $ hg up -C
+  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  getting changed largefiles
+  1 largefiles updated, 0 removed
+  $ rm normal3
+  $ rm sub/large4
+  $ echo "testing addremove with patterns" > testaddremove.dat
+  $ echo "normaladdremove" > normaladdremove
+  $ cd ..
+  $ hg -R a addremove
+  removing sub/large4
+  adding a/.hglf/testaddremove.dat as a largefile (glob)
+  adding a/testaddremove.dat as a largefile (glob)
+  removing normal3
+  adding normaladdremove
+  $ cd a
+
 Clone a largefiles repo.
 
   $ hg clone . ../b