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

Laurens Holst laurens.nospam at grauw.nl
Thu Apr 7 03:43:45 CDT 2011


Op 06-04-11 11:06, Martin Geisler schreef:
> 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.

Linux Nautilus: CTRL+H
Windows Explorer: Folder options / General / Show hidden files (iirc)
Mac OS X Finder: Run on the command line "defaults write 
com.apple.Finder AppleShowAllFiles YES" (yes really)

~Laurens


More information about the Mercurial-devel mailing list