Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 1734:9488d53233b5
tests for new hooks. fix things i found when writing tests.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Thu, 16 Feb 2006 09:56:31 -0800 |
parents | d3e6da334b85 |
children | 50de0887bbcd |
line wrap: on
line diff
--- 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))