comparison 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
comparison
equal deleted inserted replaced
23766:ce0731e58ac9 23767:749dc66e9329
491 $ echo "testing addremove with patterns" > testaddremove.dat 491 $ echo "testing addremove with patterns" > testaddremove.dat
492 $ echo "normaladdremove" > normaladdremove 492 $ echo "normaladdremove" > normaladdremove
493 $ cd .. 493 $ cd ..
494 $ hg -R a -v addremove 494 $ hg -R a -v addremove
495 removing sub/large4 495 removing sub/large4
496 adding a/testaddremove.dat as a largefile (glob) 496 adding testaddremove.dat as a largefile
497 removing normal3 497 removing normal3
498 adding normaladdremove 498 adding normaladdremove
499 $ cd a 499 $ cd a
500 500
501 Test 3364 501 Test 3364
1729 coexist. 1729 coexist.
1730 1730
1731 $ rm sub2/large7 1731 $ rm sub2/large7
1732 $ echo "largeasnormal" > sub2/large7 1732 $ echo "largeasnormal" > sub2/large7
1733 $ hg add sub2/large7 1733 $ hg add sub2/large7
1734 sub2/large7 already a largefile 1734 sub2/large7 already a largefile (glob)
1735 1735
1736 Test that transplanting a largefile change works correctly. 1736 Test that transplanting a largefile change works correctly.
1737 1737
1738 $ cd .. 1738 $ cd ..
1739 $ hg clone -r 8 d g 1739 $ hg clone -r 8 d g