##// 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-bookmarks-strip
45 lines | 608 B | text/plain | TextLexer
/ tests / test-bookmarks-strip
David Soria Parra
bookmarks: Use dirstate to determine the current node in addchangegroup...
r7316 #!/bin/sh
Matt Mackall
strip: improve full backup message
r11200 source $TESTDIR/helpers.sh
David Soria Parra
bookmarks: Use dirstate to determine the current node in addchangegroup...
r7316 echo "[extensions]" >> $HGRCPATH
echo "bookmarks=" >> $HGRCPATH
echo "mq=" >> $HGRCPATH
hg init
echo qqq>qqq.txt
echo % add file
hg add
echo % commit first revision
hg ci -m 1 -u user -d "1 0"
echo % set bookmark
hg book test
echo www>>qqq.txt
echo % commit second revision
hg ci -m 2 -u usr -d "1 0"
echo % set bookmark
hg book test2
echo % update to -2
hg update -r -2
echo eee>>qqq.txt
echo % commit new head
hg ci -m 3 -u user -d "1 0"
echo % bookmarks updated?
hg book
echo % strip to revision 1
Matt Mackall
strip: improve full backup message
r11200 hg strip 1 | hidebackup
David Soria Parra
bookmarks: Use dirstate to determine the current node in addchangegroup...
r7316
echo % list bookmarks
hg book