Mercurial > evolve
diff tests/test-topic-stack.t @ 1958:62d5d4206840
stack: also change the indexing of the t# reference
Changeset 61f36480740f changed the index displayed (we now index from 1), but
forgot to update the logic used to resolve the 't#' name.
This changeset fixes it.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sun, 03 Apr 2016 21:41:38 -0700 |
parents | ea5553e47027 |
children | 6789d5d9f2b0 |
line wrap: on
line diff
--- a/tests/test-topic-stack.t Fri Apr 01 16:58:52 2016 -0700 +++ b/tests/test-topic-stack.t Sun Apr 03 21:41:38 2016 -0700 @@ -71,15 +71,23 @@ ------------------- - $ hg up t1 - abort: cannot resolve "t1": no active topic + $ hg up t2 + abort: cannot resolve "t2": no active topic [255] $ hg topic foo $ hg up t42 abort: cannot resolve "t42": topic "foo" has only 4 changesets [255] - $ hg up t1 + $ hg up t2 0 files updated, 0 files merged, 2 files removed, 0 files unresolved + $ hg summary + parent: 3:f9c59b863cdb + c_d + branch: default + commit: (clean) + update: (current) + phases: 6 draft + topic: foo Case with some of the topic unstable ------------------------------------