findincoming should return an iterable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 13 Mar 2006 00:02:33 +0100
changeset 1895 d7c038e805e9
parent 1894 4c53aaf2d153
child 1920 b7cc0f323a4c
findincoming should return an iterable
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Sun Mar 12 20:23:05 2006 +0100
+++ b/mercurial/localrepo.py	Mon Mar 13 00:02:33 2006 +0100
@@ -809,7 +809,7 @@
                 base[h] = 1
 
         if not unknown:
-            return None
+            return []
 
         rep = {}
         reqcnt = 0