equal
deleted
inserted
replaced
256 if not template: |
256 if not template: |
257 mapfile = self.ui.config('notify', 'style') |
257 mapfile = self.ui.config('notify', 'style') |
258 if not mapfile and not template: |
258 if not mapfile and not template: |
259 template = deftemplates.get(hooktype) or single_template |
259 template = deftemplates.get(hooktype) or single_template |
260 spec = logcmdutil.templatespec(template, mapfile) |
260 spec = logcmdutil.templatespec(template, mapfile) |
261 self.t = logcmdutil.changesettemplater(self.ui, self.repo, spec, |
261 self.t = logcmdutil.changesettemplater(self.ui, self.repo, spec) |
262 False, None, False) |
|
263 |
262 |
264 def strip(self, path): |
263 def strip(self, path): |
265 '''strip leading slashes from local path, turn into web-safe path.''' |
264 '''strip leading slashes from local path, turn into web-safe path.''' |
266 |
265 |
267 path = util.pconvert(path) |
266 path = util.pconvert(path) |