Why? The dates are fine as bzr outputs them I think.
> [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.
I agree, but I don't know how to get that. More importantly, I'm not sure this information is always available depending on how you created the branch.
> [1] revision_ number = check_output( ['bzr', 'revno']) revision_ date = check_output( ['bzr', 'version-info', '-- {date}' ,'--custom' ]) ['bzr', 'version-info', '-- {build_ date}', '--custom' ])
>
> +bzr_last_
> +bzr_last_
> template=
> +bzr_build_date = check_output(
> template=
>
> Space after commas.
Right, done.
> Strip whitespace from the outputs too?
Why? The dates are fine as bzr outputs them I think.
> [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.
I agree, but I don't know how to get that. More importantly, I'm not sure this information is always available depending on how you created the branch.