equal
deleted
inserted
replaced
143 test kill and immutable changeset |
143 test kill and immutable changeset |
144 |
144 |
145 $ hg log -r 1 --template '{rev} {phase} {obsolete}\n' |
145 $ hg log -r 1 --template '{rev} {phase} {obsolete}\n' |
146 1 public |
146 1 public |
147 $ hg prune 1 |
147 $ hg prune 1 |
148 abort: cannot touch public changesets: 7c3bad9141dc |
148 abort: cannot prune public changesets: 7c3bad9141dc |
149 (see 'hg help phases' for details) |
149 (see 'hg help phases' for details) |
150 [255] |
150 [255] |
151 $ hg log -r 1 --template '{rev} {phase} {obsolete}\n' |
151 $ hg log -r 1 --template '{rev} {phase} {obsolete}\n' |
152 1 public |
152 1 public |
153 |
153 |
1308 $ hg up 98e171e2f272 |
1308 $ hg up 98e171e2f272 |
1309 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
1309 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
1310 $ mkcommit c5_ |
1310 $ mkcommit c5_ |
1311 created new head |
1311 created new head |
1312 $ hg prune '0ef9ff75f8e2 + f1b85956c48c' |
1312 $ hg prune '0ef9ff75f8e2 + f1b85956c48c' |
1313 abort: touch will orphan 1 descendants |
1313 abort: prune will orphan 1 descendants |
1314 (see 'hg help evolution.instability') |
1314 (see 'hg help evolution.instability') |
1315 [255] |
1315 [255] |
1316 $ hg prune '98e171e2f272::0d9203b74542' |
1316 $ hg prune '98e171e2f272::0d9203b74542' |
1317 abort: touch will orphan 1 descendants |
1317 abort: prune will orphan 1 descendants |
1318 (see 'hg help evolution.instability') |
1318 (see 'hg help evolution.instability') |
1319 [255] |
1319 [255] |
1320 $ hg prune '0ef9ff75f8e2::' |
1320 $ hg prune '0ef9ff75f8e2::' |
1321 3 changesets pruned |
1321 3 changesets pruned |
1322 $ glog -r "0cf3707e8971::" |
1322 $ glog -r "0cf3707e8971::" |