Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 392:b61ceb9d86cd
FIX: Remove syntax errors from the previous commit: a bogus free-standing return and a call to a not yet renamed method
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 04 Aug 2019 11:01:48 +0200 |
| parents | 2a9c055c560d |
| children | dbf995ba1b75 |
| files | extensions/timestamps.py |
| diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/timestamps.py Sun Aug 04 09:41:03 2019 +0200 +++ b/extensions/timestamps.py Sun Aug 04 11:01:48 2019 +0200 @@ -226,7 +226,7 @@ def commit(self, text=b"", user=None, date=None, match=None, force=False, editor=False, extra=None, **kwds): - match = self._tss_commit(match) + match = self._ts_commit(match) return super(TimestampedRepo, self).commit(text=text, user=user, date=date, @@ -342,7 +342,6 @@ """Called on :hg:`hg update` and :hg:`hg merge` """ - return if not self.__hooktype \ or self.__hooktype not in (b"pre-update", b"pre-merge"):
