Filippo Erik Negroni
f.e.negroni at googlemail.com
Tue Mar 18 10:19:17 CDT 2008
On 18/03/2008, cowwoc <cowwoc at bbs.darktech.org> wrote:
> <sigh> Unfortunately, that is a poor assumption:
> I have personally run into many of these cases. They might be rare, but I
> strongly advocate that Hg (and others) make it easier to obliterate files
> from the repository so long as you have the necessary privileges.
> Subversion also lets you export and re-import but this is a cop-out in my
> view. This needs to be a lot faster (especially if the files are leaves in
> the repository tree) and more flexible to be usable. Imagine Apache having
> to take their repository offline for an entire day while they obliterate
> files, it's simply not an option.
If you happen to do this "accidental add" often, may I suggest you
look into a better branching policy.
You can also improve your "add" policy by simply running a "dryrun
add", and inspect what it would do before you commit.
I don't think Mercurial should be compromised by the lack of strong policies.
More information about the Mercurial