mercurial/commands.py
changeset 21049 f117a0ba5289
parent 21047 f0003f989e72
child 21050 025ec0f08cb6
--- a/mercurial/commands.py	Wed Apr 16 00:37:24 2014 +0900
+++ b/mercurial/commands.py	Wed Apr 16 00:37:24 2014 +0900
@@ -4354,7 +4354,7 @@
     if opts.get('graph'):
         cmdutil.checkunsupportedgraphflags([], opts)
         o = hg._outgoing(ui, repo, dest, opts)
-        if o is None:
+        if not o:
             return
 
         revdag = cmdutil.graphrevs(repo, o, opts)