Mercurial > hg
comparison hgext/git/dirstate.py @ 44927:472b14da52c2
git: implement stub prefetch_parents dirstate method
A recent change (35b255e474d9) introduced this new required dirstate method
but didn't update the git extension.
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Mon, 01 Jun 2020 08:59:48 -0400 |
parents | 7bbb83e4e8de |
children | c67529569643 |
comparison
equal
deleted
inserted
replaced
44926:14125dec0e39 | 44927:472b14da52c2 |
---|---|
286 | 286 |
287 def copied(self, path): | 287 def copied(self, path): |
288 # TODO: track copies? | 288 # TODO: track copies? |
289 return None | 289 return None |
290 | 290 |
291 def prefetch_parents(self): | |
292 # TODO | |
293 pass | |
294 | |
291 @contextlib.contextmanager | 295 @contextlib.contextmanager |
292 def parentchange(self): | 296 def parentchange(self): |
293 # TODO: track this maybe? | 297 # TODO: track this maybe? |
294 yield | 298 yield |
295 | 299 |