Ondrej Certik wrote:

> On Fri, Apr 10, 2009 at 12:43 AM, Eric Firing <efir...@hawaii.edu> wrote:
>> Ondrej Certik wrote:
>>> On Thu, Apr 9, 2009 at 10:45 PM, David Cournapeau
>>> <da...@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.


_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to