##// END OF EJS Templates
convert/cvs: do not compare None with int
Benoit Boissinot -
r7472:9d457bb3 default
parent child Browse files
Show More
@@ -144,11 +144,11 b' class convert_cvs(converter_source):'
144 144 if branch == "HEAD":
145 145 branch = ""
146 146 if branch:
147 latest = None
147 latest = 0
148 148 # the last changeset that contains a base
149 149 # file is our parent
150 150 for r in oldrevs:
151 latest = max(filerevids.get(r, None), latest)
151 latest = max(filerevids.get(r, 0), latest)
152 152 if latest:
153 153 p = [latest]
154 154
General Comments 0
You need to be logged in to leave comments. Login now