Mercurial > hg > mercurial-crew-with-dirclash
comparison 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 |
comparison
equal
deleted
inserted
replaced
2934:2f190e998eb3 | 2935:1c66aad252f9 |
---|---|
139 hg qnew -m'new file' new | 139 hg qnew -m'new file' new |
140 echo foo > new | 140 echo foo > new |
141 chmod +x new | 141 chmod +x new |
142 hg add new | 142 hg add new |
143 hg qrefresh | 143 hg qrefresh |
144 sed -e "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/new | 144 sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ |
145 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/new | |
145 | 146 |
146 hg qnew -m'copy file' copy | 147 hg qnew -m'copy file' copy |
147 hg cp new copy | 148 hg cp new copy |
148 hg qrefresh | 149 hg qrefresh |
149 sed -e "s/\(\(---\|+++\) [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/copy | 150 sed -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \ |
151 -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/copy | |
150 | 152 |
151 hg qpop | 153 hg qpop |
152 hg qpush | 154 hg qpush |
153 hg qdiff | 155 hg qdiff |