# HG changeset patch # User Mads Kiilerich # Date 1345509680 -7200 # Node ID 57c6c24b9bc4ee5ac5136005b5222b5f043b715f # Parent 9724f8f8850b9979d5d30c626bea81d625b16c36 improve some comments and docstrings, fixing issues found when spell checking diff -r 9724f8f8850b -r 57c6c24b9bc4 mercurial/context.py --- a/mercurial/context.py Tue Aug 21 02:41:20 2012 +0200 +++ b/mercurial/context.py Tue Aug 21 02:41:20 2012 +0200 @@ -237,8 +237,8 @@ def extinct(self): """True if the changeset is extinct""" - # We should just compute a cache a check against it. - # see revset implementation for details + # We should just compute a cache and check against it. + # See revset implementation for details. # # But this naive implementation does not require cache if self.phase() <= phases.public: diff -r 9724f8f8850b -r 57c6c24b9bc4 mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py Tue Aug 21 02:41:20 2012 +0200 +++ b/mercurial/hgweb/server.py Tue Aug 21 02:41:20 2012 +0200 @@ -12,7 +12,7 @@ from mercurial.i18n import _ def _splitURI(uri): - """ Return path and query split from uri + """Return path and query that has been split from uri Just like CGI environment, the path is unquoted, the query is not. diff -r 9724f8f8850b -r 57c6c24b9bc4 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Aug 21 02:41:20 2012 +0200 +++ b/mercurial/localrepo.py Tue Aug 21 02:41:20 2012 +0200 @@ -300,7 +300,7 @@ """hiddenrevs: revs that should be hidden by command and tools This set is carried on the repo to ease initialisation and lazy - loading it'll probably move back to changelog for efficiency and + loading; it'll probably move back to changelog for efficiency and consistency reason Note that the hiddenrevs will needs invalidations when @@ -2539,7 +2539,7 @@ # uncompressed only if compatible. if not stream: - # if the server explicitly prefer to stream (for fast LANs) + # if the server explicitly prefers to stream (for fast LANs) stream = remote.capable('stream-preferred') if stream and not heads: diff -r 9724f8f8850b -r 57c6c24b9bc4 mercurial/lock.py --- a/mercurial/lock.py Tue Aug 21 02:41:20 2012 +0200 +++ b/mercurial/lock.py Tue Aug 21 02:41:20 2012 +0200 @@ -122,7 +122,7 @@ def release(self): """release the lock and execute callback function if any - If the lock have been acquired multiple time, the actual release is + If the lock has been acquired multiple time, the actual release is delayed to the last release call.""" if self.held > 1: self.held -= 1