-def set_vcs_name(filename, vcs_name='None'):
- """Exported directory is not a bzr repository, so set vcs_name to
+ Not the most ChangeLog-esque format, but iterating through commits
+ by hand is just too slow.
+ """
+ print 'generate ChangeLog file', filename, 'up to tag', tag
+ status,stdout,stderr = invoke(
+ ['git', 'log', '--no-merges', '{}..{}'.format(INITIAL_COMMIT, tag)])
+ with codecs.open(filename, 'w', 'utf-8') as f:
+ for line in stdout.splitlines():
+ f.write(line.rstrip())
+ f.write(u'\n')
+
+def set_vcs_name(be_dir, vcs_name='None'):
+ """Exported directory is not a git repository, so set vcs_name to