problems with empty directories and "hg clean"
Michael Smith
michael.smith at thalesatm.com
Tue Mar 25 21:23:33 UTC 2008
Ondrej Certik wrote:
> 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.
For me, this approach makes it easier to reuse a repository, eg,
hg clone old-config new-config
...for a new system.
--
Michael Smith | 61 386 304 560
Team Leader, Case and Tools | 61 416 062 898
Thales Australia TCC | S 37.82329
Melbourne, Victoria | E 144.95426
--------------------------------------------
Confidentiality Notice: This e-mail may contain confidential and/or
privileged information and is intended solely for the addressee(s)
named. If you have received this information in error, or are advised
that you have been posted this e-mail by accident, please notify the
sender by return e-mail, do not redistribute it, delete the e-mail and
keep no copies.
More information about the Mercurial
mailing list