equal
deleted
inserted
replaced
152 $ hg cat sym a b && echo |
152 $ hg cat sym a b && echo |
153 expand $Id: a,v ef63ca68695b 1970/01/01 00:00:00 user $ |
153 expand $Id: a,v ef63ca68695b 1970/01/01 00:00:00 user $ |
154 do not process $Id: |
154 do not process $Id: |
155 xxx $ |
155 xxx $ |
156 ignore $Id$ |
156 ignore $Id$ |
157 a* (glob) |
157 a |
158 |
158 |
159 Test hook execution |
159 Test hook execution |
160 |
160 |
161 $ diff a hooktest |
161 $ diff a hooktest |
162 |
162 |
178 > [hooks] |
178 > [hooks] |
179 > incoming.notify = python:hgext.notify.hook |
179 > incoming.notify = python:hgext.notify.hook |
180 > [notify] |
180 > [notify] |
181 > sources = pull |
181 > sources = pull |
182 > diffstat = False |
182 > diffstat = False |
|
183 > maxsubject = 15 |
183 > [reposubs] |
184 > [reposubs] |
184 > * = Test |
185 > * = Test |
185 > EOF |
186 > EOF |
186 |
187 |
187 Pull from bundle and trigger notify |
188 Pull from bundle and trigger notify |
195 added 2 changesets with 3 changes to 3 files |
196 added 2 changesets with 3 changes to 3 files |
196 Content-Type: text/plain; charset="us-ascii" |
197 Content-Type: text/plain; charset="us-ascii" |
197 MIME-Version: 1.0 |
198 MIME-Version: 1.0 |
198 Content-Transfer-Encoding: 7bit |
199 Content-Transfer-Encoding: 7bit |
199 Date: * (glob) |
200 Date: * (glob) |
200 Subject: changeset in * (glob) |
201 Subject: changeset in... |
201 From: mercurial |
202 From: mercurial |
202 X-Hg-Notification: changeset a2392c293916 |
203 X-Hg-Notification: changeset a2392c293916 |
203 Message-Id: <hg.a2392c293916*> (glob) |
204 Message-Id: <hg.a2392c293916*> (glob) |
204 To: Test |
205 To: Test |
205 |
206 |
206 changeset a2392c293916 in * (glob) |
207 changeset a2392c293916 in $TESTTMP/Test |
207 details: *cmd=changeset;node=a2392c293916 (glob) |
208 details: *cmd=changeset;node=a2392c293916 (glob) |
208 description: |
209 description: |
209 addsym |
210 addsym |
210 |
211 |
211 diffs (6 lines): |
212 diffs (6 lines): |
218 \ No newline at end of file |
219 \ No newline at end of file |
219 Content-Type: text/plain; charset="us-ascii" |
220 Content-Type: text/plain; charset="us-ascii" |
220 MIME-Version: 1.0 |
221 MIME-Version: 1.0 |
221 Content-Transfer-Encoding: 7bit |
222 Content-Transfer-Encoding: 7bit |
222 Date:* (glob) |
223 Date:* (glob) |
223 Subject: changeset in* (glob) |
224 Subject: changeset in... |
224 From: User Name <user@example.com> |
225 From: User Name <user@example.com> |
225 X-Hg-Notification: changeset ef63ca68695b |
226 X-Hg-Notification: changeset ef63ca68695b |
226 Message-Id: <hg.ef63ca68695b*> (glob) |
227 Message-Id: <hg.ef63ca68695b*> (glob) |
227 To: Test |
228 To: Test |
228 |
229 |
229 changeset ef63ca68695b in * (glob) |
230 changeset ef63ca68695b in $TESTTMP/Test |
230 details: *cmd=changeset;node=ef63ca68695b (glob) |
231 details: $TESTTMP/Test?cmd=changeset;node=ef63ca68695b |
231 description: |
232 description: |
232 absym |
233 absym |
233 |
234 |
234 diffs (12 lines): |
235 diffs (12 lines): |
235 |
236 |
533 |
534 |
534 cp symlink (becomes regular file), and hg copy after |
535 cp symlink (becomes regular file), and hg copy after |
535 |
536 |
536 $ cp sym i |
537 $ cp sym i |
537 $ ls -l i |
538 $ ls -l i |
538 -rw-r--r-- * (glob) |
539 -rw-r--r--* (glob) |
539 $ head -1 i |
540 $ head -1 i |
540 expand $Id: a,v ef63ca68695b 1970/01/01 00:00:00 user $ |
541 expand $Id: a,v ef63ca68695b 1970/01/01 00:00:00 user $ |
541 $ hg copy --after --verbose sym i |
542 $ hg copy --after --verbose sym i |
542 copying sym to i |
543 copying sym to i |
543 overwriting i shrinking keywords |
544 overwriting i shrinking keywords |
612 $ hg cat sym a b && echo |
613 $ hg cat sym a b && echo |
613 expand $Id: a ef63ca68695b Thu, 01 Jan 1970 00:00:00 +0000 user $ |
614 expand $Id: a ef63ca68695b Thu, 01 Jan 1970 00:00:00 +0000 user $ |
614 do not process $Id: |
615 do not process $Id: |
615 xxx $ |
616 xxx $ |
616 ignore $Id$ |
617 ignore $Id$ |
617 a* (glob) |
618 a |
618 |
619 |
619 Write custom keyword and prepare multiline commit message |
620 Write custom keyword and prepare multiline commit message |
620 |
621 |
621 $ echo '$Xinfo$' >> a |
622 $ echo '$Xinfo$' >> a |
622 $ cat <<EOF >> log |
623 $ cat <<EOF >> log |
662 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
663 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
663 do not process $Id: |
664 do not process $Id: |
664 xxx $ |
665 xxx $ |
665 $Xinfo: User Name <user@example.com>: firstline $ |
666 $Xinfo: User Name <user@example.com>: firstline $ |
666 ignore $Id$ |
667 ignore $Id$ |
667 a* (glob) |
668 a |
668 |
669 |
669 annotate |
670 annotate |
670 |
671 |
671 $ hg annotate a |
672 $ hg annotate a |
672 1: expand $Id$ |
673 1: expand $Id$ |
733 $ cat <<EOF >> .hg/hgrc |
734 $ cat <<EOF >> .hg/hgrc |
734 > [paths] |
735 > [paths] |
735 > default = ../Test |
736 > default = ../Test |
736 > EOF |
737 > EOF |
737 $ hg incoming |
738 $ hg incoming |
738 comparing with *test-keyword.t/Test (glob) |
739 comparing with $TESTTMP/Test |
739 searching for changes |
740 searching for changes |
740 changeset: 2:bb948857c743 |
741 changeset: 2:bb948857c743 |
741 tag: tip |
742 tag: tip |
742 user: User Name <user@example.com> |
743 user: User Name <user@example.com> |
743 date: Thu Jan 01 00:00:02 1970 +0000 |
744 date: Thu Jan 01 00:00:02 1970 +0000 |
992 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
993 expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ |
993 do not process $Id: |
994 do not process $Id: |
994 xxx $ |
995 xxx $ |
995 $Xinfo: User Name <user@example.com>: firstline $ |
996 $Xinfo: User Name <user@example.com>: firstline $ |
996 ignore $Id$ |
997 ignore $Id$ |
997 a* (glob) |
998 a |
998 |
999 |
999 Now disable keyword expansion |
1000 Now disable keyword expansion |
1000 |
1001 |
1001 $ rm "$HGRCPATH" |
1002 $ rm "$HGRCPATH" |
1002 $ cat a b |
1003 $ cat a b |
1009 expand $Id$ |
1010 expand $Id$ |
1010 do not process $Id: |
1011 do not process $Id: |
1011 xxx $ |
1012 xxx $ |
1012 $Xinfo$ |
1013 $Xinfo$ |
1013 ignore $Id$ |
1014 ignore $Id$ |
1014 a* (glob) |
1015 a |