Mercurial > hgsubversion
diff hgsubversion/svncommands.py @ 1572:51e105c7f0c6
compathacks: deal with removed aliases in mercurial.util
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 27 May 2018 00:29:38 -0400 |
parents | ae572c9be4e6 |
children | 5d8603f080c5 |
line wrap: on
line diff
--- a/hgsubversion/svncommands.py +++ b/hgsubversion/svncommands.py @@ -9,6 +9,7 @@ from mercurial import node from mercurial import util as hgutil from mercurial import error +import compathacks import svnwrap import svnrepo import util @@ -403,8 +404,9 @@ Last Changed Date: %(date)s\n''' % 'author': author, 'revision': r, # TODO I'd like to format this to the user's local TZ if possible - 'date': hgutil.datestr(parent.date(), - '%Y-%m-%d %H:%M:%S %1%2 (%a, %d %b %Y)') + 'date': compathacks.datestr( + parent.date(), + '%Y-%m-%d %H:%M:%S %1%2 (%a, %d %b %Y)') })