Mercurial > evolve
comparison tests/test-touch.t @ 4446:8232bddf543a stable
touch: use action "touch", not "<function touch at ...>", in precheck
I just got this message:
abort: cannot <function touch at 0x7fde174b69b0> public changesets: f177c51ae98f
It has been this way since 1b7b9acda2a9 (touch: use precheck to
validate revision, 2017-07-23).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 25 Mar 2019 15:45:11 -0700 |
parents | 1e103c7f7663 |
children | d70db7e455dc 30a544904238 |
comparison
equal
deleted
inserted
replaced
4445:0f2305921e4d | 4446:8232bddf543a |
---|---|
159 x [0-9a-f]{12} (.*) move (re) | 159 x [0-9a-f]{12} (.*) move (re) |
160 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) | 160 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) |
161 rewritten(.*) as [0-9a-f]{12} using touch by test (.*) (re) | 161 rewritten(.*) as [0-9a-f]{12} using touch by test (.*) (re) |
162 note: testing with no successor | 162 note: testing with no successor |
163 | 163 |
164 | |
165 Public phase | |
166 | |
167 $ hg phase --public -r 2 | |
168 $ hg touch 2 | |
169 abort: cannot touch public changesets: * (glob) | |
170 (see 'hg help phases' for details) | |
171 [255] | |
172 $ hg touch --duplicate 2 |