changeset 22498:64673dc48931

revset: remove invalid value in the origin set Same as the parents related revsets, origin had some invalid value in the computed set. We remove them.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 17 Sep 2014 10:59:30 -0700
parents 8ea3f47bcaff
children 8c9f9e346acc
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Wed Sep 17 19:49:26 2014 -0700
+++ b/mercurial/revset.py	Wed Sep 17 10:59:30 2014 -0700
@@ -1167,6 +1167,7 @@
             src = prev
 
     o = set([_firstsrc(r) for r in args])
+    o -= set([None])
     return subset.filter(o.__contains__)
 
 def outgoing(repo, subset, x):