[00:00] hey, hoping bzr+eclipse folks around? [00:03] hmm same echo as earlier :-) fwiw, the docs for bsz-eclipse are seriously out of date. Eclipse apparently changed the user interface in the plug-ins section [00:04] either that or I'm wandering around the wrong part of eclipse. That's been known to happen before. [00:10] i am developing a website on a contract -- i'm a little fuzzy on gplv2 -- can i put the source in a bazaar repository without opening the source code? i'm using bzr as-is [00:11] sure [00:11] [IANAL] copyright affects derivative works, your website doesn't derivce from bzr [00:11] its only if i make changes to bzr the program or link against it that gplv2 applies, right? [00:11] ahh - thx [00:11] i like it so far -- its cool [00:12] bob2: you gotta stop with the I ANAL stuff :P [00:14] this a family channel even if we are a tad bzr [00:15] I know :) [00:15] IANAL stands for I Am Not A Laywer [00:15] I just thankful he didn't hut a after the I [00:15] :-) [00:16] and INAA stands for I Need An Adult [00:16] buts its confusion for folk that don't know the abbreviation, and folk that do don't need the warning (IMO) - only laywers need to declare that they aren't giving legal advice. [00:16] bob2: lol [00:17] I was old when folks started using those abbrevs [00:17] [00:17] :) [00:17] so GOMLYPK [00:18] get off my lawn you punk kids [00:48] lampliter: hi [00:49] lampliter: what's the issue with bzr-eclipse? [00:52] hello. [00:52] does the bzr smart server still not have its own authentication? [00:53] that is correct [00:53] we recommend that you layer it either over ssh or http if authentication is required, [00:55] lifeless: yeah, that's what i've done at the moment. just makes it a bit of a pain when i want read-only http access [00:55] to the public [00:59] Noldorin: Indeed; we should make that better. I'll file a bug. [01:00] cheers :) [01:00] lifeless: how's the 2.0 release coming along btw? i take it this won't get included... [01:02] spiv, i'll call you in a minute [01:02] poolie: ok [01:09] poolie: I'll like a call this morning as well please [01:10] cool, i'll call you after [01:13] poolie: my 'chat' list is long btw - content filtering, migrations, performance, upgrades, website, docs, packaging, GUIs, etc. [01:13] Noldorin: no chance [01:13] Noldorin: it needs code [01:14] fair enough [01:14] plans for the release going well anyway? [01:14] lifeless: I'd like to submit that doc contents tweak you approved to 2.0 [01:14] lifeless: what's the pqm address? [01:15] submit_branch = http://bazaar.launchpad.net/~bzr-pqm/bzr/2.0 [01:15] pqm_email = pqm@bazaar-vcs.org [01:15] lifeless: thanks === r0bby_ is now known as r0bby [01:18] verterok: sorry, debugging vpm probs with mac [01:18] lampliter: np [01:19] thank you for paying attention to my request for help [01:19] okay, the problem is the documentation screen shots are out of sync with the current version of eclipse [01:19] I think it's installed properly. I think I've set up things properly but, I can't figure out how to grab my files from launch pad from eclipse [01:20] lampliter: Project new --> Bazaar --> Branch as a new Prokect [01:21] lampliter: sorry, that should be: File --> New --> Project --> Bazaar --> Branch as a new Prokect [01:21] I'm using pydev does that matter? [01:21] lampliter: or checkout as a new project [01:21] lampliter: no, it shouldn't [01:22] lampliter: is your .project and .pydevproject? versioned? [01:22] they were originally managed by Emacs and command line bzr but my hands broke worse and I'm trying to put speech recognition macros on top of the eclipse user interface [01:23] so, it's making a lot of changes all once [01:23] I'm going to be asking the eclipse people a lot of embarrassing accessibility questions in the relative near future. :-) [01:27] lampliter: given I just had an eclipse bug moved into 'triaged' - 3 years after reporting and providing all desired info - don't hold your breath :-) [01:28] hehe well, anyone who uses Python well knows that job is a lot slower. ;-) [01:28] speech recognition error, job/Java [01:29] Oh I dunno... job/java sounds perfectly sane to me ;-) [01:30] okay, I have a checkout of my project sitting in my project directory. Do I want to put my eclipse project in the same place? [01:32] if I understand your meaning correctly; yes. I personally do this and bzr ignore the eclipse files; but I also use cmdline bzr so ymmv [01:32] s/use/vastly prefer/ [01:35] Understood. When my hands aren't too bad shape and am working in Linux, I prefer the command line as well. But when I'm using speech recognition, I am stuck on Windows [01:35] so I need to build a hand friendly speech driven environment [01:36] so back to my question. I found I had a copy of my project checked out. Do I want to just impose the eclipse project environment on top of that or do I want to put the eclipse project in a different location? [01:37] 4 bugs to go [01:44] it can't cope with spaces in the path names [01:44] bzr import Wizard can cope with spaces in the path names such as "my documents". It fails by stripping off the my and then not letting you move forward without saying anything [01:45] I've just spent the past 15 minutes trying to figure out why it couldn't figure out where my project directory was [01:45] it's not your fault. Microsoft was an idiot for allowing spaces in filenames in the first place [01:47] what is "bzr import Wizard"? [01:47] is part of the plug-in for eclipse. Bazaar Import Wizard [01:49] oh [01:49] oh, I also see part of the cognitive problem. It says the final location to branch from and then has the browse button when it really should be a repository URL. I'm sorry, my brain is not working right. It's been a long day [01:50] on the plus side, I got my blood sugar down to 72. And the fact that I'm channel surfing quite as bad as a sign I should go get something to eat and bring my blood sugar back up a bit [01:50] joys of being diabetic and still not fully in control [02:01] https://bugs.edge.launchpad.net/~ian-clatworthy/+assignedbugs [02:07] spiv: is that needing review? [02:09] Bugs in Bazaar Version Control System -- igc [02:15] I need a teddy bear I think. [02:15] spiv: Up for a call? bug 402652 [02:15] Launchpad bug 402652 in bzr "smart fetch for --2a does not opportunistically combine groups" [Critical,Triaged] https://launchpad.net/bugs/402652 [02:19] okay, got a few more neurons. When through and finish the create a project and it failed during the checkout [02:20] she says "error while executing checkout object of type 'NoneType' has no len() [02:21] I'm guessing something in the authentication/identity area is not set up right [03:14] grabbing food [03:14] poolie: if you're done with your other calls; you could ring my mobile ;) [03:15] * igc lunch === lamont` is now known as lamont [03:33] laksa is just the best thing in the world when one is sniffly [03:40] so I know you said bzr join --reference isn't supported.. but is it even functional in any of the dev releases? === timchen1a is now known as nasloc__ === glyph` is now known as glyph [04:28] I am new to bzr (as a warning, mostly). I have a branch on my laptop which i wish to push to a repository on a server I have access to [04:28] cool [04:29] is it misbehaving, you are just looking for 'getting started' help ? [04:29] I issue the command bzr push sftp://..., and I get an error, bzr: ERROR (ignored): GraphIndex(', followed by a long URL, followed by bzr: ERROR: Generic path error: ... unable to rename to ... [04:29] (Sorry about breaking that into two messages) [04:30] TravisD: that could be a permission issue [04:30] what are the last 3 or so path elements in the error? [04:30] the bits under 'repository/' [04:30] bzr: ERROR (ignored): GraphIndex('sftp://tdick@gpu.srv.ualberta.ca/~/bzr_projects/SameGameSolver/trunk/.bzr/repository/indices/904bda77bfd1ba65ea5e551d8529329d.rix') [04:30] bzr: ERROR: Generic path error: '482iwleesvd30gra23ql.pack': Failure: unable to rename to '../packs/904bda77bfd1ba65ea5e551d8529329d.pack') [04:30] ] [04:31] ahh, sorry about the multiline paste -- was not expecting that [04:31] ok [04:31] that looks like you are missing write or execute permission on the packs directory [04:32] hmm [04:33] as a point of interest, in "SameGameSolver", ls -a shows no .bzr directory [04:33] should there be one? [04:33] from bzr-eclipse -- Executing: checkout lp:akasha C:\Users\esj\workspace\akasha; Error while executing checkout object of type 'NoneType' has no len() [04:34] TravisD: yes, otherwise the writes to create the indices and uploads/pack would have failed [04:34] TravisD: oh sorry [04:35] TravisD: no, there's no need for a repositoriy, use of a separate repository is optional [04:35] the .bzr under trunk is an in-place repository for just that branch and should work totally fine [04:35] ah, I see [04:35] Earlier I issued: bzr init-repo .../SameGameSolver [04:35] would that not make the .bzr directory? [04:36] yes it would have ;P [04:36] I will try it again :) [04:42] lifeless, this is from a fresh attempt: http://www.pastebin.org/13543 [04:42] this time the .bzr is present as expected [04:57] TravisD: sorry I'm on a phone call [04:58] thats no problem [06:03] lifeless, any ideas? [06:04] looking now [06:04] thanks :) Sorry to be a pester [06:04] no bother [06:05] was a longish call [06:05] haha no problem [06:06] TravisD: that does look like some sort of perm error [06:06] what ftp server is it, do you know? [06:06] also, you don't need the separate 'init' step, just pushing will create a new branch for you [06:06] could you please file a bug for us to gather data and debug this? [06:07] I don't know the server, unfortunately [06:07] is there a way I can check in an ssh session? [06:08] i have foo1/file.txt and foo2/file.txt. i want to apply changes made to foo1/file.txt in r5 to foo2 -- is there a slick way to do this, or do i just generate a diff, and apply it on the commandline with patch [06:08] TravisD: ssh -vv host [06:09] OpenSSH_4.6, OpenSSL 0.9.7j 04 May 2006 [06:09] johnjosephbachir: are foo1 and foo2 branches? [06:09] no-- two directories in the same branch [06:09] TravisD: ok, no huge surprises there [06:09] johnjosephbachir: then just make a diff and apply it [06:09] lifeless: that seems so 2005, but okay. :) [06:10] lifeless, could a malformed branch on my system cause this kind of error? [06:11] Also, I think I'm using bzr 1.18, if that makes a difference [06:11] (Just installed Karmic Koala and got it out of the debian repositories) [06:11] TravisD: no, I don't think so [06:12] lifeless, drwxr-xr-x 2 tdick uofa 2.0K Aug 30 21:37 packs <-- this is the permissions on the packs directory in .bzr/repository/ [06:13] TravisD: on the server? [06:13] yep [06:14] I dunno. [06:14] I need to pop out for a bit; someone else may be able to help, but I really recommend you file a bug [06:14] sure, how do I do that? haha [06:14] https://launchpad.net/bzr/ [06:14] alright :) thanks [06:14] click on file a bug [06:18] igc, i might file that bug about getting it into add/remove? [06:18] poolie: sure [06:20] poolie: https://lists.ubuntu.com/archives/bazaar/2009q3/061200.html === thumper is now known as thumper-afk [06:22] thanks [06:29] bug submitted, fairly comprehensive, I think [06:32] https://lists.ubuntu.com/archives/bazaar/2009q3/061200.html igc [06:46] poolie: did you mean to post a different link to the one I gave you? [06:46] i did :) [06:46] i actually meant bug 421778 [06:46] Launchpad bug 421778 in bzr "want Bazaar in Add/Remove Applications and the Applications menu in Ubuntu/Debian/etc" [High,Confirmed] https://launchpad.net/bugs/421778 [07:24] quick question [07:24] boom-tish [07:24] I want to move files from one branch to a related branch [07:24] a non-related branch [07:25] do you need to take history? [07:25] lifeless, I'd like to, but only if it's easy to do so [07:25] [note that taking history takes /all/ file histories] [07:25] jml: does that influence your answer [07:25] lifeless, it does. [07:25] lifeless, I'll just copy the contents and forget history [07:25] do you need to take history? [07:26] history is bunk [07:26] tada [07:49] hi all [07:50] hai [07:54] lifeless: have you hit bug 421804 ever? [07:54] Launchpad bug 421804 in launchpad "launchpad ajax steals focus while loading" [Undecided,New] https://launchpad.net/bugs/421804 [07:54] hello vila [07:56] hmm, my karmic slave won't complete booting... any magic key during boot to get a root shell ? [08:03] poolie: it wouldn't surprise [08:03] me to find that I have [08:03] poolie: on the 2a group combining, I want John's input.. [08:03] poolie: I've asked for it in the bug, and I'm EODing... 'now' [08:03] igc, just as feedback "improve documentation bundling" is a poor summary [08:04] compared to say "split documentation bundles by language" [08:04] poolie: I think I have hit it, yes. [08:05] the language of the 'This bug affects me too Edit' message annoys me. [08:05] it's a bit better now [08:05] It doesn't affect my web browser/laptop/launchpad. [08:05] its a bit of a philosophical annoyance [08:10] hi vila [08:11] how's stuff? [08:11] good, my karmic slave booted finally (I had to threaten it of reinstall, that worked) [08:11] heh :) [08:12] hi, will bzr 2 work with bzr 1 branches? [08:12] yes [08:12] it will create bzr 2 branches by default [08:12] but you can read from bzr 1 branches into a bzr 2 branch [08:12] and 1 won't be able to work with bzr 2 branches? [08:13] 1.16 and above can [08:13] I see, thanks [08:13] we will be strongly encouraging people to upgrade [08:14] well, people will upgrade when distros upgrade :) [08:14] like my distro (gentoo) is already updated [08:14] lifeless: 'selftest is using atext for some strange reason'.... :-D You really don't know ? [08:15] vila: no, I don't [08:15] well, because there is no such thing as setUp/tearDown for TestSuite... [08:15] stopTestRun [08:15] yay gentoo [08:15] for instance [08:16] vila: but separately, why not do it per test [08:16] lifeless: correction: there *was* no such... [08:16] lifeless: I think the rationale was to catch any possible problem in any test (or outside or at the border or... catch'm all...) [08:17] that's the most I can recall from the discussion, I think it was with spiv [08:17] vila: right, I'm not saying 'no catcher', just 'per-test' - that makes it cleaner, at the cost of 5 mkdirs [08:18] I don't recall the specific discussion. [08:18] that helped keep the /tmp dir cleaner too (since we often regressed there and also because ctrl-c'ing tends to avoid the atexit) [08:19] I can imagine using atexit as a hackish solution to that sort of problem. [08:20] vila: Don't feel that I'm attacking you please; I think its a bug that we use atexit, as demonstrated by my bug report. [08:20] spiv: I'm pretty sure you're the one annotate will point its finger at for using it in the first place ;-) [08:20] OOOh, no problem there ! [08:20] vila: if you agree that we can do better, great. If you think we should stay with atext, lets discuss why ;) [08:20] I agree we should do better, I was just trying to bring the context back [08:20] vila: quite possibly :) [08:21] I wasn't throwig stones either ! [08:21] vila: it's ok that my memory is poor because we have a vcs to remember stuff for me ;) [08:21] spiv: exactly :) [08:22] But glancing at the comments on that atexit.register, it does seem to be used because we don't have a good way to know when the TestCaseWithMemoryTransport.TEST_ROOT resource is no longer needed, so atexit is a cheap approximation of what we want. [08:23] If it were free to create and destroy that directory with every test that wants it then that would solve the problem. [08:24] As would removing the need for that particular safety net :) [08:25] (Or if measurement shows that the cost of doing that per test is negligible, let's just do that right now) [08:29] data point: I just deleted ~200 testbzr directories from my /tmp dir [08:32] vila: so clearly its not working :P [08:33] I ctrl-c a lot :) [08:33] but that sounds too much [08:34] Ctrl-C shouldn't prevent atexit from triggering, AIUI. [08:34] But yes, clearly it is failing to clean up reliably. [08:35] poolie: regarding bug #390502, my jaunty slave is using 2a for ~1 week, I intend to migrate the others today [08:35] Launchpad bug 390502 in bzr "bzr's development should dogfood format 2a" [Critical,Confirmed] https://launchpad.net/bugs/390502 [08:36] That's not the same as upgrading the lp branches, but stilll a significant test IMHO [08:37] that's good [08:37] i'd like to do it soon [08:56] * igc diiner [08:56] dinner [09:06] vila, i'm going to poke at getting an EC2 for packaging going [09:06] to replace kerguelen you mean ? [09:07] yes [09:29] vila, can you point me to any good instructions on how to set up a win32 build environment? [09:30] I think sidnei did some [09:30] jam's brain ? [09:30] hmmm [09:30] what precisely do you want ? compiler/dev tools setup or just buildbot setup ? [09:30] http://www.mail-archive.com/bzr-windows@lists.launchpad.net/msg00058.html [09:31] the first [09:31] the most recent one I know about is the one robert pointed to ^ [09:32] http://bazaar-vcs.org/BzrWin32Installer is the corresponding wiki page [09:32] oh it's pretty awful [09:32] poolie: yes [09:34] the dream setup should be: 1) install bzr.exe, 2) bzr branch lp:bzr-pimp-my-windev, 3) bzr pimp-my-windev 4).... [09:34] mm [09:35] vila: you could use a config; that can unpack tars and stff too :P [09:35] but I think sidnei made it all work via buildout [09:36] lifeless: we're talking about *installing* the tools, not running the installer build [09:36] vila: I know [09:36] and yes, 'pimp-my-win' is a plugin that can untar unzip run installers :-D [09:37] and sidnei made an install via buildbot ? [09:37] never heard about it... [09:38] he made nightly windows builds [09:38] didn't he? [09:38] yes, they have been integrated in the test farm, they currently run on kerguelen [09:39] they rely on kerguelen having all the needed tools already installed [09:45] test farm all green by the way (after the necessary fixes for the week-end related hiccups) [09:45] even win32? [09:47] win32 selftest has been disabled because it (currently) 1) crash with CantCreateThread without reporting the number of failures, 2) run under cygwin (not the primary target) [09:47] oh right [09:47] I want a local setup to debug both [09:49] CantCreateThread because there are too many leaks? [09:49] :/l [09:50] poolie: That's my best guess yes === thumper-afk is now known as thumper [09:53] buenos dias a todas/os [09:59] Hmm, the global _page_cache in chk_map interferes with noticing missing data. [10:00] It would be less dangerous to cache per-repo rather than globally. Oh well, I can hack around that... [10:25] jelmer: do you use doap? [10:50] thank you to whoever fixed commit --strict not to complain when I say to commit only one file of several changed \o/ [10:51] thumper: hmm, 2a? bzr nightly ? [10:51] -might be a bug [10:51] no [10:51] I mean it [10:52] if I say a file name [10:52] don't bitch about the other changed files [10:52] I'm not offering a value judgemnet :) [10:52] just saying that the change in behaviour may have been an untested case, and that both the old and new behaviour are not necessarily strictly intentional [10:53] I'm glad you like what its doing now. [11:01] hmmm, I'm writing blog posts that are too long now. [11:05] anyone around who can help me with an AIX test problem? just need a few pointers. its #405745 [11:06] crisb: it hangs? [11:07] crisb: maybe hit SIGQUIT (probably Ctrl-\) and type "bt" and add that to the bug. [11:09] crisb: it might be interesting also to run just the HTTP tests without the blackbox tests. [11:09] spiv: ping [11:09] crisb: e.g. "bzr selftest -s bt.test_http" [11:09] bialix: pong === thumper is now known as thumper-zzz [11:10] (Although I need to tear myself away from my laptop soon) [11:10] spiv: is it known problem with 1.18? [11:10] bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', "Absent factory for ('odict.html-200 [11:10] 90118140732-dye8mko5bfy12t15-2', 'bialix@ukr.net-20090118142612-vk1ob9k8l58oivi8')") [11:10] got while run command: bzr get lp:bzr-scmproj/0.4.5 [11:11] crisb: (I've added these comments to the bug) [11:12] spiv:cheers, just giving it a go now [11:12] bialix: probably bug 354036, looking now. [11:12] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] https://launchpad.net/bugs/354036 [11:14] spie: filed my case as https://bugs.launchpad.net/bzr/+bug/421860 [11:14] Launchpad bug 421860 in bzr "branch error: Error received from smart server: ('error', "Absent factory for" [Undecided,New] [11:14] spiv: ^ [11:15] bialix: yes, it's bug 354036 [11:15] Launchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed] https://launchpad.net/bugs/354036 [11:16] bialix: the fix script attached to 354036 identifies several missing inventories [11:16] so it's not fixed? [11:16] bialix: it is in bzr [11:16] oh, it's THAT bug again? [11:16] bialix: but affected branches in launchpad are hard to fix due to the way Launchpad keeps separate copies for where you push to and where other users read from. [11:17] So the fix script fixes it for users that can write to the branch, but not those that can only read from it. [11:17] so what I should do? [11:17] bialix: run the fix script [11:18] a) Run the fix script and get a Launchpad admin to delete the mirrored branch and trigger a fresh mirror from the hosted area, or b) delete/rename the branch on Launchpad entirely and repush :( [11:18] for a) you could also run the fix script and push something there [11:18] or uncommit, then push the original again after it mirrors the uncommit? [11:19] spiv: 6 [11:19] on my current PC I have no copy of that branch [11:19] lifeless: that won't cause the missing inventories to get copied across to the mirrored area AFAIK. [11:19] spiv: doesn't matter does it? I thought bzr+ssh read from the main copy... [11:19] lifeless: if you have write access. [11:19] lifeless: Only if you have write access. [11:19] oh bah [11:19] need a 'fixme' button [11:19] lifeless: write access == use hosted area, everyone else == mirrored area. [11:19] bialix: bzr pull nosmart+ , and it will work [11:19] * spiv makes some noise on the bug. [11:20] spiv: in the summary please [11:20] Will a tip change not cause the puller to resolve it? Maybe I've previously fixed it with a format change... [11:20] (that causes a full remirror) [11:21] wgrant: yes, format change does full mirror [11:21] tip changes do regular pulls [11:21] spiv, lifeless: pull from http source does work [11:22] lifeless: And a regular pull won't fix it? [11:22] no, it won't [11:23] spiv: have attached the backtraces (both hang) [11:25] spiv: your script hang on Windows [11:25] spiv: I told you so many months ago [11:25] lifeless: done [11:26] bialix: it's lifeless' script :P [11:26] then lifeless [11:27] bialix: I'm not sure why it would, I don't see any obvious portability pitfalls in it. [11:27] bialix: does it run into a locking issue? [11:27] it prints me: missing inventories(...) and then hang [11:27] lifeless: how can I know this? [11:27] bialix: at that point it should be uploading the inventories [11:27] bialix: is there any network traffic [11:28] Are you running it against Launchpad or a local branch? [11:28] no [11:28] bialix: use Process Explorer [11:28] no network traffic [11:28] it just hang [11:28] and it seems it does the job [11:28] and then hang [11:28] very odd [11:28] uhm [11:28] If you're running it against a remote branch then I have no idea unless there's something about open SSH connections causing the process to never die. [11:28] because on second run I've got: Missing inventories: set([]) [11:29] spiv: I should run it against local? why for? [11:29] the problem IS with lp: branch [11:29] bialix: well, I can imagine some scenarios :) [11:29] bialix: but just checking assumptions [11:30] yeah, ol win people ar dump? [11:30] Not at all. [11:30] If it's local, then the typical locking bugs would have been my first suspect. [11:30] spiv: I don't understand the problem and your script, so I'm just using instructions from summary [11:31] it said about bzr+ssh [11:31] so why I should use it local? my problem with lp only [11:31] But because it's network, that seems unlikely, so it I guess it's something about the way it uses the network, e.g. maybe somehow there's a non-daemonic thread created by paramiko. [11:31] The bug can apply to local branches too. [11:31] hi [11:32] It's more unusual to have stacked branches locally, but it does happen. [11:32] spiv: because problem solved I have no desire nor time to dig so deep. [11:32] spiv, lifeless: thanks [11:32] but it hang [11:32] bialix: sure. I'm happy to help debug a bug report, but "it hangs" with no further info rarely leads to a fix :) [11:32] what should I do if I want to move a subtree into its own repository? fast-export/import? [11:33] spiv: I hope it's lat time I've got this error [11:33] last [11:33] Bug #421860 marked as duplicate [11:33] Launchpad bug 421860 in bzr "branch error: Error received from smart server: ('error', "Absent factory for" [Undecided,New] https://launchpad.net/bugs/421860 [11:34] bialix: I hope so too [11:34] Raim: only if you want to filter out history [11:35] spiv: but frankly: what kind of details you'd like to have? [11:35] vila: 405745 sounds like your territory [11:36] bialix: to debug the hang? Where it's hung; and what threads are running. [11:36] spiv: it's a standalone script, I have no idea how to set BZR_PDB=1 and stop it without KeyboardInterrupt [11:36] Yeah, that's a pain. [11:36] wait a sec [11:36] bialix: no, I want to keep the full history of this subtree. what should I use then? already tried to find something in the wiki... [11:36] Normally I'd ask for a traceback from SIGBREAK, but some hacking would be necessary. [11:36] Raim: bzr split then [11:36] But I guess KeyboardInterrupt would give one. [11:37] spiv: on Windows there is no SIGBREAK [11:37] bialix: oh yes there is :) [11:37] SIGBREAK will kill it though [11:37] what you want is [11:37] python -m pdb script.py [11:37] bialix: thanks, that seems to be what I am looking for! [11:37] erm [11:38] python -m pdb script.py URL [11:38] spiv, lifeless: there is indeed 2 threads [11:38] lifeless: (right, but inside bzr SIGBREAK on win32 does what SIGQUIT does on posix) [11:39] spiv: yup; however we're not inside bzr;) [11:39] lifeless: -m pdb run it in the pdb [11:39] what's next? [11:39] spiv: ooh, didn't notice the updates on the page, looking at it [11:39] run it [11:39] c? [11:39] and hit ctrl-C once it hangs [11:39] bialix: ok, and I guess thread2.isDaemon() == False ? [11:39] that should leave you in pdb [11:40] bialix: (for future reference, jam and I recently added SIGBREAK support to main bzr, so you can hit Ctrl-Break (IIRC) on windows to get dropped into a pdb prompt) [11:40] bialix: (unfortuately not helpful for this script) [11:40] f*** pdb does not understad backslashes [11:41] gnight [11:41] lifeless, spiv: http://pastebin.com/m2ff23706 [11:41] pdb is not much help [11:42] Interesting. [11:42] spiv: this does not work on WIndows [11:42] Ctrl+Break simply stops the script [11:42] spiv: humpf, hang on *server* close ! [11:42] bialix: it stops the script, but not bzr [11:42] ot does not matter [11:42] it [11:43] bialix: try "bzr log lp:bzr", and hit Ctrl-Break [11:43] it just kill bzr or script [11:43] bialix: it's a handy trick to have [11:43] maybe it's FAR use Ctrl+Break [11:43] jam definitely tested it :) [11:44] FAR? [11:44] * bialix trying [11:44] interesting [11:44] it works now [11:44] with log [11:44] bialix: anyway, with that pdb prompt from the script, please try: [11:44] but I'm sure in most situation it just kill the process and all [11:45] import threading [11:45] pp [t.daemon for t in threading] [11:45] bialix: yep, in most situations it does, but for bzr we've set it to drop into pdb instead :) [11:46] (bzrlib.breakin has the magic) [11:46] *** TypeError: TypeError("'module' object is not iterable",) [11:46] Oh, oops: [11:46] pp [t.daemon for t in threading.enumerate()] [11:46] That's what I get for typing untested code into IRC :( [11:46] *** AttributeError: AttributeError("'Transport' object has no attribute 'daemon'",) [11:46] ! [11:47] ? [11:47] That's a weird error. I guess pdb isn't very good with list comprehensions. [11:47] Ok, just "pp threading.enumerate()" [11:47] bzr: ERROR: Tree transform is malformed [('overwrite', 'new-27', u'branch-format'), ('overwrite', 'new-29', u'branch-lock'), ('overwrite', 'new-34', u'README'), ('overwrite', 'new-9', u'.bzr')] <---- umm, eek! What is bzr trying to tell me? [11:48] [, [11:48] <_MainThread(MainThread, started)>] [11:48] pp threading.enumerate()[0] [11:48] [11:48] pp threading.enumerate()[0].daemon [11:49] *** AttributeError: AttributeError("'Transport' object has no attribute 'daemon'",) [11:49] Oh! [11:49] Huh. [11:49] yeah [11:49] pp threading.enumerate()[0].isDaemon() [11:49] (hope springs eternal) [11:49] False [11:49] Ok, it is the paramiko thread, as I speculated. [11:49] cool [11:50] I'm not sure why that would be different for the script vs bzr. [11:50] pdb-over-irc in action! [11:50] Yeah. Painful :) [11:50] But it gets there in the end. [11:50] I think it should be in Standard Python library [11:51] spiv: I think bzr does not use threads? [11:51] Normally not. [11:51] "bzr serve" does. [11:52] And dependencies like paramiko sometimes do. [11:52] so this is difference between script and bzr [11:52] or not [11:52] do you want me other testing? [11:53] * bialix bbiab [11:53] bialix: no, I want dinner :) [11:54] I can't really see why a script would behave differently to bzr here. [11:55] Oh, ugh, garbage collection. [11:55] Normally a __del__ triggers the disconnect method. [11:55] * bialix back [11:55] I have no idea why the script is *less* likely to allow that to happen. [11:56] Perhaps "del b" at the end of the script would do it. [11:56] script does os.exit [11:56] Or perhaps putting the Branch.open line inside main would. [11:57] Oh yeah, that's right, the 'bzr' script does do os._exit, which would conveniently sidestep the problem of daemon threads. Heh. [11:57] That probably does explain it. [11:57] Either that, or the fact that the open branch object is a module global in the main script might. [11:58] * bialix trying [11:58] does not help [11:58] hang anyway [11:58] Sheese. [11:58] Sheesh, rather. [11:58] after moving b into main() and del b in finally [11:58] what? [11:59] Not sure why it's not gc'd. [11:59] Try "import gc; gc.collect(); print gc.garbage" at the end of the script. [11:59] non-daemon threads never [11:59] on windwos [11:59] AFAIK [11:59] and in my programs it's always problem [11:59] There's a __del__ that normally takes care of this thread. [11:59] so in my multi-threaded programs I'm always force daemon mode [12:00] Sure, but this thread is supposed to be stopped by the normal garbage collection. [12:00] (I mean, __del__ is evil and should die, but that's a separate matter...) [12:01] I dunno [12:01] (And really, this __del__ could be replaced by a weakref callback, which would be more reliable) [12:01] spiv: I think I'd better stop here. Enjoy your dinner, I'm going to lunch [12:01] vila, hi, still here? [12:01] bialix: ok. Thanks for digging into this mystery. [12:01] hi spiv :) [12:01] I hope it was helpful [12:01] poolie: hello, goodbye ;) [12:01] bialix: it was [12:02] poolie: pretty awful? [12:02] bialix: it's nice to slowly get closer to understanding mysteries :) [12:02] poolie: yup [12:02] good night, i'm just trying to catch ... vila [12:02] bialix: the instructions to set up a win32 build environment seem complicated [12:02] spiv: thanks [12:02] that's not the fault of their authors [12:02] pretty or awful? ;-) [12:02] heh [12:03] * bialix really wanna lunch [12:03] vila, see PM === bialix is now known as bialix-lunch [12:03] poolie: maybe you don't trust, but I've tried to simplify things [12:04] heh [12:04] though cog must die today [12:04] hopefully soon we'll have a machine image that people can use to test it [12:04] * bialix-lunch don't think it complicated [12:05] :-P [12:10] spiv: seems to be hanging while doing setattr during close on the socket [12:14] is there a way to preview the diff of shelved changes? [12:14] I mean, without applying them [12:15] I ran into a state where the shelved changes cannot be applied again... "bzr: ERROR: No final name for trans_id 'new-1'" [12:23] crisb: as commented in the bug, the close comes after a shutdown().... === bialix-lunch is now known as bialix [12:27] Raim: I don't find the way, maybe unshelve --dry-run -v does? [12:27] bialix: unfortunately not [12:28] if it's not I'd suggest to file a bug and ensure abentley will see it. [12:34] crisb: still there ? [12:39] vila: yep sorry, was just trying out some simple python socket stuff to check it was ok [12:40] crisb: great, and the answer is ? [12:40] vila: cant get it to happen with just a simple listen/accept/shutdown/close program [12:41] right, so close() shouldn't hand after shutdown() sounds like a valid assumption to you ? [12:41] s/hand/hang/ [12:42] vila: yeah, as far as I know its good to do shutdown before close :) [12:44] crisb: so back to my first question: Is that behaviour new or are you trying selftest for the first time under AIX ? [12:45] vila:think its been that way ever since i've been building bzr on aix.. [12:45] crisb: well, I kind of prefer that :-/ [12:46] vila: however since I started doing my bzr for unix page I wanted to get the selftests working. (i've never had any problems with general usage of bzr on aix - but I dont do much http serving stuff) [12:47] can you re-rerun 'bzr selftest -s bt.test_http -v' and attach the result to check what tests pass before the hanging one ? [12:47] crisb: You have my strong sympathy for doing that and I hope I can help you succeed in making the full test suite running there [12:48] crisb: keep in mind though that selftest is a very special case when in comes to hanging threads, bzr is normally run as a client XOR a sever [12:48] server [12:50] and there are some gremlins in python related to the socket stack when using multiple threads AND having clients doing weird stuff with servers AND servers trying to kick clients when they do weird stuff :) [12:50] vila: :) [12:51] vila: plus the fact that AIX is a great example of 'old IBM' :) [12:51] ie. hmmm everyone does it like this.....lets do it OUR way [12:51] i.e. it's very unfortunate that *you* can't (yet !) use the test suite to get confidence that stuff works, but this bug... smells just like that [12:52] well, bzr is supposed to shielded by python for those grey areas :D [12:52] vila: have to admit I've built python too ! [12:53] crisb: do you think you used controversial settings ? [12:54] vila: not really. few patches for aix weirdness of building shared libraries, but nothing really naughty. [12:54] crisb: do you have ssl support ? [12:55] vila: i do [12:55] ok [12:55] can you re-rerun 'bzr selftest -s bt.test_http -v' and attach the result to check what tests pass before the hanging one ? [12:56] attach to the bug for the record I mean [12:58] vila: done [12:59] rats, all my bets are off so far, I was more or less hoping to see pycurl there :-/ [13:00] :( [13:00] This test does really.... nearly nothing, start the server, stop the server, nobody connects [13:00] vila: sorry will have to continue later..gf is kicking me out ;) [13:00] crisb: last thing ! [13:01] crisb: what you can try is: 'bzr selftest -s bt.test_http --list >all.tests' [13:01] and from there use: 'bzr selftest --load all.tests' deleting all hanging tests as you encounter them.... [13:01] that may give us more hints... [13:01] crisb: when you're back :-) [13:01] vila: aha - will do :) [13:01] crisb: ^ [13:01] crisb: thanks ! === sdboyer_ is now known as sdboyer === spiv_ is now known as spiv === loxs_wrk is now known as loxs [15:07] Is there any way to be notified when a pull results in *tags* being transferred? [15:28] If you "bzr branch -r some_earlier_revision", the new branch will include all tags from the parent, even ones pointing at revisions that it does not have ..... bug? === jelmer is now known as ctrlsoft [17:02] Hi jam. [17:02] hi garyvdm [17:02] hi garyvdm, jam [17:03] jam: thanks for the review! [17:03] Jelmer? [17:03] Hi [17:03] hey jelmer. Surprised to see your other nick [17:03] ctrlsoft: nice to have you back, too :) [17:04] I got qlog using KnownGraph. I did not result in a performance increase. :-) [17:04] garyvdm: well, if you are using stuff like "branch.iter_merge_sorted_revisions()" before, that has already been taught to use KnownGraph under the covers [17:05] heh, at the current pace of development it's hard to catch up with even two weeks of changes :-) [17:05] I don't really know what you do directly, versus indirectly [17:05] It also depends on if the bottleneck is in the Qt portions, versus the bzr loading portions. [17:06] jam: .iter_merge_sorted_revisions is a big portion [17:06] about 50% of the load time [17:06] So I am going to peruse just loading the mainline first, and there rest of the graph when the expands a node. [17:06] *when the user.. [17:07] And when bzr can store the gdfo, then I will make it only load the bits of the graph needed. === beuno is now known as beuno-lunch === beuno-lunch is now known as beuno === kirkland` is now known as kirkland [19:13] why do bzr upgrade leave a backup.bzr directory in my repository ? [19:14] trondn, in case you need to revert === abentley is now known as abentley-lunch [19:14] if something breaks, etc [19:15] well, if bzr upgrade succeeds, why do I want to revert? [19:15] seems to me that I should create a clone before trying to upgrade if I wanted to revert... [19:15] trondn, it's a fantastic question [19:16] I'm an advocate of removing the backup dir once it has upgraded [19:16] but some developers feel that we may get into a situation where things fail, and the dir gets deleted anyway, leaving you with data loss [19:17] well I wouldn't try upgrade on my master repository without having a backup first... [19:17] pretty much the same they tell you to when you upgrade your os ;) [19:17] yeah, I've been nagging to at least have an --delete-after-upgrade option [19:53] hello, is it appropriate to ask end-user questions about bzr in here? Or, perhaps, should all questions be asked on launchpad? [19:54] tbradshaw: that's appropriate [19:55] thanks [19:56] I'm having issues where I'm trying to commit to a svn branch, and it's informing me that my svn version is out of date, when that doesn't appear to be the case: [19:56] http://pastebin.projects.quakecon.org/65 [19:57] of note, I'm on OSX [19:57] tbradshaw: is subvertpy compiled against that svn though? [19:58] Hmmm, good point and likely not [19:58] I'm pretty sure that I just fetched the OSX latest binaries from the bzr site [19:58] I'll confirm [19:59] tbradshaw: so, with an svn working copy, the data structures system svn 1.6 stores may not be readable by subvertpy libsvn 1.5 [20:00] tbradshaw: one option is to bzr branch, commit in that, push [20:00] Forgive my naivety, I'm a bit new at bzr [20:00] avoids having to muck with svn working copy formats [20:00] tbradshaw: np [20:00] I had attempted to follow the instructions to do just that. [20:00] these: http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#using-a-central-repository-mirror [20:01] and I was a bit surprised when a commit immediately triggered a push [20:02] the commands listed there can't get you in the situation you're in [20:02] no, I'm wrong [20:02] I followed my history [20:02] and I used "checkout" instead [20:02] tbradshaw: what does `bzr info` say in the branch you tried to commit in? [20:02] tbradshaw: right, that makes more sense [20:03] I'll get a fresh branch made and give it another shot [20:03] thanks for your time LarstiQ, I appreciate it. :) [20:04] tbradshaw: let me know how things work out :) [20:04] I will! [20:08] moin moin [20:08] jam: hi === abentley-lunch is now known as abentley [20:26] jam: ping [20:45] LarstiQ: while I did end up with a different workflow, the core issue didn't resolve [20:46] it appears that the bzr 1.17 disk image provided for Mac OSX is insufficient for now. :( [20:48] tbradshaw: hmm [20:51] LarstiQ: would you be familiar with the differences in the osx disk images? For instance, would you expect some sort of incompatibility with using an image intended for an older version of OSX? [20:51] it appears that the 10.4 images are kept very up to date [20:52] in comparison with 10.5 [20:52] hmmm, I guess those are unstable anyway [20:53] I'll try reinstalling, just in case it does any rebuilding that could resolve this for me [20:54] tbradshaw: I'm not really familiar with them, no [21:00] perhaps I can just rebuild subvertpy [21:01] sup [21:02] where is jelmer? [21:02] back from vacation as of yesterday! === ctrlsoft is now known as jelmer [21:03] im tring to allocate all the guys from the different svn interaction projects in order to get a single svn history analysis lib that can deal with most of the broken fucked up svn repos out there [21:04] (kida selfish, i need such a thing for anyvc) [21:05] and meh, i dont want yet another one, svn is pain enough on its own [21:06] can you explain a bit better what you're looking for exactly? [21:06] bzr-svn has functionality for this, but it makes assumptions about the sort of history changes that can happen and honors bzr-svn-specific revision/file properties to cope with things that can't be represented in svn natively [21:07] jelmer: i want something that can view messed up svn histories (unfortunately those exist all over the place) as something semilar to a dvcs dag [21:07] ronny: so, subvertpy could take care of some of this but it would need hooks in various places so bzr-svn can still do its magic [21:07] (and i'd like the possibility to dump enough metadata at svn to make it easyly usable by stuff like hgsubversion and bzrsvn) [21:33] Hi! [21:33] I'm using Packs 6 (uses btree indexes, requires bzr 1.9) [21:33] is updating to 2a a good idea? [21:33] lvh, yes. Major performance wins, and some space savings as well [21:33] keep in mind, you'll need to upgrade all your branches [21:34] Okay. It is in a state that I can expect my repos to not be eaten? [21:34] Oh. [21:34] yes it is :) [21:34] Well, it's a branch of twisted [21:34] In that case i need to wait for them to move to 2a [21:34] beuno: Thanks for the quick answer :-) [21:34] welcome' [21:37] lifeless: on a sidenode, for me bzr something is still constantly at least 0.2 seconds slower than hg something (usually 0.4-0.5 vs 0.2-0.3 seconds) when will that be fixed (cause its the difference between noticable to my attention span) [21:38] ronny: it'll be 0.1 faster or so if you run with --no-plugins I suspect ;) [21:39] lifeless: i got tonns of plugins on hg and none of bzr [21:40] ronny: how long does 'time bzr --no-plugins info' take [21:41] real 0m0.843s [21:41] user 0m0.419s [21:41] sys 0m0.146s [21:42] bzr v 1.18, old format branch [21:42] it takes about 0.1 seconds less outside of a bzr dir [21:42] hmm [21:42] it goes down 0.3 after the caches are hot [21:44] so how long? === abentley1 is now known as abentley [21:45] real 0m0.550s [21:45] user 0m0.429s [21:45] sys 0m0.120s [21:45] on a small vellum branch [21:45] right [21:46] thats just info, no -v [21:46] ? [21:48] lifeless: just info [21:50] ok [21:50] so this is basically your lower bound for bzr on your machine [21:50] lifeless: its a laptop [21:50] now try with 'time bzr --no-plugins info' [21:50] and no sdd [21:50] ronny: its not IO, not once the cache is hot [21:50] real 0m0.547s [21:50] user 0m0.381s [21:50] sys 0m0.143s [21:50] info doesn't write [21:51] bzr plugins [21:51] I bet you have 2 or 3 installed [21:52] launchpad, netrc_credential_store, qbzr [21:52] :) [21:52] http://bazaar-vcs.org/Scenarios has some empty pages, like "Share common versioned code (e.g. standard utilities) between multiple projects" is there some other documentation about this? [21:53] so, I'd like to make the overhead of loading code lower [21:53] but its so far proved fairly resistant to cheap fixes [21:53] zsquareplusc: doc.bazaar-vcs.org has a comprehensive user guide [21:54] lifeless: my lower bounds for hg are around: [21:54] real 0m0.271s [21:54] user 0m0.179s [21:54] sys 0m0.082s [21:55] lifeless: and thats with with 14 extensions [21:55] ronny: yes, hg's code is extremely pithy [21:55] 'pithy' ?! [21:56] i quite like it, most of the anyvc stuff for hg was done in fractions of the time i needed for bzr [21:56] ronny: [21:56] adj : concise and full of meaning; "welcomed her pithy comments"; [21:56] "the peculiarly sardonic and sententious style in which [21:56] Don Luis composed his epigrams"- Hervey Allen [syn: {sententious}] [21:56] jelmer: ah, thanks [21:57] ronny: pithy - small, compact. [21:57] ronny: that's mainly dependent on what you're familiar with though, I suspect [21:57] lifeless: but that quite fits the most important rule 'to be fast, do less' [21:58] jelmer: well, hg is something i can keep i my head as whole, bzr isn't [21:59] and that results in a direct massive productivity gain [21:59] ronny: I'm working on bzr-hg and for me it's the other way around [21:59] hg's model is absolutely simple [22:00] you got a store of revlogs, some represent files, then there is the manifest, and the changelog, === thumper-zzz is now known as thumper [22:01] one of the thing that might be bugging is stuff like infering directory-renames [22:01] ronny: so its bzr's: you have a byte store, files, inventories & commits. [22:02] i came to the conclusion that cimplex inventories are no real gain [22:02] they never catch the intresting details [22:02] cause thats file-level refactorings [22:03] lifeless: bzr's model is not that appearant from how one codes for it [22:03] ronny: where are inventories significantly different from manifests? [22:04] jelmer: i think the main difference is dont care about directories [22:04] also there is no inode id maping [22:04] ronny: inode id mapping? [22:04] (god how i hate that path2id stuff on memorytrees) [22:15] jelmer: another issue with bzr is, all those inheritance tres that distribute meanings across the whole source tree [22:17] jelmer: btw, whats driving you to do bzr-hg, and whats missing to make a hg-bzr as well? [22:19] ronny: being able to "bzr branch hg://foo" and natively push/pull hg repo's [22:20] I'm not sure what would be necessary for a hg-bzr [22:20] don't you get that for free then? when you can push to empty hg repo you have the conversion? [22:21] lifeless: is scrolled through the contents of the user guide but i don't see anything about that topic. [22:21] jelmer: from the bzr codebase side, is there any diffence to it where the bzr repos are? [22:21] jelmer: i think the only thing really missing is some quick wraper around hg's localrepo [22:21] is there a workflow that helps where svn:externals are used in the other VCS? [22:22] zsquareplusc: not currently [22:22] zsquareplusc: we haven't finalised our equivalent to externals, they aren't supported today. You can use an external tool, such as config-manager, instead. [22:23] http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#workflows [22:23] but is it possible to to a bzr checkout of one branch within an other? running ci/update etc on the "sub repo" would be to bad [22:23] is the workflows stuff you were asking about [22:23] you can checkout Foo ; cd foo; checkout bar [22:23] that works fine, you just have to commit bar and foo separately [22:24] ok :-) [22:26] jelmer: my ideal goal would be to have n-way integration between all reasonable vcs's on anyvc, but thats pretty much a pipedeam for now [22:30] jelmer: hi [22:30] jelmer: is bzr-svn supporting concurrent access to the same svn /repo/ ? [22:35] lifeless: as much as svn itself is [22:36] jelmer: in #twisted, a sqlite3 operationalerror was encountered by exarkun [22:36] lifeless: ah [22:36] pushing and pulling at the same time to svn [22:36] lifeless: using tdb should work around that [22:38] ronny: in that regard anyvc provides the same sort of abstraction as bzr does [22:40] jelmer: i thing bzr's abstractions are layered a bit weird, a vcs shoudl be a vcs first, not a abstraction lib [22:57] hello jelmer, welcome back [22:58] hello jam? [22:58] morning mr poolie ;) [23:03] hi poolie [23:05] hi, shall we talk? [23:05] poolie: yeah, can you call the house? I just got the new laptop so not everything is set up yet. [23:06] sure [23:09] sorry, sound troubles... [23:09] np [23:43] jam: whats the new laptop? [23:45] lenovo t500 [23:46] 2.8GHz cpu, 3GB ram, etc [23:46] nice [23:47] hmm fastexport-hg is kinda slow [23:47] about 5revs a sec [23:53] jam: when you are around, I want to talk realtime about this [23:53] grouping issue