Mercurial > evolve
changeset 6551:198b87917ba8
tests: import a patch with topic namespace, but without topic
Just to make sure extras don't have neither.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 06 Sep 2023 16:03:01 -0300 |
parents | fa14b9fc953d |
children | 81e89d943a4e |
files | tests/test-namespaces.t |
diffstat | 1 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-namespaces.t Wed Sep 06 16:00:37 2023 -0300 +++ b/tests/test-namespaces.t Wed Sep 06 16:03:01 2023 -0300 @@ -154,6 +154,38 @@ $ hg log -r tip -T '{rev}: {join(extras, " ")}\n' 2: branch=stable +Importing a patch with topic namespace set and topic unset + + $ hg import - << EOF + > # HG changeset patch + > # User test + > # Date 0 0 + > # Thu Jan 01 00:00:00 1970 +0000 + > # Branch stable + > # Node ID 1111111111111111111111111111111111111111 + > # Parent 2222222222222222222222222222222222222222 + > # EXP-Topic-Namespace mynamespace + > # EXP-Topic + > more z + > + > diff --git a/z b/z + > --- a/z + > +++ b/z + > @@ -1,1 +1,1 @@ + > -zebra + > +z + > EOF + applying patch from stdin + + $ hg log -r tip -T '{rev}: {branch} {topic_namespace} {topic}\n' + 3: stable none + + $ hg log -r tip -T '{rev}: {fqbn}\n' + 3: stable + + $ hg log -r tip -T '{rev}: {join(extras, " ")}\n' + 3: branch=stable + Revsets $ nslog() {