1. Pierre-Yves David
  2. mutable-history

Commits

Pierre-Yves David  committed 0892b91

obsolete: export pretty printed json

Will help unavoidable hand fixing.

  • Participants
  • Parent commits 72af5aa
  • Branches default

Comments (0)

Files changed (1)

File hgext/obsolete.py

View file
  • Ignore whitespace
             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):