Commits

Anonymous committed 9a3be01

another fix to the tpl string

Comments (0)

Files changed (1)

             changes.setdefault(change, []).append(path)
         return changes
         
-    rev_log_tpl = '"{node":"{node|short}","rev":"{rev}","author":"{author|urlescape}","branch":"{branches}","parents":"{parents}","date":"{date|isodate}","tags":"{tags}","desc":"{desc|urlescape}}\n"'
+    rev_log_tpl = '{"node":"{node|short}","rev":"{rev}","author":"{author|urlescape}","branch":"{branches}","parents":"{parents}","date":"{date|isodate}","tags":"{tags}","desc":"{desc|urlescape}\"}\n'
 
     def revision(self, identifier):
         """Get the identified revision as a Revision object"""
                           template=self.rev_log_tpl)
        
         for entry in out.split('\n')[:-1]:
+            print (entry)
             self.all_revs.append(Revision(entry))
 
         return self.all_revs