--- a/tests/test-branches.t Mon Nov 08 01:35:41 2010 +0100
+++ b/tests/test-branches.t Mon Nov 08 01:41:41 2010 +0100
@@ -357,19 +357,19 @@
$ hg up -C b
2 files updated, 0 files merged, 3 files removed, 0 files unresolved
$ hg branches --color=always
- [0;32mb[0m [0;33m 13:6ac12926b8c3[0m
- [0;0ma branch name much longer than the default justification used by branches[0m [0;33m7:10ff5895aa57[0m
- [0;0ma[0m [0;33m 5:d8cbc61dbaa6[0m (inactive)
- [0;0mdefault[0m [0;33m 0:19709c5a4e75[0m (inactive)
+ \x1b[0;32mb\x1b[0m \x1b[0;33m 13:6ac12926b8c3\x1b[0m (esc)
+ \x1b[0;0ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;33m7:10ff5895aa57\x1b[0m (esc)
+ \x1b[0;0ma\x1b[0m \x1b[0;33m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc)
+ \x1b[0;0mdefault\x1b[0m \x1b[0;33m 0:19709c5a4e75\x1b[0m (inactive) (esc)
default closed branch color:
$ hg branches --color=always --closed
- [0;32mb[0m [0;33m 13:6ac12926b8c3[0m
- [0;0ma branch name much longer than the default justification used by branches[0m [0;33m7:10ff5895aa57[0m
- [0;30;1mc[0m [0;33m 14:717d2e6fabe1[0m (closed)
- [0;0ma[0m [0;33m 5:d8cbc61dbaa6[0m (inactive)
- [0;0mdefault[0m [0;33m 0:19709c5a4e75[0m (inactive)
+ \x1b[0;32mb\x1b[0m \x1b[0;33m 13:6ac12926b8c3\x1b[0m (esc)
+ \x1b[0;0ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;33m7:10ff5895aa57\x1b[0m (esc)
+ \x1b[0;30;1mc\x1b[0m \x1b[0;33m 14:717d2e6fabe1\x1b[0m (closed) (esc)
+ \x1b[0;0ma\x1b[0m \x1b[0;33m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc)
+ \x1b[0;0mdefault\x1b[0m \x1b[0;33m 0:19709c5a4e75\x1b[0m (inactive) (esc)
$ echo "[extensions]" >> $HGRCPATH
$ echo "color =" >> $HGRCPATH
@@ -383,16 +383,16 @@
custom branch colors:
$ hg branches --color=always
- [0;31mb[0m [0;36m 13:6ac12926b8c3[0m
- [0;32ma branch name much longer than the default justification used by branches[0m [0;36m7:10ff5895aa57[0m
- [0;35ma[0m [0;36m 5:d8cbc61dbaa6[0m (inactive)
- [0;35mdefault[0m [0;36m 0:19709c5a4e75[0m (inactive)
+ \x1b[0;31mb\x1b[0m \x1b[0;36m 13:6ac12926b8c3\x1b[0m (esc)
+ \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc)
+ \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc)
+ \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc)
custom closed branch color:
$ hg branches --color=always --closed
- [0;31mb[0m [0;36m 13:6ac12926b8c3[0m
- [0;32ma branch name much longer than the default justification used by branches[0m [0;36m7:10ff5895aa57[0m
- [0;34mc[0m [0;36m 14:717d2e6fabe1[0m (closed)
- [0;35ma[0m [0;36m 5:d8cbc61dbaa6[0m (inactive)
- [0;35mdefault[0m [0;36m 0:19709c5a4e75[0m (inactive)
+ \x1b[0;31mb\x1b[0m \x1b[0;36m 13:6ac12926b8c3\x1b[0m (esc)
+ \x1b[0;32ma branch name much longer than the default justification used by branches\x1b[0m \x1b[0;36m7:10ff5895aa57\x1b[0m (esc)
+ \x1b[0;34mc\x1b[0m \x1b[0;36m 14:717d2e6fabe1\x1b[0m (closed) (esc)
+ \x1b[0;35ma\x1b[0m \x1b[0;36m 5:d8cbc61dbaa6\x1b[0m (inactive) (esc)
+ \x1b[0;35mdefault\x1b[0m \x1b[0;36m 0:19709c5a4e75\x1b[0m (inactive) (esc)