setting up 2 repositories with the passwords

Raphaël Gomès raphael.gomes at octobus.net
Wed Aug 21 16:40:21 UTC 2019


While I cannot directly help you, you should know that the #sr.ht 
channel on freenode is very active and people there will be able to help 
you on sourcehut-specific issues.

On 8/21/19 6:04 PM, Uwe Brauer wrote:
>
> Hi
>
> In connection with the ongoing discussion about the mercurial-shutdown
> of bitbucket, I would like to test sourcehut, by pushing one
> repository to both, bitbucket and to sourcehut.
>
> I tried
>
>
> [paths]
> default = https://kalthad@bitbucket.org/kalthad/chemistry-exercises-problems
> sourcehut = ssh://hg@hg.sr.ht/~oub/chemistry-exercises-problems
>
>
> [auth]
> repo.prefix = https://bitbucket.org/kalthad/chemistry-exercises-problems
> repo.username = kalthad
> repo.password = supersecret
>
> repo2.prefix = ssh://hg@hg.sr.ht/~oub/chemistry-exercises-problems
> repo2.username = oub
> repo2.password = supersecret
>
> But it does not work for the sourcehut one. I am forced to type the
> password which I don't want. Ok I could generate a ssh key without a
> password, but I am not very keen to do that.
>
> Any help is strongly appreciated
>
>
> Uwe Brauer
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial



More information about the Mercurial mailing list