[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial
Subject: Re: remove a changeset from repository
From: "Leo Razoumov" <slonik.az () gmail ! com>
Date: 2007-05-24 12:53:49
Message-ID: ee2a733e0705240553p53a4c591kc0f57e19b2bef003 () mail ! gmail ! com
[Download RAW message or body]
On 5/24/07, Matt Mackall <mpm@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.
--Leo--
_______________________________________________
Mercurial mailing list
Mercurial@selenic.com
http://selenic.com/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic