changeset 7472 | 9d457bb38de5 |
parent 7444 | f792c7bb2fb3 |
child 7519 | 992d78981cba |
--- a/hgext/convert/cvs.py Sat Dec 06 15:37:15 2008 +0100 +++ b/hgext/convert/cvs.py Sat Dec 06 15:40:04 2008 +0100 @@ -144,11 +144,11 @@ if branch == "HEAD": branch = "" if branch: - latest = None + latest = 0 # the last changeset that contains a base # file is our parent for r in oldrevs: - latest = max(filerevids.get(r, None), latest) + latest = max(filerevids.get(r, 0), latest) if latest: p = [latest]