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

Sune Foldager cryo at cyanite.org
Tue May 11 04:15:11 CDT 2010


On 09-05-2010 22:50, Gilles Moris 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)

Is ui.status the correct thing to use. Your headline says 'warn'.

/Sune


More information about the Mercurial-devel mailing list