Changeset View
Changeset View
Standalone View
Standalone View
tests/test-fix-topology.t
Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Line(s) | |||||
immutable. We can fix orphans because their successors are still just orphans | immutable. We can fix orphans because their successors are still just orphans | ||||
of the original obsolete parent. When obsolesence is off, we're just fixing and | of the original obsolete parent. When obsolesence is off, we're just fixing and | ||||
replacing anything that isn't public. | replacing anything that isn't public. | ||||
$ hg init fixall | $ hg init fixall | ||||
$ cd fixall | $ cd fixall | ||||
$ hg fix --all --working-dir | $ hg fix --all --working-dir | ||||
abort: cannot specify both --working-dir and --all | abort: cannot specify both --working-dir and --all | ||||
[255] | [10] | ||||
#if obsstore-on | #if obsstore-on | ||||
$ printf "one\n" > foo.whole | $ printf "one\n" > foo.whole | ||||
$ hg commit -Aqm "first" | $ hg commit -Aqm "first" | ||||
$ hg phase --public | $ hg phase --public | ||||
$ hg tag --local root | $ hg tag --local root | ||||
$ printf "two\n" > foo.whole | $ printf "two\n" > foo.whole | ||||
$ hg commit -m "second" | $ hg commit -m "second" | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |