comparison tests/test-phabricator.t @ 42257:a4f7dceb07bf

phabricator: fallback to reading metadata from diff for phabread Differential Revision: https://phab.mercurial-scm.org/D6301
author Ian Moody <moz-ian@perix.co.uk>
date Mon, 22 Apr 2019 18:55:26 +0100
parents c340a8ac7ef3
children af13e2088f77
comparison
equal deleted inserted replaced
42256:9421d7e12888 42257:a4f7dceb07bf
30 abort: Conduit Error (ERR-INVALID-AUTH): API token "cli-notavalidtoken" has the wrong length. API tokens should be 32 characters long. 30 abort: Conduit Error (ERR-INVALID-AUTH): API token "cli-notavalidtoken" has the wrong length. API tokens should be 32 characters long.
31 31
32 Basic phabread: 32 Basic phabread:
33 $ hg phabread --test-vcr "$VCR/phabread-4480.json" D4480 | head 33 $ hg phabread --test-vcr "$VCR/phabread-4480.json" D4480 | head
34 # HG changeset patch 34 # HG changeset patch
35 # Date 1536771503 0
36 # Parent a5de21c9e3703f8e8eb064bd7d893ff2f703c66a
35 exchangev2: start to implement pull with wire protocol v2 37 exchangev2: start to implement pull with wire protocol v2
36 38
37 Wire protocol version 2 will take a substantially different 39 Wire protocol version 2 will take a substantially different
38 approach to exchange than version 1 (at least as far as pulling 40 approach to exchange than version 1 (at least as far as pulling
39 is concerned). 41 is concerned).
40 42
41 This commit establishes a new exchangev2 module for holding 43 This commit establishes a new exchangev2 module for holding
42 code related to exchange using wire protocol v2. I could have
43 added things to the existing exchange module. But it is already
44 44
45 phabupdate with an accept: 45 phabupdate with an accept:
46 $ hg phabupdate --accept D4564 \ 46 $ hg phabupdate --accept D4564 \
47 > -m 'I think I like where this is headed. Will read rest of series later.'\ 47 > -m 'I think I like where this is headed. Will read rest of series later.'\
48 > --test-vcr "$VCR/accept-4564.json" 48 > --test-vcr "$VCR/accept-4564.json"