##// END OF EJS Templates
Output file of 'export' is opened as binary (other OS)...
Output file of 'export' is opened as binary (other OS) # HG changeset patch # User thananck@yahoo.com # Node ID 7a240687674e6cf5a8dfd45973d7e3978b89af79 # Parent d2994b5298fb20f87dc1d4747635b280db3c0526 Output file of 'export' is opened as binary (other OS)

File last commit:

r536:c15b4bc0 default
r615:ad2999fa default
Show More
test-diffdir
12 lines | 187 B | text/plain | TextLexer
#!/bin/sh
hg init
touch a
hg add a
hg ci -t "a" -u test -d "0 0"
echo 123 > b
hg add b
hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/"
hg diff -r tip | sed "s/\(\(---\|+++\).*\)\t.*/\1/"