equal
deleted
inserted
replaced
2 |
2 |
3 cat <<EOF >> $HGRCPATH |
3 cat <<EOF >> $HGRCPATH |
4 [extensions] |
4 [extensions] |
5 hgext.keyword = |
5 hgext.keyword = |
6 hgext.mq = |
6 hgext.mq = |
|
7 hgext.notify = |
7 [keyword] |
8 [keyword] |
8 * = |
9 * = |
9 b = ignore |
10 b = ignore |
10 [hooks] |
11 [hooks] |
11 commit= |
12 commit= |
86 |
87 |
87 cd .. |
88 cd .. |
88 hg init Test |
89 hg init Test |
89 cd Test |
90 cd Test |
90 |
91 |
|
92 echo % notify on pull to check whether keywords stay as is in email |
|
93 echo % ie. if patch.diff wrapper acts as it should |
|
94 |
|
95 cat <<EOF >> $HGRCPATH |
|
96 [hooks] |
|
97 incoming.notify = python:hgext.notify.hook |
|
98 [notify] |
|
99 sources = pull |
|
100 diffstat = False |
|
101 [reposubs] |
|
102 * = Test |
|
103 EOF |
|
104 |
91 echo % pull from bundle |
105 echo % pull from bundle |
92 hg pull -u ../kw.hg |
106 hg pull -u ../kw.hg 2>&1 | sed -e '/^Date:/,/^diffs (/ d' |
|
107 |
|
108 echo % remove notify config |
|
109 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nonotify |
|
110 mv $HGRCPATH.nonotify $HGRCPATH |
93 |
111 |
94 echo % touch |
112 echo % touch |
95 touch a b |
113 touch a b |
96 echo % status |
114 echo % status |
97 hg status |
115 hg status |