##// END OF EJS Templates
notify: don't try to fix addresses if notify.domain is not set
Alexis S. L. Carvalho -
r4094:fbf0e9ac default
parent child Browse files
Show More
@@ -1,282 +1,283 b''
1 # notify.py - email notifications for mercurial
1 # notify.py - email notifications for mercurial
2 #
2 #
3 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
3 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
4 #
4 #
5 # This software may be used and distributed according to the terms
5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference.
6 # of the GNU General Public License, incorporated herein by reference.
7 #
7 #
8 # hook extension to email notifications to people when changesets are
8 # hook extension to email notifications to people when changesets are
9 # committed to a repo they subscribe to.
9 # committed to a repo they subscribe to.
10 #
10 #
11 # default mode is to print messages to stdout, for testing and
11 # default mode is to print messages to stdout, for testing and
12 # configuring.
12 # configuring.
13 #
13 #
14 # to use, configure notify extension and enable in hgrc like this:
14 # to use, configure notify extension and enable in hgrc like this:
15 #
15 #
16 # [extensions]
16 # [extensions]
17 # hgext.notify =
17 # hgext.notify =
18 #
18 #
19 # [hooks]
19 # [hooks]
20 # # one email for each incoming changeset
20 # # one email for each incoming changeset
21 # incoming.notify = python:hgext.notify.hook
21 # incoming.notify = python:hgext.notify.hook
22 # # batch emails when many changesets incoming at one time
22 # # batch emails when many changesets incoming at one time
23 # changegroup.notify = python:hgext.notify.hook
23 # changegroup.notify = python:hgext.notify.hook
24 #
24 #
25 # [notify]
25 # [notify]
26 # # config items go in here
26 # # config items go in here
27 #
27 #
28 # config items:
28 # config items:
29 #
29 #
30 # REQUIRED:
30 # REQUIRED:
31 # config = /path/to/file # file containing subscriptions
31 # config = /path/to/file # file containing subscriptions
32 #
32 #
33 # OPTIONAL:
33 # OPTIONAL:
34 # test = True # print messages to stdout for testing
34 # test = True # print messages to stdout for testing
35 # strip = 3 # number of slashes to strip for url paths
35 # strip = 3 # number of slashes to strip for url paths
36 # domain = example.com # domain to use if committer missing domain
36 # domain = example.com # domain to use if committer missing domain
37 # style = ... # style file to use when formatting email
37 # style = ... # style file to use when formatting email
38 # template = ... # template to use when formatting email
38 # template = ... # template to use when formatting email
39 # incoming = ... # template to use when run as incoming hook
39 # incoming = ... # template to use when run as incoming hook
40 # changegroup = ... # template when run as changegroup hook
40 # changegroup = ... # template when run as changegroup hook
41 # maxdiff = 300 # max lines of diffs to include (0=none, -1=all)
41 # maxdiff = 300 # max lines of diffs to include (0=none, -1=all)
42 # maxsubject = 67 # truncate subject line longer than this
42 # maxsubject = 67 # truncate subject line longer than this
43 # diffstat = True # add a diffstat before the diff content
43 # diffstat = True # add a diffstat before the diff content
44 # sources = serve # notify if source of incoming changes in this list
44 # sources = serve # notify if source of incoming changes in this list
45 # # (serve == ssh or http, push, pull, bundle)
45 # # (serve == ssh or http, push, pull, bundle)
46 # [email]
46 # [email]
47 # from = user@host.com # email address to send as if none given
47 # from = user@host.com # email address to send as if none given
48 # [web]
48 # [web]
49 # baseurl = http://hgserver/... # root of hg web site for browsing commits
49 # baseurl = http://hgserver/... # root of hg web site for browsing commits
50 #
50 #
51 # notify config file has same format as regular hgrc. it has two
51 # notify config file has same format as regular hgrc. it has two
52 # sections so you can express subscriptions in whatever way is handier
52 # sections so you can express subscriptions in whatever way is handier
53 # for you.
53 # for you.
54 #
54 #
55 # [usersubs]
55 # [usersubs]
56 # # key is subscriber email, value is ","-separated list of glob patterns
56 # # key is subscriber email, value is ","-separated list of glob patterns
57 # user@host = pattern
57 # user@host = pattern
58 #
58 #
59 # [reposubs]
59 # [reposubs]
60 # # key is glob pattern, value is ","-separated list of subscriber emails
60 # # key is glob pattern, value is ","-separated list of subscriber emails
61 # pattern = user@host
61 # pattern = user@host
62 #
62 #
63 # glob patterns are matched against path to repo root.
63 # glob patterns are matched against path to repo root.
64 #
64 #
65 # if you like, you can put notify config file in repo that users can
65 # if you like, you can put notify config file in repo that users can
66 # push changes to, they can manage their own subscriptions.
66 # push changes to, they can manage their own subscriptions.
67
67
68 from mercurial.demandload import *
68 from mercurial.demandload import *
69 from mercurial.i18n import gettext as _
69 from mercurial.i18n import gettext as _
70 from mercurial.node import *
70 from mercurial.node import *
71 demandload(globals(), 'mercurial:patch,cmdutil,templater,util,mail')
71 demandload(globals(), 'mercurial:patch,cmdutil,templater,util,mail')
72 demandload(globals(), 'email.Parser fnmatch socket time')
72 demandload(globals(), 'email.Parser fnmatch socket time')
73
73
74 # template for single changeset can include email headers.
74 # template for single changeset can include email headers.
75 single_template = '''
75 single_template = '''
76 Subject: changeset in {webroot}: {desc|firstline|strip}
76 Subject: changeset in {webroot}: {desc|firstline|strip}
77 From: {author}
77 From: {author}
78
78
79 changeset {node|short} in {root}
79 changeset {node|short} in {root}
80 details: {baseurl}{webroot}?cmd=changeset;node={node|short}
80 details: {baseurl}{webroot}?cmd=changeset;node={node|short}
81 description:
81 description:
82 \t{desc|tabindent|strip}
82 \t{desc|tabindent|strip}
83 '''.lstrip()
83 '''.lstrip()
84
84
85 # template for multiple changesets should not contain email headers,
85 # template for multiple changesets should not contain email headers,
86 # because only first set of headers will be used and result will look
86 # because only first set of headers will be used and result will look
87 # strange.
87 # strange.
88 multiple_template = '''
88 multiple_template = '''
89 changeset {node|short} in {root}
89 changeset {node|short} in {root}
90 details: {baseurl}{webroot}?cmd=changeset;node={node|short}
90 details: {baseurl}{webroot}?cmd=changeset;node={node|short}
91 summary: {desc|firstline}
91 summary: {desc|firstline}
92 '''
92 '''
93
93
94 deftemplates = {
94 deftemplates = {
95 'changegroup': multiple_template,
95 'changegroup': multiple_template,
96 }
96 }
97
97
98 class notifier(object):
98 class notifier(object):
99 '''email notification class.'''
99 '''email notification class.'''
100
100
101 def __init__(self, ui, repo, hooktype):
101 def __init__(self, ui, repo, hooktype):
102 self.ui = ui
102 self.ui = ui
103 cfg = self.ui.config('notify', 'config')
103 cfg = self.ui.config('notify', 'config')
104 if cfg:
104 if cfg:
105 self.ui.readsections(cfg, 'usersubs', 'reposubs')
105 self.ui.readsections(cfg, 'usersubs', 'reposubs')
106 self.repo = repo
106 self.repo = repo
107 self.stripcount = int(self.ui.config('notify', 'strip', 0))
107 self.stripcount = int(self.ui.config('notify', 'strip', 0))
108 self.root = self.strip(self.repo.root)
108 self.root = self.strip(self.repo.root)
109 self.domain = self.ui.config('notify', 'domain')
109 self.domain = self.ui.config('notify', 'domain')
110 self.subs = self.subscribers()
110 self.subs = self.subscribers()
111
111
112 mapfile = self.ui.config('notify', 'style')
112 mapfile = self.ui.config('notify', 'style')
113 template = (self.ui.config('notify', hooktype) or
113 template = (self.ui.config('notify', hooktype) or
114 self.ui.config('notify', 'template'))
114 self.ui.config('notify', 'template'))
115 self.t = cmdutil.changeset_templater(self.ui, self.repo,
115 self.t = cmdutil.changeset_templater(self.ui, self.repo,
116 False, None, mapfile, False)
116 False, None, mapfile, False)
117 if not mapfile and not template:
117 if not mapfile and not template:
118 template = deftemplates.get(hooktype) or single_template
118 template = deftemplates.get(hooktype) or single_template
119 if template:
119 if template:
120 template = templater.parsestring(template, quoted=False)
120 template = templater.parsestring(template, quoted=False)
121 self.t.use_template(template)
121 self.t.use_template(template)
122
122
123 def strip(self, path):
123 def strip(self, path):
124 '''strip leading slashes from local path, turn into web-safe path.'''
124 '''strip leading slashes from local path, turn into web-safe path.'''
125
125
126 path = util.pconvert(path)
126 path = util.pconvert(path)
127 count = self.stripcount
127 count = self.stripcount
128 while count > 0:
128 while count > 0:
129 c = path.find('/')
129 c = path.find('/')
130 if c == -1:
130 if c == -1:
131 break
131 break
132 path = path[c+1:]
132 path = path[c+1:]
133 count -= 1
133 count -= 1
134 return path
134 return path
135
135
136 def fixmail(self, addr):
136 def fixmail(self, addr):
137 '''try to clean up email addresses.'''
137 '''try to clean up email addresses.'''
138
138
139 addr = templater.email(addr.strip())
139 addr = templater.email(addr.strip())
140 a = addr.find('@localhost')
140 if self.domain:
141 if a != -1:
141 a = addr.find('@localhost')
142 addr = addr[:a]
142 if a != -1:
143 if '@' not in addr:
143 addr = addr[:a]
144 return addr + '@' + self.domain
144 if '@' not in addr:
145 return addr + '@' + self.domain
145 return addr
146 return addr
146
147
147 def subscribers(self):
148 def subscribers(self):
148 '''return list of email addresses of subscribers to this repo.'''
149 '''return list of email addresses of subscribers to this repo.'''
149
150
150 subs = {}
151 subs = {}
151 for user, pats in self.ui.configitems('usersubs'):
152 for user, pats in self.ui.configitems('usersubs'):
152 for pat in pats.split(','):
153 for pat in pats.split(','):
153 if fnmatch.fnmatch(self.repo.root, pat.strip()):
154 if fnmatch.fnmatch(self.repo.root, pat.strip()):
154 subs[self.fixmail(user)] = 1
155 subs[self.fixmail(user)] = 1
155 for pat, users in self.ui.configitems('reposubs'):
156 for pat, users in self.ui.configitems('reposubs'):
156 if fnmatch.fnmatch(self.repo.root, pat):
157 if fnmatch.fnmatch(self.repo.root, pat):
157 for user in users.split(','):
158 for user in users.split(','):
158 subs[self.fixmail(user)] = 1
159 subs[self.fixmail(user)] = 1
159 subs = subs.keys()
160 subs = subs.keys()
160 subs.sort()
161 subs.sort()
161 return subs
162 return subs
162
163
163 def url(self, path=None):
164 def url(self, path=None):
164 return self.ui.config('web', 'baseurl') + (path or self.root)
165 return self.ui.config('web', 'baseurl') + (path or self.root)
165
166
166 def node(self, node):
167 def node(self, node):
167 '''format one changeset.'''
168 '''format one changeset.'''
168
169
169 self.t.show(changenode=node, changes=self.repo.changelog.read(node),
170 self.t.show(changenode=node, changes=self.repo.changelog.read(node),
170 baseurl=self.ui.config('web', 'baseurl'),
171 baseurl=self.ui.config('web', 'baseurl'),
171 root=self.repo.root,
172 root=self.repo.root,
172 webroot=self.root)
173 webroot=self.root)
173
174
174 def skipsource(self, source):
175 def skipsource(self, source):
175 '''true if incoming changes from this source should be skipped.'''
176 '''true if incoming changes from this source should be skipped.'''
176 ok_sources = self.ui.config('notify', 'sources', 'serve').split()
177 ok_sources = self.ui.config('notify', 'sources', 'serve').split()
177 return source not in ok_sources
178 return source not in ok_sources
178
179
179 def send(self, node, count, data):
180 def send(self, node, count, data):
180 '''send message.'''
181 '''send message.'''
181
182
182 p = email.Parser.Parser()
183 p = email.Parser.Parser()
183 msg = p.parsestr(data)
184 msg = p.parsestr(data)
184
185
185 def fix_subject():
186 def fix_subject():
186 '''try to make subject line exist and be useful.'''
187 '''try to make subject line exist and be useful.'''
187
188
188 subject = msg['Subject']
189 subject = msg['Subject']
189 if not subject:
190 if not subject:
190 if count > 1:
191 if count > 1:
191 subject = _('%s: %d new changesets') % (self.root, count)
192 subject = _('%s: %d new changesets') % (self.root, count)
192 else:
193 else:
193 changes = self.repo.changelog.read(node)
194 changes = self.repo.changelog.read(node)
194 s = changes[4].lstrip().split('\n', 1)[0].rstrip()
195 s = changes[4].lstrip().split('\n', 1)[0].rstrip()
195 subject = '%s: %s' % (self.root, s)
196 subject = '%s: %s' % (self.root, s)
196 maxsubject = int(self.ui.config('notify', 'maxsubject', 67))
197 maxsubject = int(self.ui.config('notify', 'maxsubject', 67))
197 if maxsubject and len(subject) > maxsubject:
198 if maxsubject and len(subject) > maxsubject:
198 subject = subject[:maxsubject-3] + '...'
199 subject = subject[:maxsubject-3] + '...'
199 del msg['Subject']
200 del msg['Subject']
200 msg['Subject'] = subject
201 msg['Subject'] = subject
201
202
202 def fix_sender():
203 def fix_sender():
203 '''try to make message have proper sender.'''
204 '''try to make message have proper sender.'''
204
205
205 sender = msg['From']
206 sender = msg['From']
206 if not sender:
207 if not sender:
207 sender = self.ui.config('email', 'from') or self.ui.username()
208 sender = self.ui.config('email', 'from') or self.ui.username()
208 if '@' not in sender or '@localhost' in sender:
209 if '@' not in sender or '@localhost' in sender:
209 sender = self.fixmail(sender)
210 sender = self.fixmail(sender)
210 del msg['From']
211 del msg['From']
211 msg['From'] = sender
212 msg['From'] = sender
212
213
213 fix_subject()
214 fix_subject()
214 fix_sender()
215 fix_sender()
215
216
216 msg['X-Hg-Notification'] = 'changeset ' + short(node)
217 msg['X-Hg-Notification'] = 'changeset ' + short(node)
217 if not msg['Message-Id']:
218 if not msg['Message-Id']:
218 msg['Message-Id'] = ('<hg.%s.%s.%s@%s>' %
219 msg['Message-Id'] = ('<hg.%s.%s.%s@%s>' %
219 (short(node), int(time.time()),
220 (short(node), int(time.time()),
220 hash(self.repo.root), socket.getfqdn()))
221 hash(self.repo.root), socket.getfqdn()))
221 msg['To'] = ', '.join(self.subs)
222 msg['To'] = ', '.join(self.subs)
222
223
223 msgtext = msg.as_string(0)
224 msgtext = msg.as_string(0)
224 if self.ui.configbool('notify', 'test', True):
225 if self.ui.configbool('notify', 'test', True):
225 self.ui.write(msgtext)
226 self.ui.write(msgtext)
226 if not msgtext.endswith('\n'):
227 if not msgtext.endswith('\n'):
227 self.ui.write('\n')
228 self.ui.write('\n')
228 else:
229 else:
229 self.ui.status(_('notify: sending %d subscribers %d changes\n') %
230 self.ui.status(_('notify: sending %d subscribers %d changes\n') %
230 (len(self.subs), count))
231 (len(self.subs), count))
231 mail.sendmail(self.ui, templater.email(msg['From']),
232 mail.sendmail(self.ui, templater.email(msg['From']),
232 self.subs, msgtext)
233 self.subs, msgtext)
233
234
234 def diff(self, node, ref):
235 def diff(self, node, ref):
235 maxdiff = int(self.ui.config('notify', 'maxdiff', 300))
236 maxdiff = int(self.ui.config('notify', 'maxdiff', 300))
236 if maxdiff == 0:
237 if maxdiff == 0:
237 return
238 return
238 prev = self.repo.changelog.parents(node)[0]
239 prev = self.repo.changelog.parents(node)[0]
239 self.ui.pushbuffer()
240 self.ui.pushbuffer()
240 patch.diff(self.repo, prev, ref)
241 patch.diff(self.repo, prev, ref)
241 difflines = self.ui.popbuffer().splitlines(1)
242 difflines = self.ui.popbuffer().splitlines(1)
242 if self.ui.configbool('notify', 'diffstat', True):
243 if self.ui.configbool('notify', 'diffstat', True):
243 s = patch.diffstat(difflines)
244 s = patch.diffstat(difflines)
244 # s may be nil, don't include the header if it is
245 # s may be nil, don't include the header if it is
245 if s:
246 if s:
246 self.ui.write('\ndiffstat:\n\n%s' % s)
247 self.ui.write('\ndiffstat:\n\n%s' % s)
247 if maxdiff > 0 and len(difflines) > maxdiff:
248 if maxdiff > 0 and len(difflines) > maxdiff:
248 self.ui.write(_('\ndiffs (truncated from %d to %d lines):\n\n') %
249 self.ui.write(_('\ndiffs (truncated from %d to %d lines):\n\n') %
249 (len(difflines), maxdiff))
250 (len(difflines), maxdiff))
250 difflines = difflines[:maxdiff]
251 difflines = difflines[:maxdiff]
251 elif difflines:
252 elif difflines:
252 self.ui.write(_('\ndiffs (%d lines):\n\n') % len(difflines))
253 self.ui.write(_('\ndiffs (%d lines):\n\n') % len(difflines))
253 self.ui.write(*difflines)
254 self.ui.write(*difflines)
254
255
255 def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
256 def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
256 '''send email notifications to interested subscribers.
257 '''send email notifications to interested subscribers.
257
258
258 if used as changegroup hook, send one email for all changesets in
259 if used as changegroup hook, send one email for all changesets in
259 changegroup. else send one email per changeset.'''
260 changegroup. else send one email per changeset.'''
260 n = notifier(ui, repo, hooktype)
261 n = notifier(ui, repo, hooktype)
261 if not n.subs:
262 if not n.subs:
262 ui.debug(_('notify: no subscribers to repo %s\n') % n.root)
263 ui.debug(_('notify: no subscribers to repo %s\n') % n.root)
263 return
264 return
264 if n.skipsource(source):
265 if n.skipsource(source):
265 ui.debug(_('notify: changes have source "%s" - skipping\n') %
266 ui.debug(_('notify: changes have source "%s" - skipping\n') %
266 source)
267 source)
267 return
268 return
268 node = bin(node)
269 node = bin(node)
269 ui.pushbuffer()
270 ui.pushbuffer()
270 if hooktype == 'changegroup':
271 if hooktype == 'changegroup':
271 start = repo.changelog.rev(node)
272 start = repo.changelog.rev(node)
272 end = repo.changelog.count()
273 end = repo.changelog.count()
273 count = end - start
274 count = end - start
274 for rev in xrange(start, end):
275 for rev in xrange(start, end):
275 n.node(repo.changelog.node(rev))
276 n.node(repo.changelog.node(rev))
276 n.diff(node, repo.changelog.tip())
277 n.diff(node, repo.changelog.tip())
277 else:
278 else:
278 count = 1
279 count = 1
279 n.node(node)
280 n.node(node)
280 n.diff(node, node)
281 n.diff(node, node)
281 data = ui.popbuffer()
282 data = ui.popbuffer()
282 n.send(node, count, data)
283 n.send(node, count, data)
@@ -1,40 +1,54 b''
1 #!/bin/sh
1 #!/bin/sh
2
2
3 cat <<EOF >> $HGRCPATH
3 cat <<EOF >> $HGRCPATH
4 [extensions]
4 [extensions]
5 notify=
5 notify=
6
6
7 [hooks]
7 [hooks]
8 incoming.notify = python:hgext.notify.hook
8 incoming.notify = python:hgext.notify.hook
9
9
10 [notify]
10 [notify]
11 config = $HGTMP/.notify.conf
12 sources = pull
11 sources = pull
13 domain = test.com
14 strip = 3
15 template = Subject: {desc|firstline|strip}\nFrom: {author}\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
16 diffstat = False
12 diffstat = False
17
13
18 [web]
19 baseurl = http://test/
20
21 [usersubs]
14 [usersubs]
22 foo@bar = *
15 foo@bar = *
16
17 [reposubs]
18 * = baz
23 EOF
19 EOF
24
20
25 hg help notify
21 hg help notify
26 hg init a
22 hg init a
27 echo a > a/a
23 echo a > a/a
28 echo % commit
24 echo % commit
29 hg --traceback --cwd a commit -Ama -d '0 0'
25 hg --traceback --cwd a commit -Ama -d '0 0'
30
26
31 echo % clone
27 echo % clone
32 hg --traceback clone a b
28 hg --traceback clone a b
33
29
34 echo a >> a/a
30 echo a >> a/a
35 echo % commit
31 echo % commit
36 hg --traceback --cwd a commit -Amb -d '1 0'
32 hg --traceback --cwd a commit -Amb -d '1 0'
37
33
34 echo '% pull (minimal config)'
35 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
36 -e 's/changeset \([0-9a-f]* \)\?in .*test-notif/changeset \1in test-notif/' \
37 -e 's/^details: .*test-notify/details: test-notify/'
38
39 cat <<EOF >> $HGRCPATH
40 [notify]
41 config = $HGTMP/.notify.conf
42 domain = test.com
43 strip = 3
44 template = Subject: {desc|firstline|strip}\nFrom: {author}\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
45
46 [web]
47 baseurl = http://test/
48 EOF
49
38 echo % pull
50 echo % pull
51 hg --cwd b rollback
39 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
52 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
40 -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/'
53 -e 's/changeset \([0-9a-f]*\) in .*/changeset \1/'
54
@@ -1,33 +1,61 b''
1 notify extension - No help text available
1 notify extension - No help text available
2
2
3 no commands defined
3 no commands defined
4 % commit
4 % commit
5 adding a
5 adding a
6 % clone
6 % clone
7 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
7 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
8 % commit
8 % commit
9 % pull (minimal config)
10 pulling from ../a
11 searching for changes
12 adding changesets
13 adding manifests
14 adding file changes
15 added 1 changesets with 1 changes to 1 files
16 Subject: changeset in test-notify/b: b
17 From: test
18 X-Hg-Notification: changeset 0647d048b600
19 Message-Id:
20 To: baz, foo@bar
21
22 changeset 0647d048b600 in test-notify/b
23 details: test-notify/b?cmd=changeset;node=0647d048b600
24 description:
25 b
26
27 diffs (6 lines):
28
29 diff -r cb9a9f314b8b -r 0647d048b600 a
30 --- a/a Thu Jan 01 00:00:00 1970 +0000
31 +++ b/a Thu Jan 01 00:00:01 1970 +0000
32 @@ -1,1 +1,2 @@ a
33 a
34 +a
35 (run 'hg update' to get a working copy)
9 % pull
36 % pull
37 rolling back last transaction
10 pulling from ../a
38 pulling from ../a
11 searching for changes
39 searching for changes
12 adding changesets
40 adding changesets
13 adding manifests
41 adding manifests
14 adding file changes
42 adding file changes
15 added 1 changesets with 1 changes to 1 files
43 added 1 changesets with 1 changes to 1 files
16 Subject: b
44 Subject: b
17 From: test@test.com
45 From: test@test.com
18 X-Hg-Notification: changeset 0647d048b600
46 X-Hg-Notification: changeset 0647d048b600
19 Message-Id:
47 Message-Id:
20 To: foo@bar
48 To: baz@test.com, foo@bar
21
49
22 changeset 0647d048b600
50 changeset 0647d048b600
23 description:
51 description:
24 b
52 b
25 diffs (6 lines):
53 diffs (6 lines):
26
54
27 diff -r cb9a9f314b8b -r 0647d048b600 a
55 diff -r cb9a9f314b8b -r 0647d048b600 a
28 --- a/a Thu Jan 01 00:00:00 1970 +0000
56 --- a/a Thu Jan 01 00:00:00 1970 +0000
29 +++ b/a Thu Jan 01 00:00:01 1970 +0000
57 +++ b/a Thu Jan 01 00:00:01 1970 +0000
30 @@ -1,1 +1,2 @@ a
58 @@ -1,1 +1,2 @@ a
31 a
59 a
32 +a
60 +a
33 (run 'hg update' to get a working copy)
61 (run 'hg update' to get a working copy)
General Comments 0
You need to be logged in to leave comments. Login now