Mercurial > evolve
diff tests/test-push-checkheads-multibranches-E2.t @ 6315:ebc2dea354a2
tests: switch to double//slash branch in many tests
We want to make sure cases with double slash in branch name will continue to be
handled correctly, and for that we need more tests that use unusual branch
names like this.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 30 Oct 2022 15:22:16 +0400 |
parents | 11c359b4071d |
children | 60daa7887c49 |
line wrap: on
line diff
--- a/tests/test-push-checkheads-multibranches-E2.t Thu May 12 20:02:40 2022 +0400 +++ b/tests/test-push-checkheads-multibranches-E2.t Sun Oct 30 15:22:16 2022 +0400 @@ -14,12 +14,12 @@ .. old-state: .. .. * 2-changeset on branch default -.. * 1-changeset on branch Z (between the two other) +.. * 1-changeset on branch double//slash (between the two other) .. .. new-state: .. .. * 2-changeset on branch default, aligned -.. * 1-changeset on branch Z (at the same location) +.. * 1-changeset on branch double//slash (at the same location) .. .. expected-result: .. @@ -48,8 +48,8 @@ updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd client - $ hg branch Z - marked working directory as branch Z + $ hg branch double//slash + marked working directory as branch double//slash (branches are permanent and global, did you want a bookmark?) $ mkcommit B0 $ hg branch default --force @@ -82,9 +82,9 @@ | o f6082bc4ffef (draft): A1 | - | x afc55ba2ce61 (draft): C0 + | x c7f1f02ffefc (draft): C0 | | - | * 93e5c1321ece (draft): B0 + | * 1fd532b11e77 (draft): B0 | | | x 8aaa48160adc (draft): A0 |/