hg-git named branches, a new patch and problem

Uwe Brauer oub at mat.ucm.es
Mon Aug 26 14:09:14 UTC 2019



Hi

Manuel Jacob provided a patch which would allow to use named-branches
somehow with the hg-git plugin. I am running into problems which I
describe below

And the question is where to send a bug report to

    1. Mercurial or the hg-git mailing list.


I am running 
Mercurial Distributed SCM (version 5.0.1+3-d532292eff22+20190614)

I pulled the last hg-git version and, thanks to the help of Manuel, I
was able to apply the patch.

I emptied my .hgrc file in order to trace down errors. It looks like

[ui]
username = Uwe Brauer <oub at mat.ucm.es>

[extensions]
hggit = /home/oub/ALLES/src/hg-git/hggit

[git]
export-additional-refs.named-branch-heads:revset   = head()
export-additional-refs.named-branch-heads:template = refs/heads/hg_named_branch/{branch}

I use the following script, which 

    1. Generates a git repository,

    2. Clones it,

    3. Generate a named branch, 2 commits and tries to push. 

I obtain an error, whose error trace I attach together with the script.

Any help is strongly appreciated.


Regards

Uwe Brauer 


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug.txt
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20190826/33e409f2/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script.sh
Type: text/x-sh
Size: 516 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20190826/33e409f2/attachment.sh>


More information about the Mercurial mailing list