##// END OF EJS Templates
color: bring back colors with pager...
color: bring back colors with pager It's introduced by 3c368a1c962d, but missing in merge changeset at a890cc501501.

File last commit:

r11200:12e5149c default
r11207:1d714c15 default
Show More
test-mq-strip
55 lines | 750 B | text/plain | TextLexer
Martin Geisler
tests: add missing interpreter lines
r8452 #!/bin/sh
Matt Mackall
strip: improve full backup message
r11200 source $TESTDIR/helpers.sh
Dirkjan Ochtman
mq: don't update the working copy on strip if parents aren't stripped...
r6635 echo "[extensions]" >> $HGRCPATH
echo "mq=" >> $HGRCPATH
teststrip() {
hg up -C $1
echo % before update $1, strip $2
hg parents
Matt Mackall
strip: improve full backup message
r11200 hg strip $2 | hidebackup
Dirkjan Ochtman
mq: don't update the working copy on strip if parents aren't stripped...
r6635 echo % after update $1, strip $2
hg parents
hg unbundle -q .hg/strip-backup/*
rm .hg/strip-backup/*
}
hg init test
cd test
echo foo > bar
hg ci -Ama
echo more >> bar
hg ci -Amb
echo blah >> bar
hg ci -Amc
hg up 1
echo blah >> bar
hg ci -Amd
echo final >> bar
hg ci -Ame
hg log
teststrip 4 4
teststrip 4 3
teststrip 1 4
teststrip 4 2
teststrip 4 1
teststrip null 4
hg log
hg up -C 2
hg merge 4
echo % before strip of merge parent
hg parents
Matt Mackall
strip: improve full backup message
r11200 hg strip 4 2>&1 | hidebackup
Dirkjan Ochtman
mq: don't update the working copy on strip if parents aren't stripped...
r6635 echo % after strip of merge parent
hg parents