changeset 5294 | e14118f92730 |
parent 5248 | 5517aa5aafb0 |
child 5336 | 24de027551c1 |
--- a/hgext/mq.py Fri Sep 07 17:54:38 2007 +0200 +++ b/hgext/mq.py Mon Sep 10 15:00:05 2007 -0700 @@ -1025,9 +1025,8 @@ copies = {} for dst in a: src = repo.dirstate.copied(dst) - if src is None: - continue - copies.setdefault(src, []).append(dst) + if src is not None: + copies.setdefault(src, []).append(dst) repo.dirstate.add(dst) # remember the copies between patchparent and tip # this may be slow, so don't do it if we're not tracking copies