Show More
@@ -70,3 +70,17 b' hg --traceback --cwd b pull ../a 2>&1 | ' | |||||
70 | -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/' \ |
|
70 | -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/' \ | |
71 | -e 's/^Date:.*/Date:/' |
|
71 | -e 's/^Date:.*/Date:/' | |
72 |
|
72 | |||
|
73 | cat << EOF >> $HGRCPATH | |||
|
74 | [hooks] | |||
|
75 | incoming.notify = python:hgext.notify.hook | |||
|
76 | ||||
|
77 | [notify] | |||
|
78 | sources = pull | |||
|
79 | diffstat = True | |||
|
80 | EOF | |||
|
81 | ||||
|
82 | echo % pull | |||
|
83 | hg --cwd b rollback | |||
|
84 | hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \ | |||
|
85 | -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/' \ | |||
|
86 | -e 's/^Date:.*/Date:/' |
@@ -64,3 +64,35 b' diff -r cb9a9f314b8b -r 0647d048b600 a' | |||||
64 | a |
|
64 | a | |
65 | +a |
|
65 | +a | |
66 | (run 'hg update' to get a working copy) |
|
66 | (run 'hg update' to get a working copy) | |
|
67 | % pull | |||
|
68 | rolling back last transaction | |||
|
69 | pulling from ../a | |||
|
70 | searching for changes | |||
|
71 | adding changesets | |||
|
72 | adding manifests | |||
|
73 | adding file changes | |||
|
74 | added 1 changesets with 1 changes to 1 files | |||
|
75 | Date: | |||
|
76 | Subject: b | |||
|
77 | From: test@test.com | |||
|
78 | X-Hg-Notification: changeset 0647d048b600 | |||
|
79 | Message-Id: | |||
|
80 | To: baz@test.com, foo@bar | |||
|
81 | ||||
|
82 | changeset 0647d048b600 | |||
|
83 | description: | |||
|
84 | b | |||
|
85 | diffstat: | |||
|
86 | ||||
|
87 | 1 file changed, 1 insertion(+) | |||
|
88 | a | 1 + | |||
|
89 | ||||
|
90 | diffs (6 lines): | |||
|
91 | ||||
|
92 | diff -r cb9a9f314b8b -r 0647d048b600 a | |||
|
93 | --- a/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
94 | +++ b/a Thu Jan 01 00:00:01 1970 +0000 | |||
|
95 | @@ -1,1 +1,2 @@ | |||
|
96 | a | |||
|
97 | +a | |||
|
98 | (run 'hg update' to get a working copy) |
General Comments 0
You need to be logged in to leave comments.
Login now