[PATCH V2] clone: allow clones into effectively empty directories

Martin Geisler mg at aragost.com
Wed Apr 6 03:11:55 CDT 2011


Greg Ward <greg at gerg.ca> writes:

> On 05 April 2011, Jason Harris said:
>> # HG changeset patch
>> # User jfh <jason at jasonfharris.com>
>> # Date 1301985969 -7200
>> # Node ID 730ee0bb855649b63c93318434e657b3432fa1dd
>> # Parent  0995eee8ffe4a24478379fb16fd6c38812bc3dd5
>> clone: allow clones into effectively empty directories
>> 
>> In OSX many empty directories actually have a '.DS_Store' file
>> in them, which is effectively ignored by lots of things.  The
>> presence of this .DS_Store file shouldn't mean that the directory
>> is treated as though it really has stuff in it.
>> 
>> Similarly, ignore the thumbs.db and desktop.ini files for windows
>> support.
>
> Yeah, seeing that addition bumps my reaction from -0.5 to -1.

You would rather have the various front-ends clean up the directory
beforehand? Or maybe move the .DS_Store file away, do the clone, and
then move it back?

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial-devel mailing list