comparison tests/test-phabricator.t @ 44551:9bae1d1a0f4c

phabricator: add a config knob to import in the secret phase For my use anyway, it's better to have a config knob that's always set than to try to remember a switch. But we can add a tristate switch if desired. Differential Revision: https://phab.mercurial-scm.org/D8137
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 16 Feb 2020 17:17:41 -0500
parents bbb170f9396d
children 2ec6160449aa
comparison
equal deleted inserted replaced
44550:bbb170f9396d 44551:9bae1d1a0f4c
343 | create beta for phabricator test 343 | create beta for phabricator test
344 | 344 |
345 o 0 c44b38f24a45 1970-01-01 00:00 +0000 test 345 o 0 c44b38f24a45 1970-01-01 00:00 +0000 test
346 create alpha for phabricator test \x80 (esc) 346 create alpha for phabricator test \x80 (esc)
347 347
348 Phabimport can create secret commits
349
350 $ hg rollback --config ui.rollback=True
351 repository tip rolled back to revision 1 (undo phabimport)
352 $ hg phabimport --stack 'D7918' --test-vcr "$VCR/phabimport-stack.json" \
353 > --config phabimport.secret=True
354 applying patch from D7917
355 applying patch from D7918
356 $ hg log -T phases
357 changeset: 3:aaef04066140
358 tag: tip
359 phase: secret
360 user: test
361 date: Thu Jan 01 00:00:00 1970 +0000
362 summary: create draft change for phabricator testing
363
364 changeset: 2:8de3712202d1
365 phase: secret
366 user: test
367 date: Thu Jan 01 00:00:00 1970 +0000
368 summary: create public change for phabricator testing
369
370 changeset: 1:a692622e6937
371 phase: public
372 user: test
373 date: Thu Jan 01 00:00:00 1970 +0000
374 summary: create beta for phabricator test
375
376 changeset: 0:c44b38f24a45
377 phase: public
378 user: test
379 date: Thu Jan 01 00:00:00 1970 +0000
380 summary: create alpha for phabricator test \x80 (esc)
381
348 382
349 $ cd .. 383 $ cd ..