[PATCH 2 of 4] commit: warn when resurrecting a closed changeset

Matt Mackall mpm at selenic.com
Mon May 10 02:05:11 CDT 2010


On Mon, 2010-05-10 at 08:49 +0200, Gilles Moris wrote:
> On Sunday 09 May 2010 11:46:24 pm Matt Mackall wrote:
> > > +    if not opts.get('close_branch'):
> > > +        for r in parents:
> > > +            if repo[r].extra().get('close'):
> > > +                ui.status(_('resurrecting closed changeset %d\n') % r)
> > > +
> >
> > We might want -f here. [...]
> 
> You mean having also to have a "commit --force-reopen" option to reopen a 
> closed head ?

No, I mean just -f.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list