##// END OF EJS Templates
debugbuilddag: simplify tags serialization a bit
Patrick Mezard -
r14246:f1f4abdd default
parent child Browse files
Show More
@@ -1097,11 +1097,7 b' def debugbuilddag(ui, repo, text,'
1097 tr.release()
1097 tr.release()
1098
1098
1099 if tags:
1099 if tags:
1100 tagsf = repo.opener("localtags", "w")
1100 repo.opener.write("localtags", "".join(tags))
1101 try:
1102 tagsf.write("".join(tags))
1103 finally:
1104 tagsf.close()
1105
1101
1106 def debugcommands(ui, cmd='', *args):
1102 def debugcommands(ui, cmd='', *args):
1107 """list all available commands and options"""
1103 """list all available commands and options"""
General Comments 0
You need to be logged in to leave comments. Login now