Mercurial > hg > mercurial
comparison mercurial-common/src/python/load-substates-command.py @ 713:41013464149f
fix prefix message
author | eugene.petrenko@jetbrains.com |
---|---|
date | Mon, 13 Jan 2014 15:25:54 +0100 |
parents | eea966084204 |
children | 78266f6904df |
comparison
equal
deleted
inserted
replaced
712:eea966084204 | 713:41013464149f |
---|---|
41 return base64.b64encode( x ) | 41 return base64.b64encode( x ) |
42 | 42 |
43 def fetch_commits(): | 43 def fetch_commits(): |
44 ui.write("Iterating over commits graph...") | 44 ui.write("Iterating over commits graph...") |
45 with open(outputFile + ".commits", "w", 5 * 1024 * 1024) as result: | 45 with open(outputFile + ".commits", "w", 5 * 1024 * 1024) as result: |
46 result.write("format: prefix commitID base64(.hgsub) base64(.hgsubstate) \n") | 46 result.write("format: prefix commitID commitHash num_parents parent branch num_tags tag user message date [.hgsub]\n") |
47 result.flush() | 47 result.flush() |
48 | 48 |
49 for r in list(repo.changelog): | 49 for r in list(repo.changelog): |
50 node = repo[r] | 50 node = repo[r] |
51 | 51 |