problems with empty directories and "hg clean"

Dirkjan Ochtman dirkjan at
Tue Mar 25 16:43:45 CDT 2008

Ondrej Certik <ondrej <at>> writes:
> I am not even reporting this as a bug, as I think it's just a feature.
> But how would you suggest me to improve my usage of Mercurial, so that
> I don't accidentaly delete empty directories? I find it inconsistent,
> that "hg st" doesn't report them, but "hg clean" does delete them.

I usually put versioned .keep files in my empty directories...



More information about the Mercurial mailing list