branch | stable |
changeset 49385 | 3c4d36a96a3e |
parent 49306 | 2e726c934fcd |
child 49960 | c166b212bdee |
--- a/hgext/git/dirstate.py Mon Jul 04 15:01:52 2022 +0400 +++ b/hgext/git/dirstate.py Mon Jul 04 17:16:13 2022 +0400 @@ -330,7 +330,8 @@ # TODO: figure out a strategy for saving index backups. pass - def set_tracked(self, f): + def set_tracked(self, f, reset_copy=False): + # TODO: support copies and reset_copy=True uf = pycompat.fsdecode(f) if uf in self.git.index: return False