tests/test-diff-color.t
changeset 16324 46b991a1f428
parent 15442 db0340f4b507
child 16899 8149ff405c78
equal deleted inserted replaced
16318:73f4e05287b4 16324:46b991a1f428
    83   > EOF
    83   > EOF
    84   \x1b[0;1mdiff --git a/a b/a\x1b[0m (esc)
    84   \x1b[0;1mdiff --git a/a b/a\x1b[0m (esc)
    85   \x1b[0;36;1mold mode 100644\x1b[0m (esc)
    85   \x1b[0;36;1mold mode 100644\x1b[0m (esc)
    86   \x1b[0;36;1mnew mode 100755\x1b[0m (esc)
    86   \x1b[0;36;1mnew mode 100755\x1b[0m (esc)
    87   1 hunks, 1 lines changed
    87   1 hunks, 1 lines changed
    88   \x1b[0;33mexamine changes to 'a'? [Ynsfdaq?]\x1b[0m  (esc)
    88   \x1b[0;33mexamine changes to 'a'? [Ynesfdaq?]\x1b[0m  (esc)
    89   \x1b[0;35m@@ -2,7 +2,7 @@\x1b[0m (esc)
    89   \x1b[0;35m@@ -2,7 +2,7 @@\x1b[0m (esc)
    90    c
    90    c
    91    a
    91    a
    92    a
    92    a
    93   \x1b[0;31m-b\x1b[0m (esc)
    93   \x1b[0;31m-b\x1b[0m (esc)
    94   \x1b[0;32m+dd\x1b[0m (esc)
    94   \x1b[0;32m+dd\x1b[0m (esc)
    95    a
    95    a
    96    a
    96    a
    97    c
    97    c
    98   \x1b[0;33mrecord this change to 'a'? [Ynsfdaq?]\x1b[0m  (esc)
    98   \x1b[0;33mrecord this change to 'a'? [Ynesfdaq?]\x1b[0m  (esc)
    99 
    99 
   100   $ echo "[extensions]" >> $HGRCPATH
   100   $ echo "[extensions]" >> $HGRCPATH
   101   $ echo "mq=" >> $HGRCPATH
   101   $ echo "mq=" >> $HGRCPATH
   102   $ hg rollback
   102   $ hg rollback
   103   repository tip rolled back to revision 0 (undo commit)
   103   repository tip rolled back to revision 0 (undo commit)
   111   > EOF
   111   > EOF
   112   \x1b[0;1mdiff --git a/a b/a\x1b[0m (esc)
   112   \x1b[0;1mdiff --git a/a b/a\x1b[0m (esc)
   113   \x1b[0;36;1mold mode 100644\x1b[0m (esc)
   113   \x1b[0;36;1mold mode 100644\x1b[0m (esc)
   114   \x1b[0;36;1mnew mode 100755\x1b[0m (esc)
   114   \x1b[0;36;1mnew mode 100755\x1b[0m (esc)
   115   1 hunks, 1 lines changed
   115   1 hunks, 1 lines changed
   116   \x1b[0;33mexamine changes to 'a'? [Ynsfdaq?]\x1b[0m  (esc)
   116   \x1b[0;33mexamine changes to 'a'? [Ynesfdaq?]\x1b[0m  (esc)
   117   \x1b[0;35m@@ -2,7 +2,7 @@\x1b[0m (esc)
   117   \x1b[0;35m@@ -2,7 +2,7 @@\x1b[0m (esc)
   118    c
   118    c
   119    a
   119    a
   120    a
   120    a
   121   \x1b[0;31m-b\x1b[0m (esc)
   121   \x1b[0;31m-b\x1b[0m (esc)
   122   \x1b[0;32m+dd\x1b[0m (esc)
   122   \x1b[0;32m+dd\x1b[0m (esc)
   123    a
   123    a
   124    a
   124    a
   125    c
   125    c
   126   \x1b[0;33mrecord this change to 'a'? [Ynsfdaq?]\x1b[0m  (esc)
   126   \x1b[0;33mrecord this change to 'a'? [Ynesfdaq?]\x1b[0m  (esc)