Commits

Pierre-Yves David committed 0892b91

obsolete: export pretty printed json

Will help unavoidable hand fixing.

  • Participants
  • Parent commits 72af5aa

Comments (0)

Files changed (1)

File hgext/obsolete.py

             jmark['subjects'] = [hex(n) for n in jmark['subjects']]
             jmark['object'] = hex(jmark['object'])
             markers.append(jmark)
-        json.dump(markers, stream)
+        json.dump(markers, stream, indent=4)
 
     def load(self, stream):
         for mark in json.load(stream):