Mercurial > public > mercurial-scm > hg
comparison mercurial/cmdutil.py @ 32289:770bbfdc9644
py3: convert kwargs' keys to str using pycompat.strkwargs
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 04 May 2017 00:24:21 +0530 |
parents | e4a4ebfd9d8e |
children | bd872f64a8ba |
comparison
equal
deleted
inserted
replaced
32288:a2ab9ebcd85b | 32289:770bbfdc9644 |
---|---|
1494 props['repo'] = self.repo | 1494 props['repo'] = self.repo |
1495 props['ui'] = self.repo.ui | 1495 props['ui'] = self.repo.ui |
1496 props['index'] = next(self._counter) | 1496 props['index'] = next(self._counter) |
1497 props['revcache'] = {'copies': copies} | 1497 props['revcache'] = {'copies': copies} |
1498 props['cache'] = self.cache | 1498 props['cache'] = self.cache |
1499 props = pycompat.strkwargs(props) | |
1499 | 1500 |
1500 # write header | 1501 # write header |
1501 if self._parts['header']: | 1502 if self._parts['header']: |
1502 h = templater.stringify(self.t(self._parts['header'], **props)) | 1503 h = templater.stringify(self.t(self._parts['header'], **props)) |
1503 if self.buffered: | 1504 if self.buffered: |