# HG changeset patch # User Pierre-Yves David # Date 1422649773 0 # Node ID 9e3f332f7630e4ecfae17fc7a633324dd797247a # Parent af9fd422adbbb493c11a1e16d8bd05be9579a74a 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. diff -r af9fd422adbb -r 9e3f332f7630 hgext/evolve.py --- 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"