[00:00] lifeless: I've been working on a lazy revno mapper, which seems to work well (sometimes) [00:00] I'm considering ways to refine it [00:00] jam: is it in bzr.dev? [00:00] lifeless: the *code* is in a branch (not a plugin) [00:00] Has anybody noticed a regression in permissions in the repo? [00:00] And I'm planning on submitting it for review [00:00] jam: ok [00:00] though I might still want to tweak it a bit [00:00] I don't have power at home right now [00:01] but [00:01] jam: I have two use cases that I don't think will work well.. [00:01] tags and search [00:01] http://bzr.arbash-meinel.com/1.6-dev/lazy_revno when I do [00:01] Hm. There is. [00:01] both tend to grab data from fairly evenly distributed bits of the graph and then want a revno for it [00:01] lifeless: sure, but you can still do it with local ops [00:01] instead of traversing the whole graph [00:02] lifeless: at the moment, the time is strictly dominated by 'get_parent_map' calls o [00:02] on my pack repo [00:02] jam, spiv, igc, call in a sec [00:02] lifeless: found the commit in the kernel - and the workaround [00:02] jam: right, I agree that you can examine less than whole [00:02] so I'm trying to find ways to minimize "leaks" [00:03] * fullermd files a bug. [00:03] jam: but on a 100K tree getting to the root is still what - 20K operations vs 1 for a tag name retrieval and for a search result [00:04] lifeless: I don't need to get to root [00:04] lifeless: just to the common ancestor [00:04] sure [00:05] my point is that unlike merges or 'log' these two operations tend to throw stuff up at or near root routinely [00:06] for example, 45ms for 3512.2.4 [00:06] lifeless: i can see your point [00:06] how long for '3' ? :) [00:08] running timeit now [00:08] for extra credit, how long cold cache [00:08] 936ms on the pack repo [00:08] * fullermd arrogantly assigns it 'critical' status. [00:11] you got an alogrithm that didn't have to find root? neat. [00:11] or maybe I had that, I forget [00:12] at least yours works :-) [00:12] james_w: no, I started from scratch :) [00:12] lifeless: 617ms with a fully packed repo [00:12] jam: not the common case :) [00:12] as I mentioned, dominated by the get_parent_map time [00:12] might want to try on a btree repo [00:13] sure, something to do later [00:13] family time in the dark for now [00:13] :) [00:14] wheee [00:19] lifeless: unpacked btree repo is 787ms versus 936ms for pack-0.92 [00:20] good [00:30] jelmer: dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file. [00:31] elmo: Yeah, I noticed that as well. I need to look into avoiding that warning when using cdbs. [00:33] jelmer: both uploaded [00:33] elmo: Thanks, much appreciated! [00:39] Hmm, to follow the usual schedule, I think 1.6 final should've been released shortly after 1.6b2. [00:40] The new smart protocol would've been the most interesting new feature. [00:45] JFYI over here, we are in no rush for 1.6. [00:45] release early release often is great, but BZR has been meeting our needs since 1.0. [00:48] spiv, any chance of having the smart server support upgrade for 1.7? [00:49] evarlast: Sure, but pushing the release back constantly to support large new features isn't very good. [00:53] Peng_: and how many times has that been done in bzr? [00:55] jelmer: there's a patch on the list for that, so that probably will happen. [00:56] jelmer: I should say it will happen, I just don't want to cram yet another thing into 1.6 :) [00:57] if there are no branches or tags, only a trunk/, for an svn repo, will that fudge up the recognition of branching pattern of an svn-import ? [00:58] spiv: W00t, hadn't seen that one :-) [00:59] spiv, It would be nice to have that in 1.6 actually now that it has started whining when branches are in an old format [00:59] * meteoroid wonders if there are ebuilds for 1.6 [00:59] meteoroid, that should work fine [00:59] jelmer: phew, i get so tired of creating empty branches and tags when svn cp will (i think) create them [00:59] i read somewhere that rename doesnt work when performed in bzr and pushed to svn, is that true? anything i should be sure to do from svn instead of bzr? [01:00] dato: Hmm, 0.15 was in the RC stage for a month. [01:00] i am basically using bzr as much as i can to interface with these tortoise users ;d [01:00] jelmer: by "support" I just mean "works over vfs operations" rather than "performs the upgrade server-side". [01:01] meteoroid, no, rename works fine [01:01] awesome [01:01] meteoroid, renames done from svn aren't pulled into bzr ok [01:01] oh, really? [01:01] meteoroid, since svn doesn't support proper renames [01:01] what happens? [01:01] meteoroid, only copy + delete [01:01] really? lame. [01:01] bad svn [01:03] spiv: Ahh, ok [01:03] spiv: I was hoping for running it server-side [01:06] so, i tried to follow the tutorial for setting up rw webdav for my bzr repos, but when i start apache, i get: Unknown DAV provider: filesystem [01:06] glad to post the virtualhost in question [01:06] using ubuntu hardy - maybe i only have dav_svn, and not dav_normal ? [01:07] cant find a package indicative of such support.. [01:38] jelmer: what does the numeric 2nd argument in a SubversionException indicate? [01:38] an svn error code? [01:38] markh: Yep [01:38] * markh tries grepping... === mw is now known as mw|out [01:40] markh: What error code are you seeing? [01:40] 175002 pulling the python trunk - but only after a long time, so its possible it was transient. I'm retrying now [01:41] retrieving revision 462 or 40113 now - it will be a while if it works :) [01:41] of [01:42] jelmer: what does renaming in svn do to the bzr copy? [01:44] markh, 175002 is SVN_RA_DAV_ERROR IIRC [01:44] markh, In other words "Something went wrong talking webdav" [01:44] meteoroid: Renaming in svn basically means the file appearing to be deleted and readded under a different name in bzr [01:45] thanks - I'll see how the new attempt goes. But at around 1 revision every 2 seconds, it will be many many hours :( [01:45] you may want to obtain a local copy of the svn repo [01:46] or just pick a smaller one - it seemed a convenient one to test :) [01:50] hello [01:50] i have a big problem with bzr [01:51] pollelu@confino:~/rapache-icons$ bzr push lp:~rapache-devel/rapache/design [01:51] Agent admitted failure to sign using the key. [01:51] Permission denied (publickey). [01:51] bzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required) [01:51] pollelu@confino:~/rapache-icons$ [01:51] some idea? [01:51] Agent admitted failure to sign using the key. [01:52] you are on Intrepid? [01:52] yes [01:52] that's a problem with gnome-keyring and/or seahorse [01:52] Im working in intrepid [01:52] running "ssh-add" should fix it [01:52] ok thanks [01:54] thanks Master of BZR, my problem is now solved :) [01:55] jelmer: ok not a big problem just ugly change history and loss of ancestry :/ [01:56] meteoroid, yep [01:56] meteoroid, hopefully bzr will support file copies at some point [01:57] lifeless, wecanhas pathtokens? [01:59] * meteoroid hopes with his crossed fingers [02:00] Verterok, did u end up releasing that new version? [02:01] gambler: Hi, I'm struggling with a concurrency bug... [02:02] so, not yet...but trying to get this fixed so it can be "usable" [02:03] Verterok, ok no rush, let me know when to test [02:03] gambler: sure, thanks! [02:03] :S [02:04] gambler: I'll try to (at least) seed a "unofficial" build ;) [02:04] no rush :) [02:05] jml: Thanks for the review. :D I've scanned through it and will sit down and deal with it properly tomorrow. [02:11] beautiful : http://www.etsy.com/view_listing.php?listing_id=12792904 [02:57] Sorry for the length :) I'm a little confused about merging. I've 2 branches, one a pristine copy of the upstream branch (.dev), and another .work branch, branched from the local .dev branch. The branches diverged for a while, but as the changes landed upstream, and therefore in the .dev branch, all were merged successfully and the branches now appear identical. However, every time I attempt to re-pull .work from .dev, it fails telling [02:59] markh: has your local branch been fully merged by bzr.dev? [02:59] markh: bzr missing will tell you [03:00] lifeless: ah, no - it says I have 3 extra ones. [03:01] but they are all merges :) [03:01] It says I'm missing 4, but I think they are the ones I'm yet to merge-commit from .dev. (The branches in question are actually bzr-svn ones) [03:02] so if you only have extra merges; you can pull --overwrite [03:04] ah - right - and that well "re-converge" them? [03:04] will [03:06] it will discard your extra commits [03:12] by "extra" you mean the merges I had to make? [03:20] Odd_Bloke: my pleasure. [03:24] markh: yes [03:29] I guess its conceptual - help for '--overwrite' tells me it will let me forget local changes - but from my POV I don't have any local changes - the branches seem "identical". So once branches have diverged, --overwrite is the only way to "reconverge" them? [03:36] markh: or to have your branch merged into bzr.dev [03:36] markh: an older version of your branch was merged; but you have made subsequent changes that were not merged [03:37] markh: when you do 'commit' you are recording a change [03:38] yeah, or changes that were tweaked etc before being applied [03:39] markh: "changes" is perhaps a confusing term. There can changes to content, but there can also be different revision histories without having different content. If you don't care about the history differences (and it sounds like you don't, given that they are just trivial merges), then you can use --overwrite to replace your branch with a copy of trunk. [03:39] yeah, I understand now, thanks. It seemed like I was forever doomed to merge/commit cycles on that branch which seemed insane :) [03:40] spiv: yeah, casual reading made me assume it was simply a shortcut for reverting changes before pulling [03:41] hi all [03:42] igc: hey! [03:42] igc: how's it going? [03:42] pong lifeless [03:42] lifeless: thanks for the explanation [03:42] hi spiv [03:42] igc: hi [03:42] hi markh [03:42] spiv: not so good this week [03:42] markh: generally I just wouldn't be keeping branches with no content differences in the first place, though. [03:43] markh: thus I never find myself making pointless merge commits that I want to throw away :) [03:43] spiv: well, although the branches are currently identical, there is a good chance other work will be done, so keeping that .work branch around made sense [03:43] igc: I feared as much, you haven't been around much. :( [03:43] so --overwrite says ignore differences [03:43] igc: that's no good :( You able to keep distracted? [03:43] I think it should be more precise [03:43] igc: :( [03:44] markh: well I'm sleeping almost continuously [03:46] I need to head up to the hospital for my daily visit in 15-20 minutes but I thought I'd quickly say hi and skim my 100s of emails before then [03:46] igc: we're good at producing emails :) [03:47] markh: did your changes to setup.py get merged yet? [03:47] yuck - i hope you can stay positive [03:47] markh: I volunteered to merge it after tweaks [03:48] igc: not yet, I haven't got back to reworking that patch yet. I saw that - thanks! [03:48] markh: just checking you weren't waiting on me [03:48] nope - thanks - I'll let you know when I am ;) [03:50] hey all, I've borked the logs of an LP bzr branch by making changes to a local branch, then merging from lp, then commiting the merge, and finally pushing the changes [03:50] igc: its not actually a real priority for me to be honest, especially while it appears I will be making the binaries themselves anyway. It wouldn't surprise me to find other tweaks necessary before a 1.6 final... [03:50] should I have done a pull instead of merge? [03:50] is there a way to restore the logs? [03:50] * markh lunches... [03:51] markh: np [03:51] apologies if this isn't the correct place to ask [03:52] sommer: this is the right place [03:52] sommer: which branch? in what way is it borked? [03:52] spiv: https://code.edge.launchpad.net/~ubuntu-core-doc/ubuntu-doc/ubuntu-intrepid [03:53] spiv: basically I overwrote the commit messages of another [03:53] spiv: happened in revision 62: http://bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/ubuntu-intrepid/revision/62 [03:54] it's happened before, but I couldn't find the steps to correct it [04:02] sommer: I'm not sure what you mean by "overwrote". Are you referring to the revisions by Matthew East visible at http://bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/ubuntu-intrepid/changes?start_revid=59.1.6 ? [04:03] spiv: yes, that's what I mean [04:03] spiv: I guess not really overwritten, but if the main branch had them it would be better :) [04:04] well I guess they're still there, but the revision number was at something like 67 [04:04] sommer: so, the history is correct. The problem is just that the display of revisions at bazaar.launchpad.net isn't as good as it should be. [04:05] spiv: yes, is there a way to correct that? [04:05] sommer: the revision numbers are specific to a particular branch. When you merge changes from another branch the history will change. [04:05] mwhudson: ^ ping? [04:05] mwhudson: what happened to showing the authors of merged revisions in loggerhead? [04:05] spiv: right, do other projects just use the new revision number then? or is there a preferred way to sync rev numbers? [04:06] sommer: why do you care about revision numbers? [04:06] spiv: to be honest, *I* don't, but my guess is others may [04:06] sommer: or do you just care about giving credit to the right person? [04:06] spiv: credit is good to [04:07] olckS brydcbi-o p.annf jdabi.o yd.p. [04:07] :) [04:07] * igc lunch [04:07] spiv: so nothing's really changed there [04:07] spiv: it's been talked about, is all [04:08] mwhudson: I'm sure I saw a beautiful mockup at some point :) [04:08] mwhudson: ETA for the feature? [04:08] sommer: so, to credit the right person, mainly what needs to happen is that Launchpad should be displaying better information in this situation. [04:09] sommer: i.e. it sounds like you're doing everything just fine. [04:09] spiv: cool, I guess I just wanted to make sure, thanks man [04:10] sommer: optionally though, next time you could do "bzr commit --author='A. Nother Person'" when committing a merge, I think that will cause existing Launchpad (and "bzr log", etc) to primarily show that rather than you. [04:10] spiv: depends on tuit supply [04:10] spiv: you mean this sort of thing? http://people.ubuntu.com/~mwh/hacked_up_changelog_view_3.png [04:11] sommer: (the fact that you committed the revision is still recorded, it just also adds an extra property saying that you say the author is someone else) [04:11] spiv: or the one that displays a list of committer names where only one name is displayed now? [04:11] anyway, sprinting [04:11] mwhudson: right. [04:11] mwhudson: So, +1 from me for doing that one sooner rather than later, FWIW [04:11] (which isn't very much, most likely...) [04:12] spiv: it's probably not that hard for a seasoned bzr hacker! [04:12] Heh. [04:15] we should add a ui to set append_revisions_only [04:15] or perhaps make that the default for 'bzr init' [04:15] or something [04:20] does that prevent uncommit? [04:21] option "dont_let_user_accidentally_oush_over_non_lh_parent" true [04:23] mwhudson: it does, but we could teach uncommit to ask about overriding it [04:27] is it expected that if I run bzr status from outside the branch's dir, the doesn't show the pending merges? [04:27] Verterok just bumped into that, and we think it's a bug [04:31] mwhudson, I've been eyeballing bug #240542, but I'm not sure what the idea is for start/stop-loggerhead scripts. I get the feeling you want to nuke em [04:31] Launchpad bug 240542 in loggerhead "Provide a description for nesting urls" [Undecided,Confirmed] https://launchpad.net/bugs/240542 [04:31] beuno: i think i want to ignore them for a while, then delete them [04:31] beuno: but i can probably be persuaded otherwise [04:31] beuno: you mean 'bzr st foo' where foo is a tree? [04:32] mwhudson, I've been thinking about persuading you, but I have less and less reasons to [04:32] lifeless, yeap [04:32] mwhudson, I do want some sort of global config at some point, but we may want to use serve-branches, and wherever we place it [04:33] beuno: right, yes, the no-config-at-all approach that serve-branches had clearly isn't going to work in the long term [04:34] mwhudson, ok, I'll un-target that bug, if I find out how [04:34] confirmed [04:34] its a bug [04:35] Verterok, you won a bug report [04:35] beuno: Verterok: please file a bug; high importance [04:35] lifeless: ok, thanks for confirming it [04:39] lifeless, re: bug #248018 [04:39] Launchpad bug 248018 in loggerhead/1.6 "slow search results override fast ones" [High,Confirmed] https://launchpad.net/bugs/248018 [04:40] yes! [04:40] pls fix [04:40] I'm thinking about ignoring the you if you type one letter [04:40] in addition to fixing the bug [04:40] hmm [04:40] btw [04:40] the 200ms thing confuses people [04:40] can I suggest just requesting at each keystroke [04:41] hm [04:41] as long as the best search array so far is whats shown it will be correct, and it give people a hint [04:41] I don't think the server will like getting hit so many times [04:42] if I take away the timer, then every single keystrole will get sent [04:42] I'm pretty sure that's not a good idea [04:42] ok [04:42] well let me describe what I see people do [04:42] they type in a search very quickly [04:42] and hit enter [04:43] they never even realise it can do completion because they don't pause long enough [04:43] so its not discoverable [04:43] that's not necessarily a bad thing, if they already know so exactly what they want, it makes sense for the find-as-you type to be ignored, no? [04:43] not when I'm showing people bling [04:43] I do agree it's not very discoverable [04:44] hahah [04:44] ok, we can have a special show-off edition [04:44] even more cool would be word-completing as they type [04:44] no timer, and a cube like compiz [04:44] com|mit [04:44] with the | being where the insertion cursor is, and mit being pulled from the completion results [04:45] ah, that would be cool [04:45] (this is where completion for exclusion terms is still useful btw) [04:45] Even if you don't fire off a query, showing the autocomplete box with a dim "(autocompleting...)" or something in it might be good for discoverability. [04:45] (and this is why I'm saying 200ms is _way_ too long) [04:45] as I type a term in... [04:45] so "rapid-type-then-hit-enter" still works, but at least the user gets a signal about the possibility of doing it a different way in the mean time. [04:46] all the results are contained in the first response recieved from the search engine [04:46] the more they type the smaller the response set is all [04:46] when we start doing ranking [04:46] spiv, that's already sort of the case. It says "loading" when you start typing [04:46] and doing clipping [04:46] then that may change [04:46] beuno: no it doesn't [04:47] beuno: it says it when you pause, at least for me [04:47] For bonus cool: preload the page the with the first N autocompletes for each letter of the alphabet, so you can give instant results! [04:47] beuno, lifeless: done, Bug #255204 [04:47] spiv: indeed, that needs ranking though [04:47] Launchpad bug 255204 in bzr "bzr status doesn't show pending merges when executed outside the branch dir" [Undecided,New] https://launchpad.net/bugs/255204 [04:47] lifeless, ah, you're right, it doesn't. It should. [04:47] lifeless: well, the ranking could be "the order I plucked these out of the db" ;) [04:47] beuno: anyhow, what I'd *like* is that when I start typing it does in-field completion of the first entry in the completion results [04:48] lifeless, I need to handle sessions to be able to contain and trim results before sending the response [04:48] lifeless: and the complete results could be retrieved after the 200ms timer or something, if you want that. [04:48] spiv: it is today, but thats not so useful :) [04:48] Ranking strikes me as an orthogonal issue. [04:48] beuno: I don't really care about *how* it does this, just that that is what I would like to give our users. [04:48] But an important one for making search useful, I agree :) [04:48] beuno: if that sounds nice, we can move on to talking about *how* [04:49] lifeless, in-field completion would be cool. Not sure how I would do that with javascript, but I can't think of a reason it wouldn't work [04:49] lifeless, it does [04:49] I'd really prefer doing clipping on the server side [04:49] beuno: yes, me too [04:49] rather than dropping requests on the cliente side [04:49] hm [04:49] beuno: erm, terminology :) [04:50] dropping requests is needed because of async nature of the beast [04:50] clipping is about sending less than the full set of results because, or ordering whats sent so that partially-recieved data is maximally useful [04:51] * spiv enfoodinates. [04:51] lifeless, agreed. The interaction needs a lot of work to be impressive [04:51] spiv: I think ranking is technically orthogonal but not user-experience orthogonal [04:51] beuno: as a thought experiment, whats wrong with requesting on each keystroke? [04:52] in broad terms [04:52] lifeless, the server performing one search per character [04:52] beuno: thats all ? [04:53] lifeless, yeap, it waists tons of resources [04:53] imagine that on Launchpad [04:53] beuno: it will be fine :) [04:53] beuno: so, without being silly [04:54] lets imagine you dedicate a thread to the client [04:54] they ask for ('a',) [04:54] you start a search for completions [04:54] they ask for ('ab',) [04:54] you cancel the first search and start a search for completions for ('ab',) [04:54] etc [04:55] at some point your searches complete faster than their requests come in, and they get completions happening [04:55] lifeless, that works fine. The thing is, we currently don't handle sessions in LH, so I can't really do that today [04:55] as to remember who requested what, on the server side [04:55] beuno: I'm not sure it needs sessions but I'll defer that to you [04:56] I could fake sessions, I guess... [04:56] in fact, all it really needs is a nonce per completion-interaction - the same thing sent in every completion request [04:56] and that would solve both our concerns [04:56] hrm [04:57] but thats just me being tricky and pointing out that generic sessions are >>> what this needs [04:57] that plus inline completion would be magic [04:57] plus arrow down to other completion results [04:57] plus ranking [04:58] plus number of results [04:58] plus color depending on the depth of the history [04:58] or type of result returned [04:59] well completions are interesting, because they are not looking at documents, only terms - most terms I think will show up in most document types eventually [04:59] but sure [04:59] you could be looking for a committer's name [04:59] http://gadgetopia.com/autosuggest/ [05:00] that does mouse-into-the-completion-widget [05:00] ah, you can go down with your arrow keys [05:01] thought its buggy [05:01] yours is better about handling typing and deletion etc [05:01] yeah, it's not very polished [05:01] but I thought you might like to see their code (LGPL!) for the arrow support [05:01] lifeless, I do, thanks. I can use parts of that [05:02] good thing is, as it stands now, I should be starting full time with Canonical con monday, so I'll have plenty of time to dive into this :p [05:02] congrats [05:02] thats been rather submarine news :) [05:02] hahah [05:03] yeah, it's not 100% official yet, so no blog post, yadadada, but we worked the remaining issued out today and set a startinf date [05:03] hi beuno [05:03] very very cool cool [05:03] and thanks, I'm excited [05:03] hey poolie [05:05] I wonder if flash is needed to do what we want [05:05] god no [05:05] we can do this with javascript, just need to bend the rules a little bit [05:05] please let's not go anywhere near flash :) [05:06] beuno: so what are you going to be focusing on most for canonical? [05:06] thumper, it's a bit blurry ATM, but mainly UI on most canonical projects. And, loggerhead :) [05:07] beuno: cool [05:07] beuno: loggerhead needs some memory love [05:08] thumper, yeah, I already have something in the works to work around the "too many changed files" issue [05:08] ajax to the rescue [05:08] I wasn't aware of the issue [05:08] I just know that loggerhead chews up memory [05:08] when run for a while [05:09] thumper, it times out on some requests [05:09] see bug #254892 [05:09] Launchpad bug 254892 in launchpad-bazaar "Cannot view r2704 of ~mysql/mysql-server/mysql-4.1" [Undecided,New] https://launchpad.net/bugs/254892 [05:09] of course, we have to do some profiling to find out where the memory hog is today [05:10] a *lot* has changed in the past few months [05:12] iooh right [05:12] beuno: so on the files listing [05:12] the revnos link to a 'filtered by fileid' view [05:13] beuno: this is not good for performance [05:15] mwhudson, ah, right, and doesn't really *do* anything, does it? [05:15] not really [05:15] feel like fixing it? :) [05:16] mwhudson, sure, easy fix. Just link to the revno. I can do that now [05:16] ta :) [05:21] mwhudson, committed!D [05:23] :) [05:27] does canonical employ/engage a graphic artist by any chance? [05:28] markh, talk to Joey Stanford, we do graphic work for Canonical [05:29] beuno: is that work gratis? Or do I first need to speak to someone from canonical to approve it? :) [05:30] markh: what do you need? [05:30] markh, canonical, approve [05:30] The windows icon needs lovin, and we need a tortoise ;) [05:30] a pissing chinese tortoise? [05:30] markh, just an icon? [05:30] beuno: tbzr [05:31] and a tortoise ;) But yeah, the couple of existing bzr icons are fairly poor quality and needs transparency plus anti-aliasing etc [05:31] * beuno looks for the current icon [05:31] the .pngs are good, but nothing seems to do an excellent job at converting them to all the various icon sizes and depths [05:32] markh, for little amount of work, I can trick someone into doing it for free. For something bigger, you'll need to get approval, etc [05:32] there is an icon checked into bzr.dev - it lacks transparency and when you try and add it, lack of anti-aliasing shows up [05:33] The icon at http://bazaar-vcs.org/LogoOptions is transparent, but looks auto converted and is poor at larger sizes, eg Vista [05:33] oops - actually I don't think it is transparent. Higher color depth IIRC - but neither are really that great. [05:34] and don't forget the tortoise ;) [05:35] markh, so, you need a large transparent bzr png, and a tortoise icon for tbzr? [05:35] I blew an hour in visual studio etc, but gave up in disgust as usually happens when I try anything like that [05:35] markh, http://bazaar-vcs.org/LogoOptions?action=AttachFile&do=get&target=Bazaar+Logo+2006-07-27.svg is an svg (scales to the infinity) with transparent background [05:35] what's wrong with that again? [05:36] beuno: a single .ico file can have a large number of actual icon images. The existing bzr .png files are good, but I'm having trouble getting a single .ico file, with 4 different icon sizes in that file, with high-quality versions of the .png [05:38] (and depending on how many colors are actually used in the logo, the perfect world would probably have multiple color depths of each of the 4 sizes.) [05:39] markh, so, if you can tell me the the sizes that you need, I can get those 4 PNGs done [05:40] the png files are even the desired size. Its more a matter of the edges of each image needing touching up. A picture is worth a thousand words - what is your email address? [05:40] I have no idea how to create a windows icon though [05:40] markh, argentina@gmail.com [05:41] btw [05:41] I've been meaning to say kudos to getting that email addy ;) [05:41] right - whoever we suckered^h^h^h^h^h^hbegged into doing this would need access to a .ico editor. [05:42] lifeless, I got an invitation the first day it launched. "beuno" is 5 chars, so no-go, and "martin" was taken by one of the devs. "argentina" seemed like the next "I won't get that later on" choice :) [05:42] beuno: to be clear, I've already got access to .png files in the desired sizes - just converting them to a transparent windows icon is the issue. [05:43] every process I've tried requires touching up in the icon editor, which is where I tend to make things worse [05:43] markh, ah, ok. So a little bit trickier then I thought. I think only one of the gfx people at work have windows. I'd have to check with them if they know how to do it :) [05:44] beuno: thanks, it would be great if you could [05:45] markh, I'll give it a try tomorrow. Did you send that email? that'll serve me as a reminder :) [05:46] putting it together now - thanks! [05:47] markh, np. And include whatever you can think of for the tortoise icon, I will try and get something done with that too [05:47] I kinda want a new icon for LH too, but asking for 2 tortoises for 2 different projects may be a bit odd [05:49] :) [05:49] markh, do you currently have an icon? [05:49] yeah, I'll send what I have [05:50] cool, thanks [05:56] poolie: ping [05:56] pong [05:56] up for a short brainstorm? [05:57] two topics, marks and dirstate-locks [05:57] hm [05:57] maybe later? [05:58] tomorrow then [05:58] btw, i read the auto-add thing and i'd agree people could reasonably want them to be separate [05:58] I started at 5am :) [05:58] silly twisted boy [05:59] I think there is an argument for them being separable, but there is also a cost [05:59] the status quo is that we have hard to explain behaviour [05:59] whatever we do should make it easier to explain [06:06] lifeless, did you make a 1.6 branch? [06:06] could you please? [06:08] garh, lynne came and said hi as I got off the phone [06:08] doing now [06:16] done [06:21] thanks [06:25] jelmer: what does AOL mean ? [06:27] "me too" [06:28] k [06:28] I actually have a thought that we should auto-add-delete by default [06:28] following the line of thought of requiring users to do as little as possible by default [06:29] after the habit (when aol was new to the internet) [06:29] of their users flooding a thread with "me too" top-posts [06:30] lifeless: I think that setting is particularly poor, and making it default wouldn't satisfy those who like auto-remove or those who dislike it. [06:31] abentley: I think that it should be set to the most commonly given value; I don't know what is right now [06:32] default on is easy to explain ('by default we record everything in your tree, no explicit action needed'), and default-off is easy to explain ('by default we record what you have asked us to record') [06:33] default-partly-on is hard to explain and ultimately why that bug was filed in the first place [06:34] lifeless: Well, no-auto-anything is relatively safe. I don't like it, but I long ago gave up trying to understand why people wanted it. [06:35] lifeless: Auto-everything will cause stuff to be committed that shouldn't be committed, and will cause mvs to be mishandled as add + delete pairs. I consider this actively harmful. [06:35] I can't quite parse that; do you mean that most heuristics have problems of some sort? [06:36] Auto-everything will cause stuff to be committed that shouldn't be committed. Because people will leave stuff in their source tree that they don't intend to commit, and then commit. [06:36] abentley: auto-remove causes things to be committed that should be [deletes, not user content] and also has the same problem with add+delete pairs (people reach for add first when they see a delete) [06:37] lifeless: Do you mean "should *not* be"? [06:37] yes [06:38] lifeless: I don't consider auto-deletion to be as dangerous as auto-addition. Nuclear launch codes. Nuclear waste. ISO images. [06:38] Auto-deletion is easy to repair. [06:39] uncommit isn't sufficient? [06:39] * fullermd agrees. [06:39] Auto-addition can require garbage-collecting your repo. [06:39] so, if I write 'uncommit --gc'? [06:39] I don't agree that auto-remove has the same problem with mv. It has a problem, but it is different. [06:39] abentley, what kind of thing do you have in your tree? [06:39] If I miss something long enough to commit it, I'm likely to miss it a lot longer, so it's more than GC, it's GC'ing many repos, and other people's code based on it. [06:40] poolie: The things in my tree that I don't want to commit are typically patches or callgrind files. Sometimes they're .orig files. [06:40] I've got run logs in my trees all the time. [06:40] mm [06:40] (whatever >& out and the like) [06:40] i wonder if this really means we should be marking them ignored? [06:40] lifeless: uncommit --gc would be nice, but wouldn't make me think that auto-add was a good idea. [06:40] i do often have diffs in there but i also think this is a bit dirty [06:42] lifeless: Anyhow, auto-all is a default that I would fight against. I wouldn't fight against auto-nothing, if I can unbreak my own configuration. [06:43] abentley: ok. I have replied to the thread breaking the changes down to atoms to be discussed [06:43] the default in the current patch is indeed auto-nothing, because its a more conservative default [06:45] poolie: It is a bit dirty, but that's what clean-tree's for :-) [06:46] mm [06:46] it seems like that almost needs an arch-like concept of patterns of cruft [06:46] maybe that belongs in a makefile though [06:48] there is a seperate thread on that [06:48] well, on precious vs ignored [06:48] anyhow, I've said my bit - IMO we're more complex than we should be, and we can be simpler by a number of different possible changes [06:49] I think the most enjoyable to use would probably be the most risky :). [see havoc penningtons unbreakme option rant] [06:50] but I'm not going to push for that today; having the option available is enough of a positive for me today [06:51] bbiab [07:09] back [07:09] RAOF_: ping [07:10] markh: ping [07:10] lifeless: hi [07:11] whats your opinion about using glib routines in bzr (in terms of windows portability) [07:11] (not glibC, glib - the gnome/gtk+/gimp low level support library) [07:13] I've no direct experience, but I'd be surprised to find msvc works regularly. I guess it depends on what aspect of portability you are concerned with :) [07:13] http://www.gimp.org/~tml/gimp/win32/downloads.html [07:13] actually [07:13] http://www.gtk.org/download-windows.html [07:14] markh: I'm looking at writing some pure C [07:14] markh: binding that to python separately [07:15] and so I want tool chain you'll be happy supporting for windows builds :) [07:15] heh - so this is the same thing bzr-gtk needs to bundle? [07:15] e.g. I'm thinking scons as a build system. Not because its good, but because its better than autoconf etc on windows [07:15] err - bundle on windows I guess. [07:16] its likely autoconf wouldn't really be needed on windows and that a hard-coded makefile would be ok. There isn't much to "sniff" on Windows [07:21] isn't there a native alternative to whatever it is you are trying to do? :) [07:21] Hi ! If I did bzr "lightweight" checkout of -r l_rev and later bzr upgrade to u_rev, I will be able to browse history see diffs etc in range of revisions from l_rev to u_rev ? [07:26] markh: yes, but guido doesn't want CPython to be fast at the expense of clarity [07:27] matkor: are you asking if bzr remembers what l_rev was for you ? [07:27] You probably could, if update supported -r... [07:29] lifeless: I am asking if after after bzr update to u_rev I get no history (it still lightweight checkout) I get part of history (l_rev to u_rev) or full history (0..u_rev) is downloaded [07:30] abentley, so from your last mail it looks like it will be ok as long as auto-add is not the default? [07:30] Well, you can't bzr update to u_rev. But if you could, it would presumably do the former (i.e., much the same as if you'd co'd that rev in the first place) [07:31] poolie: I will be okay if --auto-remove exists and --auto-add is not the default. [07:31] And if --auto-remove causes Bazaar to behave the way it does now wrt --strict. [07:31] and would auto-remove as an option to commit be much different to having it available under bzr rm? [07:32] matkor: no history is downloaded locally [07:32] lifeless: pong? [07:32] poolie: yes. It would be more work and destroy your original vision of how rm could work. [07:32] RAOF_: do you do much C ? [07:33] test [07:33] test [07:34] lifeless: Not much. I'm not totally unfamiliar with it, though. [07:34] Much more C# and python. [07:34] poolie: I don't know how else to say this. I don't understand why anyone would want no-auto-anything behavior. I think auto-remove is perfect. It has been the default for many years. If it can't remain the default, there should be a way for everyone who is used to it and likes it to preserve it. [07:35] abentley: I don't know why you say it would destroy martins' original vision of bzr rm [07:36] could you enlarge on that ? [07:36] lifeless: martin's original vision was that bzr branches could be manipulated as much as possible using standard unix commands. cp -r would perform a branch. rm would delete a file. [07:36] ah, of 'rm' not of 'bzr rm' [07:36] mv would move a branch. [07:38] following that logic I would expect touch to add a file [07:38] lifeless: I don't think that was seriously contemplated at the baz 1.0 sprint. [07:39] abentley: I don't recally rm being automatic being discussed at that sprint either - but it was a long time ago now [07:40] That's certainly how I remember it. May not be true, of course. [07:42] well [07:43] that was what i had in mind [07:43] lifeless: Why were you interested in my Cness? [07:43] however, the current situation of auto-remove but not auto add is inconsistent with it [07:45] RAOF_: I'm checking the impact of C support libraries on e.g. gnome and kde friendliness [07:45] RAOF_: and windows [07:46] RAOF_: as I'm planning on doing some C soon but I'm out of date on what libraries are broadly available where. [07:47] I understand that glib is both ported everywhere and can make C less of a hassle. [07:47] which reminds me [07:47] fullermd: ^ sameish questions :) [07:47] RAOF_: its more a culture-of-availability than raw can-do that I'm referring to [07:48] if e.g. KDE would turn their nose up at a glib using library [07:48] But apart from that, I'm not really up with the library situation, particularly on !gnome. [07:48] yah I'm going to ask riddell too [07:48] lifeless: Nah, they wouldn't. [07:48] Well, I don't know anything about the Windows side. But I can't imagine lower-level stuff like glib could matter gnome-vs-kde-vs-whatever. [07:48] fullermd: It's got a 'g' in it! [07:48] and [07:48] Heck, I run neither gnome nor KDE, but I've got qt and gtk apps around and working... [07:48] gWindows? :p [07:49] does glib play nice inprocess with kde, for kde apps using this library :P [07:49] I'm pretty sure the answer to that is a firm "yes". [07:49] I'm sure there's glib/QT mainloop integration somewhere. [07:58] c++ can make C less hassle too ;) [08:00] markh: yes, but at the cost of being less accessible from C [08:01] so there are several reasons I want to write some plain C [08:01] one is profiling - its easier to gprof a small C test driver than all of python [08:02] another is addressing some of the [somewhat spurious] complaints from hard-core devs that bzr is not written in a language they feel comfortable in [08:02] another is making it a bit easier for folk that are doing LPC calls to be able to get at the core logic [08:03] * fullermd acks. [08:04] I'm assuming you mean something different by 'LPC' than I think of... [08:04] local procedure calls [08:05] Too bad. I was getting all sorts of twisted evil grins at the thought of accessing bzrlib from LPC... [08:10] lifeless: you know that Qt and so also KDE is linked to glib by default, right? [08:10] so I don't think glib is a problem for anybody on linux [08:13] luks: I didn't, cool [08:13] it uses glib's mainloop [08:15] Is my observation correct that Bazaar merges without warning into an out-of-date working tree? [08:16] Bronger: no, it shouldn't [08:16] Okay, then I'll have a closer look at it again. [08:17] there is one case where is does, 'bzr up', no? [08:17] well [08:17] what specifically do you mean by 'merges' [08:18] if you do an update or pull it will merge into what you have outstanding in the tree [08:18] 'merge' itself should not without --force afaik [08:22] The scenario was as follows: Everything local on my disk, in a repo. Some branches with working trees, and one lightweight checkout that I "switch" between the working trees. I work only on teh checkout, so all branches become out of date over time. But I have to merge the trees from time to time. So I entered one branch, did "merge ../", no errors, no conflicts. Then, I did "bzr update", and I got further changes and conflicts. [08:33] right, update is what did that to you [08:34] which is actually by design, so tht you can merge to a branch which someone else just committed to [08:36] Okay, thank you. Does the order matter? Is merge+update the same as update+merge? [08:37] Bronger: just to make sure, you did 'bzr commit' after 'bzr merge'? [08:37] No. [08:38] and merge printed 'Nothing to do' or it did merge something? [08:38] It did something. [08:39] right, so the pending merges were what causes the problems with bzr update [08:39] Yes. [08:40] I'm not sure but I think 'bzr merge' followed by 'bzr merge --force' would cause the same problem [08:40] 'bzr update' is very similar to 'bzr merge' in this case [08:40] Bronger: the order does matter [08:41] Bronger: update + merge - the merge would complain [08:41] The root cause of my questions here is that I found out that a new part of code got lost. Apparently, during a 3-way marge, the *older* part was used. I could recover it, however, I'd like to know whether it can be caused by forgetting to say "update" before a merge, or whether I just resolved a conflict wrongly (which may well be the case ;-). [08:41] Bronger: 3-way chooses the odd-side out, if both sides are different it conflicts [08:42] Bronger: hm, you had local changes in the working tree? otherwise there is nothing to lose [08:43] generally, to merge the branches and keep the working tree updated you want: 'bzr merge ', 'bzr commit' to commit the merge, 'bzr update' to update the working tree [08:43] There could be local changes, too. But in case of those, Bazaar sure would complain, either by conflicts or by an error message, wouldn't it? [08:43] not in case of update [08:44] update is designer to work with modifications in working tree [08:44] merge would complain though [08:45] So if I update, remote changes silently overwrite my local changes? [08:45] no, it will try to merge them [08:45] Okay. [08:45] which can naturally result in conflicts [08:46] Well, then I think I just resolved the conflicts incorrectly. [08:46] Good. Thanks to all of you! [08:58] you're welcome [08:58] hey poolie [08:58] hi james === poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | please test 1.6rc1! / http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/ | http://blogs.mysql.com/kaj/2008/06/19/version-control-thanks-bitkeeper-welcome-bazaar/ [08:59] woo [09:00] woo indeed [10:59] Whee, shiny new hardware. === avc_lost is now known as acuster [11:26] awilkins: :) [12:43] lifeless: AOL for America Online [12:43] lifeless, their users used to be known for their one-line "me too" postings on usenet [12:45] jelmer: What is the best way to send patches for bzr-svn to you? [12:46] dwt, just "bzr send" them to me [12:47] Well..., that bombs... [12:47] bzr stable:1557/> send [12:47] Cannot lock LockDir(http://people.samba.org/bzr/jelmer/bzr-svn/stable/.bzr/branch/lock): Transport operation not possible: http does not support mkdir() [12:49] * dwt is off reading send help [12:51] I'm trying to use bzr-svn for local versioning before commiting back to a subversion server [12:51] The team require files being worked to be locked on the subversion server [12:52] I've tried bzr co on both a subversion checkout and repository [12:52] dwt: Alternatively, you can send me the patch generated by "bzr send -o foo.patch" [12:53] jelmer: Well I tried that already, same error [12:53] dwt, did you perhaps create a checkout of bzr-svn rather than a regular cloned branch? [12:53] In both cases running 'svn lock' on files that needed to be locked caused errors when I tried to commit back from bazaar [12:54] Is my desired way of working not possible with bazaar? [12:54] jelmer: Yes - as far as I remember, you advised me to do that last time we chatted. [12:54] (My memory may be wrong though) [12:55] That would surprise me, there shouldn't be a particular reason to create a bound branch if you don't have write acess to the master branch [12:56] dwt, "bzr send" will work if you "bzr unbind" your branch I think [12:56] jelmer: Thx, I'l try that [12:56] mib_20juap6b, I'm not sure what you're after exactly [12:57] mib_20juap6b, should bzr-svn attempt to unlock files before doing a commit? [12:59] mib_20juap6b: No the files must stay locked on the subversion server since that is our policy for version control [12:59] I would like bzr to act as a client and allow me subversioning before I commit back [12:59] * AfC misses SCCS too [12:59] jelmer: strange thing, bzr unbind fails with the same error [13:00] hmm ... bzr help send tells me, that the default format is "4" -- but just doing a "bzr send" showed me, that it is 0.9 instead [13:00] Ie: Subversion -> bzr shared repository (lock files) [13:00] oh - nevermind [13:00] * Necoro should learn to read [13:00] bzr shared repo -> my feature repo [13:01] mib_20juap6b: if you require obscure Subversion features like the one you are describing, I imagine you're not going to be able to use bzr-svn. [13:01] mib_20juap6b: That said, there is no reason you can't create a bzr branch in-place in a Subversion checkout and then just bzr to manage the files you are manipulating. [13:01] mib_20juap6b: low tech, to be sure, but it can work well enough. [13:02] mib_20juap6b: I tried bzr branch subversion-checkout new-bzr-branch [13:03] But when I tried to commit back from new-bzr-branch it complained about the locked files [13:03] mib_20juap6b: bzr-svn doesn't touch locks at the moment [13:04] dwt: That sounds like a bug [13:05] dwt, alternatively, you can try removing "master_branch = ..." from .bzr/branch/branch.conf [13:05] mib_20juap6b, is not touching the locks not sufficient? [13:05] jelmer: I'l try that - but I'd like to try to reduce the bug first. [13:07] mib_20juap6b: Maybe I am confused [13:08] mib_20juap6b: I created the branch from the svn checkout directory and commited to it [13:09] mib_xfynoqbr: How do I commit back to the subversion checkout? [13:10] mib_xfynoqbr: svn commit? [13:12] I used bzr branch to create the branch. So what bzr command can commit back again? [13:12] mib_xfynoqbr: or, if your question is how do I move changes from one Bazaar branch to another (where the second just happens to also be a Subversion checkout), then `bzr pull ../other` is perhaps what you are looking for. [13:12] AfC: That might be it. Let me try... [13:13] "No revisions to pull" [13:14] And bzr push subversion-checkout complains about the locked file! [13:15] In subversion a lock only has meaning for the repository and those interacting with it since it is centralised [13:15] mib_xfynoqbr: what command did you use to create the bzr branch? bzr checkout or bzr branch? [13:15] So maybe I found a bug in bzr-svn? [13:16] I tried both. This time I just did a branch. [13:16] mib_xfynoqbr, if you used "bzr checkout", just running "bzr commit" should commit back to svn [13:16] if you used "bzr branch", run "bzr commit" and then "bzr push" [13:16] mib_xfynoqbr, what sort of error are you getting? [13:16] jelmer: I tried both as you described [13:17] mib_xfynoqbr, what's not working exactly? [13:18] mib_xfynoqbr: SubversionException("Cannot verify lock on path '/hello'; no matching lock-token available" [13:18] mib_xfynoqbr: On the commit or push back [13:19] mib_xfynoqbr, ah, so it's the lock that's problematic [13:19] mib_xfynoqbr, The svn lock tokens aren't stored anywhere in bzr though [13:19] mib_xfynoqbr, so I can't think of an easy way to fix this === sabdf1 is now known as sabdfl [13:22] \part [13:24] I have just discovered that checkout does not work since if yuo give bzr a subversion checkout directory it actually works on the corresponding subversion repository [13:25] mib_xfynoqbr, that's what it's meant to do === thekorn_ is now known as thekorn [13:49] jelmer: There is no such file ".bzr/branch/branch.conf" the only thing I could find is .bzr/branch/location" which holds just the url [13:49] jelmer: should I just remove that fileß [13:49] ? [13:50] dwt: hmm, that's odd [13:50] dwt, are you working in a lightweight checkout by any chance? [13:50] I guess so [13:50] how did you manage to commit your change? [13:50] well, I didn't [13:50] ah, ok [13:51] you may want to use "bzr reconfigure" to convert the lightweight checkout into a full-fledged branch [13:51] aha! :) I'l try that [13:51] after that, you should be able to commit your change and bzr send [13:51] Hi, I need help with hook programming for bzr. [13:52] hi pfeil [13:52] Can anyone help me - I am new to phyton. [13:52] pfeil, sure, just ask your question [13:52] jelmer: From reading the docs "bzr reconfigure --branch" seems to be the most sensible thing [13:53] I need a start_commit hook that runs a shell command for every file that will be commited [13:53] should be simple but I hve no phyton knowledge [13:54] jelmer: it's not so strange to create a bound branch when you don't have write access to the master branch. This creates a local mirror that you can't commit to by accident. [13:55] dwt: bzr reconfigure --tree [13:55] abentley, bzr can behave strangely in that situation though (error messages that don't make sense to users) so I don't tend to recommend it [13:55] abentley: thanks! [13:56] abentley, I agree there is a use case for it though [13:56] jelmer: Sounds like we need to make it give better diagnostics, then. [13:57] abentley, yes, indeed [13:58] The questin is: can anybody help me with my problem or point me to some example code I can learn from? [13:59] pfeil, there was some example code for a start_commit hook posted to the list recently [13:59] pfeil, http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/45041/focus=45042 [14:00] jelmer: Thanks for the hit, I will read into the material... [14:01] abentley: Sorry to say, but 'reconfigure --tree' bombs for me with: bzr: ERROR: Repository KnitPackRepository('file:///Users/dwt/.bazaar/plugins/svn/.bzr/repository/') is not compatible with repository KnitPackRepository('http://people.samba.org/bzr/jelmer/bzr-svn/.bzr/repository/') [14:02] abentley: am I doing something wrong? [14:02] dwt: there's a bug open on that I believe [14:02] damn. :-) [14:02] dwt: No, you've hit a corner case. [14:02] you are using a rich-root repo I guess [14:03] james_w: [14:03] I have no idea... :) [14:03] yeah, it's bzr-svn [14:03] Well, not really [14:03] its a pure bzr checkout [14:03] so bzr-svn can't have a thing to do with this [14:03] bzr-svn itself is in rich-root-pack as well [14:04] jelmer: btw, I had to stop Bundle Buggy from scanning bzr-stats, because it uses a rich-root repo. [14:05] dwt, for now, it's probably easiest to just save your patch somewhere and create a fresh copy of the branch [14:05] abentley, ah, ok :-( [14:05] jeah, I was just about to propose that too. [14:05] thanks for the help [14:05] though === mw|out is now known as mw [14:25] hi guys, will there be a bzr 1.5.0 for hardy on bzr's ppa? The other distros have it [14:29] If I want to retrieve a non standard value from a non-standard section of ~/.bazaar/bazaar.conf do I have to resort to accessing the file with ConfigObj directly? [14:31] jelmer: after a lot of work... the patch is on it's way. whoa how hard sending a patch can be. [14:33] jelmer: Thanks for the hint, I have read the thread and I am running into a similar problem like my precessor: [14:33] jelmer: I have installed bzr 1.5 on a Mac [14:33] dwt: unbinding a lightweight checkout shouldn't be possible as it doesn't make any sense to have a standalone working tree [14:34] well, it may make sense, but it's not allowed as far as I know [14:34] jelmer: When I enter bzr hooks, I get a list of hooks - all "". The interesting thing is: There is no start_commit hook listed in the list. Any glue? [14:35] james_w: Well, I'm not yet firm with what works how in bzr and why, so at least the error message was not at all helpfull [14:35] dwt: that's true [14:35] At the time my understanding was that unbind would magically make me a lcoal repository to work with - whatever the previous condition was. [14:36] I now recognize that there are two completely different concepts in bzr [14:36] and that a lightwight-checkout is more like a svn checkout [14:36] that can never (at least not as easily) become it's own repo [14:36] oh well. [14:36] bzr is hard. You know that? [14:37] it's hard if you try to use it the svn way === abentley1 is now known as abentley [14:40] luks: I thought that this was one of the strengths of bzr? [14:41] ok, cu guys in an hour [14:51] Can someone help me then the mutabletree class? [14:51] Can someone help me with the mutabletree class? [14:55] pfeil: somebody probably can, even if not right now [14:55] but it helps if you ask the question [14:55] luks: Thanks - Just whantet to see if there is someone active here. [14:56] luks: I am completely new to python and I need to write a start_comit hook stat runs a shell command for every file that will be commited. [14:57] luks: Now I have a working hook skeleton and I know how to run shell commands, My remaining problem is to interate throug all the files [14:58] luks: I get a mutabletree as parameter for the hook. I dont know the internal stuctures or the internal concepts of bzr so this is quite a problem for me to get it done quick. [14:58] pfeil: you have your hook being triggered now? [14:59] Should be working, I will try.... [15:02] Is there something wrong with this line? print "clearing exec bits in " + base [15:03] depends on what is base [15:03] `print "clearing exec bits in", base` would be more universal [15:03] Do I need to import something for print? === cprov-out is now known as cprov [15:03] no [15:04] Ok, this is how it looks like: [15:04] def start_commit_hook( tree ): [15:04] config = LocationConfig(tree.basedir) # unsure if this is right [15:04] base = tree.basedir [15:04] [15:04] #print "clearing exec bits in " + base [15:05] I am wondering where basedir is coming from because I could not find it in the class description [15:06] is: ' base = "Hallo there" ' valid python? [15:06] starting with one space is usually not valid python [15:06] apart from that, yes [15:07] dwt, hmm, not seeing your patch yet [15:08] rockstar, ping [15:08] Ok, I have removed the spaces, now my hook is working. [15:09] The main problem remains, how to iterate throu the tree and execute a shell command on all the files that will be comitted? [15:10] pfeil: I went though this recently [15:11] Are you getting a tree_delta parameter? [15:12] That's proably your mutable tree parameter... Anyway, it has a number of attributes like added, modified, renamed etc that are lists of tuples [15:13] If you iterate through those and print out the tuples you'll see what the elements are (filename, file-id, type etc). [15:14] pickscraperx: I am sorry, I am new to phyton and I am afraid that what you are talking about is out of my knowledge scope. === pickscrapeX is now known as pickscrape [15:15] pickscraperx: I can only understand and modify python code, not more :-( [15:15] Hmm, didn't know my nick was still wrong :) [15:15] What exactly is it that you are wanting to do with the files that will be committed? [15:16] os.system("build++ --minor++ " + filename ) [15:18] pfeil: you can run that on all modified and added files, would that suit you? [15:19] Yes :-) [15:19] jelmer: is there a way to get the specific changes that are being committed in a start_commit hook, or is it that the MutableTree is already those specific changes, and differs from the changes in the working tree if specific files were requested? [15:20] james_w: the specific_files list doesn't get specified to start_commit at the moment [15:20] it should, though [15:20] yeah [15:20] pfeil: if all modified and added files works for you then you want something like [15:21] changes = tree.changes_from(tree.basis_tree()) [15:21] for path_info in changes.added: [15:21] what type is changes here? [15:21] path = path_info [15:22] sorry [15:22] # do something with path [15:22] for path_info in changes.modified: [15:22] path = path_info[0] [15:22] # do something with path [15:22] . [15:23] the first "path = path_info" should be "path = path_info[0]", same as the second [15:24] got it, will try now... [15:25] lifeless: any more luck with bug 246880? [15:25] Launchpad bug 246880 in bzr "ghost fetch issue: fail when fetching a text referenced by a live revision introduced by a ghost revision" [High,Triaged] https://launchpad.net/bugs/246880 [15:25] or anything more I need to add there? [15:28] Ok, thanks james_w for your help, but the code is not exactly what I need. Perhaps I have expressed my self not correctly: [15:28] Here is what I need: [15:28] When I enter: bzr commit -m "Test" test.file [15:29] I want bzr to run build++ [more options] test.file befor any other 'versioning' work is done by bzr. [15:29] You code runns throu all modfied files in the tree, not only the test.file. [15:30] pfeil: you can run that on all modified and added files, would that suit you? [15:30] Yes :-) [15:30] maybe I wasn't clear, that's the best you can do from one of these hooks currently [15:32] james_w: This was a missunderstanding on my side. I thought you are talking about: "...all modified and added files (that where specified on the command line)..." [15:32] jelmer: SVN locks are advisories anyway, no? You can just tell the server you are stealing them. [15:33] Although that might be a little cavalier where they are being used :-) [15:33] awilkins, yep [15:33] pfeil: no, *all* modified and added files, sorry [15:33] awilkins, they also work only on files, you can't lock a directory recursively [15:33] THey are a pain in the butt from my perspective [15:33] ESp. the thing where someone locks a file then deletes it ; the lock is left hanging around [15:34] And you can't rename or delete the parent folder, or create another file with the same path [15:34] james_w: So you mean, that there is no way to find out which file the user specified on the command line and run a shell script only on this file? [15:34] pfeil: not currently, no [15:36] james_w: ...and what if I use an other hook, pre_commit for example? [15:36] you can't modify the tree being commited from them I believe [15:36] Can't you modify it in start_commit? [15:37] yes [15:38] pfeil, this is just start_commit missing an argument [15:38] What could stop me from modifying the files on the disk in the pre_commit hook? I dont want to modify the internal bzr tree. [15:39] jelmer: What do you mean, Have I made a mistake or do you mean that there is some feature missing? [15:39] pfeil, There is a feature missing [15:40] pfeil, start_commit should not just receive a tree but also a list of files specified for commit [15:40] jelmer: I see... [15:41] Any other idea how to count up an internal revision number the cvs old school style? [15:41] hi. we have a problem with bzr+ssh using a common group to allow writes. the first time a new branch is pushed the permissions of the directories are 755 instead of 775. that's my mask but can't we have bzr to "clone" the permissions of the repo directory? I have to fix them by hand every time someone pushes a new branch in the repo. [15:42] Okay, so if I use commit --fixes foo:X, how can I now display bugs fixed by revision Y? [15:43] fog, maybe related to bug #255155? [15:43] Launchpad bug 255155 in bzr "bzr.dev no longer preserves permissions in repository" [Critical,Confirmed] https://launchpad.net/bugs/255155 [15:44] fbond: that's not possible from the command line yet [15:44] fbond: I think bzr-gtk can do it [15:44] james_w: So what use is --fixes then? :) [15:45] jelmer: I sent the patch to jelmer@samba.org [15:46] dwt, just got it - thanks! [15:48] dwt: Patch looks good, I've merged it [15:48] doh, it is a bug then. [15:49] thanks. [15:50] fog, sorry :) [15:50] but I use 1.5, not .dev.. mm. [15:51] fog, on both sides? [15:54] 1.5 on the client and 1.3.1 on the server [15:54] mm.. time to upgrade that server :) [15:56] I'd love to debug the second problem that plagues my bzr-svn installation now [15:56] dwt, what's that? [15:56] But I'm currently hanging on understanding how bzr maps its namespace into the plugin directory [15:56] jelmer: the problem is that it cannot resolve bzrlib.plugins.svn to ~/.bzr/plugins/svn - or at least it seams that way [15:57] dwt: ~/.bazaar/plugins/svn [15:57] sorry, thats what I mean [15:57] or meant, anyway [15:58] what's the problem you are seeing? [16:02] james_w: When I try bzr selftest svn, it can't load the svn plugin [16:03] because it can't resolve the imports to bzrlib.plugins.svn, as being in the directory ~/.bazaar/plugins/svn [16:03] here's a paste of the problem [16:03] http://paste.lisp.org/display/64873 [16:03] dwt: it works the other way round; bzr imports everything under ~/.bazaar/plugins/ and stashes them in the right places in its namespace [16:04] dwt: if can't import it, because the plugin itself fails [16:04] see ImportError: cannot import name client [16:05] hm, how can I debug this further? [16:05] do you have client.so or client.py in ~/.bazaar/plugins/svn? [16:05] dwt: are you on bzr 1.6? [16:05] luks: yes, client.so [16:05] james_w: no, I'm on bzr 1.5 [16:06] that looks strange then [16:06] dwt: ok, please paste the whole of one of the stanzas of ~/.bzr.log showing the failure to load the plugin [16:07] dwt: oh, perhaps it's built with a different version of python? [16:08] you mean the *.so files? [16:08] yes [16:08] luks: I'l check that after I pasted the errors from loaading the plugin [16:10] james_w: http://paste.lisp.org/display/64878 [16:10] AttributeError: 'module' object has no attribute 'properties_handler_registry' [16:10] you are using a version of bzr-svn that is not compatible with bzr 1.5 [16:11] damn. [16:11] And I was extra carefull to take the stable branch [16:11] jelmer: Can you tell me which branch would be the right one to get for bzr 1.5? [16:11] dwt, there's no branch matching bzr 1.5 [16:12] dwt, you can use the tarball from the wiki page [16:12] ok... [16:12] I'l try that [16:12] dwt, or revert back to tag:bzr-svn-0.4.10 in your current bzr-svn branch [16:12] That sounds much better [16:12] thanks [16:22] jelmer: As far as I can tell at that revision you are still using the official python bindings [16:25] dwt: Yes, that's correct [16:26] Too bad, I really wanted to give your bindings a spin. [16:27] dwt: You can still try, with bzr.dev [16:27] I'm a bit weary going to the trunk of bzr [16:27] I really want to give this plugin a workount [16:27] with first trying to replicate my workplace conditions [16:28] bzr.dev is kept pretty stable. [16:28] and then trying to switch my workplace [16:28] but for that I really need stable versions that many people have tested already. [16:28] well, 1.6rc1 is out [16:29] luks: I am considering just waiting a week or two till it is out. [16:29] not that is has been tested by as many people as 1.5, but at least you have a tarball [16:29] true === doko_ is now known as doko [16:34] Well, after going back to tag:bzr-svn-0.4.10 and making the plugin [16:34] it seems to load perfectly [16:34] however running bzr selftest svn dies on the ninth test [16:35] jelmer: Does it make sense to look into this further [16:35] or should I just wait for bzr 1.6? [16:35] dwt, what sort of version of subversion do you have installed? [16:35] 1.5 [16:35] dwt, I guess I would wait for 1.6 [16:36] (bzr 1.6) [16:36] sure [16:36] ok, I'l check back in here as soon as 1.6 hits my repository. :) [16:41] ok, thanks for the help and cu soon! [16:43] I'm getting an error when running "make docs" inside the unpacked source tarball of bzr-1.5 [16:43] http://pastebin.com/m762ada0c [17:40] evanton: weird, I'm not seeing that here [17:40] I wonder if it is a different version of rst2html [17:41] evanton: ah, I think this is the rst2hmtl bug we had a workaround for [17:41] specifically there is a '.' in the options [17:41] which rst doesn't usually like [17:41] if you look at our tools/rst2html.py [17:41] there is a workaround in there [17:41] but it is keyed on version [17:41] evanton: you probably just need to expand the version range [17:42] evanton: there should be a line like: if docutils.__version__ <= '0.4.1': [17:42] Just change that to "if True:" or something like that [17:42] jam: do you want me to tell you the version of docutils I'm using? [17:42] evanton: you can, but I'm 99% sure it is >0.4.1 [17:42] :) [17:42] hold on [17:42] I think we have a fix for that in the 1.6 branch [17:43] In bzr.dev the line is "if True: # this is still required in the distutils trunk as-at June 2008." [17:43] $ rst2html.py --version [17:43] rst2html.py (Docutils 0.5 [snapshot 2008-04-24, r5542], Python 2.5.1, on linux2) [17:45] evanton: so... yeah, just a problem with our workaround not being used for newer docutils, you can edit that line and it should work [17:45] And 1.6 will have a fix for it [17:45] as I can see from the error, "make docs" is calling the rst2html.py that's included in the source tarball of bzr [17:45] let me try your suggestion [17:46] evanton: we call that one, because of workarounds, etc that we needed to put in [17:46] it shouldn't be calling the global rst2html === andreas__ is now known as ahasenack [17:49] jam: seems like html files were generated, thanks for your help [17:49] now it complains about not finding dot, so it's time to google for that :) [17:49] will be back if will have any other questions [17:56] evanton: dot is shipped with graphviz [17:56] suggestion: sticking the keyword "graphwiz" into that error message could help a newbie figure out what dot is, since googling for "dot" is irrelevant [17:57] dato: than's I've found it, will look at graphwiz now [17:57] s/than's/thanks, / [17:57] 'wg 20 [17:57] evanton: it's "graphviz" not "graphwiz" [17:58] oh [17:58] I've misspelled it [18:49] jelmer, hi [18:50] rockstar, hi [18:50] Could we chat about loggerhead's packaging needs? [18:50] rockstar, yep, sounds good [18:51] rockstar: afaik the only thing missing for a stock loggerhead package at the moment is loading the configuration from another location [18:52] jelmer, yea. That would allow it to run daemonized. [18:52] However, thumper was telling me that ./serve-branches knows about user dir traversal, and the start-loggerhead script apparently doesn't [18:52] I thought I might take a look at that. [18:53] Where can I find documentation for the template language that loggerhead uses? [18:53] pickscrape, the template engine is simpletal [18:53] This one? http://www.owlfish.com/software/simpleTAL/ [18:55] pickscrape: Yep. [18:56] rockstar, ah, cool [18:56] I guess the package could also use a init script [18:56] Ah, I think I see... I've been reading it wrong :) [18:57] jelmer, we could just leverage the work from start-loggerhead and stop-loggerhead for init scripts [18:58] I also have a default config that we'd like to load on installation and start of the server [19:00] is it possible to make a branch redirect to another branch ? [19:00] asabil: There are "branch references", but there's no way to create them through the CLI. [19:00] hmm, ok [19:05] jelmer, do you have time to look into loading the configuration from another location? [19:17] rockstar: Yeah, that'd make sense === mw is now known as mw|food [19:45] good afternoon! [19:45] good evening! [19:45] i come begging, hat in hand: lifeless, can you have a look at bug #239499? [19:45] Launchpad bug 239499 in bzr "corrupt knit index on an old arch-imported bzr repo" [Medium,Confirmed] https://launchpad.net/bugs/239499 [19:46] * wingo-tp <- this guy is a drag, i know [19:46] wingo-tp, lifeless won't stir for another hour at least [19:53] beuno, ping [19:53] rockstar: I've added arguments to override the log folder, config file and pid file for loggerhead [19:53] as well as an init script [19:58] jelmer, pong [19:58] beuno: is there some place where loggerhead logs when in daemon mode? [19:58] I had syntax errors but they didn't appear to be logged anywhere [19:59] jelmer, it tries to create a logs/ dir [19:59] and there should be a debug.log [19:59] of course, it does so in the same dir, which won't work well with an installation [19:59] we should change that [19:59] (make it log in the home dir maybe, ~/.loggerhead.log [20:00] mwhudson, thoughts? [20:02] somewhere under /var/log would be better if it's running as a daemon I think [20:03] james_w, I agree that's the ideal place, but won't we run into potention permission issues? [20:03] I'm not sure how all that works [20:03] AFAIK a regular user can't write in /var/log [20:04] if it's using an init script the you can create /var/log/loggerhead/ and chmod it, as the init script is running as root [20:04] or do it at package installation time [20:04] if loggerhead has a normal daemon mode then home dir may be a good idea, with a command line switch to specify somewhere else [20:05] rockstar: ok, i'll pounce on him then :) [20:05] james_w, yeah, it has both. So maybe a switch will work best. jelmer? [20:05] beuno, Just did the patch :-) [20:06] beuno, I see what I was doing wrong now [20:06] I had actually caused a syntax error in the code that dealt with the logging [20:06] jelmer, oh, very cool [20:06] ah, right [20:06] https://code.edge.launchpad.net/~jelmer/loggerhead/pathargs/+merge/662 [20:07] * beuno branches [20:14] jelmer, revision 202 thanks you for your continued contribution :) [20:15] beuno, w00t, thanks! [20:15] beuno, jelmer, the package at least should log to /var/log/loggerhead or something like that [20:16] rockstar, Yeah, I've modified them to do that === mw|food is now known as mw [20:16] rockstar, that's why I added the -L option [20:16] Ah. [20:18] beuno, You seem to've missed a revision [20:18] one that fixes the syntax errors [20:18] jelmer, odd, I branched and merged [20:18] jelmer, revno? [20:19] beuno, 205 [20:19] it's there in the original location, perhaps lp jsut didn't mirror it yet [20:19] http://people.samba.org/bzr/jelmer/loggerhead/pathargs [20:22] jelmer, updated [20:22] beuno, thanks! [20:24] jelmer, thank *you* :) [20:24] beuno, while you're here... [20:24] from loggerhead import release [20:24] ImportError: cannot import name release [20:25] it still worked in my own tree because I had the .pyc file around [20:25] but the .py file appears to be gone [20:26] that's still around? [20:26] * beuno greps [20:26] I thought I ahd removed it [20:26] it's in start-loggerhead [20:26] and stop-loggerhead [20:27] removed, committing [20:33] beuno: release is still used [20:33] start-loggerhead line 82 [20:34] rockstar, beuno: other than that, the debian package seems to work fine now [20:35] (configuration file in /etc/loggerhead.conf, logs in /var/log/loggerhead, init script in /etc/init.d/loggerhead) [20:35] jelmer, The one thing we still need is for the daemon to understand userdir branches. [20:35] I'm still trying to figure out exactly what that means. [20:36] Ah, nevermind, it's quite obvious... :) [20:36] jelmer, hrm... did you merge trunk before working on that branch? [20:37] beuno, yeah [20:38] I should stop drinking during the day then, I would of sworn I removed all of those [20:39] beuno, start off by drinking less. [20:40] rockstar, right, one step at a time.. [20:40] :) [20:41] jelmer, removed those too, grep promised me that iw as the last of em [20:41] s/iw/it [20:41] see, I can't even type anymore [20:42] :-) [20:43] Is it easy to remove a branch that was accidentally pushed over the top of a shared repository? [20:43] It is confusing loggerhead :) [20:44] pickscrape, just deleting it will do it. Revision will remain in the shared repo though [20:44] won't be a problem, just take up space [20:44] Delete ~/.bzr/branch ? [20:45] I mean the branch was pushed *to* the shared repo directory, not under it. [20:45] yeah, make sure to get the "branch" bit :-) [20:46] :) [20:46] I'll try renaming it first [20:47] Worked a treat, thanks! [21:07] rockstar, beuno: http://revu.ubuntuwire.com/details.py?package=loggerhead [21:07] jelmer, you're going to *kill* me [21:08] but I just landed a fix that makes it work with pre-bzr 1.6b3 versions [21:08] which should probably be in it, since hardy has 1.3 [21:08] jelmer, and, w00t! [21:08] jelmer, you're still lacking DD's to sponsor uploads, right? [21:09] beuno, yes [21:09] jelmer, I'll forc^ask again today [21:09] hm [21:09] beuno, at the moment for bzr-upload, loggerhead and bzr-search [21:09] is the scanner wedged again? :( [21:09] mwhudson, it is :/ [21:09] beuno, Another bzr-upload upload would be nice [21:10] oh for fuck's sake [21:10] beuno: did you ever get to play with "upload --auto"? [21:10] jelmer, ok, so anything that has to do with me :p I'm meeting with the DD today, so I'll presure enough [21:10] ah, cool [21:10] beuno, are you @ debconf? [21:11] james_w, I handed it out to the user needing it, and haven't heard cursing, so I assume everything went ok :) [21:11] beuno: cool :-) [21:11] jelmer, I'm not. Starting with Canonical full time on monday, so that derrailed my plans a bit [21:11] beuno, ah, cool, didn't know that :-) [21:11] beuno, Congrats on your new job :-) [21:12] jelmer, heh, thanks. I'll make it "official" tomorrow, just did the formal bits today, so I haven't made it too public [21:12] it's been a rumor for a while not though :p [21:13] james_w, if everything goes as planned, we're going to be using bzr-upload at the office *much* more heavily, so it should get more love soon [21:13] beuno: cool [21:14] hey, congratulations beuno [21:14] james_w, thanks! I'm excited to get started [21:17] mwhudson, btw, is there anyway you can set LH's permissions to public by default? [21:23] how do you get BZR to push new files? e.g. images in an image directory? [21:24] TheEric, you first have to version them with: bzr add [21:24] note that bzr add will add everything unversioned [21:24] if you only want a specific dir, bzr add directory/ [21:24] then, commit them [21:25] and push [21:25] beuno, Hmm, loggerhead only supports local urls atm? [21:26] how do i undo a commit? [21:26] i used the wrong commit message [21:26] damn you -m ! [21:26] alex-weej, bzr uncommit [21:26] alex-weej: bzr uncommit [21:26] :) [21:27] jelmer, local branches? [21:27] beuno, yeah [21:27] thanks :) [21:27] hi Jc2k :D [21:27] jelmer, did you update the bzr-upload package, or is it the same? [21:27] beuno, it's the same [21:28] jelmer, IIRC, mwhudson uses http in LP for branches [21:28] beuno, something went wrong during the upload [21:28] beuno, ah, cool [21:28] beuno, I was trying with SVN urls but that seems to cause weird errors while scanning for branches [21:28] jelmer, yes, I'll sit down with her and do it together so nothing goes wrong :) [21:28] ah, excellent. I should've thought of the add bit. [21:29] hi alex-weej :P [21:29] beuno, ah, it looks like it's the auto_publish_folder stuff that doesn't appear to work with remote urls [21:30] beuno: need an lp admin to do that; i think it's a good idea though [21:31] jelmer, the official policy is to eventually remove start/stop-loggerhead scripts, so that may be ery low priority [21:32] beuno, why's that? [21:32] because loggerhead.conf is bonkers [21:33] rockstar, we *will* provide a way to do all the current magic, but with serve-branches [21:33] beuno, ah, I see. My concern is that it needs to run as a daemon. [21:35] rockstar, absolutely, either serve-branches will be optionally work as a daemon, or we'll have a daemon script separately [21:38] mwhudson, you may know this. Where can I find a branch with a NULL revision in it? related to bug #254794 [21:38] Launchpad bug 254794 in loggerhead "root directory view traceback" [High,Confirmed] https://launchpad.net/bugs/254794 [21:39] 5 bugs to go for 1.6 release :) [21:39] well [21:39] all branches have null: in them, in some sense [21:40] oh, maybe it's when you serve-branches in a directory that has a branch with no revisions at all in it? [21:40] bzr init foo [21:40] serve-branches . [21:40] * beuno tries [21:40] ? [21:41] How do I find out from within a Command object's run() method if the user passed --verbose? [21:41] beuno: yeah, seems like it [21:42] mwhudson, I don't get a traceback, just No revisions! [21:42] beuno: run serve-branches from the directory _containing_ the branch [21:43] beuno@beuno-laptop:/tmp/test$ ~/bzr_devel/loggerhead/trunk/serve-branches . [21:43] branch.repository.get_revision(branch.last_revision()) [21:43] isn't going to work in such a branch [21:43] /tmp/test is the empty branch [21:43] beuno: so run it from /tmp [21:43] (i guess "containing" is ambiguous here :) [21:44] mwhudson, same thing, No revisions [21:44] oooh [21:44] wait [21:44] got it [21:45] hm [21:45] I get a different error though [21:45] pickscrape, gets "ReservedId: Reserved revision-id {null:}" [21:45] and I get "NoSuchRevision: KnitPackRepository('file:///tmp/test/.bzr/repository/') has no revision null:" [21:46] I had a sysadmin whining about that one today, saying 'bzr is broken' :) [21:46] i get the same as you [21:47] bzr version differences? [21:47] He hadn't read the email I'd sent out about it [21:47] pickscrape: it's always much more likely to be loggerhead :) [21:47] is vila on holiday? [21:47] mwhudson: well, loggerhead doesn't have 12k+ unit tests does it :) [21:48] pickscrape: no, and we should do something about that at some point [21:48] (well, 12k would be overkill for LH, i think...) [21:49] I'd love to focus on that in the next release cycle [21:49] I've started writing tests for diffstat. It's interesting, and I think I've even found a bug in doing it. [22:27] pickscrape, bug #254794 should be fixed now. Could you confirm it? [22:27] Launchpad bug 254794 in loggerhead "root directory view traceback" [High,Fix committed] https://launchpad.net/bugs/254794 [22:30] beuno: on it [22:31] erm, how strange. I just tried to before updating to make sure I was checking properly and it's working now, which should be impossible... [22:32] i guess the problem branch has a revision in it now [22:32] Nope, it's still a plain directory [22:33] I did update to r201 earlier today though. I wonder if that fixed my problem... [22:33] pickscrape, it must have a dir with a .bzr in it [22:33] with no revisions [22:33] somewhere [22:33] I just checked, definitely no .bzr [22:34] pickscrape, in a directory inside the root one [22:34] so you're at /foo/bar [22:34] where you used to get the error [22:34] so /foo/bar/blah [22:35] has an empty branch in it [22:35] or it should [22:35] beuno: try:except: is pretty evil [22:35] and if it doesn't, it's still fixed, because I changed that part of the code :) [22:35] mwhudson, I know. But bzr 1.5/1.6 throw different exceptions [22:35] though mind you, i put a try:except: around branch.open, so i can't really talk [22:35] beuno: ugh [22:35] and I didn't even want to dig into 1.4/1.3 [22:36] Aha, I think I know what it is. I asked earlier about deleting a ~/.bzr/branch directory that was accidentally pushed over a shared repository [22:36] so I chose try: except: rather than 4 different possible exceptions [22:36] Now that it's removed, it's working. [22:36] I'll update now and try [22:36] mwhudson, but I'm open to doing it better if you can think of something :) [22:37] It still works [22:37] pickscrape, great, thanks! [22:37] I love instant feedback [22:38] bzr users rock :) [22:38] Our sysadmin will be a happy chappy now :) [22:58] I hate how unhelpful LH's logging is [22:59] I wonder what it would take to make it resemble bzr's one... [23:02] Did you mean to change LH's s from "some/branch : changes" to "/some/branch : changes"? [23:03] <beuno> no, whatever goes into debug.log [23:03] <beuno> WARNING:simpleTALES.Context:Exception occurred evaluating python path, exception: name 'url' is not defined [23:04] <beuno> I have *no* idea where that came from === mw is now known as mw|brb === Mathilda is now known as uws === mw|brb is now known as mw [23:28] <beuno> Peng_, re bug #247992 [23:28] <ubottu> Launchpad bug 247992 in loggerhead "Visiting just "/download" or "/download/" redirects to a bad URL" [Undecided,New] https://launchpad.net/bugs/247992 [23:28] <beuno> how is it that you end up in /download? [23:29] <Necoro> hmm ... by the way - is there sourcecode highlighting support for loggerhead? [23:30] <Necoro> and if yes: is there a reason, it isn't turned on LP? [23:30] <beuno> Necoro, nope. But there may be if you file a bug requesting it :) [23:31] <Necoro> I'll do when I'm bored ;) ... [23:32] <beuno> good, I prefer exciting bugs [23:32] <beuno> :p [23:33] <Necoro> beuno: http://pygments.org/ =P [23:34] <beuno> Necoro, oh, did I mention we *love* patches? [23:34] <beuno> even boring ones! [23:35] <beuno> either way, we'd have to make it optional. I don't want to add another dependency for this [23:35] <Necoro> I hope, LH has some way of configuration =P [23:36] <beuno> oh, codescanner just came back from the dead [23:37] <Necoro> anyways ... time for bed ;) ... I'll see what I can do tomorrow ^^ [23:44] * beuno is off to a dinner [23:50] <lifeless> jam: if you want to talk reachability we could skype [23:53] <jam> lifeless: sure, though I don't have long before the standup, and we're going on a walk after that (I guess I could skip the standup today) [23:55] <lifeless> up to you - poolie said you were interested in what I'm thinking about is all [23:58] <igc> morning