discovery: filter null from the discovery revset
If there is nothing in common, common will be "null" and the revset will now
returns "-1" crashing the discovery process. We filter out the null revision to
prevent that.
--- a/hgext/evolve.py Fri Jan 30 19:01:23 2015 +0000
+++ b/hgext/evolve.py Fri Jan 30 20:29:33 2015 +0000
@@ -2575,7 +2575,7 @@
cl = pullop.repo.changelog
remote = pullop.remote
unfi = repo.unfiltered()
- revs = unfi.revs('::%ln', pullop.common)
+ revs = unfi.revs('::(%ln - null)', pullop.common)
common = [nullid]
if remote.capable('_evoext_obshash_0'):
obsexcmsg(repo.ui, "looking for common markers in %i nodes\n"