Mercurial > hg
comparison tests/test-hgweb-commands.t @ 13723:e615765fdcc7
wireproto: add known([id]) function
known([Node]) -> [1/0]
Returns 1/0 for each node, indicating whether it's known by the server.
Needed for new discovery protocols introduced in later patches.
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Tue, 22 Mar 2011 09:22:21 +0100 |
parents | 0a8ba9124623 |
children | b51bf961b3cb |
comparison
equal
deleted
inserted
replaced
13722:f4a85acef50c | 13723:e615765fdcc7 |
---|---|
903 capabilities | 903 capabilities |
904 | 904 |
905 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo | 905 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=capabilities'; echo |
906 200 Script output follows | 906 200 Script output follows |
907 | 907 |
908 lookup changegroupsubset branchmap pushkey unbundle=HG10GZ,HG10BZ,HG10UN | 908 lookup changegroupsubset branchmap pushkey known unbundle=HG10GZ,HG10BZ,HG10UN |
909 | 909 |
910 heads | 910 heads |
911 | 911 |
912 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' | 912 $ "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '?cmd=heads' |
913 200 Script output follows | 913 200 Script output follows |