Submitter | Boris Feld |
---|---|
Date | Jan. 14, 2019, 12:13 p.m. |
Message ID | <15458ddc966d002a781d.1547467991@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/37721/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py +++ b/mercurial/wireprotov2server.py @@ -823,8 +823,8 @@ def resolvenodes(repo, revisions): '%s key not present in changesetexplicitdepth revision ' 'specifier', (key,)) - for rev in repo.revs(b'ancestors(%ln, %d)', spec[b'nodes'], - spec[b'depth'] - 1): + query = b'ancestors(%ln, %s)' + for rev in repo.revs(query, spec[b'nodes'], spec[b'depth'] - 1): node = cl.node(rev) if node not in seen: