[00:00] jelmer: thanks, im trying to set up a personal server, i made up a upstart job to start bzr serve on boot, the upstart job executes the command "bzr serve --port=1234 --directory=/srv/bzr/repo", im able to log, branch just fine, i just cant push anything, i get the error "ERROR: Cannot lock LockDir(filtered-44592336:///quiniela/.bzr/branch/lock): Transport operation not possible: readonly transport" [00:01] jelmer: i can push just fine using sftp://host/project method just fine [00:05] i guess im missing something about authentication/permissions or something [00:09] samd_: You need --allow-writes [00:10] samd_: but please note that that will allow write access to anybody who can connect to that port [00:11] jelmer: ohh, i see, thank you very much, yeah i see that risk, so id be better be using sftp as it provides authentication, or there's a way to add authentication to bzr serve? [00:13] jelmer: ooo im seeing this on the man page, it seems like authentication has to be implemented externally, thank you very much, i apreciate your help [00:25] hulo [00:25] where's the Right Place to put a push(commit) hook? [00:25] especially if i'd prefer everyone i put on the server to be using it w/o additional setup [00:26] a'la svn post-commit-hook [00:45] mmm, a bit harder than i'd think. [00:49] doug: See "bzr hooks" [00:50] doug: You probably want post_change_branch_tip. [00:50] doug: If you're somehow enforcing use of the smart server, then installing it globally on the server will enforce its use. [02:59] how should the output of 'bzr blame' be read? [03:00] GungaDin: with delight! ;) [03:00] :) [03:00] I don't really understand how to read it, to be honest. [03:00] some lines have revno.something.something name next to them.. [03:00] some don't... [03:01] Actually, I mainly use 'bzr qannotate' (or 'bzr gannotate', I'm not very loyal...), because it's a bit more convenient to view it as a GUI format. [03:01] A run of lines from the same revision only have the top line marked, to keep the output a little easier to read. [03:01] my bzr doesn't understand these commands. [03:01] Install the qbzr (or bzr-gtk) plugins to get them. [03:02] but there is revid.x.y [03:02] what's x & y? [03:02] and why is it that bzr st -c revid doesn't indicate this file was changed? [03:04] Dotted revision numbers are explained here: http://doc.bazaar.canonical.com/latest/en/user-guide/zen.html#understanding-revision-numbers [03:04] Not sure why 'bzr st -c revid' wouldn't show a change in that case, though :/ [03:06] If you weren't putting in the whole revno, just the first segment. [03:27] Afternoon. I'm looking at building the same bzr branch on three machines, each with different architectures [03:28] I want to build continousally, and throw the branches away quite often [03:28] Can I put some type of cache in the middle to cut the download time? [03:40] Ah, figured it out: run a mirror branch and branch off that [05:17] * spiv celebrates the netsplit by going to lunch === r0bby is now known as robbyoconnor === davidstrauss_ is now known as davidstrauss === bigjools is now known as bigjools-afk === bigjools-afk is now known as bigjools [11:34] hey, I've messed up sth with bzr(gui?) and now I've got 3 dead heads. what shoud I do (or read)? [11:35] schlangen_: You can merge dead heads with merge -r revid:.... [11:35] But, in general, dead heads are not a problem. [11:36] E.g. every 'bzr uncommit' operation will create one [11:36] They might just indicate that you've used 'bzr uncommit' at some point, for example. [11:36] Right. [11:36] I just checked, and I have 72 dead heads in my qbzr repo. I use uncommit alot... [11:37] but its my active code! I did some local commits, then an update and all my local changes where gone [11:37] Indeed. They're not causing any damage.. They're just dead-ends in the branching path that represents your history [11:37] like here: http://srtsolutions.net/blogs/chrismarinos/archive/2008/10/24/don-t-loose-your-head-with-bazaar.aspx [11:37] If you really care about them, you can 'bzr push' the branch elsewhere, then move the directories around. 'bzr push' will only see the live revisions, so skip over the dead ones [11:37] All this will do is save you a bit of disk space [11:38] schlangen_: So that can happen if you do bzr update, and then bzr revert before you commit. [11:38] If you 'bzr update' with local commits, your local commits will appear as a pending merge. [11:38] schlangen_: If they are stuff that you need, then merge them. [11:39] don't know if I did revert, maybe (new to bzr and don't really like the gui, but have to work on win for few days) [11:39] so how can I fix it now and get all my changes back to "normal" commit history? [11:40] schlangen_: bzr merge -r revid: [11:40] sorry [11:40] schlangen_: bzr merge . -r revid: [11:43] ok, I'll try [11:47] GaryvdM: yay, I think it worked :D thanks [12:35] Hi mgz [12:35] hey gary. [12:36] Could you please test a build for me. I'm at home, and my windows machine is at work. [12:37] mgz: http://dl.dropbox.com/u/4494367/bzr-2.2b4-bzrw-setup.exe [12:37] getting. [12:37] what did you change? [12:38] Thanks. Add a windows target, bzrw.exe, so you can run bzr explorer, with out having a console window open. [12:39] lp:~garyvdm/bzr/bzrw and lp:~garyvdm/bzr-windows-installers/bzrw [12:47] well, seems to work, but still need to shell execute `bzrw.exe explorer` [12:48] would be nicer if just had something called explorer.exe that double clicking on worked with [12:50] mgz: The start menu/desktop short cuts should have been changed? [12:50] ah yes, that's fine. [12:50] mgz: I've also had request from people who want to run bzrw qlog, or bzrw qpull... [12:51] So I think that a generic command is better. [12:53] I also want to get rid of tbzrcommandw.exe and tbzrcommand.exe. They tbzr should just call bzrw.exe directly. [12:53] mgz: Thanks for testing that for me. I'm going to post to the mailing list. === oubiwann` is now known as oubiwann === bac` is now known as bac === Ursinha` is now known as Ursinha === rubbs_ is now known as rubbs === mbarnett` is now known as mbarnett [15:11] morning all [15:13] morning jam [15:22] Hi jam [15:23] hey GaryvdM [15:29] jam: If I have KnownGraph object, what would be the best way to do an is_ancestor query? [15:30] GaryvdM: heads() [15:30] head = kg.heads(x, y) [15:31] if head == x: then y is an ancestor of x [15:31] if heads == (x, y) then neither is an ancestor, etc [15:31] jam: So Is it ok to be reimplementing Graph.is_ancestor? [15:31] GaryvdM: if you look, it is just doing a heads call itself [15:32] I think somebody was wanting a clearer statement in code [15:32] but it is really is a single line function [15:32] also note, that it will be more efficient than doing "is_ancestor(x, y), is_ancestor(y, x)" [15:32] but I don't know what *you* want isancestor for [15:34] jam: If the user has qlog open with more than one branch, an the right click, and chose say tag, I only want to show the branches for which the rev is an ancestor. [15:35] For merge, only the branches which it is not an ancestor. [15:35] For cherry pick, not [15:36] for reverse cherry pick, is [15:36] etc. [15:37] GaryvdM: so in those cases, you can probably check across multiple branches simultaneously [15:37] maybe not [15:38] jam: Ah - right. [15:38] You could tell if it was an ancestor of one of the branches, and if the branches were related, but I think it would get muddy to tell if each branch was an ancestor, etc [15:38] however, kg.heads() is *much* faster than Graph.heads() [15:38] the latter is known to be O(N^2) [15:42] <_Andrew> hi, is there a way to revert all the file permissions changes in a repo? I have a bzr repository from windows and viewing it on ubuntu just shows everything as modified [15:43] _Andrew: unfortunately, the easiest thing to do is to "bzr co --lightweight onto a non fat/ntfs partition" [15:43] jam: A cool - kg.heads caches it's self. [15:43] GaryvdM: yeah, though it may not actually need to. I think it was useful for annotation where you get the same requests many many times [15:43] which was the original kg motivation [15:43] <_Andrew> damn, thanks anyway [15:43] _Andrew: Under Linux we trust the filesystem to report executable bit properly [15:44] which we shouldn't, but that is how it is for now [15:44] (it sounds like mounting -x might also help) === Cardinal` is now known as CardinalFang [15:53] GaryvdM: so are you still done with the ec2 machine for now? === Ursinha is now known as Ursinha-lunch [16:21] jam: Yes [16:21] jam: Please shut it down. [16:22] thanks [16:22] creating a snapshot and shutting down now === Ursinha-lunch is now known as Ursinha === beuno_ is now known as beuno-lunch === jml` is now known as jml === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === beuno-lunch is now known as beuno [20:20] spiv: what are you doing up so early? [20:59] Can you make a checkout forget a push location? (without overwriting with another) [21:06] Meths: bzr push --remember [21:07] Nope, that just pushed to the already stored location === Adys_ is now known as Adys === Ng_ is now known as Ng [22:26] jam: hi === Ursinha is now known as Ursinha-afk [23:41] Hi there. I'm a bit worried about the memory/CPU bzr is using - I'm doing a checkout and it's sitting at 600 MB of RAM and 50 to 100 % CPU [23:41] It's a really large branch, but still [23:42] this is linaro-gcc? [23:42] you should try with 2.2b4 if you're not already [23:42] OK. Will do. [23:42] it has some memory use improvements over 2.1 [23:42] not sure if that's in maverick yet [23:42] or if you're on maverick :) [23:42] Ah, this is a server so it's on Lucid [23:43] ok [23:43] we may not yet have it in the ppa [23:43] I'll be chrooting into maverick later on [23:43] you could build from source if you want [23:43] if you want file a bug tagged linaro [23:43] I'll see how 2.2b4 goes