Mercurial > hg
diff mercurial/interfaces/repository.py @ 43142:beed7ce61681
sidedatacopies: write copies information in sidedata when applicable
If the format of the repository indicate it stores copies information into
changeset's sidedata, then we actually write that information into sidedata at
commit time. It will be put to use in later changesets.
Currently, we store all field unconditionally, but that is likely to change in
the future for the sake of efficiency.
Differential Revision: https://phab.mercurial-scm.org/D6950
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 06 Oct 2019 23:36:51 -0400 |
parents | 687b865b95ad |
children | f965b1027fb0 |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Sun Oct 06 23:36:51 2019 -0400 +++ b/mercurial/interfaces/repository.py Sun Oct 06 23:36:51 2019 -0400 @@ -1547,6 +1547,10 @@ names = interfaceutil.Attribute("""A ``namespaces`` instance.""") + filecopiesmode = interfaceutil.Attribute( + """The way files copies should be dealt with in this repo.""" + ) + def close(): """Close the handle on this repository."""