[PATCH] clone: allow clones into effectively empty directories

Greg Ward greg at gerg.ca
Tue Apr 5 09:08:08 CDT 2011


On 05 April 2011, Jason Harris said:
> # HG changeset patch
> # User jfh <jason at jasonfharris.com>
> # Date 1301985969 -7200
> # Node ID b583c5667fad5d84899f94183117757f42de41e8
> # 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.

Gaaaack.  That smells like a can of worms -- see the followup you got
about files on Windows that "don't count" according to that OS.  What
about lost+found for ext* filesystems on Linux?  

-0.5: either a directory is empty or it isn't.

        Greg


More information about the Mercurial-devel mailing list