Mercurial > public > mercurial-scm > hg
diff hgext/git/dirstate.py @ 50023:e1cff85484e2
dirstate: introduce a `is_changing_any` property
This will embrace other cases than changing parents.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 26 Jan 2023 15:50:45 +0100 |
parents | e333cc169c45 |
children | 76d44983a398 |
line wrap: on
line diff
--- a/hgext/git/dirstate.py Mon Jan 30 19:21:34 2023 +0100 +++ b/hgext/git/dirstate.py Thu Jan 26 15:50:45 2023 +0100 @@ -265,6 +265,11 @@ # correctly stage/revert index edits. return False + def is_changing_any(self): + # TODO: we need to implement the context manager bits and + # correctly stage/revert index edits. + return False + def write(self, tr): # TODO: call parent change callbacks