Show More
@@ -135,13 +135,13 b' class kwtemplater(object):' | |||
|
135 | 135 | self.re_kw = re.compile(kwpat) |
|
136 | 136 | |
|
137 | 137 | templatefilters.filters['utcdate'] = utcdate |
|
138 | self.ct = cmdutil.changeset_templater(self.ui, self.repo, | |
|
139 | False, None, '', False) | |
|
140 | 138 | |
|
141 | 139 | def substitute(self, data, path, ctx, subfunc): |
|
142 | 140 | '''Replaces keywords in data with expanded template.''' |
|
143 | 141 | def kwsub(mobj): |
|
144 | 142 | kw = mobj.group(1) |
|
143 | self.ct = cmdutil.changeset_templater(self.ui, self.repo, | |
|
144 | False, None, '', False) | |
|
145 | 145 | self.ct.use_template(self.templates[kw]) |
|
146 | 146 | self.ui.pushbuffer() |
|
147 | 147 | self.ct.show(ctx, root=self.repo.root, file=path) |
General Comments 0
You need to be logged in to leave comments.
Login now