author | Patrick Mezard <pmezard@gmail.com> |
Sat, 07 May 2011 17:25:02 +0200 | |
changeset 14246 | f1f4abdd5074 |
parent 14245 | 13d44e4235f8 |
child 14247 | c9720ada999c |
--- a/mercurial/commands.py Mon May 02 12:10:50 2011 -0500 +++ b/mercurial/commands.py Sat May 07 17:25:02 2011 +0200 @@ -1097,11 +1097,7 @@ tr.release() if tags: - tagsf = repo.opener("localtags", "w") - try: - tagsf.write("".join(tags)) - finally: - tagsf.close() + repo.opener.write("localtags", "".join(tags)) def debugcommands(ui, cmd='', *args): """list all available commands and options"""