--- a/mercurial/branchmap.py Fri Feb 08 23:26:00 2013 +0100
+++ b/mercurial/branchmap.py Sun Feb 10 18:24:29 2013 +0100
@@ -95,7 +95,7 @@
def _hashfiltered(self, repo):
"""build hash of revision filtered in the current cache
- Tracking tipnode and tiprev is not enough to ensure validaty of the
+ Tracking tipnode and tiprev is not enough to ensure validity of the
cache as they do not help to distinct cache that ignored various
revision bellow tiprev.
@@ -114,9 +114,9 @@
return key
def validfor(self, repo):
- """Is the cache content valide regarding a repo
+ """Is the cache content valid regarding a repo
- - False when cached tipnode are unknown or if we detect a strip.
+ - False when cached tipnode is unknown or if we detect a strip.
- True when cache is up to date or a subset of current repo."""
try:
return ((self.tipnode == repo.changelog.node(self.tiprev))