>>> "FC" == Felipe Contreras <felipe.contre...@gmail.com> writes:

> On Tue, Apr 18, 2023 at 1:03 AM Uwe Brauer <o...@mat.ucm.es> wrote:
>> 
>> > On Mon, Apr 17, 2023 at 3:05 PM Uwe Brauer <o...@mat.ucm.es> wrote:
>> 
>> >      git push hg-remote 
>> > remotes/origin/modernize:refs/heads/branches/modernize
>> 
>> Does not push the git branch modernize to the named branch modernize, sorry

> It does here.

>   (
>   git init git-repo
>   cd git-repo
>   echo one > content
>   git add content
>   git commit -m 'one'
>   )

>   hg init hg-repo

>   (
>   git clone git-repo proxy-repo
>   cd proxy-repo
>   git remote add -f hg-repo hg::../hg-repo
>   git push hg-repo remotes/origin/master:refs/heads/branches/master
>   )

>   hg -R hg-repo log

>   changeset:   0:c8ae0e6c7f3e
>   branch:      master
>   tag:         tip
>   user:        Felipe Contreras <felipe.contre...@gmail.com>
>   date:        Tue Apr 18 02:08:35 2023 -0600
>   summary:     one


I am not arguing with this, what seems not to work is this:

git clone g...@gitlab.com:kalthad/matlab-emacs-default.git
mkdir mercurial-matlab-emacs-default
cd mercurial-matlab-emacs-default
hg init
cd ../matlab-emacs-default
git remote add hg-remote hg::../mercurial-matlab-emacs-default/
git config remote.hg-remote.push 'refs/heads/*:refs/heads/branches/*'
git push hg-remote default

Result 
git push hg-remote remotes/origin/strings:refs/heads/branches/strings

Or 

git push hg-remote remotes/origin/modernize:refs/heads/branches/modernize


But cd mercurial-matlab-emacs-default

hg branches

default                      671:8d1e8723a028
documentation                452:2d98916caa6a (inactive)



Before proceeding, the question is, is something wrong with this
repository.

Because instead of  running 

git push hg-remote remotes/origin/strings:refs/heads/branches/strings

I do 

 git checkout strings

 git push hg-remote strings:branches/strings

Then that does not work neither. Ok something is wrong with that
repository. I have to check this first, before proceeding. Thanks for
your patience.


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/874jpdp9um.fsf%40mat.ucm.es.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to