equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 HGRCPATH=$HGTMP/.hgrc; export HGRCPATH |
3 echo "[extensions]" >> $HGRCPATH |
4 echo "[extensions]" >> $HGTMP/.hgrc |
4 echo "mq=" >> $HGRCPATH |
5 echo "mq=" >> $HGTMP/.hgrc |
|
6 |
5 |
7 echo % help |
6 echo % help |
8 hg help mq |
7 hg help mq |
9 |
8 |
10 hg init a |
9 hg init a |
125 echo x>x |
124 echo x>x |
126 hg ci -Ama |
125 hg ci -Ama |
127 hg strip tip 2>&1 | sed 's/\(saving bundle to \).*/\1/' |
126 hg strip tip 2>&1 | sed 's/\(saving bundle to \).*/\1/' |
128 hg unbundle .hg/strip-backup/* |
127 hg unbundle .hg/strip-backup/* |
129 |
128 |
130 cat >>$HGTMP/.hgrc <<EOF |
129 cat >>$HGRCPATH <<EOF |
131 [diff] |
130 [diff] |
132 git = True |
131 git = True |
133 EOF |
132 EOF |
134 cd .. |
133 cd .. |
135 hg init git |
134 hg init git |