--- a/mercurial/localrepo.py Tue Jul 10 10:06:24 2007 -0700
+++ b/mercurial/localrepo.py Wed Jul 11 00:04:15 2007 -0700
@@ -109,7 +109,8 @@
tag_disallowed = ':\r\n'
- def _tag(self, name, node, message, local, user, date, parent=None):
+ def _tag(self, name, node, message, local, user, date, parent=None,
+ extra={}):
use_dirstate = parent is None
for c in self.tag_disallowed:
@@ -134,7 +135,8 @@
if use_dirstate and self.dirstate.state('.hgtags') == '?':
self.add(['.hgtags'])
- tagnode = self.commit(['.hgtags'], message, user, date, p1=parent)
+ tagnode = self.commit(['.hgtags'], message, user, date, p1=parent,
+ extra=extra)
self.hook('tag', node=hex(node), tag=name, local=local)