--- a/mercurial/phases.py Thu Oct 17 16:13:15 2013 +0800
+++ b/mercurial/phases.py Thu Oct 24 01:49:56 2013 +0800
@@ -267,12 +267,12 @@
if filtered:
self.dirty = True
# filterunknown is called by repo.destroyed, we may have no changes in
- # root but phaserevs contents is certainly invalide (or at least we
- # have not proper way to check that. related to issue 3858.
+ # root but phaserevs contents is certainly invalid (or at least we
+ # have not proper way to check that). related to issue 3858.
#
# The other caller is __init__ that have no _phaserevs initialized
# anyway. If this change we should consider adding a dedicated
- # "destroyed" function to phasecache or a proper cache key mechanisme
+ # "destroyed" function to phasecache or a proper cache key mechanism
# (see branchmap one)
self._phaserevs = None