Mercurial > hg-stable
changeset 25613:a13c18c14ade
phase: document the replace method
This is a minor documentation update to answer a co-worker question.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 15 Jun 2015 16:06:24 -0700 |
parents | 97528adbf74b |
children | 6c48f012d37e |
files | mercurial/phases.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/phases.py Mon Jun 15 16:16:02 2015 -0700 +++ b/mercurial/phases.py Mon Jun 15 16:06:24 2015 -0700 @@ -171,6 +171,7 @@ return ph def replace(self, phcache): + """replace all values in 'self' with content of phcache""" for a in 'phaseroots dirty opener _phaserevs _phasesets'.split(): setattr(self, a, getattr(phcache, a))