[Numpy-discussion] DVCS at PyCon

Neal Becker ndbecker2@gmail....
Sat Apr 11 13:44:52 CDT 2009

Ondrej Certik wrote:

> On Fri, Apr 10, 2009 at 12:43 AM, Eric Firing <efiring@hawaii.edu> wrote:
>> Ondrej Certik wrote:
>>> On Thu, Apr 9, 2009 at 10:45 PM, David Cournapeau
>>> <david@ar.media.kyoto-u.ac.jp> wrote:
>>>> Ondrej Certik wrote:
>>>>> It is maybe easier to learn how to work with different clones, but
>>>>> once you start working with lots of patches and you need to reclone
>>>>> all the time, then it's the wrong approach to work, as it takes lots
>>>>> of time to copy the whole repository on the disk.
>> This is simply wrong.  Mercurial uses hard links for cloning a repo that
> On my laptop, recloning the whole repository (with hardlinks) takes
> considerably longer than creating a new branch in the same directory,
> that's a pure fact.

You can clone a repo using:
cp -al old new

That should be very fast.

As long as you then use an editor that behaves correctly with hard links.  
If you use emacs you can configure this behavior.

More information about the Numpy-discussion mailing list