Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77943

Re: [OT] Question about Git branches

From Robert Kern <robert.kern@gmail.com>
Subject Re: [OT] Question about Git branches
Date 2014-09-16 20:11 +0100
References (1 earlier) <878ulk7z7y.fsf@elektro.pacujo.net> <mailman.14046.1410856162.18130.python-list@python.org> <541829b4$0$29995$c3e8da3$5496439d@news.astraweb.com> <lv9n9a$4ae$1@ger.gmane.org> <CAPTjJmpoqWfowxbxqN5dNKidf=prtZWKY-A=gKme_7Na6PCQwg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14063.1410894728.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 2014-09-16 17:25, Chris Angelico wrote:
> On Wed, Sep 17, 2014 at 2:08 AM, Robert Kern <robert.kern@gmail.com> wrote:
>> Yes, but this is due to different design decisions of git and Mercurial. git
>> prioritized the multiple branches in a single clone use case; Mercurial
>> prioritized re-cloning. It's natural to do this kind of branching in git,
>> and more natural to re-clone in Mercurial.
>
> Ah, I wasn't aware of that philosophical difference. Does hg use
> hardlinks or something to minimize disk usage when you clone, or does
> it actually copy everything? (Or worse, does it make the new directory
> actually depend on the old one?)

I haven't kept up with the internals recently, but at least at one point, 
hardlinks were the order of the day, yes.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[OT] Question about Git branches "Frank Millman" <frank@chagford.com> - 2014-09-16 08:22 +0200
  Re: [OT] Question about Git branches Marko Rauhamaa <marko@pacujo.net> - 2014-09-16 11:21 +0300
    Re: [OT] Question about Git branches Chris Angelico <rosuav@gmail.com> - 2014-09-16 18:29 +1000
      Re: [OT] Question about Git branches Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-09-16 22:14 +1000
        Re: [OT] Question about Git branches Chris Angelico <rosuav@gmail.com> - 2014-09-16 22:48 +1000
        Re: [OT] Question about Git branches Tim Delaney <timothy.c.delaney@gmail.com> - 2014-09-16 22:50 +1000
        Re: [OT] Question about Git branches Robert Kern <robert.kern@gmail.com> - 2014-09-16 17:08 +0100
        Re: [OT] Question about Git branches Chris Angelico <rosuav@gmail.com> - 2014-09-17 02:25 +1000
        Re: [OT] Question about Git branches Robert Kern <robert.kern@gmail.com> - 2014-09-16 20:11 +0100
        Re: [OT] Question about Git branches Tim Delaney <timothy.c.delaney@gmail.com> - 2014-09-17 11:47 +1000
    Re: [OT] Question about Git branches "Frank Millman" <frank@chagford.com> - 2014-09-16 10:59 +0200
      Re: [OT] Question about Git branches Sergey Organov <sorganov@gmail.com> - 2014-09-17 14:16 +0400
    Re: [OT] Question about Git branches Jason Swails <jason.swails@gmail.com> - 2014-09-16 09:19 -0400
      Re: [OT] Question about Git branches Marko Rauhamaa <marko@pacujo.net> - 2014-09-17 02:26 +0300
  Re: [OT] Question about Git branches Sergey Organov <sorganov@gmail.com> - 2014-09-17 16:04 +0400
    Re: [OT] Question about Git branches "Frank Millman" <frank@chagford.com> - 2014-09-17 17:52 +0200
    Re: [OT] Question about Git branches Chris Angelico <rosuav@gmail.com> - 2014-09-18 02:00 +1000

csiph-web