Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-diffdir @ 771:0de223012086
Fixes for annotate
Handle files that aren't in the repo
Handle empty files
author | mpm@selenic.com |
---|---|
date | Sat, 23 Jul 2005 14:11:49 -0500 |
parents | 7e4843b7efd2 |
children | 6592c4f5cd4f 445970ccf57a |
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.*/\1/" hg diff -r tip | sed "s/\(\(---\|+++\).*\)\t.*/\1/"