# HG changeset patch # User Boris Feld # Date 1547132587 -3600 # Node ID afa884015e661d54e26684cc69320e6656f5fb41 # Parent 5cc5a5561c3f7789c214820a648f16b96d320cbe revset: remove the last usage of "%d" for a non-revision entry In order to fix an important bug, we are about to narrow the semantic of "%d" in revset. This is one of the few exceptions that we need to get rid of before being able to fix the bug. See the later semantic narrowing changeset for full rationale on the semantic change. diff -r 5cc5a5561c3f -r afa884015e66 mercurial/exchangev2.py --- a/mercurial/exchangev2.py Thu Jan 10 15:57:13 2019 +0100 +++ b/mercurial/exchangev2.py Thu Jan 10 16:03:07 2019 +0100 @@ -98,7 +98,7 @@ relevantcsetnodes = set() clnode = repo.changelog.node - for rev in repo.revs(b'ancestors(%ln, %d)', + for rev in repo.revs(b'ancestors(%ln, %s)', pullheads, pullop.depth - 1): relevantcsetnodes.add(clnode(rev))