Show More
@@ -18,7 +18,7 b' def revpair(repo, revs):' | |||
|
18 | 18 | be None, meaning use working dir.''' |
|
19 | 19 | |
|
20 | 20 | def revfix(repo, val, defval): |
|
21 | if not val and val != 0: | |
|
21 | if not val and val != 0 and defval is not None: | |
|
22 | 22 | val = defval |
|
23 | 23 | return repo.lookup(val) |
|
24 | 24 |
General Comments 0
You need to be logged in to leave comments.
Login now