[PATCH] clone: allow clones into effectively empty directories
Eduard-Cristian Stefan
alexandrul.ct at gmail.com
Tue Apr 5 09:38:39 CDT 2011
On Tue, Apr 5, 2011 at 17:08, Greg Ward <greg at gerg.ca> wrote:
> 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?
There can be only one lost+found directory for each partition, so this
is a well-known directory in a very specific location, and most of the
users won't clone a repo in it anyway.
> -0.5: either a directory is empty or it isn't.
+0.5 because a regular user won't be able to clone into an
custom-location-empty-looking folder that has a hidden thumbs.db or
desktop.ini file in it, and users shouldn't suffer for some
questionable Windows design decisions.
OTOH, a nice dialog that informs the user that there are some hidden
files in that folder would probably help a little bit more.
Have a nice day,
Eduard
More information about the Mercurial-devel
mailing list