Trying to clean my repo... help?

Matt Mackall mpm at selenic.com
Tue Dec 20 00:24:01 CST 2011


On Tue, 2011-12-20 at 01:16 -0500, Matt Chaput wrote:
> > The fundamental thing to understand is that 'push' and 'pull' will never
> > _remove_ changesets, they'll only add. So nothing you can do from the hg
> > command line can make an already pushed commit disappear from a remote
> > machine. So you need to blow away all or part of your repo on Bitbucket
> > 'manually'.
> 
> Is there at least some way to get hg to stop thinking that the changeset
> before I named the branch is a dangling extra head in the default branch?

The usual way to decrease the head count on a branch is to merge heads.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list