hg-git: push -d default seems not to work.

Uwe Brauer oub at mat.ucm.es
Wed May 3 07:28:09 UTC 2017


Hi

Maybe somebody acquainted with hg-git could give me a hint.

I clone a git repo, via git clone.
I clone that local repo via hg clone.

Now in the hg-clone-repo
I use a named branch for a new feature, after a couple of commits I
merge it into the default (bookmark master) branch.

Now I only want to push (locally) the default branch.

 hg push -b default

However all the commits are pushed, which is not what I  want.

Example hg-repo

@    changeset:   6935:cf9dce9370e5
|\   bookmark:    master
| |  tag:         default/master
| |  tag:         tip
| |  parent:      6933:f126406be5c9
| |  parent:      6934:b61106aa8e7b
| |  user:        Uwe Brauer <oub at mat.ucm.es>
| |  date:        Wed May 03 07:19:00 2017 +0000
| |  summary:     Actualize question macro.
| |
| o  changeset:   6934:b61106aa8e7b
|/   branch:      exam
|    user:        Uwe Brauer <oub at mat.ucm.es>
|    date:        Wed May 03 07:18:12 2017 +0000
|    summary:     Actualize question macro.
|
o  changeset:   6933:f126406be5c9
|  user:        Arash Esbati <arash at gnu.org>
|  date:        Tue May 02 11:59:20 2017 +0200
|  summary:     Use `ispell-tex-arg-end' on parsed elements
|

So I only want to push changeset cf9dce9370e5 but not b61106aa8e7b

However in git I see
commit 6da134d4be9cfe3adab3bdc81bd3fe1d40571bb1
Merge: f039132 01fa8f6
Author: Uwe Brauer <oub at mat.ucm.es>
Date:   Wed May 3 07:19:00 2017 +0000

    Actualize question macro.

commit 01fa8f6eea7d58e8e5fa44d779a36e307c85da88
Author: Uwe Brauer <oub at mat.ucm.es>
Date:   Wed May 3 07:18:12 2017 +0000

    Actualize question macro.

    * style/exam.el ("exam"): Add label to question macro.

    --HG--
    branch : exam

So all the changesets were pushed.

What do I miss?

Thanks and regards

Uwe Brauer 



More information about the Mercurial mailing list