obliterate functionality?

Greg Lindahl lindahl at pbm.com
Wed Mar 19 22:43:13 CDT 2008


On Wed, Mar 19, 2008 at 06:54:55PM -0700, cowwoc wrote:

> Let's be clear here: repository mirrors are repository clients are two
> different things. For one thing, mirrors to be equal to one another in
> permission whereas clients tend to have less control. One would expect
> mirrors with read/write access to fall under the guise of the same trusted
> organization, or else how do you prevent someone from checking in random
> junk into the FreeBSD repository using one of the mirrors? Point being, if
> all mirrors are equal, then they should respect each other's obliterate
> commands.

Mercurial already has a permissions system for pull and push. Not
inventing a completely new one for obliterate is the easiest way to
what you want. Since obliterate is very different from a mere remove
-- removals are recoverable -- it's no surprise that obliterate ought
to involve a lot more oversight than other actions.

-- greg






More information about the Mercurial mailing list