# HG changeset patch # User mpm@selenic.com # Date 1124261269 28800 # Node ID 32e8f64b25b0d7c0ee5821cdad3b66634c52f244 # Parent 0c4a6ad6efc158eca1a98f8b2c0a8a87a3d5a56d Fix incoming for empty set diff -r 0c4a6ad6efc1 -r 32e8f64b25b0 mercurial/commands.py --- a/mercurial/commands.py Tue Aug 16 21:33:50 2005 -0800 +++ b/mercurial/commands.py Tue Aug 16 22:47:49 2005 -0800 @@ -791,6 +791,8 @@ + " repositories yet, sorry!\n") return 1 o = repo.findincoming(other) + if not o: + return o = other.newer(o) o.reverse() for n in o: