add a topic but not a head

Uwe Brauer oub at mat.ucm.es
Thu Jun 13 20:49:48 UTC 2019


>>> "PD" == Pierre-Yves David <pierre-yves.david at ens-lyon.org> writes:

> The result you get is not the expected behavior (the result you want
> is the expected behavior).

I don't get the result which you call the expected.
Here is what I did

 I pulled the latest hg-stable so actually I have 
Mercurial Distributed SCM (version 5.0.1+3-d532292eff22)
  changeset:   42175:d532292eff22
|  branch:      stable
|  tag:         tip
|  user:        Martin von Zweigbergk <martinvonz at google.com>
|  date:        Fri May 31 22:37:14 2019 -0700
|  summary:     bookmarks: use correct store for "ambiguity check"
|

The is the latest changeset in the stable branch.
I run make local 
to have a local executable mercurial version 

I do the same in my evolve clone 

  changeset:   4689:5ca2da538689
|  branch:      stable
|  tag:         tip
|  user:        Anton Shestakov <av6 at dwimlabs.net>
|  date:        Thu Jun 13 13:27:26 2019 +0800
|  summary:     packaging: follow hg's supported python version (>= 2.7)
|


Here I run 

pip install --user .

So I have 

 /home/oub/ALLES/src/hg-stable/hg version -v

evolve                  external  9.0.1.dev
topic                   external  0.15.1.dev


I create a new repo with some commits and one topic.
  changeset:   5:1ba06425919d
|  tag:         tip
|  topic:       NewTopic
|  user:        Uwe Brauer <oub at mat.ucm.es>
|  date:        Thu Jun 13 22:47:47 2019 +0200
|  summary:     Six
|
o  changeset:   4:1b2df00740d5
|  topic:       NewTopic
|  user:        Uwe Brauer <oub at mat.ucm.es>
|  date:        Thu Jun 13 22:47:47 2019 +0200
|  summary:     Fifth
|
o  changeset:   3:a0a92057f007
|  user:        Uwe Brauer <oub at mat.ucm.es>
|  date:        Thu Jun 13 22:47:46 2019 +0200
|  summary:     Fourth
|
o  changeset:   2:a885a543a571
|  user:        Bernhard Riemann <bernhard.riemann at gmail.com>
|  date:        Thu Jun 13 22:47:46 2019 +0200
|  summary:     Third
|
o  changeset:   1:3e0bffb964e9
|  user:        Bernhard Riemann <bernhard.riemann at gmail.com>
|  date:        Thu Jun 13 22:47:46 2019 +0200
|  summary:     Second

Now I run 

/home/oub/ALLES/src/hg-stable/hg topics topic2 -r 1::3

And now I obtain 

  changeset:   8:e5c061909004
|  tag:         tip
|  topic:       topic2
|  parent:      0:9532d2195bf5
|  user:        Bernhard Riemann <bernhard.riemann at gmail.com>
|  date:        Thu Jun 13 22:47:46 2019 +0200
|  summary:     Second
|
| *  changeset:   7:92e03208cff4
| |  topic:       topic2
| |  parent:      1:3e0bffb964e9
| |  user:        Bernhard Riemann <bernhard.riemann at gmail.com>
| |  date:        Thu Jun 13 22:47:46 2019 +0200
| |  instability: orphan
| |  summary:     Third
| |
| | *  changeset:   6:31a2e95e129d
| | |  topic:       topic2
| | |  parent:      2:a885a543a571
| | |  user:        Uwe Brauer <oub at mat.ucm.es>
| | |  date:        Thu Jun 13 22:47:46 2019 +0200
| | |  instability: orphan
| | |  summary:     Fourth
| | |
| | | @  changeset:   5:1ba06425919d
| | | |  topic:       NewTopic
| | | |  user:        Uwe Brauer <oub at mat.ucm.es>
| | | |  date:        Thu Jun 13 22:47:47 2019 +0200
| | | |  instability: orphan
| | | |  summary:     Six

Sorry there are new heads, so this is not good.

I don't know what else I could test.

Regards

Uwe Brauer 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5025 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-evolve-testers/attachments/20190613/5785a679/attachment.p7s>


More information about the Evolve-testers mailing list