Fri, 13 Aug 2010 13:11:41 -0300 revset: predicate to avoid lookup errors
Wagner Bruna <wbruna@softwareexpress.com.br> [Fri, 13 Aug 2010 13:11:41 -0300] rev 11944
revset: predicate to avoid lookup errors A query like head() and (descendants("bad") and not descendants("fix")) (testing if repo heads are affected by a bug) will abort with a RepoLookupError if either badrev or fixrev aren't found inside the repository, which is not very informative. The new predicate returns an empty set for lookup errors, so head() and (descendants(present("bad")) and not descendants(present("fix"))) will behave as wanted even if those revisions are not found.
(0) -10000 -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip