Mercurial > hg
diff mercurial/commands.py @ 14246:f1f4abdd5074
debugbuilddag: simplify tags serialization a bit
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 07 May 2011 17:25:02 +0200 |
parents | 5ee1309f7edb |
children | 19067884c5f5 |
line wrap: on
line diff
--- 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"""