hg help hgrc
In your clone, your hgrc will likely look like this:
[paths]
default = git://
github.com/foo/bar
You want to add a line after the default = line like this:
zsolt = git+ssh://
g...@github.com/zslolt/bar
Then you can push to 'zsolt'.
On Sep 13, 2012, at 9:14 AM, Zsolt Ero wrote:
> Sorry, I've just started this whole Mercurial - hg-git - Github combo
> yesterday. Can you tell me a bit more? Like step by step, starting from a
> working fored repro syncing with git+ssh://?
> I know .hgrc, but can you tell me a bit more about paths? What should I
> edit there? A read-only git:// url?
>
> Zsolt
>
>
>
>
> On Thursday, September 13, 2012 4:11:22 PM UTC+2, Augie wrote:
>>
>> Edit [paths] in .hg/hgrc and add the path you want to push to with a name.
>>
>> On Sep 13, 2012, at 9:05 AM, Zsolt Ero wrote:
>>
>>> Can someone explain to me how can I update forked Github repros?
>>>
>>> Let's imaging the following very common situation:
>>> 1. I fork a project on Github
>>> 2. I clone my forked project from github using the git+ssh:// protocol
>> into
>>> Mercurial.
>>> 3. Now the original project is updated
>>> 4. How can I update the forked repro? I've found some guide for it:
>>>
>>
http://bradlyfeeley.com/2008/09/03/update-a-github-fork-from-the-original-repo/
>>>
>>> but it mentions git remote add, what I have no idea how to do with
>> hg-git:
>>>
>>> git remote add --track master mleung git://
github.com/mleung/feather.git
>>> I think it must be a very common situation. How do you do this?
>>>
>>> Thanks,
>>> Zsolt
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>> Groups "hg-git" group.
>>> To view this discussion on the web visit
>>
https://groups.google.com/d/msg/hg-git/-/rBRGoUFrlZAJ.
>>> To post to this group, send email to
hg-...@googlegroups.com<javascript:>.
>>
>>> To unsubscribe from this group, send email to
>>
hg-git+un...@googlegroups.com <javascript:>.
> --
> You received this message because you are subscribed to the Google Groups "hg-git" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/hg-git/-/w1VgSz3IB6EJ.