Mercurial > public > mercurial-scm > hg-stable
diff mercurial/branchmap.py @ 18644:3e92772d5383
spelling: fix some minor issues found by spell checker
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 10 Feb 2013 18:24:29 +0100 |
parents | d6b3b36f1db2 |
children | c38eaeb3b45e |
line wrap: on
line diff
--- 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))