Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
43141:52781d57313d | 43142:beed7ce61681 |
---|---|
1545 """Holds sets of revisions to be filtered.""" | 1545 """Holds sets of revisions to be filtered.""" |
1546 ) | 1546 ) |
1547 | 1547 |
1548 names = interfaceutil.Attribute("""A ``namespaces`` instance.""") | 1548 names = interfaceutil.Attribute("""A ``namespaces`` instance.""") |
1549 | 1549 |
1550 filecopiesmode = interfaceutil.Attribute( | |
1551 """The way files copies should be dealt with in this repo.""" | |
1552 ) | |
1553 | |
1550 def close(): | 1554 def close(): |
1551 """Close the handle on this repository.""" | 1555 """Close the handle on this repository.""" |
1552 | 1556 |
1553 def peer(): | 1557 def peer(): |
1554 """Obtain an object conforming to the ``peer`` interface.""" | 1558 """Obtain an object conforming to the ``peer`` interface.""" |