comparison hgext/git/gitlog.py @ 45954:66f6ca2b7aee

cleanup: fix a few recent black formatting violations Differential Revision: https://phab.mercurial-scm.org/D9427
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 27 Nov 2020 17:00:25 -0500
parents 6aacc39501f7
children 59fa3890d40a
comparison
equal deleted inserted replaced
45953:f5d62f4d5327 45954:66f6ca2b7aee
148 ) 148 )
149 return (int(r[0]) for r in t) 149 return (int(r[0]) for r in t)
150 150
151 def tiprev(self): 151 def tiprev(self):
152 t = self._db.execute( 152 t = self._db.execute(
153 'SELECT rev FROM changelog ' 153 'SELECT rev FROM changelog ' 'ORDER BY REV DESC ' 'LIMIT 1'
154 'ORDER BY REV DESC '
155 'LIMIT 1'
156 ) 154 )
157 return next(t) 155 return next(t)
158 156
159 def _partialmatch(self, id): 157 def _partialmatch(self, id):
160 if nodemod.wdirhex.startswith(id): 158 if nodemod.wdirhex.startswith(id):