Mercurial > hgsubversion
changeset 227:d79843a3d42c
Fixing syntax highlighting in emacs.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 30 Mar 2009 10:24:27 -0500 |
parents | bb2b78f9f4ce |
children | f71af18c4379 |
files | hg_delta_editor.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hg_delta_editor.py +++ b/hg_delta_editor.py @@ -60,12 +60,12 @@ class HgChangeReceiver(delta.Editor): self.revmap[revnum, branch] = node_hash def last_known_revision(self): - ''' Obtain the highest numbered -- i.e. latest -- revision known. + """Obtain the highest numbered -- i.e. latest -- revision known. Currently, this function just iterates over the entire revision map using the max() builtin. This may be slow for extremely large repositories, but for now, it's fast enough. - ''' + """ try: return max(k[0] for k in self.revmap.iterkeys()) except ValueError: