comparison tests/test-phabricator.t @ 45135:225588c4c255

phabupdate: allow revisions to be marked with "plan changes" Differential Revision: https://phab.mercurial-scm.org/D8751
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 15 Jul 2020 13:27:55 -0400
parents 7a0a1be721a3
children b3b0cd8b9366
comparison
equal deleted inserted replaced
45134:487df3676d2c 45135:225588c4c255
83 > --test-vcr "$VCR/accept-4564.json" 83 > --test-vcr "$VCR/accept-4564.json"
84 abort: Conduit Error (ERR-CONDUIT-CORE): Validation errors: 84 abort: Conduit Error (ERR-CONDUIT-CORE): Validation errors:
85 - You can not accept this revision because it has already been closed. Only open revisions can be accepted. 85 - You can not accept this revision because it has already been closed. Only open revisions can be accepted.
86 [255] 86 [255]
87 $ hg phabupdate --accept D7913 -m 'LGTM' --test-vcr "$VCR/accept-7913.json" 87 $ hg phabupdate --accept D7913 -m 'LGTM' --test-vcr "$VCR/accept-7913.json"
88
89 phabupdate with --plan-changes:
90
91 $ hg phabupdate --plan-changes D6876 --test-vcr "$VCR/phabupdate-change-6876.json"
88 92
89 Create a differential diff: 93 Create a differential diff:
90 $ HGENCODING=utf-8; export HGENCODING 94 $ HGENCODING=utf-8; export HGENCODING
91 $ echo alpha > alpha 95 $ echo alpha > alpha
92 $ hg ci --addremove -m 'create alpha for phabricator test €' 96 $ hg ci --addremove -m 'create alpha for phabricator test €'