changeset 1734 | 9488d53233b5 |
parent 1732 | d3e6da334b85 |
child 1736 | 50de0887bbcd |
--- a/mercurial/commands.py Thu Feb 16 09:09:45 2006 -0800 +++ b/mercurial/commands.py Thu Feb 16 09:56:31 2006 -0800 @@ -2117,7 +2117,7 @@ raise util.Abort(_("%s cannot be used in a tag name") % repr(c)) repo.hook('pretag', throw=True, node=r, tag=name, - local=not not opts['local']) + local=int(not not opts['local'])) if opts['local']: repo.opener("localtags", "a").write("%s %s\n" % (r, name))