hg-git with git pull request

Cody Scott cody at perspexis.com
Wed Apr 19 15:53:51 UTC 2017


Yes but then how do you get the pull request??

You could do

hg clone git at github.com:wolfv/xtensor.git
cd xtensor
hg update dynamic_view_take_two



On Wed, Apr 19, 2017 at 11:52 AM, Nathan Goldbaum <nathan12343 at gmail.com>
wrote:

> You should be able to do "hg clone git://github.com/QuantStack/xtensor.git
> ".
>
> On Wed, Apr 19, 2017 at 10:48 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
>
>> I'm maintaining a local copy of a github repo, to which I've locally
>> added a
>> PR.  So I create this by:
>>
>> git clone https://github.com/QuantStack/xtensor.git
>> git fetch origin pull/269/head:dynamic_view
>>
>> Now I can hg clone this local repo.
>>
>> But can I create the hg copy directly from github, without the extra step
>> of
>> cloning the git local copy and then adding the PR?
>>
>> I hope I'm making sense, I don't know much about git or github.
>>
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at mercurial-scm.org
>> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20170419/0329472b/attachment-0002.html>


More information about the Mercurial mailing list