[00:18] igc: I would like to recommend that you reuse the error handling infrastructure from qbzr in bzr-explorer. [00:19] I'll put the details in a mail. [00:19] garyvdm: do you mean something more than the try/except at the app level? [00:19] garyvdm: thanks [00:20] Yes - you need a sys.excepthook to catch everything. [00:20] lalala, releasing bazaar [00:28] igc: No mailing list for bzr-explorer :-( [00:28] Can I create one? [00:30] garyvdm: sure. Another option is the bzr-desktop mailing list I proposed a few weeks back (but I don't recall getting feedback on) [00:30] Ok [00:40] igc: is it ok to import from qbzr in bzr-explorer? [00:42] garyvdm: absolutely. explorer reuses lots of stuff from qbzr including i18n support [00:42] igc: cool [00:50] igc: Did you go on vacation? How was it? [00:51] garyvdm: restful thanks [00:51] Thats good! [00:51] garyvdm: being the middle of Winter here, we had the beach pretty much to ourselves :-) [00:51] Installed Bazaar version 1.16.1 is too old to be used with plugin [00:51] "Bzrtools" 1.17.0. [00:51] :( [00:52] I guess I'd better get releasing [00:52] igc, welcome back! [00:52] hi jml - thanks! [00:55] Seems like everybody makes that mistake on their vacation... it's all going so well, and then they end it. [01:03] fullermd: indeed [01:04] I don't see anything in the NEWS file about fixing 2a bugs. [01:04] there are quite a few nice performance things though. [01:04] igc: Quick! Uncommit leaving the beach before you get more revs on top of it! [01:14] HPSS calls: 45 (17 vfs) SmartSSHClientMedium(connected=False, username=u'jml', host='bazaar.launchpad.net', port=None) [01:14] :\ [01:14] jml: which operation? [01:14] spiv, pushing a new, stacked 2a branch [01:15] Ah ok. [01:15] with tags? [01:16] yeah, one tag. [01:16] without (new) tags is HPSS calls: 43 (17 vfs) SmartSSHClientMedium(connected=False, username=u'jml', host='bazaar.launchpad.net', port=None) [01:17] whats the backtrace of the vfs trigger? [01:17] or, have we landed the patch that disables that :( [01:18] there are two of them. [01:18] (I really think folk should either not care about hpss calls, or care about vfs triggers) [01:18] hi lifeless, spiv [01:18] igc: good morning! [01:19] http://paste.ubuntu.com/216536/ [01:19] Yeah. tags causing vfs calls is pretty high on my hit list. [01:19] spiv: are you open to being convinced to keep vfs triggers tied to -Dhpss? [01:20] lifeless: no, not really [01:20] lifeless: they irritate *me* :) [01:20] lifeless: but more importantly, it means that other people have started turning off -Dhpss [01:20] why are they displayed, rather than logged? [01:21] how to list the remebered locations? [01:21] So if someone on the launchpad-dev team gets unexpected bad performance, and I ask for the -Dhpss log, they'll have to re-run the slow, painful operation before they can give me an answer. [01:22] Which is I think is a net loss compared to making the vfs triggers in-your-face. [01:22] spiv: are they still logged to ~/.bzr.log with the patch that stopped showing them? [01:23] spiv: because I think its still a net loss if we don't get the trigger [01:23] lifeless: I'm not sure, poolie did that patch. I'm fine with them still being logged. [01:23] (even though that makes debugging test failures more irritating, that only really affects me) [01:27] RenatoSilva, 'bzr info' [01:27] jml: thanks [01:27] Hi I just installed Bazaar and in the $HOME/.bazaar directory the only file is "ignore" [01:27] jml: please file two bugs [01:27] spiv, lifeless: anyway, I only mention it because it's something of a regression from the glory days of 8 or 9 hpss calls & no vfs ops. [01:28] jml: a) your scenario writes tags twice [01:28] jml: b) writing tags causes _ensure_real [01:28] jml: yeah. life was better when bzr.dev had no tags ;) [01:28] lifeless, the pasted stack traces were from pushing a branch that has no new tags. [01:28] I was expecting bazaar.conf - any ideas what causes this? [01:28] jml: no new tags != no tags, unfortunately. [01:29] (and the branch was launchpad) === ircleuser is now known as Ebro [01:29] ircleuser: If you do bzr whoami "User Name " it will create it. [01:30] spiv, wow, that sucks. [01:30] Ebro ^^^ [01:30] jml: pushing a new launchpad branch has never had no vfs ops [01:30] mwhudson, really? maybe it was only 1 or 2 then [01:30] sweet! Thanks! [01:30] jml: pushes between existing branches are still 0 vfs [01:31] (i think, anyway) [01:31] mwhudson, nope [01:31] oh [01:31] $ bzr push lp:~jml/launchpad/test-branch-47-2 [01:31] No new revisions to push. [01:31] HPSS calls: 14 (2 vfs) SmartSSHClientMedium(connected=False, username=u'jml', host='bazaar.launchpad.net', port=None) [01:31] jml: please file the bugs ;) [01:32] lifeless, yeah, that's what I'm doing. [01:32] although they'll probably be crappy bugs. [01:33] jml: pull is 0 vfs at least, it seems [01:33] anyway, i'm not here right now [01:36] jml: there's a cheap optimisation in push atm where if you have 0 local tags it doesn't even need to read the remote tags, let alone write any tags. But as soon as there are any tags that obviously doesn't work... [01:40] spiv, makes sense [01:56] hello [01:58] hai [02:00] karmic is booting again, yay :) [02:10] poolie: your patch to mute -Dhpss on vfs events [02:10] poolie: does it make the trace get logged to ~/.bzr.log? [02:11] it moves the existing code to a different debug flag [02:11] so if it was not unconditionally logging them before, it's not doing it now [02:11] poolie: I would like, and I think spiv would do, if someone has -Dhpss, those events should get captured *somewhere* [02:12] why not just set the other flag? [02:12] poolie: because otherwise they have to reproduce the event [02:12] who? [02:12] the person reporting [02:12] the reason we added that flag was to get more data in bug reports [02:12] so we're talking about people who do have hpss set in their config options? [02:12] yes [02:12] but they can't be told to set the other flag? [02:13] well, ok [02:13] setting the other flag means they have to reproduce it again [02:13] rather than grabbing their log and attaching [02:13] i can see a lot of lp people probably do have Dhpss set, and it would be annoying to do it all over again [02:13] i don't really object, please yourself [02:14] ok [02:14] it's just that spewing it to stderr was way too much [02:14] I did that on the basis that noone would have Dhpss set unless they were working on the network stack [02:14] yeah [02:14] however it seems we have a bunch of voyuers ;) [02:14] a reasonable assumption but not actually true :) [02:14] i like having it on for background awareness [02:15] 'care about networking' is not precisely 'working on networking right now' [02:15] its kind of like the big display in windows defrag programs [02:16] hm [02:16] Perhaps we have voyuers, but also we frequently ask bug reporters and psuedo beta testers (like people on the lp team) to use it. [02:16] maybe a bit more useful than that [02:16] like i did actually use the trace while testing stacking against launchpad to see what it was doing [02:17] spiv: sure, the point is that if they have it set by default rather than on-request. [02:17] but that's not the same as looking for new things to fix [02:17] spiv: I'm not arguing against the change thats been made; I'm arguing for capturing sufficient data in a reasonable place. [02:17] lifeless: right. [02:17] actually maybe that's the difference, are you looking for trouble in the sense of open to being told about new things to improve [02:17] anyhow by all means capture it [02:17] even capture it unconditionally if you like [02:18] two other ideas re bug reporting: [02:18] one is, maybe we should record the reason why plugins failed to load and show it from 'bzr plugins' [02:18] at least the actual error message [02:18] i think at the moment failed ones are not shown at all [02:18] I think of the VFS trace as being the same as the HPSS trace; they are both showing whats going on. I appreciate that the noise was too much [02:19] and as a further step maybe don't show anything to stderr, just put it in there [02:19] and the second was, maybe have a global weak dict of open repositories etc [02:19] and show it in the error reporting tb [02:19] so we don't need to go back and ask for bzr info [02:19] hm [02:19] possibly that could be subsumed by just getting a full traceback through something like apport [02:20] I'm not keen on the word global there [02:21] I like the idea about plugins [02:22] i guess rather than being global we could look for things on the relevant stack [02:24] i might file a bug for that at least then [02:24] spiv, how's your stuff today? [02:47] thanks for the knockon errors review [02:47] what was that prefix you put in bzr selftest :plugin ? [02:47] bzr selftest -s :plugin [02:54] foodink [03:03] back [03:04] mwhudson: hi [03:04] jelmer: hi [03:04] jelmer: i was going to ask about the python2.4 subvertpy bug [03:11] hello jelmer [03:13] hi poolie, jelmer === jml changed the topic of #bzr to: Bazaar version control system | 1.17rc1 released 13th July, 2009 -- please test it! | 1.16.1 released 26th June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ [03:16] 'moin mwhudson, poolie, igc [03:16] g'day jelmer [03:17] hey jml [03:17] hi jelmer [03:17] lifeless: hi [03:17] mwhudson: Not much news yet, but I'm pretty sure I'll have it fixed before the end of the week [03:19] I've made this diff after merging the 1.17 branch into trunk: http://paste.ubuntu.com/216582/ [03:19] can someone quickly sanity check that for me [03:19] please [03:19] . [03:19] . [03:20] looks good to me [03:20] thanks. [03:20] * jml pqm-submits [03:21] poolie: good, I have literally only two issues left on my todo list for the inventory-deltas streaming branch. [03:21] cool [03:23] poolie: 1) two tests failing with pack already exists error when an autopack happens on a 2a repo (maybe bug 382463 ?), 2) making a new get_stream verb so that old clients won't receive inventory-delta records they can't handle (and arrange for deltas not to be streamed via the old verb, of course). [03:23] Launchpad bug 382463 in bzr "'bzr pack' of an already packed dev6 or 2a repo fails with Pack exists" [Medium,Triaged] https://launchpad.net/bugs/382463 [03:24] Oh, and I'd like to do a bunch of manual testing, but that can happen concurrently with the code being reviewed. Once I fix 2) I'll make the merge proposal. [03:25] * igc lunch [03:50] spiv: 382463 occurs on fully packed repos [03:50] spiv: it shouldn't ever happen on autopack [03:51] spiv: do you perhaps have an empty pack? [03:51] thats unlikely as we have guards for it [03:51] spiv: also we want to push verbs [03:52] spiv: sorry rephrasing. Could you add 3) a new insert_stream verb, please. [03:53] I don't think the pack is empty, as the name changes from test run to test run, which implies content. [03:53] ack [03:53] It's triggered by the self.target_repo.pack call in _locked_insert_stream [03:53] oh [03:53] I bet I know [03:54] you've one stream right? [03:54] and a new repo? [03:54] If you grab lp:~spiv/bzr/inventory-delta and selftest test_fetch_parent_inventories_at_stacking_boundary_smart you'll see it. [03:54] spiv: I'll give you a couple of hints now. If they don't help ping me later and I'll push stack and look at it with you [03:55] I suspect the following conditions are occuring: [03:55] - you upload a single pack [03:55] Off the top of my head, I think one stream + new repo is true. [03:55] - the pack is sufficiently simple that the sort order for its contents are the same as the upload order happened to generate [03:56] - the group splitting heuristics happen to line up at the same boundaries [03:56] It's also likely that this is a code path that wasn't being hit before (because InterDifferingSerializer was covering this case). [03:56] -> collision, with the same content. [03:56] so this is natural. [03:56] Yeah. [03:56] some possibilities to avoid id: [03:56] FWIW, if I replace the raise with a return the offending tests are happy. [03:57] (unsurprisingly) [03:57] - deliberately send in a slightly different order, to force the pack to do it in a different order [03:57] (ugh) [03:57] Yeah, I don't like the sound of that one. [03:57] - fix the long standing 'genuine collisions error rather than checking the content is the same' bug [03:58] (note that this needs to also check the indices are the same, I *think* the bug notes that) [03:58] That sounds like the right fix, but I'd be happy for someone else to do it ;) [03:59] - make the pack(hints...) method pass a flag down that means the repo can recognise that it just repacked pack FOO and got FOO and back it out rather than actually replacing at all. [03:59] I think the third will perform best [03:59] Hmm. [04:00] Can you elaborate on that third option? [04:00] I'm not really sure what the hint does (I haven't dug very deeply into this yet). [04:00] the hint says 'repack these specific packs' [04:01] I think it's just a "hey I just added this new data, so just focus on packing that bit" arg? [04:01] its allowed to be ignored if the repo can't do partial packs or whatever. [04:02] Ok, thanks. [04:03] Doing that pack-with-hints is what stops a delta inserted into a 2a repo from being GB's in size ;) [04:15] lifeless: btw, the branch already adds a new insert_stream verb. [04:15] spiv: cool [04:15] spiv: scratch 3) then :P [04:29] hey spiv [04:29] thanks for the update [04:31] jelmer: cool [04:32] jelmer: it looks like launchpad on 2.5 is going to take a little longer than we would like, so fixing the bug would be really nice :) [04:32] \o/ 24/27 inventories fail to error when the path is mismatched with the parent id [04:56] How can I check what revision I'm on in a branch? [04:57] bzr revno [04:57] thx [05:19] bbiab [05:45] jml: when adding the empty sections to NEWS at the start of a release, ... [05:45] I think "Internals" belongs later, e.g. after "API Changes" [05:46] igc, I think you're right. [05:46] jml: I'm about to tweak and land the Upgrade Guide [05:46] jml: so I'll tweak that while I'm at it [05:46] igc, thanks. [05:46] the 'releasing' guide should be updated to say 'add empty sections to the NEWS file' and probably should include a template for doing so. [05:46] I'll file a bug for that. [06:14] hello igc, welcome back! [06:14] well done on the release jono [06:14] and welcome back too [06:14] hi poolie! [06:15] lifeless: intercepting http proxies are not the answer, 'no' is the answer :) [06:20] lifeless, where's your whitepaper on interface testing? [06:20] poolie, thanks. [06:27] pygi, g'day [06:28] good morning jml :) [06:34] jml: I should update. Its on people.ubuntu.com. [06:34] poolie: they may be the cause though :P [06:35] lifeless, I find myself having to describe the concept increasingly often. An updated version would be nice. [06:36] jml: its time has come! [06:36] I want to add prose about balancing costs and fragility === thumper_laptop is now known as thumper [07:09] ok, EOD for me, a bit late (don't ask when I started :P) [07:10] currently fixing tree.apply_inventory_delta to not corrupt dirstate with duplicate file ids. [07:18] hi all [07:23] hello vila [07:23] writing a post about 2.0 and beyond [07:23] great [08:39] * igc dinner [09:21] is it possible to do a diff against the previous revision without knowing the revision number? like something like bzr diff -r -1 ? [09:22] yes [09:22] but -r -1 means the most recent revision [09:22] anywho: you probably want diff -r -2 [09:22] (that'll be the difference between the most recent but 1 commit and the tree as it is now) [09:24] that works but so what is the purpose of -1 in this case? it would never work, right? [09:36] anywho: It will show you the difference between the last committed revision and your working tree, i.e. the changes that are not yet committed [09:38] anywho: Basically -1 == HEAD [09:38] got it [09:39] thanks [09:48] good night all [10:21] night poolie [13:27] Anyone know why branch we create on our remote repository are created without group write? I have umask 022 in my /etc/profile, am I missing something? [13:27] *branches [13:32] awmcclain: 1) maybe you meant umask 0002 and 2) you probably want sticky group bit on the remote repo directory? [13:32] AfC: Yeah, I _just_ realize that about the umask, and the sticky bit is set. [13:33] Thank you.l [13:33] realized. [13:33] Ug, one of those typing days. [13:34] Hrm... do I need to restart a daemon for that /etc/profile change to happen? [13:38] Hrm... no, i have umask set to 0002 now, and I'm still getting the same permissions problems. [13:46] Does bzr not use /etc/profile? [13:58] awmcclain: It is not bzr's job to use or not use /etc/profile. That is up to the shell [13:59] maxb: Ubiquitous! [13:59] :-) [14:00] maxb: So, PAM is...what, a kernal module? My linux-fu is quite poor, I'm unfamiliar. [14:01] pam came from solaris ;) [14:04] maxb: So, if I'm reading the man page correctly, I'm going to add a line to my /etc/pam.d/login to alter the umask? [14:27] awmcclain: Doubtful that "login" has anything to do with ssh-based connections [14:35] login is for the 'login' binary.. which is used by getty et.al. for virtual consoles [14:38] If you're using ssh+bzr or bzr+ssh or whatever it's called, then surely it's up to your shell's non-interactive startup to set umask? [14:50] morning all [14:57] Hi! With which bzr command can I find out which files in the Working tree are version-controlled? [15:02] homy: bzr ls --versioned ‽ [15:05] wow, it's not often you see an interrobang used in conversation :-) [15:06] Talk: thanks.I didn't find that in the Bazaar User Guide http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html. [15:07] maxb: it is when I'm around :-P [15:10] i want to create a branch from a repo that includes all but some intermediate revisions, e.g., r1..100 and r105..200, which is the best way to do it? [15:10] s/best/proper/ [15:51] abeaumont_: branch in the normal way, then merge out those revisions? [15:51] or maybe branch the first revision group, then merge in each successive group === abeaumont_ is now known as abeaumont === michaelforres is now known as michaelforrest === kiko is now known as kiko-fud === obstriege is now known as obst === maxb_ is now known as maxb [17:29] Hi all. Is there a mailing list where I can post a feature proposal (and possibly work on it)? [17:32] Any launchpad staff here at the moment? I have a question that regards launchpad ignoring my mail address during registration [17:39] Adys: there is just the main development mailinglist: https://lists.ubuntu.com/mailman/listinfo/bazaar [17:40] amanica_: is it better to write a blueprint about it, or an email first? [17:40] Adys: maybe mail first [17:40] Ok [17:41] Adys: sometimes feature requests are submitted as wishlist bugs, but blueprints sounds better [17:41] Adays: btw. put [RFC] as the start of your mail [17:41] subject [17:41] Ok, thanks a lot :) Ill send it tonight [17:41] cool [17:50] jelmer: you have an interesting definition of "four" [18:00] SamB: hmm? === kiko-fud is now known as kiko [18:09] jelmer: bzr-svn also adds four new commands to Bazaar: [18:09] - bzr svn-import [18:09] - bzr svn-layout [18:09] For more information about bzr-svn, see the bzr-svn FAQ. [18:09] oh, right [18:09] two were integrated into bzr [18:10] SamB: fixed, thanks [18:11] hmm, you might want to mention those on that page because they're probably particularly useful for SVN repositories? [18:12] jelmer: I'm trying to narrow an exception down in bzr-svn that occurs on our repo if you start without a cache [18:13] jelmer: I think it is because layout.get_tags(self, from_revnum, project) returns [] [18:13] * LarstiQ files bug with traceback [18:15] amanica_: Ok. sent the mail. I gotta run for a couple of hours now. thanks again :) [18:17] jelmer: bug 398908 [18:17] Launchpad bug 398908 in bzr-svn "branching results in: ValueError: need more than 3 values to unpack" [Undecided,New] https://launchpad.net/bugs/398908 [18:19] * LarstiQ prepares to go home [18:20] LarstiQ: is this also with current bzr-svn ? [18:21] LarstiQ: since I fixed an issue like that recently [18:21] LarstiQ: yeah, I'm pretty sure this one is fixed [18:22] * LarstiQ checks [18:22] What's ETA for 1.17, or is that an annoying FAQ that does not have an answer? [18:23] kfogel: Usually the release manager posts a timeline for the release cycle before it starts, not sure if that happened for 1.17 [18:23] jelmer: timemachien yay :) [18:23] kfogel: I can't find anything, but usually it's about a week or so after the rc [18:24] kfogel: barring any release critical bugs that would require a new rc [18:24] SamB: They just happened to be commands that were hard to integrate into Bazaar, I don't think that's a valid reason for listing them there. [18:25] jelmer: right [18:25] SamB: for the record, these two commands were svn-push and svn-set-revprops (now: push and reconcile) [18:25] jelmer: ah. [18:26] svn push doesn't really need listing there, true [18:26] jelmer: was that revno 3097? [18:26] and I guess reconcile neither [18:27] though I'd never have guessed that it altered revprops in the SVN repository -- you do have that in the FAQ somewhere? [18:27] and I'm also not sure how svn push works when you've a complicated tangle of Bzr revisions to push -- what branches do they all get pushed on? [18:30] jelmer: applying 3097 to 0.6.2 fixes it for me, cheers! [18:55] SamB: it does a similar thing to what reconcile does in bazaar repositories - fix revision metadata; in this case that revision metadata happens to be stored in revisin properties [18:57] why bzr st sometimes reports file names with '*' at end? it breaks my scripts [19:08] hsn_: * means a change in the executable bit === davidstrauss_ is now known as davidstrauss [19:27] Hi all. I am new to bzr and have a basic question: I have a branch that I have run the "bind" command on to convert to a checkout, but when I got to try to edit a file it is locked. [19:28] What is the correct process to follow so my branch is unlocked and editable? [19:28] thanks [19:28] Skoorbulous: could you provide a bit more information? [19:29] It is a website and I am trying to starty with a simple bzr model whereby I simpy bind a branch to convert to checkout, make edits, unbind, commit [19:30] not sure if that makes sense but I do not want to create a whole local copy of it to make changes [19:31] Skoorbulous: what specifically do you mean with 'it is locked'? [19:32] it is locked by root so when I try to edit it with a text editor it tells me I do not have write priveleges [19:32] I thought that bzr probably locked everything up [19:33] Skoorbulous: could you please pastebin a transcript of the command you run and it's output? (http://pastebin.com) [19:34] I am trying to edit with a text editor on my mac - so there is not really a command that I can paste [19:34] Skoorbulous: as is you are leaving out the information from which to determine what is going on [19:34] Skoorbulous: and this text editor has bzr integration? [19:34] Skoorbulous: or what is the message it comes up with? [19:34] no its just a standard text editor. Can I not use standard software to edit my files if I use bzr? [19:34] jelmer: wow, SVN uses a dumb protocol ... [19:34] Skoorbulous: are you just having regular unix permission problems? [19:35] Skoorbulous: yes you can, but now I think your issue has nothing to do with bzr [19:36] It says "Are you sure you want to unlock entry.php that doucment is owned by "root"" [19:36] SamB: ? [19:36] I did not have permission problems until just now when I added bzr [19:36] jelmer: oh, maybe it's not quite as dumb as it looks ... but this server is being silly, at least: === sidnei__ is now known as sidnei [19:37] Transfer-Encoding: chunked [19:37] Content-Type: text/xml; charset="utf-8" [19:38] Skoorbulous: well, why is entry.php owned by root? [19:39] I guess I must have been in root when I added the directory to bzr - would that have done it? [19:40] hmm, I wonder why the SVN client doesn't send an Accept-Content-Type header? [19:41] Skoorbulous: I wouldn't think so [19:41] hmm [19:42] thanks for your help - this is a stupid question, but how do I convert everything back to ownership by a different user? [19:42] jelmer: I don't suppose it would be possible for bzr-svn to pipeline it's requests? [19:43] SamB: it is, see the bug report about replay in bzr-svn's bugtracker [19:43] ah [19:43] that's nicer than I somehow expected === fbond_ is now known as fbond [19:44] though it's obviously feasible from the protocol POV, at least for the HTTP protocol [19:45] !bugs bzr-svn [19:45] Sorry, I don't know anything about bugs bzr-svn [19:45] aww. [19:45] Skoorbulous: chown user -R [19:45] SamB: https://launchpad.net/bzr-svn/+bugs [19:45] jelmer: ah, thanks [19:45] would be nice to have a bot command for that or something though ;-) [19:45] SamB: svn isn't "standard" http, it uses REPORT to fetch revision delta's [19:46] jelmer: I can see it does that [19:46] I just happened to catch some of it's requests in wireshark when I was looking for something else [19:49] any bzrtools deveoper here? [19:49] jelmer: afaik, HTTP pipelining is possible iff you can make multiple requests on one connection, and that's sure what seems to be happening here [19:49] s/eo/elo [19:49] SamB: sorry, I should rephrase. with replay pipelining should not be necessary afaik [19:51] jelmer: ah [19:53] * SamB wishes he could profile bzr-svn's heap traversal ... [19:53] * jelmer wishes he could, too [19:54] I would think it had a space leak if it didn't keep swapping that stuff back in [19:55] * SamB wonders how impossible it would be to actually implement such a thing [19:55] I mean, it's not actually impossible [19:56] ... you could do something with valgrind ... [19:56] verterok: it breaks bzr-eclipse too [19:56] (in a new skin, of course) [19:59] hsn_: ? [19:59] ... but you might need to hook Python's allocators in some fairly nasty ways to get memory objects sufficiently segregated to actually notice when one is used for the first time in a while [19:59] Adys: cool, I saw. I like your idea and am also tempted to contribute. [19:59] hsn_: a change in the executable bit? [19:59] SamB: yes [20:00] I guess whatever cachegrind's approach is would allow doing it without allocating each Python object on it's own 4k page, at least [20:02] of course, you'd also want to take snapshots of the arrangement of the heap like that tool that was introduced on the bzr list... [20:03] hmm. you might need to deactivate/delay deallocation due to refcounts reaching zero, too ... [20:03] (I assume Python still has refcounts?) [20:04] yeah, ther'es refcounts [20:05] ... otherwise, you'd not be able to get any sense out of accesses to objects that were both allocated and deallocated between one snapshot and the next ... [20:08] ... I guess you'd probably want to deactivate the access logging while running the cycle collector, too [20:13] SamB: CPython does [20:13] Skoorbulous: did that help [20:13] Skoorbulous: ? [20:14] LarstiQ: yeah, I was talking about CPython [20:14] using valgrind to profile a program running under Jython would probably be rather useless [20:14] SamB: there are way more Python implementations than those two :) [20:15] or PyPy, or IronPython, or ... [20:15] * LarstiQ nods [20:15] personally I need/want to look at Stackless soonish [20:15] guess I should have used an 'e.g.' [20:16] I think Stackless doesn't really count as different from CPython for my purposes [20:16] I mean, about the profiling thing [20:16] fair enough [20:17] SamB: so how about that bzr memory profiler you mentioned earlier? That has worked for us [20:18] LarstiQ: I just want to see what bzr-svn is keeping so much stuff in RAM for [20:19] and, worse, apparantly using it [20:19] SamB: then I can recommend it [20:19] SamB: which version of bzr-svn is this specifically? [20:19] jelmer: did you improve it recently wrt that? [20:20] SamB: yeah [20:21] what was the issue caused by? [20:21] multiple copies of a file kept in memory === beaumonta is now known as abeaumont [20:23] how recently? [20:23] oh, and why did you remove the branching schemes help topic? [20:25] oh, apparantly I had the latest code before I told you about that incorrect use of "four" in the help [20:25] ... no, wait [20:25] SamB: it was fixed since 0.6.2 [20:25] confusingly, bzr pull -v lists changes *in order* [20:25] not reverse order as one would expect [20:26] SamB: I removed the branching scheme help topic because it's only relevant for people who are doing interoperability with bzr-svn 0.4.x [20:26] SamB: and there's no way to hide help topics in bzr atm [20:26] jelmer: eh? [20:27] SamB: ? [20:27] * SamB reads the patch ... [20:27] jelmer: oh, how do you find branches now? [20:28] SamB: repository layouts [20:28] jelmer: oh! [20:29] missed the part where there were too versions of the concept with different names [20:29] ;-) [20:29] well, it's not exactly the same concept [20:29] well, no [20:29] I did say "versions" [20:30] right, sorry [20:30] er. and I should have said "two" rather than "too", shouldn't I have ;-) [20:31] * SamB is relieved, considering that he had to put something in .bzr to get anything sensible for the repository that contains PuTTY [20:34] jelmer: oh, speaking of which, it might be usefull if you would do full globbing of branch paths in ~/.bazaar/subversion.conf [20:34] you know, with ? and [abc] in addition to * [20:39] * SamB wonders if the japanese have a wide copyright symbol ... [20:40] ... nuts. they don't seem to :-(. [20:43] Hello people [20:43] Does anyone know if there are IRC commit bots for bzr branches hosted on LP, by chance ? [20:49] jelmer: hmm, bzr doesn't much like being killed mid-branch, does it? [20:49] verterok: hi [20:50] amanica_: cool, glad to hear :) if you got any suggestion do tell on the mail [20:50] RenatoSilva_: hi! [20:51] Adys: ok, hope I get round to it [20:56] verterok: hi, I've sent you a replacement for the log view fix. The fix was generalized to solve another problem, the one I thought it was related to JSDT. I also added another fix to iirc revno which was sending a non-ascii file:// URL to bzr which was causing an error in error view. These changes are in my branch bzr-java-lib/encoding-fixes. I also changed xmoutput's code to make xmlannotate work with non-ascii paths (this is [20:56] verterok: This change is in bzr-xmlouptut/encoding-fixes (which was previously merged). [20:56] RenatoSilva_: oh, cool! [20:57] RenatoSilva_: I'll take a look to the merge proposal(s) tonight [21:05] LarstiQ: I tried the chmod -R * and it still reports that the files are owned by root [21:05] verterok: I detected the xmlannotate issue while running bzr-eclipse tests. Now there are only 3 test failures, all regarding path comparison. The one expected is like a\b\c but it is returned a/b/c. As they're not literal values, I wasn't sure about which one was correct so that I could try fixing it. So I'm just telling you. [21:06] Skoorbulous: you did supply the correct user to chown to? [21:06] RenatoSilva_: bzr-eclipse or bzr-java-lib? [21:06] verterok: sorry, bzr-java-lib [21:06] Skoorbulous: oh, and chown, not chmod [21:06] Skoorbulous: so, in my case: `chown larstiq -R .` [21:07] RenatoSilva_: oh, ok. I'll take a look to the while doing the review [21:08] verterok: there are some test failures in xml-output too. One tries to find a python/executable entry in xmlversion, however in my case it is returned a python/dll (bzr built-in) [21:08] RenatoSilva_: oh, bzr.exe, right? [21:09] RenatoSilva_: I'll change the test to be bzr.exe friendly [21:10] verterok: It was like assertEquals(1, count(pythn/executable)), then I tested a change... [21:10] RenatoSilva_: could you file a bug about this and the failing tests in bzr-java-lib? that will help us to keep track of this issues [21:10] verterok: assertEquals(1, count(python/executable) + count(python/dll)) [21:10] verterok: the other failure is an XML parser error for a weird non-sense non-ascii char inside the output of some command (I can't recall which one) [21:11] verterok: I couldn't find where that char came from, it didn't even make sense in the XML [21:12] RenatoSilva_: weird... if you can reproduce the error, please save the traceback [21:12] verterok: let me see [21:13] * SamB wonders if bzr branch shouldn't repack revisions every so often in mid-branch rather than waiting until the end [21:16] how to avoid searching all plugins in selftest? [21:17] RenatoSilva_: -s bp. [21:18] LarstiQ: oh dot, I was trying semi-colon [21:18] RenatoSilva_: bp. is actually a shorthand for bzrlib.plugins. [21:18] LarstiQ: what does bp stands for [21:18] LarstiQ: ah ok [21:18] RenatoSilva_: so it is the python identifier for the containing module [21:19] RenatoSilva_: some of those we use so frequently, they have shorthands, like bp for plugins or bt for tests [21:19] sorry, bzrlib.tests, to be complete [21:21] FYI, bzrtools delivered with bzr 1.16-1 has a test failure, it tries to load a test module which does not exist [21:25] verterok: if bzr st reports filename* then bzr-eclipse doesnt see it as changed [21:26] * RenatoSilva_ tried right now run it at work, many more failures: http://pastie.org/544640.txt [21:26] hsn_: oh, good catch :) [21:26] hsn_: would you mind to file a about this? [21:27] LarstiQ: it worked! Thanks so much. Now my problem is when I run bzr annotate file it spits everything out apparently in one long string without crlf - it is so messy I can't make anything of it [21:28] Skoorbulous: does the file actually contain more than 1 line? [21:29] it is a php file and it apparently does when I open in a text editor [21:29] Skoorbulous: what does wc -l say ? [21:29] verterok: http://pastie.org/544652.txt [21:29] it says "0 batch_production.php" [21:30] SamB: patches to support more kinds of globbing are welcome as long as they come with sufficient tests [21:30] Skoorbulous: I guess you're hosed -- you seem to be depending on word wrap [21:31] RenatoSilva_: FAILED (failures=35, errors=1) is what I get for bzrtools [21:31] it definitely has multiple lines I guess there is an encoding compatibility problem or something [21:31] verterok: the error if for the weird char, the failure is for the python dll instead of executable [21:31] Skoorbulous: ... it didn't originate on a Mac, did it? [21:31] SamB: it's fairly independent of the rest of the code [21:31] yes it is on a mac [21:31] Skoorbulous: ah. [21:31] and probably originated from a mac [21:31] LarstiQ: you mean it's normal? [21:32] verterok: you want output of bzr xmlstatus? [21:32] SamB: bzr branch does indeed fail if you break it, see a recent discussion between lifleless and me on the mailing list for details [21:32] Skoorbulous: oh. it probably uses only CR as the line seperator... [21:32] helo [21:32] so I should just find a way to convert all cr to crlf? [21:32] hsn_: no, not needed, just to keep track that the decorator isn't handled the change of the executable bit [21:32] jelmer: I'm talking about what it leaves behind [21:32] what is more correct: "ghost revision" or "revision ghost"? I'd say ghost revision [21:32] RenatoSilva_: ok, looking [21:33] RenatoSilva_: ideally, it wouldn't be. But I have no idea about bzrtools development [21:33] jelmer: oh, and breaking was insufficient [21:33] I had to ^Z and kill it [21:33] RenatoSilva_: it doesn't seem to be a problem specific to your computer if that is what you're asking [21:33] hsn_: that info is in xmlstatus, it's just bzr-eclipse not using it :/ [21:33] * SamB looks, however [21:33] SamB: that, shouldn't be needed [21:34] it wouldn't have been if the first ^C didn't start it trying to repack [21:34] SamB: ^C always works for me [21:34] which was thrashing awfully [21:34] I only have ~512 MiB of RAM [21:35] SamB: but yeah, the recent mailing list thread should explain most of the reasoning [21:35] SamB: it should probably just remove the directory, [21:35] jelmer: yeah [21:35] at least when there isn't a repository in it [21:36] dunno about if there is [21:37] s/if for/is for [21:37] LarstiQ: at home when I try just selftest it stops in bzrtools while loading a non-existing test module [21:38] jelmer: so what's the subject of this thread? [21:38] RenatoSilva_: that I don't get [21:38] RenatoSilva_: I need to debug this, so I'll push it for later, still at work [21:38] RenatoSilva_: do you know which one? [21:38] LarstiQ: I don't think 'ideally' [21:38] LarstiQ: which module? I can't recall [21:38] LartiQ: so I should just find a way to convert all cr to crlf? [21:39] Skoorbulous: that would be a workaround [21:39] Skoorbulous: (and something I'd personally do anyway) [21:40] LarstiQ: I guess it's test_fetch_ghosts [21:40] I have a module I am working on that I keep in a bzr repos that I branched into a svn project and I wanted to push back some changes [21:41] but when I do bzr segfaults saying the svn repo is locked (which it is). however after i svn cleanup, and try to push again bzr is doing the locking [21:41] verterok: bug 398997, bug 399000 [21:41] Launchpad bug 398997 in bzr-xmloutput "Test failures and errors on Windows" [Undecided,New] https://launchpad.net/bugs/398997 [21:41] Launchpad bug 399000 in bzr-java-lib "Test failures on Windows" [Undecided,New] https://launchpad.net/bugs/399000 [21:44] i dont want bzr to do anything with .svn besides ignore it [21:44] moin [21:44] verterok: with all these changes in bzr-xmloutput, bzr-java-lib and redstone xmlrpc, I could run bzr-eclipse pretty fine in Galileo :) [21:45] verterok: I mean, with non-ascii paths [21:45] jskulski: uninstall bzr-svn [21:45] jelmer:: anything less drastic? [21:45] i need bzr-svn for other projects [21:46] jskulski: you can specify --no-plugins, which will disable all plugins including bzr-svn [21:47] jelmer:: thank you [21:47] is there simple version control software I can use? I feel like bzr is a little complex and hard to use for simple mortal beings like myself [21:47] Skoorbulous: ! [21:48] Skoorbulous: bzr is the easiet vcs i've ever used :) [21:48] Skoorbulous: what difficulties have you had? [21:48] well shoot I am an idiot then [21:48] Skoorbulous: or maybe i'm just too used to svn [21:48] well for example now I'm going to have to find a way to convert all the cr in all my files to crlf [21:48] I'd prefer not to have to learn unix just to control the versions of my website [21:49] verterok: BTW, https://bugs.eclipse.org/bugs/show_bug.cgi?id=282226 [21:49] bugs.eclipse.org bug 282226 in CVS "CVS feature abstraction" [Enhancement,New] [21:49] Skoorbulous: not sure what that has to do with version control? [21:49] jelmer: so ... what was the subject line on this email thread ? [21:49] SamB: I'm not sure exactly [21:49] jelmer: date? [21:49] exactly - it has nothing to do with version control so it would be nice not to have to do all these things just to be compatible with bzr [21:49] I think it was in a thread about being able to resume bzr-svn branches [21:50] SamB: it was in the last 30 days [21:50] my website doesnt seem to mind that I have cr in my docs [21:50] gee that helps a lot :-( [21:50] Skoorbulous: you don't need to convert your files to use bzr on them [21:51] well for example I can't use annotate because it sees everything in the file as one line [21:51] Hm [21:51] what version of bzr are you using? [21:51] me? I'm using the latest version. Just installed yestereday [21:53] RenatoSilva_: thanks for the bugs :) [21:53] RenatoSilva_: that's great! you did most of the work ;) [21:54] RenatoSilva_: oh, that would be excelent (https://bugs.eclipse.org/bugs/show_bug.cgi?id=282226) [21:54] bugs.eclipse.org bug 282226 in CVS "CVS feature abstraction" [Enhancement,New] [21:54] Skoorbulous: that is true. However we're currently working on annotate to improve it; when thats been done it will be able to annotate files with other End-Of-Line formats. [21:55] verterok: I can't wait for new releases of bzr-java-lib and xmloutput :) [21:56] RenatoSilva_: as soon all this fixes land in trunk, new version..maybe a big jump to 0.9 [21:56] Lifelss: can you suggest a way that I can convert my docs to an end of line symbol that will work with bzr and continue to fuction on my mac web server? [21:56] verterok: the only problem is xmlrpc, I will still need a patch to make it work [21:56] RenatoSilva_: why? [21:57] verterok: because it was the ExPat error, do you remember? It is caused by redstone client declaring utf-8 in XML to send, but sending platform default bytes. Then I did that patch, but they need to release it right? [21:58] RenatoSilva_: oh, I completely missed that \o/ [21:58] RenatoSilva_: I can bundle whatever version of redston xmlrpc we need [21:58] in bzr-eclipse [21:59] verterok: what do you mean [21:59] RenatoSilva_: your patch to the redstone xmlrpc guys, I missed that [22:00] verterok: it is being watched in the xmloutput bug [22:00] verterok: I can bundle whatever version of redston xmlrpc we need --> what do you mean? [22:00] Skoorbulous: for each file do 'cat file | tr \\r \\r\\n > file.fixed' [22:00] verterok: however redstone guys didn't give any feedback yet [22:01] RenatoSilva_: if bzr-eclipse needs a patched redstone-xmlprc, I can make the build with the "fixed" redstone-xmlrpc [22:02] verterok: ok, nice [22:02] RenatoSilva_: as it's just a dependency in bzr-java-lib pom.xml, and I already provides a maven repository with all the depdendencies, I cound push a new jar to the maven repo ;) [22:04] lifeless, can I do cat * | tr \\r \\r\\n ? [22:04] verterok: you could just add the patch file with the bug number somewhere, then _during the buid_ you patch the diff, so that you can use updated versions of redstone library... [22:04] i.e., can I just use a wildcard? [22:05] RenatoSilva_: I'm not building redstone-xmlrpc during the build of bzr-eclipse, just using the jar available in the maven repository. [22:06] verterok: ah ok [22:07] verterok: but that maven repo, it is self-made right? [22:07] RenatoSilva_: right, I can use a patched version from the maven repo ;) [22:08] verterok: and you put the lib there right, so you'd get the source and patch the fix and build the custom lib and put int the repo right? [22:08] RenatoSilva_: yes [22:09] RenatoSilva_: but I don't know if I can call it redstone-xmlrpc...you know licenses, etc [22:09] verterok: ok I just mean to keep the source of the custom lib as {source + patch}, and the resulting build as {compile source + apply patch }, instead of {pacthed source} -> {compile patched source}. I think it's a better approach, just a suggestion. [22:11] RenatoSilva_: I agree, just that including that in the build of bzr-eclipse is overkill [22:11] verterok: ok [22:14] verterok: the patch is pretty simple. There is an encoding in some .properties file. It is used in XML header, but not in the actual bytes (new String(bytes)). I just changed the content to new String(bytes, readEncodingFromProperties). [22:16] verterok: note: the patch in sf itself is out-dated (can't be updated), because it uses hard-coded "UTF-8". Then one attached in launchpad is ok, it gets from preferences. [22:16] RenatoSilva_: do you remember the bug number? [22:16] Skoorbulous: no - tr outputs to std out [22:16] so you need to translate each file to a temp name and then mv the output back over the original file [22:17] Skoorbulous: there are probably scripts on the web that will do groups of files for you [22:17] verterok: bug 300300, in SF: http://sourceforge.net/support/tracker.php?aid=2816563 [22:18] verterok: sorry, bug 388300 [22:18] Launchpad bug 300300 in expect-tcl8.3 "multixterm doesn't work, expectk missing and cannot be installed" [Undecided,New] https://launchpad.net/bugs/300300 [22:18] Error: bug 2816563 not found [22:18] Launchpad bug 388300 in bzr-xmloutput "Encoding problems in xmloutput: non-ascii URLs and ascii decoding of non-ascii strings" [High,Confirmed] https://launchpad.net/bugs/388300 [22:18] RenatoSilva_: thanks! [22:19] verterok: the up-to-date patch is attached in lp (If you're going to create the custom lib): http://launchpadlibrarian.net/28683665/xmlrpc_fix.diff [22:20] RenatoSilva_: great! [22:20] RenatoSilva_: we can use the patched xmlrpc, but I'll try to contact the redtone devs [22:20] verterok: ok [22:23] RenatoSilva_: what do you mean with 0.9, xmoutput? [22:23] verterok: ^ [22:24] RenatoSilva_: the version number, currently it's 0.8.4 and trunk is 0.8.5 [22:24] verterok: ah ok, I tought for a moment it was 0.9.4 or so [22:27] verterok: trunk 0.8.5? so the commit comment on that means its development is starting? I thought it means it was actually released... [22:28] RenatoSilva_: I was this >< close to release 0.8.5, and then you came and filed a lot of bugs, so I just ignored 0.8.5, and targeted all this fixes to 0.8.6 ;) [22:28] RenatoSilva_: btw, thanks a lot!! [22:29] verterok:hehehe, sorry for interrupting 0.8.5 :) [22:30] RenatoSilva_: at all, great work! :) [22:30] verterok: thank you, thanks for helping === MT- is now known as MTecknology [22:31] * RenatoSilva_ is away [22:32] RenatoSilva_: seeya later! === MTecknology is now known as MT- === Edwin is now known as Guest3052 [22:59] good morning Bazaar! [23:02] Good morning jml. :) [23:03] * RenatoSilva_ is gmt -3, 7pm [23:09] good morning [23:10] good night [23:12] ctcp verterok TIME [23:25] hi p obst [23:25] bah [23:25] hi poolie [23:25] sorry obst, mistyped [23:25] hey [23:47] will a property set with propset -R be inherited by new directories? [23:49] lifeless: I don't understand your excuses about interrupted "branch"es [23:50] (sorry, wrong VCS :)) [23:50] gioele: I didn't think bzr supported those (yet?) [23:55] SamB: what don't you understand? [23:55] lifeless: well, it might have to do with the fact that I'm trying to branch from a multi-thousand-rev SVN branch [23:56] SamB: Thats a very different use case than interrupted branches of bzr to bzr [23:56] true [23:56] SamB: bzr-svn does everything incremental anyway [23:57] it doesn't update the branch heads during a "bzr branch" incrementally [23:57] thats true [23:57] on a slightly different note, I'm wondering why "bzr branch" is waiting until all revisions are pulled to start repacking any of them [23:58] generally we don't repack any [23:58] morning [23:58] oh. maybe I need to ask jelmer about that ? [23:59] its only when data conversion is needed that any repacking will occur (or an autopack, but thats orthogonal to fetching data - its db maintenance) [23:59] still, it doesn't seem like it would kill you to do a checkpoint every thousand revisions or so? [23:59] hmm, I switched back, didn't I? [23:59] * SamB can't seem to hold just one conversation at a time lately [23:59] SamB: bzr fetching doesn't move data topologically or chronologically