[PATCH] tag: sanitized tag creation to forbit all-spaces tag names (issue2307)

timeless timeless at gmail.com
Tue Jul 27 14:16:17 CDT 2010


On Tue, Jul 27, 2010 at 9:51 PM, Renato Cunha <renatoc at gmail.com> wrote:
> # HG changeset patch
> # User Renato Cunha <renatoc at gmail.com>
> # Date 1280256630 10800
> # Node ID 1c0d7d7c00428d30932f314c6c8f51520c941de0
> # Parent  c5e555e064d0ceed3a177b656a49f50890d17cfa
> tag: sanitized tag creation to forbit all-spaces tag names (issue2307)

fwiw, it should be 'forbid'

+            raise util.Abort(_('having an all-spaces tag is invalid'))

'tag name must include a non whitespace character'


More information about the Mercurial-devel mailing list