Couple of questions from a potential new user

22 views
Skip to first unread message

rich

unread,
May 2, 2012, 3:10:27 PM5/2/12
to hg-git
I have a couple of questions that weren't answered on the web site.

First, how does hg-git encode/decode multiple heads?

And second, how does hg-git encode/decode git submodules or hg
subrepos?

--rich

Augie Fackler

unread,
May 2, 2012, 3:14:23 PM5/2/12
to hg-...@googlegroups.com
On Wed, May 2, 2012 at 2:10 PM, rich <ri...@noir.com> wrote:
> I have a couple of questions that weren't answered on the web site.
>
> First, how does hg-git encode/decode multiple heads?

It doesn't - we use bookmarks to describe where refs should live (AIUI
- I've never experimented with this despite being the maintainer).

>
> And second, how does hg-git encode/decode git submodules or hg
> subrepos?

It doesn't. They're ignored in both directions.

>
> --rich
>
> --
> You received this message because you are subscribed to the Google Groups "hg-git" group.
> To post to this group, send email to hg-...@googlegroups.com.
> To unsubscribe from this group, send email to hg-git+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hg-git?hl=en.
>

gidyn

unread,
May 3, 2012, 3:12:55 PM5/3/12
to hg-...@googlegroups.com
On Wednesday, 2 May 2012 22:14:23 UTC+3, Augie Fackler wrote:
On Wed, May 2, 2012 at 2:10 PM, rich wrote:
> And second, how does hg-git encode/decode git submodules or hg
> subrepos?

It doesn't. They're ignored in both directions.

So why does push fail if it can't find the subrepo on the server?

Augie Fackler

unread,
May 3, 2012, 3:13:43 PM5/3/12
to hg-...@googlegroups.com
I should clarify: we don't convert the subrepos into git submodules,
but we also don't prevent you from using subrepos in any way.

>
> --
> 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/-/CxOhh19Z9VkJ.

K Richard Pixley

unread,
May 3, 2012, 4:39:30 PM5/3/12
to hg-...@googlegroups.com
On 5/3/12 12:13 , Augie Fackler wrote:
> On Thu, May 3, 2012 at 2:12 PM, gidyn<gsir...@googlemail.com> wrote:
>> On Wednesday, 2 May 2012 22:14:23 UTC+3, Augie Fackler wrote:
>>> On Wed, May 2, 2012 at 2:10 PM, rich wrote:
>>>> And second, how does hg-git encode/decode git submodules or hg
>>>> subrepos?
>>> It doesn't. They're ignored in both directions.
>>>
>> So why does push fail if it can't find the subrepo on the server?
> I should clarify: we don't convert the subrepos into git submodules,
> but we also don't prevent you from using subrepos in any way.
So there's no translation, but the hg subrepos are recorded and
reconstituted just as one would expect from an hg repo?

--rich

Augie Fackler

unread,
May 3, 2012, 6:17:10 PM5/3/12
to hg-...@googlegroups.com
Right.

>
> --rich
>
> --
> You received this message because you are subscribed to the Google Groups "hg-git" group.
Reply all
Reply to author
Forward
0 new messages