Skip to content
Snippets Groups Projects
Commit 3c4d36a96a3e authored by Anton Shestakov's avatar Anton Shestakov
Browse files

git: add a missing reset_copy keyword argument to dirstate.set_tracked()

Since nothing else in hgext/git supports copies yet, the best I can do is avoid
TypeError: set_tracked() got an unexpected keyword argument 'reset_copy'.
parent 3b8fce9a74df
No related branches found
No related tags found
2 merge requests!229branching: merge stable into default,!175hgext/git: a couple of fixes
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment