plugin not working on lightweight checkouts

Sebastien Alaiwan sebastien.alaiwan at gmail.com
Sat Nov 28 10:32:19 UTC 2015


On 2015-11-28 09:35, Chris Hecker wrote:
>
> I've got this simple plugin that updates a file named 'revno' with the revno and revid at the root of a branch when a checkin or pull happens so I can use it in my build system. It works great, and it's below. But, I was on another machine that has a lightweight checkout of this project and it does not appear to update 'revno' when I push to the repo for this branch remotely, and then update the working copy. Is there anything I can do to fix this easily?

Hi Chris,

(I don't know a lot about writing bazaar plugins - I try hard to avoid having to write one.)
You might get the same result without a custom plugin, by directly using '.bzr/branch/last-revision' from your build system ; or simply by calling 'bzr revno' / 'bzr revno --tree'.
This is what I usually do.

Hope this helps!
Sebastien



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20151128/46fcf8ca/attachment.pgp>


More information about the bazaar mailing list