|
|
@ -145,7 +145,7 @@ def build_revhistory(book_file):
|
|
|
|
log_fields = ['id', 'author', 'date', 'subject']
|
|
|
|
log_fields = ['id', 'author', 'date', 'subject']
|
|
|
|
|
|
|
|
|
|
|
|
# Retrieve log
|
|
|
|
# Retrieve log
|
|
|
|
pipe = Popen('git log --date=iso --format="%s" -- doc doc' % log_format, shell=True, stdout=PIPE)
|
|
|
|
pipe = Popen('git log --date=iso --format="%s" -- . .' % log_format, shell=True, stdout=PIPE)
|
|
|
|
log, _ = pipe.communicate()
|
|
|
|
log, _ = pipe.communicate()
|
|
|
|
log = log.replace('&','&').replace('<','<').replace('>','>').replace('\n','').strip('\x02').split('\x02')
|
|
|
|
log = log.replace('&','&').replace('<','<').replace('>','>').replace('\n','').strip('\x02').split('\x02')
|
|
|
|
log = [row.split('\01') for row in log]
|
|
|
|
log = [row.split('\01') for row in log]
|
|
|
|