remove a changeset from repository
slonik.az at gmail.com
Thu May 24 07:53:49 CDT 2007
On 5/24/07, Matt Mackall <mpm at selenic.com> wrote:
> On Wed, May 23, 2007 at 06:46:08PM -0700, Chris Quenelle wrote:
> > If someone comes up with an answer, maybe we could add it here:
> > http://www.selenic.com/mercurial/wiki/index.cgi/TipsAndTricks
> > solo turn wrote:
> > > hi,
> > >
> > > what is the easiest way to remove (purge, destroy) a changeset out of
> > > a repository?
> > >
> > > use case:
> > > a user pushed a 300mb binary program directory into the central
> > > repository. nobody needs it, it slows down our backup, and clones of
> > > the rep. so we would like to remove this changeset.
> The standard answer is strip and transplant.
"strip" is part of Mercurial Queues. For regular Hg repos, use "hg
clone -r REV" where REV denotes the last revision *before* the
changeset condemned for removal.
More information about the Mercurial