how are pull request suppose to work with hg-git

11 views
Skip to first unread message

Uwe Brauer

unread,
Apr 15, 2023, 12:25:09 PM4/15/23
to hg-...@googlegroups.com

Hi

Currently matlab-emacs dwells in sourgeforge (as a git repository). It
has been proposed to move/mirror it either to github or gitlab, because
of pull-request.

So I made an experiment. I mirrored the sourceforge repository in gitlab

g...@gitlab.com:kalthad/matlab-emacs-default.git

I made a fork
g...@gitlab.com:kalthad/matlab-emacs-default-feature.git

In that fork I created new git branch new-feature and added a relative
trivial commit.

Then I thought to add
fork = git+ssh://g...@gitlab.com:kalthad/matlab-emacs-default-feature.git

And indeed

hg in fork

Shows me
changeset: 690:6e245a2cbb2e
bookmark: new-feature
user: Uwe Brauer <o...@mat.ucm.es>
date: Sat Apr 15 07:44:02 2023 -0200
summary: New file explaining the use of the python engine


However when I run

hg pull -B new-feature fork
,----
| pulling from git+ssh://g...@gitlab.com:kalthad/matlab-emacs-default-feature.git
| Warning: Permanently added 'gitlab.com,172.65.251.78' (ECDSA) to the list of known hosts.
| Warning: Permanently added 'gitlab.com,172.65.251.78' (ECDSA) to the list of known hosts.
| abort: ref n$Z,�.�V_�P��5��$A� not found on remote server
`----

So hg pull -u fork

Works.

Any idea what is going on?

Regards

Uwe Brauer




--
Warning: Content may be disturbing to some audiences
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
Reply all
Reply to author
Forward
0 new messages