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

Martin Geisler mg at aragost.com
Wed Apr 6 04:06:04 CDT 2011


Frank Kingswood <frank at kingswood-consulting.co.uk> writes:

> 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.

Yeah, and if you're using the command line anyway, then it is easy to
run 'ls -a' to check what it going on -- showing hidden files in
Explorer/Finder requires several mouse clicks as far as I remember.

-- 
Martin Geisler

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


More information about the Mercurial-devel mailing list