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

Frank Kingswood frank at kingswood-consulting.co.uk
Wed Apr 6 03:51:37 CDT 2011


On 06/04/11 09:11, Martin Geisler wrote:
>>> 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?

I also think it is something that perhaps a GUI might provide, but not hg 
itself. GUI users are more accustomed to their software second-guessing their 
intentions, command line users like to know what's happening.

Frank



More information about the Mercurial-devel mailing list