problems with empty directories and "hg clean"

Ondrej Certik ondrej at certik.cz
Tue Mar 25 19:21:58 CDT 2008


On Wed, Mar 26, 2008 at 1:13 AM, Mathieu Clabaut
<mathieu.clabaut at gmail.com> wrote:
>
>
> On Tue, Mar 25, 2008 at 11:48 PM, Ondrej Certik <ondrej at certik.cz> wrote:
> >
> >
> > On Tue, Mar 25, 2008 at 10:43 PM, Dirkjan Ochtman <dirkjan at ochtman.nl>
> wrote:
> > > Ondrej Certik <ondrej <at> certik.cz> 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 use HG to manage the configuration of my servers but I don't do it
> > >  directly. I version control a directory tree which I recursively copy
> > >  into the file system, not just /etc.
> >
> >
> > But doing this by hand on all my servers, well, that's not an option
> > for me.
>
> You may also have a look at  http://kitenet.net/~joey/code/etckeeper/ which
> now works with git, hg or bzr backend, and  do the job of keeping rights
> informations and  empty directory informations for you.

Wow, thanks a lot, that's exactly what I was looking for! Also I use Debian. :)

Ondrej


More information about the Mercurial mailing list