Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-mq @ 2935:1c66aad252f9
sed portability fixes
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 16 Aug 2006 19:50:21 -0700 |
parents | 2f190e998eb3 |
children | 61fcd9fac434 |
line wrap: on
line diff
--- a/tests/test-mq +++ b/tests/test-mq @@ -141,12 +141,14 @@ echo foo > new chmod +x new hg add new hg qrefresh -sed -e "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/new +sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ + -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/new hg qnew -m'copy file' copy hg cp new copy hg qrefresh -sed -e "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/copy +sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ + -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/copy hg qpop hg qpush