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

Gilles Moris gilles.moris at free.fr
Mon May 10 01:49:35 CDT 2010


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 ?

Regards.
Gilles.




More information about the Mercurial-devel mailing list