Mercurial > public > mercurial-scm > hg
comparison mercurial/context.py @ 17425:e95ec38f86b0
fix wording and not-completely-trivial spelling errors and bad docstrings
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 15 Aug 2012 22:39:18 +0200 |
parents | e7cfe3587ea4 |
children | 57c6c24b9bc4 |
comparison
equal
deleted
inserted
replaced
17424:e7cfe3587ea4 | 17425:e95ec38f86b0 |
---|---|
1165 def cmp(self, fctx): | 1165 def cmp(self, fctx): |
1166 """compare with other file context | 1166 """compare with other file context |
1167 | 1167 |
1168 returns True if different than fctx. | 1168 returns True if different than fctx. |
1169 """ | 1169 """ |
1170 # fctx should be a filectx (not a wfctx) | 1170 # fctx should be a filectx (not a workingfilectx) |
1171 # invert comparison to reuse the same code path | 1171 # invert comparison to reuse the same code path |
1172 return fctx.cmp(self) | 1172 return fctx.cmp(self) |
1173 | 1173 |
1174 class memctx(object): | 1174 class memctx(object): |
1175 """Use memctx to perform in-memory commits via localrepo.commitctx(). | 1175 """Use memctx to perform in-memory commits via localrepo.commitctx(). |