[00:18] hi all [00:18] hi poolie, spiv [00:33] hi igc [00:45] mwhudson: Hey hey. Sooo.... :-) [00:45] mkanat: no news is good news! [00:45] mwhudson: Sigh. Not for me! :-) [00:45] although bugs that just evaporate are always a bit diconcerting [00:46] mwhudson: Well, from the trace that you gave me, if that trace was in fact taken at the hang time, it looked like an OS-level problem. [00:46] mkanat: the admins are all in one timezone this week, so it's possible that outages are being fixed in more of a hurry than usual and not reported [01:14] anu idea on how to fix a "bzr: ERROR: exceptions.AssertionError: Unknown kind 'absent' " issue? [01:15] google indicates it happens on revert, but I haven't done a revert on this b..ranch [01:15] er, branch... [01:15] gregcoit: pastebin the full traceback? [01:15] spiv: sure [01:16] gregcoit: (also, please file a bug report, but hopefully we can find an easy workaround for you in the meantime) [01:16] spiv: http://pastebin.com/FGEhnVA2 [01:16] spiv: np [01:18] gregcoit: pastebin the output of "bzr st" ? [01:19] http://pastebin.com/tEin1iJc - aha [01:19] I think I see the problem [01:19] OTHER and THIS [01:20] it's not that way on launchpad, but my guess is this confilct has to be fixed before merge will work... [01:22] gregcoit: the presence of conflicts shouldn't matter [01:22] Hello, I've run into a problem with loggerhead 1.17, but I'm not sure if it's a bug or a configuration issue. Looking for some assistance. Here are the errors I'm seeing: http://pastebin.com/fj24CxgB [01:23] gregcoit: (although it is a bit weird to use 'bzr merge --force', are you sure you want to merge multiple branches in a single commit?) [01:23] jblue: looks like it's expecting a different version of the 'simplejson' modue [01:23] module, rather [01:24] spiv: you're right - that didn't fix it... [01:24] @spiv - it's odd, I'm using the one it came with [01:24] jblue: ok, then I have no idea :) [01:24] spiv: what I'm trying to do is download updates from launchpad without loosing changes i've made locally... [01:24] gregcoit: it does to me look like a bug related to trying to apply a merge to a tree that already has some changes, though. [01:25] So it's possible that if you commit the changes you already have (and you do need to resolve conflicts before you can do that) that then this merge will succeed [01:25] spiv: did we just say the same thing? My understanding of bzr terminology is weak [01:25] spiv: oh, commit locally! [01:25] right? [01:26] Right. [01:26] so i'm not changing the stuff on launchpad... [01:26] brilliant! [01:26] Right. [01:27] @spiv, just curious, whats making you think it's a version issue with simplejson? [01:28] spiv: that worked - thanks!!! [01:28] Typically, the way you keep your own set of changes to a project while tracking updates from the official version is that you make a branch (e.g. 'bzr branch lp:foo'), then in that branch you can make and commit your changes, and you can merge and commit updates using "bzr merge" (and then bzr commit, resolving conflicts first if any) [01:29] spiv: kk [01:29] You usually want to avoid mixing your own edits with merges, so that it's easy to tell them apart later, which is why 'bzr merge' will require the --force option in that situation. [01:29] (So you don't accidentally mix unrelated changes) [01:29] gregcoit: glad I could help :) [01:29] jblue: just that it's reporting that the 'dumps' attribute is missing from that module [01:30] so dumps attrib is related to versioning? (my python is weak) [01:30] jblue: if it's the right version, then you've probably got something more confusing like a circular import or something going on [01:31] jblue: no, I just mean that the program expected to find something in that module, and it wasn't there. A likely cause for that sort of thing is that the module isn't the module it expected. [01:32] ah ok, gotcha. I think I'll backup the existing loggerhead directory, and re-install, then do a diff between the two installations to see if I can identify the problem (assuming the newer install works) [01:34] jblue: There's something wrong with your simplejson install, not Loggerhead, unless you created a file called simplejson.py in Loggerhead's directory or something. [01:35] jblue: Older versions of Loggerhead did not use simplejson; that's why you didn't experience this problem before. [01:37] jblue: By the way, the dumps function existed in the oldest version of simplejson I can find, before it was even called simplejson, so ISTM your installation is broken, not out-of-date. [01:39] yeah it's likely that the install is broken. [01:40] jblue: Just curious, what version of Python are you using? [01:41] umm lemme check [01:42] python 2.5.2ubuntu0 [01:42] er.. ubuntu1 [01:42] Ah. [01:42] basically 2.5.2 [01:42] Well, you can do "python -c 'import simplejson; print simplejson.__file__'" to see where the install is. [01:43] Also, Ubuntu has a package for it, python-simplejsonm. [01:43] strange question - is there a way to bzr ci changes without providing a description of changes? ie: put bzr ci in a script? [01:43] Err, without the m [01:43] gregcoit: Why not just pass -m ""? [01:43] or does it know to now ask for a description if there is no controlling termimnal [01:43] -m I'll look at that - thanks! [01:43] Or, preferably, a somewhat less useless message. [01:43] Peng: ahh, gotcha - yeah, that works [01:44] looks like it's installed. So does simplejson have to be symlinked into the loggerhead directory or something? [01:44] jblue: No. [01:44] jblue: It just has to be not completely broken. [01:44] hrm.. [01:45] jblue: Just out of curiosity, try this: python -c "from simplejson import dumps" [01:45] yay! [01:45] Yay? [01:46] okay, you were right, it was looking for simplejson, which I didn't have installed [01:46] I had to restart serve-branches before it would work [01:46] If you didn't have simplejson installed, the error message should be different. [01:46] It would just die with an ImportError. It found some module called "simplejson". [01:47] odd [01:47] Indeed. [01:48] What exactly did you do to fix it? apt-get install python-simplejson? [01:48] I don't play with python enough to have simplejson installed without it coming from a .deb package [01:48] yep that exactly [01:49] Did you do "python -c 'import simplejson; print simplejson.__file__'" before installing it? [01:49] the rest of loggerhead was working [01:50] no I didn't, I apt-get installed just before you told me to do that [01:50] Oh, darn. [01:50] I can apt-get remove, and run that command, just for curiosity [01:50] Well, I suspect you have some broken copy of simplejson sitting somewhere in your PYTHONPATH. That'd make it easier to finmd. [01:50] find* [01:51] well that box has been upgraded, so it's possible an older copy of python had that file sitting around somewhere [01:53] in any case, thanks for your help [01:53] :) [01:54] If you do have a broken copy of simplejson somewhere, it shouldn't cause problems, but it'd still be good to take care of. [01:54] If only for cleanliness. [01:54] yeah, I'm run 'find' on /usr/, see if it comes up with anything [01:55] Aha! [01:55] root@pse-tools-vcs:/usr# find . -name simplejson [01:55] ./share/python-support/python-simplejson/simplejson [01:55] ./share/doc/python-simplejson/docs/simplejson [01:55] ./lib/python-support/python-simplejson/python2.5/simplejson [01:55] ./lib/python-support/python-simplejson/python2.4/simplejson [01:55] whoops.. should've pastbin'd that [01:57] looks like I have python2.4 still on that system.. with simplejson, wonder if that was what it was referencing [01:57] It shouldn't have, unless your PYTHONPATH is weird or Loggerhead was running with Python 2.4. [01:58] (Does Loggerhead even support Python 2.4?) [01:58] No idea [01:59] I mean, it's probably intended to be compatible with 2.4, but I doubt it's tested regularly... [01:59] i expect loggerhead still works with 2.4 [01:59] but yeah, haven't tried for a few months [02:01] I dunno, weird stuff.. most likely because of the layered upgrades this system has gone through === jblue is now known as jblue_away [02:13] Yes, it works with 2.4. [02:16] You run it with 2.4? [02:22] Peng: Yeah, that's what's on RHEL5. [02:24] Ah. [02:42] hello all [02:43] Is there a means of setting a default path to my local project repository [02:43] * igc lunch [02:44] It is on a different drive than where the bzr.exe runs [02:44] and I'm tired of having to type the full path to the project directory [02:51] any help on whether I can set a default path to my local repository would be greatly appreciated :) [02:55] bye [04:00] Uh-oh, Loggerhead wants something that got removed. Fun. [04:01] (get_revision_inventory) [05:47] * igc bbl === Adys is now known as packman === packman is now known as Adys [06:55] hi all ! [07:06] hello vila! [07:06] hey poolie [07:29] I'm trying to get started with bzr and its eclipse plugin at the same time. After setup I tried a team->status, and it says "Executing xmlstatus C:\src\bazaar\work" forever. === radoe_ is now known as radoe [08:21] another Q: I used bzr-svn to check out a trunk, and create a branch called work. After doing some commits in work, what is the preferred way of getting them back into svn? In trunk I did a pull of new commits from work, and all of a sudden they were commited upstream. Surprised me a bit :) [08:21] Hi [08:21] I just tried Bazaar 2.1.0 on Windows 7/x64, and I got a very weird issue: Running bzr takes literally minutes to execute, no matter what I do. Even bzr help stalls for 3-4 minutes [08:21] Task manager says bazaar is reading ~10 kib/s ... [08:22] 2.0.4 works flawlessly [08:22] Machine speed shouldn't be limiting here _at all_ [08:22] Any idea where to start troubleshooting? [08:26] Bah, seems to be Sophos AV [08:45] tasslehoff, i think normally people commit in a bzr checkout of their bzr branch [08:45] nice nick btw [08:48] poolie: thanks :) [09:04] poolie: hm. I didn't understand your reply. I followed the Simple Example from http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/svn_plugin.html, but when I do multiple commits in my workbranch, I want them to appear as multiple commits in trunk/svn as well. pulling from work->trunk seems to solve this, but it automatically pushes to svn as well. not a problem really, but I need to understand this :) [09:05] tasslehoff, so, bzr's normal model is that you'll just make one commit to trunk rolling up all the changes for that feature [09:05] you can later look inside that commit to see the individual parts [09:05] i think this is also true once it's gone into svn [09:05] if you want them to look like individual commits _on trunk_ then yes you need to pull [09:08] poolie: ok. if I have multiple commits in work that will be one commit in trunk, is there a way to automatically get a trunk commit message with all the work commit messages? [09:10] tasslehoff, i'm not sure about in svn [09:10] i think bzr-email or bzr-hookless-email can be configured to do that [09:11] poolie: not in svn yet. I meant if I do a local merge commit from work->trunk [09:12] yes, bzr-email should support that [09:13] poolie: thanks [09:34] pointless question, but i want to be really sure on this: bzr tracks changes per *commit*, so cherry picking individual commits preserves the details of the change, wheres pulling an individual file *won't* track details? [09:34] Kamping_Kaiser: what do you mean by details of the change, exactly? [09:35] jelmer: committer/diff/commit message largely. i'm trying to decide if i should rebase a branch and pull out individual changes into a diff or try cherry picking out individual commits from the branch [09:36] yes, i acknowledge that i've failed to use the tool correctly if i'm in this possition :/ [09:37] Kamping_Kaiser: cherry picking of revisions won't preserve the commit message etc [09:37] Kamping_Kaiser: the replay command does [09:37] jelmer: I'll check its help, thanks. === gerard_1 is now known as gerard_ [10:45] I've got a usr-committed branch containing a fix, committed against current trunk. I want to turn that fix into a Daggy Fix, i.e. move it somewhere just after the error occurred, and more importantly, before a branching point between series. How would I do this and maintain as much metadata as possible? Cherry-Picking feels like I'd have to migrate one commit at a time, and deal with author and commit messages manually. [10:45] jelmer, is your rebase plugin up to this task? I think I used it to do just that in the past, but somehow can't figure out the proper invocation just now. [10:48] MvG: hi, there is replay command in rebase(rewrite) plugin [10:50] MvG: also, you may just use branch point as base revision for DaggyFix [10:51] bialix: thx, replay sounds good. [10:51] the fix for diff in trac sounds very promising, btw! [10:52] That's the one I want to replay. :-) [10:54] :-) I've thought the same [11:12] trac-bzr 0.3.2 released. :-) [11:17] \o/ [11:25] MvG: many thanks! [11:27] bialix: np. The thanks should really go to James Teh for identifying and fixing the problem. I'll benefit a lot from that myself as well. [11:28] of course. but you maintain trac-bzr and do releases, and build/upload eggs [11:28] so I can easily update my installation now [12:36] hi bialix [12:36] bialix: thanks for the rc2 release btw [12:47] hi igc [12:47] bialix: hi [12:47] igc: you've asked me -- so I've helped you [12:48] bialix: really, really appreciated [12:48] np [12:49] I'm planning to release qbzr 0.18.3 tomorrow [12:50] igc: do we need to pack rc3 [12:50] ? [12:51] bialix: I'm not planning an rc3 at this stage [12:51] well, ok [12:51] it's just easier for me to do releases in row [12:52] bialix: but I'm certainly hoping some of the treewidget bugs can be sorted out soon -gary's doing a good job working through them it seems [12:52] igc: I've updated POT on LP, btw, but it seems some strings are not marked for translations. Have no time to investigate right now [12:53] bialix: bug 395175 is my biggest worry right now [12:53] Launchpad bug 395175 in bzr-explorer "Refresh action can cause segmentation fault or freeze" [High,Confirmed] https://launchpad.net/bugs/395175 [12:53] that and Windows packaging [12:54] igc: I think running it via valgrind is good idea [12:55] I might help with Windows packaging, but on;y on the next weekend, sorry [12:55] I think today is better solution -- is to use our own rc2 installer [12:56] igc: at least as workaround for packaging issue [13:01] hello. I am trying to understand bzrlib sources. I am somewhat unclear on the terms. whats a basis_tree? [13:02] parthm: it's a revision tree of latest committed revision of current working tree, usually [13:03] ok. thanks. if i get revisionspec from a user and i need to look at its content i do a rev.as_tree(context_branch) first right? [13:03] i am wondering what i pass for context_branch? [13:05] basically i am working on bzr-grep and trying to figure out what the best way to cat files of the tree based on revspec given by the user. [13:14] look at the implementation of cmd_cat in bzr maybe [13:15] AFAIK you are need to use something like repo.revision_tree(revid) [13:18] ok. thanks bialix. [13:18] * parthm goes digging into bzrlib code. === bigjools is now known as bigjools-lunch === bigjools-lunch is now known as bigjools [15:08] is there a way to see '--fixes' after the fact ? i can't see it anywhere in log [15:08] ie: bzr commit --fixes "lp:1" -m "mission accomplished" [15:08] but then, how can i later see what fixed lp:1 ? [15:10] I think it's in bzr log in recent version of bzr [15:10] and it's been in bzr qlog since it was introduced [15:11] in bzr qlog you can even search by bug numbers [15:20] hm.. i've 2.0.4 (lucid) [15:20] rm -Rf foo && bzr init foo && ( cd foo && echo "bar" > wark && bzr add wark && bzr commit --fixes lp:1 -m "foo world" && bzr log ) [15:20] doesn't show anything [15:20] related to lp:1 [15:26] ok. next question, how can i figure out what format a branch is in ? [15:27] never mind. found that. === pickscrape_ is now known as pickscrape [16:03] smoser: On lucid, you should have 2.1.0, which would show you the fixes info [16:04] hm.. [16:05] hm... i wonder how i didn't have that version. now i do. === beuno is now known as beuno-lunch === salgado is now known as salgado-lunch === beuno-lunch is now known as beuno [16:49] In bzrlib, if I have a Tree or RevisionSpec object, how can I get the revno? [16:54] parthm: from Tree -- most likely there is no way [16:54] RevisionSpec has special method [16:56] mmm, you can get revid from RevisionSpec, but to obtain revno you have to have branch [16:56] bialix: I see as_revision_id but nothing for the revno. RevisionInfo seems to have an attribute revno, but I don't know how to get RevisionInfo. [16:57] parthm: revno makes sense only in the context of a branch [16:58] RevisionInfo.from_revision_id(branch, revid) [16:58] hmm. I am basically getting bzr-grep to work with history and have a tree and revspec. http://pastebin.com/QprGpETR [16:58] Oh. ok. I think wt.branch should be usable. [16:59] yep [17:00] parthm: look at plugin file-revno [17:00] id_to_revno = branch.get_revision_id_to_revno_map() [17:01] and resulting revno string is ".".join([str(n) for n in id_to_revno[rev_id]]) [17:01] partm: & [17:01] partm: ^ [17:01] because revno can be dotted you have to join it to get string === mordred_ is now known as mtaylor [17:03] Oh. ok. so I get get it directly from the branch. will try. [17:04] beware: branch.get_revision_id_to_revno_map() this is very expensive operation [17:15] Wouldn't it make a lot of sense for bzr to cache that map on disk? [17:15] Surely inspecting it must happen a lot more often than commit / pull happens === salgado-lunch is now known as salgado [17:22] maxb: igc wrote plugin to cache this info IIRC [17:22] Has it been considered whether it would be sensible for bzr core to cache it? [17:22] but it's not in the core. for some reason core devs don't do caches in first place [17:23] * bialix not quite understand maxb's question [17:24] OK - Why is it not done in core? [17:25] bialix: that worked nicely. thanks. now with the rspec given I can grep history for a particular rev and print revno in the result. [17:25] IIRC someone (lifeless?) said that caches makes the performance problems less visible for them [17:26] so core devs trying to increase the speed in firts place [17:26] and then suddenly nobody has the time and inspiration to write caching solution [17:26] partm: nice [17:26] maxb: so I think situation is far from ideal [17:28] Hmm. I agree with "caches makes the performance problems less visible" in general. However, it seems to me that assigning revnos is an intrinsically complex operation that could be done once at tip-change and would not consume much space on disk to store [17:28] yes, I agree [17:29] maybe if igc has polished his plugin more it would find the path to the core [17:29] unfortunately igc is busy with some other serious problems [17:29] and nobody else working on this [17:30] stalemat [17:31] got to go. bye. thanks for your help bialix. [17:31] * bialix waves === deryck is now known as deryck[lunch] [17:40] * bialix waves bye === deryck[lunch] is now known as deryck === mrjazzcat is now known as mrjazzcat-afk === mathrick is now known as _mathrick === _mathrick is now known as mathrick === mrjazzcat-afk is now known as mrjazzcat [20:48] maxb: a revnocache is actually fairly large; pulling down 10MB of data while talking to a remote server hurts performance a lot. [20:48] maxb: our early file formats were essentially using a revno cache [20:48] maxb: add to that that partial rewrites over the network are really complex [20:49] maxb: and that this is a per branch overhead, so you pay a lot of duplication costs. [20:49] maxb: we'd /love/ a robust revno oracle; but its not actually all that simple [20:51] What if it was only ever used locally - never transmitted over dumb transports? [20:51] You could have the time saved for local and smart access, without incurring any additional bandwidth [20:52] maxb: I believe thats what the current revnocache does [20:52] is it sufficient is an interesting question [20:53] I don't have a good answer [20:53] What's the current thinking, if any, on doing that in bzr core? [20:54] I can give you my thinking [20:54] which is that john has done amazing work working around python being silly and slow, with his frozen graph stuff [20:55] so we really should be able to do revno calculation pretty speedily now [20:55] and someone should look at that [22:32] What's the state of bzrp4? It appears to refer to adapt_modules, which looks like it was removed some time ago... [23:01] hi folks, is there a bzr-pipeline that works with bzr 2.1 yet? [23:02] oh, there's bug 527775 [23:02] Launchpad bug 527775 in bzr-pipeline "bzr-pipeline does not work with bzr 2.1 API" [Undecided,New] https://launchpad.net/bugs/527775 [23:15] nDuff: probably stale [23:16] james_w: how's your offline bugs db going? [23:16] james_w: will it offer local-edit-and-queuing? [23:17] I sort of have a cache working [23:17] that's what I want to do, but I haven't started that bit yet [23:18] cool, I look forward to it [23:22] I'm kind of surprised that I couldn't find an existing twisted HTTP caching client [23:48] where's the best place to get a more recent bzr version for hardy? [23:48] is there an official ppa or somethign? [23:48] yes [23:48] its on the downloads page in the website [23:50] * kirkland found it, thanks.