equal
deleted
inserted
replaced
13 > |/ |
13 > |/ |
14 > B |
14 > B |
15 > | |
15 > | |
16 > A |
16 > A |
17 > EOF |
17 > EOF |
|
18 $ root_node=$(hg log -r A -T '{node}') |
18 |
19 |
19 $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log |
20 $ hg serve -p $HGPORT -d --pid-file hg.pid -E error.log |
20 $ cat hg.pid > $DAEMON_PIDS |
21 $ cat hg.pid > $DAEMON_PIDS |
21 |
22 |
22 lookup for known node works |
23 lookup for known node works |
23 |
24 |
24 $ sendhttpv2peer << EOF |
25 $ sendhttpv2peer << EOF |
25 > command lookup |
26 > command lookup |
26 > key 426bada5c67598ca65036d57d9e4b64b0c1ce7a0 |
27 > key $root_node |
27 > EOF |
28 > EOF |
28 creating http peer for wire protocol version 2 |
29 creating http peer for wire protocol version 2 |
29 sending lookup command |
30 sending lookup command |
30 response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0' |
31 response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0' |
31 |
32 |