[00:38] <keescook> I've been browsing docs, but I haven't found mention of client-side hooks.  does such a thing exist?
[00:38] <keescook> e.g. I'd like to have a pre-checkin hook that runs a script (say to verify syntax, etc)
[00:38] <beuno> keescook, plugins?
[00:39] <beuno> installed locally
[00:39] <beuno> you can wrap around the commit/push command
[00:39] <beuno> and make it do whatever magic you need
[00:39] <jam> keescook: there is a precommit hook
[00:40] <keescook> hmm... but that won't follow the repo for branchers?
[00:40] <jam> look in bzrlib/branch.py
[00:40] <jam> for BranchHooks
[00:40] <jam> should describe the list of hooks
[00:40] <jam> I think there might be another documentation in doc/*
[00:40] <jam> keescook: the precommit fires after we have built up all the commit information
[00:40] <jam> but just before the branch is updated
[00:41] <keescook> jam: so follow http://bazaar-vcs.org/WritingPlugins and use precommit ?
[00:42] <keescook> (there isn't a PQM on the client side?)
[00:43] <keescook> jam: hm, there isn't a precommit listed in class BranchHooks(Hooks):
[00:43] <jam> keescook: what version of bzr do you have
[00:44] <keescook> hm, looks like 0.90.0 ... one sec
[00:44] <jam> it looks like 0.90 doesn't have pre_commit
[00:44] <jam> it was introduced in 0.91
[00:44] <keescook> cool, 0.92 installing now...
[00:45] <keescook> (I've been waiting for kernel/lrm in hardy before doing a full-blown dist-upgrade)
[00:45] <keescook> sweet, yup, pre_commit.  :)
[00:45] <keescook> http://bazaar-vcs.org/WritingPlugins could use some updating.  ;)
[00:46] <jam> keescook: looks like, one of the problems with doing monthly releases
[00:46] <jam> lots of stuff changes every month
[00:46] <keescook> hehe
[00:46] <jam> and you really need a full documentation audit each time
[00:47] <keescook> I will write up a plugin for "pre commit test"...
[01:08] <keescook> jam: do you have any examples of plugins using hooks?  There's nothing in bzrtools that calls install_hook
[01:09] <jam> keescook: bzr-email
[01:09] <jam> lp:bzr -email
[01:09] <keescook> jam: cool, thanks.
[01:12] <keescook> jam: is there a way to abort the checkin if a hook fails?
[01:13] <jam> raise an exception
[01:13]  * jam => baby time, be back lateer
[01:17] <Odd_Bloke> Stop.
[01:17] <Odd_Bloke> Baby time.
[01:42] <jam> Odd_Bloke: you can't touch this
[01:43] <fullermd> Gaah.
[01:43] <fullermd> You'll both be receiving a bill from my therapist...
[01:44] <jam> fuller time
[01:44]  * fullermd dons his parachute pants.
[01:51]  * keescook hammer-slides out of frame
[02:41] <ubotu> New bug: #163266 in bzr-pqm "pqm-submit returns "Connection timed out" error and traceback" [Undecided,New] https://launchpad.net/bugs/163266
[03:14] <Peng> Oooh. I didn't know bzr check might use a gig of RAM.
[03:14]  * Peng swaps.
[03:17]  * Peng watches the mouse cursor skip across the screne.
[03:17] <Peng> screne?
[03:18] <Peng> Usually lag goes the other way.
[03:39] <Peng> Oh good, it's done.
[05:19] <Peng> lifeless: Is your pack-repository.knits branch abandoned now?
[05:31] <Peng> Hmm. Loggerhead and paramiko both had a couple inconsistent parents.
[05:43] <lifeless> Peng: that branch? yes, no need to update it at the moment as everyone with bzr 0.92 or new can read it
[05:43] <lifeless> Peng: you might try my faster-smaller reconcile patch, to do check.
[05:43] <lifeless> same logic, so check will use less ram
[05:47] <Peng> lifeless: So it's not abandoned entirely, just for the moment?
[05:47] <lifeless> right
[05:47] <lifeless> repository is actiove
[05:47] <lifeless> *active*
[05:48] <lifeless> the knits version is just lagging as theres not much point to it just now
[05:48] <Peng> (I'm upgrading everything to packs, and I'm rm -rfing old things too.)
[12:45] <arj> hi
[12:46] <arj> my machine crashed while commiting. I still have the changes but now bzr says that the repo is locked for at least 5 minutes
[12:46] <arj> is there anything I can do to be able to commit again quicker?
[12:46] <dato> arj: `bzr break-lock`
[12:50] <arj> thanks
[20:20] <gnomefreak> is there a way to fix Unable to obtain lock file:///home/gnomefreak/nobinonly/lightning-sunbird-0.7%2Bnobinonly/.bzr/repository/lock its held by me in my gutsy chroot but i dont have a process for it nor do i have gutsy chroot open
[20:48] <Verterok> gnomefreak: try with `bzr break-lock`
[20:48] <gnomefreak> Verterok: ok ty