Mercurial > hg
changeset 9030:3f56055ff1d7
compat: can't compare two values of unequal datatypes
author | Alejandro Santos <alejolp@alejolp.com> |
---|---|
date | Sun, 05 Jul 2009 11:01:01 +0200 |
parents | 0001e49f1c11 |
children | 3b76321aa0de |
files | mercurial/copies.py mercurial/merge.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/copies.py Sun Jul 05 11:00:44 2009 +0200 +++ b/mercurial/copies.py Sun Jul 05 11:01:01 2009 +0200 @@ -42,7 +42,7 @@ seen.add(s) if fc.path() != orig and fc.path() not in old: old[fc.path()] = (depth, fc.path()) # remember depth - if fc.rev() < limit and fc.rev() is not None: + if fc.rev() is not None and fc.rev() < limit: continue visit += [(p, depth - 1) for p in fc.parents()]