equal
deleted
inserted
replaced
1472 $ hg phase 'all()' |
1472 $ hg phase 'all()' |
1473 0: draft |
1473 0: draft |
1474 1: secret |
1474 1: secret |
1475 2: secret |
1475 2: secret |
1476 |
1476 |
|
1477 Test that qfinish respect phases.new-commit setting |
|
1478 |
|
1479 $ echo '[phases]' >> $HGRCPATH |
|
1480 $ echo 'new-commit=secret' >> $HGRCPATH |
|
1481 $ hg qfinish qbase |
|
1482 patch add-file2 finalized without changeset message |
|
1483 $ hg phase 'all()' |
|
1484 0: draft |
|
1485 1: secret |
|
1486 2: secret |
|
1487 |
|
1488 (restore env for next test) |
|
1489 |
|
1490 $ sed -i.bak -e 's/new-commit=secret//' $HGRCPATH |
|
1491 $ hg qimport -r 1 --name add-file2 |
|
1492 |
1477 Test that qfinish preserve phase when mq.secret=false |
1493 Test that qfinish preserve phase when mq.secret=false |
1478 |
1494 |
1479 $ sed -i.bak -e 's/secret=true/secret=false/' $HGRCPATH |
1495 $ sed -i.bak -e 's/secret=true/secret=false/' $HGRCPATH |
1480 $ hg qfinish qbase |
1496 $ hg qfinish qbase |
1481 patch add-file2 finalized without changeset message |
1497 patch add-file2 finalized without changeset message |