comparison tests/test-prune.t @ 4445:0f2305921e4d stable

prune: use action "prune", not "touch", in precheck We have been using "touch" since 06ee4ec88190 (prune: use precheck to validate revision, 2017-07-23). That commit modified the tests, so it kind seemed intentional, but I suspect it was still just an oversight.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 25 Mar 2019 15:44:44 -0700
parents 821e4be40c6c
children ef1c322c389d 30a544904238
comparison
equal deleted inserted replaced
4427:9e2ee7dc5e34 4445:0f2305921e4d
90 47d2a3944de8b013de3be9578e8e344ea2e6c097 0 {4538525df7e2b9f09423636c61ef63a4cb872a2d} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} 90 47d2a3944de8b013de3be9578e8e344ea2e6c097 0 {4538525df7e2b9f09423636c61ef63a4cb872a2d} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
91 91
92 cannot prune public changesets 92 cannot prune public changesets
93 93
94 $ hg prune 0 94 $ hg prune 0
95 abort: cannot touch public changesets: 1f0dee641bb7 95 abort: cannot prune public changesets: 1f0dee641bb7
96 (see 'hg help phases' for details) 96 (see 'hg help phases' for details)
97 [255] 97 [255]
98 $ hg debugobsolete 98 $ hg debugobsolete
99 9d206ffc875e1bc304590549be293be36821e66c 0 {47d2a3944de8b013de3be9578e8e344ea2e6c097} (Sat Dec 15 00:00:00 1979 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'blah'} 99 9d206ffc875e1bc304590549be293be36821e66c 0 {47d2a3944de8b013de3be9578e8e344ea2e6c097} (Sat Dec 15 00:00:00 1979 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'blah'}
100 7c3bad9141dcb46ff89abf5f61856facd56e476c 0 {1f0dee641bb7258c56bd60e93edfa2405381c41e} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} 100 7c3bad9141dcb46ff89abf5f61856facd56e476c 0 {1f0dee641bb7258c56bd60e93edfa2405381c41e} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}