Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-diffdir @ 776:7635a3f14ad4
Add template to mktemp call
Based on a patch from Soh Tk-r28629
author | mpm@selenic.com |
---|---|
date | Tue, 26 Jul 2005 19:27:05 -0800 |
parents | 6592c4f5cd4f |
children | 445970ccf57a 8f5637f0a0c0 0902ffece4b4 |
line wrap: on
line source
#!/bin/sh hg init touch a hg add a hg ci -m "a" -d "0 0" echo 123 > b hg add b hg diff | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/" hg diff -r tip | sed "s/\(\(---\|+++\) [^ \t]*\)[ \t].*/\1/"