##// END OF EJS Templates
patchbomb: fix 'echo -en' bashism in test-patchbomb...
patchbomb: fix 'echo -en' bashism in test-patchbomb The echo command doesn't accept options in some shells. printf is required by the SUSv2 (Single UNIX Specification v2).

File last commit:

r3199:096f1c73 default
r9730:732fc0e9 default
Show More
test-diff-subdir
24 lines | 291 B | text/plain | TextLexer
Giorgos Keramidas
tests: new test for hg diff of a subdirectory only
r2879 #!/bin/sh
hg init
mkdir alpha
touch alpha/one
mkdir beta
touch beta/two
hg add alpha/one beta/two
hg ci -m "start" -d "1000000 0"
echo 1 > alpha/one
echo 2 > beta/two
echo EVERYTHING
Stephen Darnell
Add -D/--nodates options to hg diff/export that removes dates from diff headers...
r3199 hg diff --nodates
Giorgos Keramidas
tests: new test for hg diff of a subdirectory only
r2879
echo BETA ONLY
Stephen Darnell
Add -D/--nodates options to hg diff/export that removes dates from diff headers...
r3199 hg diff --nodates beta
Giorgos Keramidas
tests: new test for hg diff of a subdirectory only
r2879
echo INSIDE BETA
cd beta
Stephen Darnell
Add -D/--nodates options to hg diff/export that removes dates from diff headers...
r3199 hg diff --nodates .