diff tests/test-largefiles.t @ 23767:749dc66e9329

largefiles: align the output messages for an added file with core methods Core addremove prints the file relative to cwd only if patterns are provided to the command. Core add always prints relative to cwd. Also, both methods print the subrepo prefix when needed. The 'already a largefile' doesn't have an analog in core, but follows the same rules for consistency.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 28 Nov 2014 21:44:41 -0500
parents 4ab66de46a96
children aa4a1672583e
line wrap: on
line diff
--- a/tests/test-largefiles.t	Fri Nov 28 21:03:44 2014 -0500
+++ b/tests/test-largefiles.t	Fri Nov 28 21:44:41 2014 -0500
@@ -493,7 +493,7 @@
   $ cd ..
   $ hg -R a -v addremove
   removing sub/large4
-  adding a/testaddremove.dat as a largefile (glob)
+  adding testaddremove.dat as a largefile
   removing normal3
   adding normaladdremove
   $ cd a
@@ -1731,7 +1731,7 @@
   $ rm sub2/large7
   $ echo "largeasnormal" > sub2/large7
   $ hg add sub2/large7
-  sub2/large7 already a largefile
+  sub2/large7 already a largefile (glob)
 
 Test that transplanting a largefile change works correctly.