[00:19] jelmer: http://yellow5.com/pokey/archive/pokey80_3.gif [00:43] james_w`: around? [00:44] Bazaar just took up 765 MB of ram [00:48] TDJACR: you're adding some large files to bzr? === james_w` is now known as james_w [01:03] lifeless: briefly [01:04] nvm, filed a bug [01:09] spiv: No, I branched launchpad [01:11] TDJACR: oh, right. That's a very large branch, we've been working on improving the memory use in bzr's trunk [01:13] TDJACR: bzr's trunk plus a couple of patches that will land shortly uses roughly 2/3rds of the memory of 2.0.1 I believe, and that should keep improving as we work towards 2.1 [01:15] TDJACR: (there's ~65000 revisions in Launchpad's history last time I checked, and about 7000 files!) [01:16] TDJACR: so, basically, known problem, but we're working on it [01:20] vila: buildbot trunk has my subunit patch [01:59] back [02:48] lifeless: so, how far away is a proper fix for the --subunit issue that's preventing PQM from rejecting test failures? [02:49] lifeless: I'm wondering if we should temporarily remove the --subunit option until we figure out a better fix. [02:49] spiv: I'm hoping to start on the cleanup this avo [02:49] just want to get one of the dx ppa builds up first [02:50] still solving teething problems [02:50] lifeless: cool, "this arvo" is a good enough answer for me. [02:51] lifeless: mind if I assign the bzr bug to you? [02:54] * spiv updates the bug description [02:55] spiv: uhm [02:55] spiv: I don't particularly care, but its a different bug I think [02:55] spiv: and its not my top priority, I'm just trying to squeeze it it [02:55] *in* [02:56] Hmm. [02:57] right now I don't recall how messy the badly mapped things are [02:57] basically need to un-messy them and get detection out of the TestResult and back to the TestCase [02:57] it might be an hour, it might be a day [02:59] and then we'll need the subunit in the pqm updated? [03:00] possibly. I won't try to depend on the latest, but I may have to. [03:00] have a look at the code ;) [03:00] Ok. I think I will temporarily disable the --subunit option then. The niftiness isn't quite worth the discomfort, and it'll be easy to turn back on when it's sorted. [03:01] Thanks. [04:33] * spiv has a late lunch [04:43] spiv: subunit doesn't need improving [04:43] spiv: I've tried to correct this meme in the bug, but its not seeming to stick, so I'm coming direct :) [04:44] lifeless: please feel free to edit the description and summary directly :P [04:45] lifeless: I wrote the most recent comment before seeing yours about it not being subunit that needs improving, though. [04:45] spiv: kk [04:45] spiv: I'm not stressed, I just want to fix the meme :) [05:06] <_Andrew> hi [05:07] <_Andrew> I'm getting the error "These branches have diverged. Use the missing command to see how." [05:07] <_Andrew> What's the "missing" command and if it's missing how do I use it? [05:08] "bzr missing" [05:08] <_Andrew> ah, I was doing it wrong.. --missing [05:08] And you'll probably want to use "bzr merge" rather than "bzr pull" to combine the different changes made on the two branches. [05:09] <_Andrew> ah ok [05:09] <_Andrew> Yes that's working [05:10] <_Andrew> Since I'm already here could you tell me what "M*" means? It's that a conflicted merge? [05:10] See "bzr help status-flags" [05:11] M means the contents of the file have changed (been modified), * means the execute bit changed. [05:12] <_Andrew> ok thanks for the help! :) [05:35] <_Andrew> Actually I have another question, sorry. Say I have branch A with a file and I want to merge changes from branch B, but I don't want branch A to merge changes from a specific file, how do I do that? [05:52] _Andrew: You can do "bzr merge path/to/branch-A/some/file" [05:52] (IIRC) [05:54] _Andrew: note that cherrypicking a change like that won't be tracked by bzr though, i.e. bzr won't remember that you've done that merge (unlike most merges), so it might cause conflicts next time you merge from that branch. [05:56] <_Andrew> Can't you just lock the file or something? [05:56] <_Andrew> It's an image and I don't want the images to change [06:36] _Andrew: oh, you want to ignore changes to a specific file [06:37] _Andrew: you can do "bzr revert that_file" after the merge [06:37] (sorry, I misread your question) [06:38] _Andrew: in general there's no way to say "only these parts of this branch should change". You can split a project into multiple branches, though, which may help. [06:45] Question: for shared repositories to work, do you need to have them be subdirectories in the shared parents root? Or could I have them (on Windows for instance) as far apart as on different drives? [06:47] KhaZ_: you need the branches to be inside the shared repository directory, but you can have the working tree(s) for those branches anywhere. [06:49] Fascinating. I never thought about separating the branch from the working dir, but I suppose that's always been the case; I just assumed they were one in the same. [06:49] [Branches inside a shared repository are tiny; the things that take up space are the history (which is inside the shared repo) and the working copy that you can edit (which does not have to be co-located with the branch)] [06:50] If you do "bzr init-repo --no-trees" (or later "bzr reconfigure --with-no-trees"), then branches in that repo by default will have no working tree. You can then do "bzr checkout /path/to/repo/branch" from any directory you like. [06:51] Er, [06:51] "bzr checkout --lightweight ..." [06:51] The --lightweight is important, otherwise it will make a full copy of the history rather than use the branch's repo :) [06:52] Interesting. So say I currently have two repos that (I believe) are 'standalone', but they really are just clones of each other that I do work in. I can use reconfigure to change it to a shared repository scheme? [06:53] Yes, I believe you can do "bzr reconfigure --use-shared", although I don't know the precise details. [06:54] Hrmm, I'll have to read into that. Do shared repo's have any other benefit besides space saving? [06:54] Just space-saving, really. [06:54] (Although that can in turn lead to speed improvements) [06:54] well branching is quicker inside it because you don't have to copy as much [06:55] right yes [06:55] e.g. the time to do "bzr branch" will be much much faster, as dash says :) [06:56] Right. Hrmm, maybe I'll put it on the backburner then... Don't do much branching luckily. :) Still, good to know. [06:56] KhaZ_: If you have two branches inside a parent, and you cd to that parent and do "bzr init-repo ." then you should be able to cd to each branch and do "bzr reconfigure --use-shared". [06:57] s/inside a parent/inside a parent directory/ [06:58] But literally the parent - not just any common ancestor, yeah? [06:58] I currently have two paths that could be shared, but they're basically about four levels apart from each other (I'm versioning the contents of my work (Perforce) repo, but source code only, is why I ask). [06:59] (On a side note, shazbot is sourceforge's git cloning slow!) [07:00] I'm not sure how fussy bzr reconfigure is. [07:00] Interesting. I might try that then. [07:01] I suppose you could always make the repo in the immediate parent and then after the reconfigures move the .bzr of the repo up a few levels. [07:01] hi all [07:02] Hey vila [07:03] vila: I've disabled --subunit in make check for now until lifeless figures out what needs to be done to make it do what we need [07:03] vila: so hopefully babune will stay nice and green from now on [07:04] spiv: I've read that and lifeless replies and announce that it will work on it on the bzr side, thanks [07:06] spiv: well, babune has a bad flu since a couple of weeks with the leaking tests and then the terminal width saga took me a while to figure, so it's good to know *that* failure source is closed :-) [07:22] hi vila [07:59] what's this babune thing people are talking about? [07:59] jelmer: buildbot test server that vila runs [07:59] ah, thanks [07:59] hi vila [08:00] hi Ian ! [08:00] jelmer: BAzaar BUild botNEt [08:01] :-) [08:02] jelmer: https://launchpad.net/bzr-buildbot-net and http://babune.ladeuil.net:26862/ for the full monty [08:03] * igc dinner - night all [08:05] g'night Ian [09:09] Just a quick question, how do I install the bzr explorer (and run it?) [09:09] I executed the setup.py install, tried "bzr explorer", but the explorer plugin cannot be loaded... === weigon__ is now known as weigon [09:32] Ok, reinstalling qbzr fixed the issue ^^ [09:33] cpf_: what OS/versions are you using ? [09:37] vila: debian, python 2.5.4, bzr 2.0.1 [09:38] cpf_: ok, so you're installing the plugins system-wide and not in your ~/.bazaar directory ? [09:39] cpf_: and when you said "but the explorer plugin cannot be loaded" did you get a proper message telling you about an unmet dependency on qbzr or just a "can't load plugin" kind of message ? [09:42] vila: Uh, 10:32 < cpf_> Ok, reinstalling qbzr fixed the issue ^^ [09:43] I ended up installing in ~/.bazaar/plugins, but it's all the same now, it works like a charm XD [09:45] vila: Oh, and no message about an unmet dependency. Just: "Unable to load plugin 'explorer' from '/usr/lib/python2.5/site-packages/bzrlib/plugins'" (When it was installed globally) [09:45] cpf_: ha, that was my fear, hence my question [09:46] cpf_: can you file a bug against bzr-explorer on lp mentioning your versions so that a better error message can be issued [09:46] and by the way, what made you suspect qbzr ? [09:46] http://doc.bazaar-vcs.org/explorer/en/install-source.html << End of page [09:46] I had all the rest... [09:46] Thought I had qbzr already (used to have it at least) [09:46] Must've lost it somewhere xD [09:48] either bzr-explorer setup.py or __init__.py should report it more nicely IMHO :-/ [09:49] I agree, but __init__.py looks scary :( [10:34] Can BZR_PLUGIN_PATH point directly to a directory that contains a single plugin or should it point to a directory that contains other directories with plugins (like ~/.bazaar/plugins)? [10:35] The latter. [10:35] :( [10:36] Maybe you can trick it with some symlinks? [10:37] vila: what do you think of allowing a path to name a plugin [10:38] I think I'll have to. I am developing a plugin. Right now the development is in a subdir of ~/.bazaar/plugins/. But I'd like to move it to another local repo (point 1) and use the pipelines plugin that creates a serires of directories/branch (point 2). [10:38] e.g/ foo:pluginname@directory [10:39] lifeless: I think it's an inferior solution if you want to test a specific version of a plugin *because* that plugin may depend on other plugins [10:39] vila: well yes, but its a recurring request [10:39] so I think it's better to create a dedicated directory for the tests where you put symlinks to whatever plugins you want [10:39] lifeless: true [10:39] may be we should add two command lines options: --plugins and --single-plugin ? [10:40] adding the command-line option is more or less missing right now (I use BZR_PLUGIN_PATH=-site all the time and far more typing than --plugins=-site [10:40] vila: I'd rather come up with a good syntax to specify in the path [10:41] lifeless: like a leading-but-otherwise-forbidden char ? [10:41] Maybe the semantics of BZR_PLUGIN_PATH could be changed to mean: if the directory itself does not contain a module at the top level, then it act like it does not. Otherwise, if the BZR_PLUGIN_PATH contains a plugin in the top level, then load that without recursion [10:41] gioele: can't do that [10:41] gioele: 8-( [10:41] need a plugin name [10:42] lifeless: why? [10:42] (btw I cannot find a complete example on the use of BZR_PLUGIN_PATH in the documentation, just quick references) [10:42] gioele: because plugins get loaded into bzrlib.plugins.NAME [10:43] gioele: there is, wait [10:43] gioele: which makes them regular python packages/modules rather than 'different' things [10:44] lifeless: can't you say "load the python module that lies in exactly that directory"? [10:44] gioele: load it as what [10:44] what would its name be? [10:44] gioele: http://doc.bazaar-vcs.org/bzr.2.1.0b1/en/user-reference/index.html?highlight=bzr_plugin_path#bzr-plugin-path [10:45] lifeless: basename `dirname $path` [10:45] hi all [10:45] lifeless: +plugin: ? [10:45] gioele: that would be wrong far too often [10:46] vila: something; too tired to thing through consequences; my sketch was the one with @ before [10:46] hmm, using ':' is bad here :-/ [10:46] vila: oh, I was looking into the dev documentation. Thanks for the link [10:46] oh, that was a skecth, sorry, didn't realize [10:47] hmm, so you could override the dir name, right, that should be optional though, but I see the point [10:51] lifeless: @ is a good idea and since '+' is already mandatory, I think +[name]@directory will do fine, but the main problem I can see is that it's not a real PATH spec and will need special handling [10:52] vila: whats the + for? [10:53] +/- is used to add or remove from BPP (BZR_PLUGIN_PATH), see url abov [10:53] vila: + isn't needed then [10:53] vila: unless soeone wants to edit the path [10:53] by default you start with +user:+core:+site so if you say BPP=-site you ends up with +core [10:54] because +user is the default value for BPP [10:54] it's needed to identify magic values [10:54] I dispute that [10:54] its just code [10:54] oh, you mean when using @ [10:56] lifeless: look at the tests: [10:56] ['myplugin'], ['myplugin', '-user', '-core', '-site'] [10:57] ['myplugin', '+core', '+site', '+user'] [10:57] the former is myplugin only, the later is myplugin first [10:57] vila: I don't understand your point [10:58] lifeless: what are you disputing (I may misunderstand that :-) ? [10:58] that + is needed to use @ as I propose it be used [10:58] yes, my latest remark, + is not needed for @ [10:59] well, your latest remark was telling me tolook at the tests [10:59] because - makes no sense [10:59] so, you can understand my confusion [10:59] lifeless: sorry, I meant my remark after you said 'I dispute that' [11:00] so, I don't understand your point *after* that remark [11:00] why are you telling me to look at the tests === rml_ is now known as rml [11:00] what do I have wrong [11:00] lifeless: forget it then, I thought you disagreed with 'you mean when using @' [11:01] vila: I didn't ssay *anything* after that, except to express confusion [11:02] lifeless: ok, let's reset at: '@ does not need +' ok ? [11:02] * spiv expresses confusion with a confusing expression ;) [11:02] ok === weigon_ is now known as weigon [11:49] hello, all. I develop in a project which uses svn as main repo. I previously worked with it through git-svn and now due to general dev move to bzr I move to it too. I imported my git stuff with bzr-git but now I find myself unable to merge anything coming from bzr-svn with anything coming from bzr-git. Any help? === lamont`` is now known as lamont === mtrudel_ is now known as cyphermox [13:52] I'm having a bit of trouble figuring out how bazaar works, can someone help me out? I've created my repository, and comitted the initial files, now I don't know how working on a remote repository works. Sure I can connect fine, but in the xplorer when I connect it says its on revision one and that there are no working branches. [14:02] morning all [14:02] hello jam [14:03] Bear10_: read tutorial from this section and down http://doc.bazaar-vcs.org/latest/en/mini-tutorial/index.html#publishing-your-branch-with-sftp === davidstrauss__ is now known as davidstrauss [14:12] thanks [14:14] bialix, okay I understand this concept, but are all branches you create first local? then you upload the whole branch, and it then creates that branch on the server for others to work on it? [14:15] Peng_: the chk_map patch is on its way to pqm [14:15] vila: let me know if there is babune fallout [14:15] Bear10_: you can create branch on server first [14:15] bialix: would you by chance know how to import git-svn to bzr and have same ids on files as bzr-svn'ed branches? [14:15] it does not realy matter [14:15] * jam needs to go wrestle bzr-rewrite into submission so I can officially announce 2.1.0b1 [14:15] morning jam ! [14:15] sorry im new to this heh read everything i could now its a matter of putting it into practice [14:16] jam: if you ping me as soon as it lands, I'll make a run just for you [14:16] Bear10_: you can do it either way [14:16] jam: or if I happen to see it lands before you ping me, I'll telll you [14:16] phcoder: I can't say for sure. Try asking jelmer, jam, vila and lifeless [14:16] *I* tend to create branches locally, and then push them when I'm ready for it [14:16] hi guys [14:16] hey abilx [14:17] phcoder: svn => git => bzr is going to be very difficult to get identical to svn => bzr [14:17] jam, that seems most logical (to me) [14:17] lol [14:17] I would recommend using "git dpush" back into svn, and then pulling from there [14:17] vila: :-# [14:17] Bear10_: of course, I create *lots* of branches, and push fairly regularly [14:17] wow, how did I typoed that.... [14:18] jam: you mean dcommit? It could work. I need to setup local svn for this [14:18] jam, where is the "main" build / revision of the app stored? in a branch? the root? [14:18] phcoder: right [14:18] dcommit [14:18] Bear10_: I don't quite understand the question [14:18] what "app" ? [14:18] jam, the project [14:18] sorry Alexander, I meant to type bialix, may be I should use the completion more :) [14:18] vila: I was under impression it was intended [14:19] vila: anyway you made me good lol [14:19] not at all, no idea how it occurred :-/ [14:19] jam: Great. :) [14:19] ha good :) === EdwinGrubbs is now known as Edwin-afk [14:19] vila: everything is fine [14:19] :-D [14:19] phcoder: note, though, that I think you need the *same* svn UUID, and some other such bits [14:19] Actually git preserves svn ids. Can I perhaps somehow hack bzr-git to use them to create IDs? === mrevell is now known as mrevell-lunch [14:21] okay i think i understand this now [14:21] I think a recent revision of bzr-git has some git-svn stuff. [14:22] the last line in log entries looks like " git-svn-id: svn+ssh://svn.savannah.gnu.org/grub/trunk/grub2@2618 d0de0278-0dc1-4c01-8a07-af38b3205e46" [14:22] Peng_: oh. Looks like my sid is outdated. Going to find bzr dev repo [14:22] jam: official announce will be good. it becomes bad habit to wrap tarball, build installers and then announce after a month [14:22] jam: no pun intended [14:23] bialix: well, since the 2.1.0b1 installer still doesn't work [14:23] I haven't announced [14:23] I was hoping jelmer would release an updated bzr-rewrite [14:23] but he didn't seem to notice my queries [14:23] phcoder: Note that I didn't claim it will work or anything! :P [14:23] so I'm going to have to do it myself [14:23] jam: I know. But they to gold almost 2 weeks ago [14:24] *going to gold [14:25] Peng_: I guess I'll have to find out and hack if needed. Can someone provide me an insight on how file UUIDs are generated? [14:25] or a link to dev doc should be ok [14:29] phcoder: it depends on the source and converter [14:29] I believe bzr-svn's codebase is where you want to look [14:29] IIRC it was something like branch@revno+path [14:30] I think the syntax might be a little different, but that's basically it. It includes the repo UUID. [14:30] (I think?) [14:30] How can I look at File IDs in my repo? [14:30] phcoder: Various commands accept a "--show-ids" argument. "inventory" might. [14:32] vila: what is the status of: https://code.edge.launchpad.net/~vila/bzr/353370-notty-no-term-width/+merge/13832 [14:32] Did you decide to abandon it? [14:33] huh ? Certainly not, but you said you wanted it to be discussed, so I'm waiting :-) [14:34] Well, may be I should have summarize some more ideas I had since, but I thought there was already some meat (and code !) to start the discussion === mrevell-lunch is now known as mrevell [14:34] like, we may want to move some parts of that into bzrlib.ui.... [14:36] ...fater our discussion friday, I wasn't sure about the outcomes, having thought a bit more about COLUMNS, it seems that if we see it in os.environ, it means the user set it, so I stand by my design to obey it if present (unless proved wrong, but all my tests on various OSes so far...) [14:36] s/fater/after/ damn fingers [14:37] * vila removes his boxing gloves [14:41] bzr is downloading at 2 KB/s on otherwise decent connection. What may be the cause? [14:41] jam: what were you referring to in 'Peng_: the chk_map patch is on its way to pqm' ? [14:42] vila: https://code.edge.launchpad.net/~jameinel/bzr/2.1-static-tuple-chk-map/+merge/13740 [14:42] using StaticTuple in the CHKMap code. [14:43] pqm queue is empty... [14:44] phcoder: bzr ls --show-ids [14:46] bialix: already found it, thanks. When I'll download bzr at this 2KB/s I'll get hacking on it. [14:46] I'll probably go with lightweight checkout [14:47] you can get tarball then [14:47] jam: so you didn't submit it to pqm yet ? [14:47] vila: it is submitted, and going through testing now [14:47] unless it got rejected... [14:48] hmm.... I sent it, I'll try again, I guess [14:48] may be some delay between you and pqm... [14:49] No, I'm just full of it [14:49] I realized I wanted to update NEWS before submitting [14:49] and then forgot to push and then submit [14:49] happens :-/ [14:51] Tarball downloading is at 400KB/s. Checkout is at 2KB/s. Why is this? Unfortunately I have the same problem on grub2 bzr too [14:52] phcoder: what version of bzr? [14:52] vila, Peng: now it is *really* there [14:53] phcoder@debian:~/repos$ bzr version [14:53] Bazaar (bzr) 2.0.1 [14:53] jam: ok [14:54] jam: I haven't read the patch in detail, so just a quick check: it doesn't makes the C extension mandatory right ? (Welll babune *will* tell, but you're faster :-) [14:55] vila: it isn't supposed to. It *is* supposed to make using one of the StaticTuple implementations mandatory [14:55] errrr, I thought spiv said he desactivated --subunit on qpm but I'm still seeing the progress report... [14:56] ohhh, I missed more than I thought then, you made python and C impls. for StaticTuple ? [14:56] I thought you keep using tuple for python... [14:57] link here http://bazaar-vcs.org/BzrPlugins to bzr-svn is broken can somone provide me the good one? [14:58] vila: he did, and it is a different progress indicator [14:58] hence why it says "0%" [14:58] vila: _static_tuple_py.py inherits from 'tuple' [14:58] rather than wrapping it [14:58] so that you don't get 2x memory *bloat* when not running the extensions [14:58] ok [14:58] phcoder: 'bzr branch lp:bzr-svn' ? [15:00] jam: BTW, when using _static_tuple_py, does intern() intern forever? [15:00] jam: by the way, one of the expected outcome from reducing memory consumption was also to reduce time spent handling it, did you see some significant performance improvement there ? [15:00] Peng_: yes, I can't mutate the refcount of native python objects [15:00] jam: worked. Thanks [15:01] vila: 'time bzr branch launchpad' went from 10-11m => 8.5m [15:01] jam: nice ! [15:01] vila: I think it is mostly from removing GC objects [15:01] which I *think* has a quadratic effect [15:02] everytime you allocate N gc objects, it does a gc sweep [15:02] and then you have +N objects [15:02] jam: ...That's kind of bad. [15:02] often more than linear yes [15:02] so after doing 100k objects, you have triggered 100k / 700 sweeps, and each one at 700 objs, 1400objs, ... etc [15:04] anyway, I expect small to no improvement for "bzr branch bzr" but a modest improvement for 'bzr branch lp' [15:04] and probably an even bigger on for "bzr branch mysql"... probably quite significant for "bzr branch OOo" [15:06] is there a way to tell the webdav plugin to remember user and pass ? [15:09] visik7: yes, use authentication.conf [15:10] vila but I need to specify the user/pass in that file ? [15:11] what's the difference of specifying if in branch.conf as http+webdav://username:password@domain/path ? [15:11] visik7: well, either that or you type them [15:11] I would a way to autosave from the command line when I first branch/checkout [15:12] autosave is a can of worms nobody want to open now [15:12] visik7: but patches welcome ! [15:13] specifying them in branch.conf is more risky and branch specific whereas authentication.conf will allow you to specify them *once* for each host [15:13] or even a whole domain depending on your usage, see the doc [15:14] ok [15:14] visik7: http://doc.bazaar-vcs.org/development/en/user-reference/index.html#authentication-definitions [15:28] $ bzr upgrade --format=rich-root-pack [15:28] bzr: ERROR: Cannot convert from format Branch format 7 to format . No converter [15:28] am I out of luck? [15:28] with bzr 2.0.1 [15:30] nyu: that is a downgrade, is there a reason you want to do so? [15:30] jam: I want to remain compatible with bzr 1.5 [15:32] nyu: I guess that isn't something we specifically worked on. let me check the code a bit [15:34] yeah, i think Branch7 was introduced in bzr 1.6... [15:34] * nyu screams vendor lock-in ;-) [15:34] is there a reason 1.5? [15:34] well [15:34] I use 1.5 myself, as it comes in debian lenny [15:35] and I wouldn't want to make it harder for all lenny users to access the repo [15:35] nyu: just make it available via svn / git as well..? [15:36] actually it comes from svn, but we only have trunk there [15:36] uhm. I guess most users can live with just trunk [15:37] nyu: do users use svn / bzr? [15:38] well, I was thinking more s/users/casual contributors/ [15:39] the kind of people who send a patch once and are never seen again [15:39] nyu: well, it is trivial to do the downgrade [15:39] we just didn't implement it [15:39] I think it will be about a 10-line plugin [15:39] give me a sec [15:39] oh [15:39] phcoder: sounds like an easier approach [15:40] nyu: what an effect when a GNU maintainer asks ;) [15:40] hey, I wasn't asking [15:40] just suggesting :-) [15:41] want me to give up with 1.5 completely? [15:42] nyu: what project is this btw ? [15:42] d1b: GRUB [15:42] oh. [15:42] grub uses bzr? [15:42] to some extent yes :-) [15:42] i only see svn on the site tho. [15:43] maybe we end up switching completely [15:43] oh, haven't had time to update it [15:43] besides, the website is still in *CVS* [15:43] nyu: plz do provide another version control system to download stuff via tho :) -> im also on lenny and don't want to update foo just to get the dev current stuff [15:43] etc. [15:44] nyu: well, I looked at implementing a converter, but it looks like the upgrade code doesn't want to do it cleanly. So I'll give you the real secret way [15:44] echo "Bazaar Branch Format 6 (bzr 0.15)" > .bzr/branch/format [15:44] nyu: as long as you aren't using stacking, format 6 is identical to format 7 [15:44] jam: lol [15:45] ok :-) [15:45] the format bump was mostly a 'compatibility' flag. [15:45] We didn't want older bzr's to think they could write to a stacked branch [15:45] and then bork the content [15:45] if I don't know what stacking is, does that mean I'm not using it? [15:45] 'bzr branch --stacked' [15:46] I doubt you are using it [15:46] possibly on Launchpad, but that doesn't sound like where you are doing this stuff [15:46] $ bzr branch sid/mips [15:46] bzr: ERROR: Unknown working tree format: 'Bazaar Working Tree Format 6 (bzr 1.14)\n' [15:46] uhm [15:47] nyu: 'bzr2.0 remove-tree' 'bzr1.5 co .' [15:48] actually, I think "bzr remove-tree; bzr co" would do just fine with 2.0 [15:49] still same error [15:49] note this branch is an import from git [15:51] nyu: well, if you just do "bzr remove-tree" then it shouldn't be possible. Though I'm wondering if there is another WT somewhere that is confusing it. [15:52] WT? [15:52] well, this branch is inside a rich-pack [15:52] and I'm branching to outside of it [15:53] same problem when branching to inside the rich-pack [15:57] WT == working tree [16:04] jam: babune run started [16:18] vila: thx === sdboyer is now known as agentrickards_lu === agentrickards_lu is now known as sdboyer === deryck is now known as deryck[lunch] [16:49] which API function is used to add a file to a repo? === beuno is now known as beuno-lunch [16:57] I'm using WorkingTree.smart_add [17:10] hello, is there a documentation somewhere how to handle binary conflicts? [17:11] mv file.ext.OTHER file.ext causes 'unknown file.ext' message to status, so that sounds like a bad idea. [17:19] Milo-: That's odd - Are you sure you did not have a typo. [17:19] it gives two messages to status [17:19] "removed file.ext" and "unknown file.ext" [17:20] and when you finally hit bzr resolve, it says all is fine, but when you commit is says "missing file.ext.OTHER" [17:20] Milo-: If not confidential, please pastebin the actual output [17:20] I'm thinking I should move file over another like that. [17:20] I shouldn't* [17:21] can't, team mate handled that conflict [17:21] with my instructions. [17:21] and he used windows's bazaar integration.. === deryck[lunch] is now known as deryck [17:21] Milo-: "missing file.ext.OTHER" - that sounds like "file.ext.OTHER" was committed. [17:22] GaryvdM indeed :/ [17:23] that sounds like something/someone did a "bzr add file.ext.OTHER", and then "bzr resolve" removed that .OTHER file [17:26] hmm, I can't reproduce anything but a cosmetic problem if I do that though. [17:26] specifically I get a "missing a.OTHER" when I commit, but the commit succeeds and a.OTHER doesn't seem to get committed anywhere. [17:27] that doesn't seem to be a merge/resolve-specific thing, actually. [17:28] if I touch, bzr add, and rm a new file I get that same "missing b" on commit (and it's not mentioned at all in status) [17:28] Does bazaar support relative dates for logging? [17:28] For example, " [17:28] *For example, "give me the logs for the past week" [17:28] I did the binary conflict now with openoffice [17:28] (for some definition of week) [17:29] made file.odt, changed it in two locations [17:29] commited the other one [17:29] updated on the other checkout and got conflict, now I only have "file.odt.OTHER, file.odt.THIS, file.odt.BASE" [17:30] jfroy|work: skimming "bzr help revisionspec" says it can do yesterday, today, and tomorrow, but I see no other relative things there [17:30] file.odt has been renamed to file.odt.OTHER [17:30] thought THIS had my changes and OTHER the other person's changes. [17:30] Milo-: checkouts are special like that, iirc [17:31] I guess you could use -r date:{last's week date}.. [17:31] so how do you resolve the conflict? [17:31] should I manually merge the stuff to the .OTHER and then just hit resolve? [17:31] or what? [17:32] Milo-: I'm pretty sure you should just put the right content in file.odt and then "bzr resolve" [17:32] Milo-, if file.ext is the way you want it, you can probably bzr rm file.ext.OTHER [17:32] Milo-: normally bzr gives you a bunch of files to make that easier: your version, the other version, the closest ancestor version, and a merge [17:33] hehee [17:33] Milo-: it can't give you a merge for a binary format, which is probably why file.odt is now missing [17:33] did `bzr resolve file.odt` [17:33] that removed the .OTHER .THIS and .BASE [17:33] and now I don't even have the file.odt :D [17:33] yes [17:33] ah [17:33] that's odd [17:33] renamed: file.odt => file.odt.OTHER [17:34] normally you just do "bzr resolve" and it detects which conflicts you actually resolved [17:34] that was one of the lines that I got when I did bzr update [17:34] bah, the term I did this in has no scrollback [17:34] what if I just want to ignore the changes my team mate did? [17:34] you'd cp or mv the right file to file.odt and bzr resolve [17:35] that's what I told my team mate to do [17:35] and we had the missing 'error' [17:35] since it committed all nicely it doesn't 'really' matter [17:35] I tend to avoid checkouts in cases where you actually end up merging, because they're a little confusing. [17:36] I don't understand why you'd get that error unless something went and bzr added that file [17:36] (it's entirely possible some integration thing did that, I don't use those) [17:36] I use branches with my laptop and checkout with my desktop [17:36] since laptop is mostly offline (or can't reach port 4155), and desktop isn't [17:36] well, I used bash, and that renamed the .odt file completely [17:37] I think the message you're getting is just cosmetic (it noticing the file vanished from the working tree since the last time it looked) [17:38] Milo-: "bzr resolve file.odt" forcibly resolves the conflict. (giving an explicit name tells us that you want this file to be unmarked.) [17:38] yes [17:38] jam yes [17:38] as for "mv file.odt => file.odt.OTHER" [17:38] that would hint that you had deleted the file locally [17:38] and someone else made changes that you merged [17:38] yes I know [17:38] thought it would bring the local copy back [17:38] if you still want the file gone "bzr revert file.odt" should do the right thin [17:38] by re-renaming the OTHER [17:39] Milo-: it *did*, but as "file.odt.OTHER" to indicate it was deleted locally [17:39] it's trying to prevent you from accidentally resurrecting the file, afaict. [17:40] but now if I move some other file as 'file.odt', the change history points to some other file, that gets destroyed along with file.odt.OTHER ? [17:40] I'm not sure if this is exactly *always* the case, but if you do get a conflict it's pretty unusual to be able to commit the conflicting file as-is. [17:40] I don't follow. [17:41] if you put some completely unrelated file in as file.odt and say "bzr resolve" or "bzr resolve file.odt" I'd expect it to remove file.odt.{THIS,BASE,OTHER} [17:41] I don't understand what "the change history points to some other file" means [17:41] it removes them, but the repo still has history of that file.odt that had the conflict in the first place.. [17:41] yes [17:42] (how could it not have that history?) [17:42] and now that the file.odt is no longer that file, the history isn't exactly 'his' now is it? [17:42] what? [17:43] file.odt is replaced with some other file [17:43] well, he did "bzr merge somebranch", and committed. [17:43] so the history from branch "somebranch" is now part of the history of that branch too [17:43] the history points to the old file.odt, right? [17:43] that's what a merge *does*, very roughly. [17:43] but this wasn't from merge.. [17:43] if you run "bzr log file.odt" you'd see those old revs, yes. [17:43] ok [17:44] if this is a checkout that got out of date and got updated that *is* a merge [17:44] I am confused about what you're confused about! [17:45] heh [17:49] how do I extract a diff of the whole branch? (other than searching the branch point + bzr diff -r..) [17:50] nyu: bzr diff -rancestor:../parentbranch [17:50] where "../parentbranch" is the path to the branch you want to diff against === beuno-lunch is now known as beuno [17:55] thanks [18:14] Peng_, hi [18:14] would you like to take a peak at my YUI3 mp? [18:15] beuno: Sure, but I can't really review it. [18:15] I'd be happy to poke at it a bit, though. [18:15] Peng_, poking at it and seeing if there's anything broken is good progress :) [18:17] beuno: What do you mean by the search results being "off"? [18:17] Peng_, if you search, the autocomplete doesn't appear beneath the search box, it ends up middle aligned or something like that [18:19] Oh, fun. [18:19] yeah, I will fix that [18:21] Well, I just put it up on http://bzr.mattnordhoff.com/loggerhead/. [18:22] it seems to work for me [18:22] beuno: The YUI module pluginhost is getting loaded too [18:22] I mean, and it isn't declared in the page, so it always gets loaded from Yahoo! instead of using the local copy. [18:23] Peng_, that's interesting [18:24] beuno: Mind if I assign bug #439155 to you? [18:24] Launchpad bug 439155 in loggerhead "Upgrade to YUI 3.0.0" [Low,Triaged] https://launchpad.net/bugs/439155 [18:24] Peng_, not at all, I could use the karma! [18:25] :D [18:27] beuno: Ah, sorry, pluginhost doesn't get loaded after I refresh everything. [18:28] Peng_, good. Those things are a PITA to debug [18:29] beuno: Poking around a bit, everything does seem to work. :) [18:30] Peng_, super. Could you comment on the MP so we encourage mwhudson to approve? :) === raimue is now known as Raim === asac_ is now known as asac [19:16] * beuno waves at mwhudson [19:16] beuno: hello! [19:17] mwhudson, how are you? [19:17] beuno: i am ok [19:17] slightly disheartened by how much email even a single day off has resulted in [19:17] beuno: how are you? [19:18] mwhudson, pretty good, doing the release week dance, but good [19:18] ah yes [19:21] mwhudson, did you have time to look at me yui3 branch? [19:22] beuno: no [19:22] beuno: did you do the merge proposal thing? [19:22] mwhudson, https://code.edge.launchpad.net/~beuno/loggerhead/yui3-0-0/+merge/13744 [19:23] strange, i don't have that mail [19:23] mwhudson, it ooped :) [19:23] oh yeah :) [19:25] hm, it doesn' [19:25] t have a diff either [19:31] jam: breathe again ! [19:31] jam: babune just finished (and except for random leaking tests related faliures on OSX all is well) [19:32] jam: well, and one random on gentoo, but that doesn't count either :-/ [19:34] Oh, does that means it's safe to go back in the bzr.dev? [19:36] fullermd: hehe, it has always been safe :-) === abentley is now known as abentley-lunch [19:40] Famous last words... [19:44] beuno: replacing region.left with search_box.get('offsetWidth') doesn't seem like it's going to work [19:45] mwhudson, it doesn't :) [19:45] i see [19:45] I need to fix that before landing [19:45] beuno: why does region no longer work? [19:46] mwhudson, it's a great question. I haven't been able to find out. I went around in circles for a good hour, and gave up (that includes asking in #yui3) [19:47] i love the way noone actually knows what they're doing in js :( [19:47] :) [19:47] i mean, i know _i_ don't [20:05] beuno: basically i agree with Peng [20:05] beuno: it looks fine, but fix the bug before landing, eh? [20:06] mwhudson, sure, I will and land, thanks [20:06] beuno: i might try to poke at fixing the bug today if i get a moment [20:07] that would be nice [20:10] hi, we used to have a working bzr smart server (with bzr+http, fcgi, apache) [20:10] the bzr on that system was upgraded to 1.16.1, and now a bzr push (from a client with bzr 2.0.1) returns this: [20:10] bzr: ERROR: Server sent an unexpected error: ('error', "An attempt to access a url outside the server jail was made: 'chroot-139343724:///'.") [20:11] what could this be, where should i look for answers? [20:11] it's a bzr bug i think [20:11] huf: What was the bzr version of the client? [20:12] huf: Bug #348308. [20:12] Launchpad bug 348308 in bzr "Smart server jail breaks bzr+http with shared repos" [High,Fix released] https://launchpad.net/bugs/348308 [20:12] The one bug number in the world I have memorized. [20:13] huf: The fix is in bzr.dev; upgrade your server to it. Or, you can use the monkeypatch listed in that bug. === abentley-lunch is now known as abentley [20:19] thanks, that patch seems to have fixed it [20:33] how long should a branch of a ~200M repo take? [20:33] roughly [20:51] okay ;) i managed to segfault apache's mod_fcgid process handler with a bzr branch command [20:55] That's awesome. [21:05] oookay, now i get a timeout in the fastcgi process handler [21:06] FastCGI: comm with (dynamic) server "/var/www/bzr.nws.hu/bzr-smart.py" aborted: (first read) idle timeout (30 sec) [21:08] mwhudson: hmm.. I've been getting a lot of "Internal Server Errors" in loggerhead today. Does that get recorded as an OOPs ? [21:08] jam: no :( [21:08] mwhudson: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/annotate/head%3A/bzrlib/_simple_set.pyx [21:09] now, that turns out to be a bad URL [21:09] since it is "_simple_set_pyx.pyx" [21:09] jam: hooray loggerhead error reporting [21:09] but I wouldn't have thought a bad path would cause an ISE [21:09] it shouldn't, indeed [21:16] There's an open bug on better handling of bad input. [21:23] what's the "best practice" method of making password-protected r/w repos and serving them on the net? [21:26] huf: anonymous readonly ? or no access? [21:26] http? or ssh? [21:26] The most common is to just provide bzr+ssh:// and require full ssh authentication [21:59] My lord. 120 MB of download to propagate a few patches to Eclipse. Someday, oh someday we'll have a binary delta distribution system that is as efficient as the source delta distribution system aka bzr. [22:33] Can you just push branches into Ubuntu One? [23:15] abentley: hi [23:15] gioele: hi. [23:16] abentley: is bzr-pipeline supposed to work only with bzr 2.1 and not with 2.0? [23:17] gioele: The 2.0.0 branch is supposed to work with 2.0, and the trunk branch is supposed to work only with 2.1 [23:18] abentley: I didn't see a 2.0 branch. Is it on launchpad? [23:19] gioele: Yes: https://code.edge.launchpad.net/~abentley/bzr-pipeline/2.0.0/ [23:20] abentley: ah, OK. The Launchpad page for bzr-pipeline didn't show a 2.0 branch. Could you add that to the list of branches? [23:21] gioele: There isn't a 2.0 branch, it's called 2.0.0. [23:22] abentley: well, the problem is that launchpad says that it is merged, so it is no longer active, no it will not be shown by default in the list of bzr-pipeline's branches [23:23] gioele: Right. I have just fixed that. [23:23] abentley: thank you [23:26] what do i do when a branch has diverged= [23:27] well, it means there are changes in your version and the other version [23:27] you can merge them if you like [23:28] Hm. I wonder what would happen if used bzr to transfer songs to my MP3 player, rather than using rsync/unison. Be interesting to see what would happen with such a large amount of opaque data [interesting and no doubt ugly]. [23:29] AfC: do you often use diff on yor mp3s? :) [23:29] AfC: it would work [23:29] dash: :) [23:29] i did. and then i get a main.cpp a main.cpp.THIS and .BASE [23:29] just use a little more memory [23:29] lifeless: the width (ie GBs) wouldn't be a problem? [23:29] AfC: the size of an individual song matters [23:30] in aggregate, it matters for the packing - db file balancing [23:30] personally, I wouldn't use bzr to put files on an mp3 player, because I have many more songs than disc space on such devices [23:30] So, the situation is that I'm using Rockbox now on my iPod. It's pretty good! Some rough edges, but quite innovative in other areas. Rather than using (say) gtkpod to get files there, one just copies files to its [vfat :(] filesystem. [23:31] Over time, I delete songs I've decided I don't like. This happens on both sides. So I've started using Unison (rather than rsync --delete). [23:31] and that's fine, except that it takes Unison almost an hour (!) to find out what the change map is. [23:32] [one strangeness is that the mtimes of the files on the device seem to be perennially off by one hour] [23:32] so that's why I'm speculating that bzr might do a better job. [23:33] on the other hand, there is the question of where to keep the Repository, the fact that the repo would be huge like the Working Tree that I play from normally is, etc [23:33] and, of course, I realize full well that this is not what bzr was meant for. [23:34] i dont get it - if a branch has diverged do i have to put up the two documents and manually change and edit to the version i would want? [23:35] larsemil: do 'bzr merge ' [23:35] AfC: I suggest putting the repo on your computer, and keeping a lightweight checkout on the rockbox. [23:35] larsemil: are you talking about source code [or a text based document] or a binary [ie, compressed zip, proprietary binary data, etc, word processor] document? [23:35] You'll only commit when you want to sync. [23:36] abentley: yeah [23:36] You could have a standalone tree on the computer, and a lightweight checkout of that on the rockbox. [23:37] abentley: [I'm mentioning this largely to elicit either a "it'll be interesting to see how you go" or a "you're on drugs, Cowie."] [23:37] abentley: that would make sense [23:37] AfC: I don't think those two options are mutually exclusive ;) [23:37] hic [23:40] AfC: the time offset thing is probably vfat mount options [23:40] lifeless: that was my guess [23:40] AfC: vfat time storage is local, and you've had daylight savings transition recently [23:40] ext stores timestamps in utc, so doesn't do that [23:41] AfC: I know one guy managing a 100+GB photo collection with bzr [23:41] lifeless: I must admit that much as the automounter magic is convenient, I haven't the faintest idea how to go about configuring options for specific devices [23:41] it does it tolerably [23:41] huh [23:42] [yeah, the DST thing was my guess, though it wasn't a once-off across the transition date, it seems to keep coming up] [23:44] mwhudson: I'm working on that path escaping patch now [23:44] spiv: awesome [23:45] mwhudson: I can tell that the existing test wasn't written by me because I always use \N{INTERROBANG} when I need a unicode character ;) [23:45] :) [23:45] spiv: No snowman? [23:47] Peng_: you mean, no snowman‽ [23:47] Heh. [23:47] zing [23:49] Someone should make a deck of playing cards with some wacky unicode glyphs rather than the traditional suits. "My 9 of Interrobangs trumps your 8 of Snowman!" [23:50] That's a really good idea. [23:51] I'm still mostly not a fan of novelty playing cards, though. [23:51] spiv: also use cuneiform numbers [23:56] Peng_: if your branches are not on launchpad, consider using lp apis to tell lp that you have updated your branch [23:56] in a post push hook [23:58] lifeless: Ehh, that's a little complicated. But yeah, I know I need to set something up. [23:58] Peng_: should be pretty easy