How to deal with command restrictions (strip/revert)

Matt Mackall mpm at selenic.com
Thu May 27 17:34:44 UTC 2010


On Thu, 2010-05-27 at 10:17 -0700, heimi wrote:
> 
> On 27 Mai, 18:26, Chris Scott <Chris.Sc... at mmodal.com> wrote:
> > I'm not sure I see the use case of ever enabling those commands on the central server.  Revert/strip type stuff is usually for developer clones that are preparing their local changes for upstream pushes.  Besides, there's the genie-out-of-the-bottle where anybody who pulled stripped information, could later re-introduce those stripped revisions.
> >
> As far as I understood so far, I can use a strip command on my local
> repo and when I push my changes to the server, the result of the strip
> command will go into the central repo. If this is not the case we have
> no problem anyway.

Push only ever adds changesets, never takes them away. Further, there is
no record that a strip has been done in a repo, simply an absence of
changesets.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list