On Friday 11 Apr 2014 09:29:20 you wrote: > +# Gather information about the branch and the build date. > +from subprocess import check_output > +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'])
You know that bzr is written in Python and has an API right? :)
« Back to merge proposal
On Friday 11 Apr 2014 09:29:20 you wrote: revision_ number = check_output( ['bzr', 'revno']) revision_ date = check_output( ['bzr', 'version-info', {date}' ,'--custom' ]) +bzr_build_date = check_output( ['bzr', {build_ date}', '--custom' ])
> +# Gather information about the branch and the build date.
> +from subprocess import check_output
> +bzr_last_
> +bzr_last_
> '--template=
> 'version-info', '--template=
You know that bzr is written in Python and has an API right? :)