[1]
+bzr_last_revision_number = check_output(['bzr', 'revno']) +bzr_last_revision_date = check_output(['bzr', 'version-info', '--template={date}','--custom']) +bzr_build_date = check_output(['bzr', 'version-info', '--template={build_date}','--custom'])
Space after commas.
Strip whitespace from the outputs too?
[2]
It would be good to have the branch name too. Short name (i.e. lp...) would be best, but I don't know if that's easy to get out of bzr.
« Back to merge proposal
[1]
+bzr_last_ revision_ number = check_output( ['bzr', 'revno']) revision_ date = check_output( ['bzr', 'version-info', '--template= {date}' ,'--custom' ]) ['bzr', 'version-info', '--template= {build_ date}', '--custom' ])
+bzr_last_
+bzr_build_date = check_output(
Space after commas.
Strip whitespace from the outputs too?
[2]
It would be good to have the branch name too. Short name (i.e. lp...)
would be best, but I don't know if that's easy to get out of bzr.