Show More
@@ -33,4 +33,18 b" echo '% default context'" | |||||
33 | hg diff --nodates --color=always |
|
33 | hg diff --nodates --color=always | |
34 |
|
34 | |||
35 | echo '% --unified=2' |
|
35 | echo '% --unified=2' | |
36 | hg diff --nodates -U 2 --color=always No newline at end of file |
|
36 | hg diff --nodates -U 2 --color=always | |
|
37 | ||||
|
38 | echo "record=" >> $HGRCPATH | |||
|
39 | echo "[ui]" >> $HGRCPATH | |||
|
40 | echo "interactive=true" >> $HGRCPATH | |||
|
41 | echo "[diff]" >> $HGRCPATH | |||
|
42 | echo "git=True" >> $HGRCPATH | |||
|
43 | ||||
|
44 | echo % record | |||
|
45 | chmod 0755 a | |||
|
46 | hg record --color=always -m moda a <<EOF | |||
|
47 | y | |||
|
48 | y | |||
|
49 | EOF | |||
|
50 | echo |
@@ -23,3 +23,18 b' adding a' | |||||
23 | [0;32m+dd[0m |
|
23 | [0;32m+dd[0m | |
24 | a |
|
24 | a | |
25 | a |
|
25 | a | |
|
26 | % record | |||
|
27 | [0;1mdiff --git a/a b/a[0m | |||
|
28 | [0;36;1mold mode 100644[0m | |||
|
29 | [0;36;1mnew mode 100755[0m | |||
|
30 | 1 hunks, 2 lines changed | |||
|
31 | examine changes to 'a'? [Ynsfdaq?] [0;35m@@ -2,7 +2,7 @@[0m | |||
|
32 | c | |||
|
33 | a | |||
|
34 | a | |||
|
35 | [0;31m-b[0m | |||
|
36 | [0;32m+dd[0m | |||
|
37 | a | |||
|
38 | a | |||
|
39 | c | |||
|
40 | record this change to 'a'? [Ynsfdaq?] |
General Comments 0
You need to be logged in to leave comments.
Login now