plugin not working on lightweight checkouts

Matthew D. Fuller fullermd at over-yonder.net
Sun Nov 29 08:56:02 UTC 2015


On Sun, Nov 29, 2015 at 09:53:33AM +0100 I heard the voice of
Sebastien Alaiwan, and lo! it spake thus:
> 
> Is this the expected behaviour? Not updating the "revno" file on
> "bzr update -r XXX" commands seems error-prone, as you might want to
> build older revisions of your project.
> 
> I was about to suggest to directly use, from your build system, the
> ".bzr/branch/last-revision" file.  However, this will couple your
> build system to bazaar ; which you probably want to avoid.

Technically, you'd want to be directly using .bzr/checkout/dirstate,
since you care about the WT rev, not the branch rev.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list