problems with empty directories and "hg clean"

Mathieu Clabaut mathieu.clabaut at gmail.com
Tue Mar 25 19:13:30 CDT 2008


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.

-mathieu

>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080326/9db28f9e/attachment.htm 


More information about the Mercurial mailing list