[00:00] lifeless: nothing wrong with pigs! They're really smart [00:00] RickCogley: to run locally ? [00:00] mathrick: sure; I just didn't mean to say that to poolie, complement or not. [00:02] yes, I have some shell and perl scripts which I'm thinking of making available, and I would like to let people download them and use them. But as painlessly as possible on my side. I.e. the latest version is "just there" for people to get. [00:02] hello [00:02] * bialix waves [00:03] hello bialix [00:03] did you actually mean to ping at all? [00:03] you? me? not. lifeless is === tomtom is now known as Guest69613 [00:04] sorry that line was directed to lifeless [00:04] just saying hello to you [00:04] poolie: hi [00:04] I was confused by your comment not to use fix committed [00:04] I've just reread the guidelines and see now that we've changed our process [00:04] yup [00:05] i don't think the distinction is reliable [00:05] cause things may bounce from review etc [00:05] also launchpad may get rid of the distinction [00:05] there is a thread about it [00:06] are we able to search for 'in progress with commit in a branch' though ? [00:06] I know mpt's opinion on this [00:08] ah yes, I thought it was recent [00:09] anyhow, its trivia [00:09] I will adjust [00:10] poolie: I would like to note though, that in progress is also unreliable, as people can flit from one thing to another [00:12] to me 'in progress' ought to mean 'some work has been invested in this' [00:13] therefore all else being equal, there is a higher return in finishing it off [00:13] just how valuable the work is, is a bit hard to capture in an enum [00:13] a dial would be nicec [00:13] I think you have it on the spot there [00:13] to me 'fix committed' is 'nearly there' [00:13] whereas 'in progress' would be 'I think I can' [00:14] if that makes sense [00:16] [I'm not arguing to use F-C, just saying I see the issue and feel frustrated that LP is such a coarse model of how thins work] [00:27] lifeless: I dunno if it was taken -- it probably was, though. I just don't use it as much anymore. Too many other Pengs around. [00:28] lifeless: i desire a similar thing for mps too [00:28] ie to sort them into 'needs lots more work' and 'pp should jfdi' [00:29] * poolie is getting back into bug 456077; it's now working but needs to suppress the warning during upgrade [00:30] Launchpad bug 456077 in bzr/2.0 "MYSQL/BZR P3: bzr doesn't explain it's doing a slow cross-format fetch" [High,In progress] https://launchpad.net/bugs/456077 [00:30] happily the tests now automatically detect that the message is printed there and shouldn't be [00:42] spiv, hi? [00:44] Hey. [00:45] coffee? :) [00:45] poolie: just had one thanks [00:45] Always :) [00:45] so [00:46] we could actually have coffee or catch up, if vincent will let you [00:46] also just wanted to see how you were getting on [00:47] bialix: i think the import tariff stuff is promising [00:47] poolie: about adding gettext to bzr core [00:47] we can check if we're actually as lazy as we want to be [00:47] gettext is loading mo file from disk and parse it [00:47] Hmm. Today or tomorrow? Tomorrow would probably work better for me. [00:48] poolie: so we can make it lazy till we need translations actually [00:49] poolie: maybe some sort of lazy_registry will help [00:49] poolie: I need to think about it [00:49] tomorrow avo I can do [00:49] bialix: for gettext, I think lazy is pointless [00:49] bialix: is this to avoid loading the .mo file, or loading gettext itself? [00:49] bialix: either we use it, and we'll need it on every invocation, or we don't use it and don't need it. [00:49] lifeless: not so fast! [00:50] poolie: to read/parse mo [00:50] lifeless: you don;t need gettext when you run status and it prints no results, right? [00:50] good point [00:50] today bzr has very long startup [00:50] comparing to hg, you know [00:51] bialix: we long stuff even in that case. [00:51] maybe mo parsing won't be significant [00:51] right, we want to pull that down, not add to it [00:51] bialix: and some of what we log is stuff that we'd also output under other circumstances [00:51] so we need to draw a line as far as what is translatted [00:51] i'm not sure that mutter stuff should be [00:51] though that's true there is not a clear distinction between internal and user-facing messages [00:51] yte [00:51] yet* [00:52] no sense to write translated strings to .bzr.log at all [00:52] I agree we want to reduce the startup time; I'm just saying that *if* we start doing translations, we should expect to pay the gettext library load time + mo parsing on 99% of invocations [00:52] well [00:52] you won't be able to understand bug reports :-P [00:52] we should aim to make it fast enough that even if it is loaded, it doesn't kill us [00:52] :) [00:52] poolie: agreed. [00:53] making the test suite pass under LANG=ru would be nice [00:53] i don't think it does now [00:53] my point is simply that lazy only applies usefully when you *can* avoid work [00:53] yep [00:53] a bit like caching [00:53] oh, and, also like caching, doing lazy is itself work. [00:53] lifeless: actually gettext.py has some cache inside [00:54] but it search the disk anyway every time [00:54] it will be slow on windows [00:54] we can just subclass GNUTranslations class and make it lazy to load mo [00:55] then we pay penalty only on each string that should be translated [00:56] I think this is a case for benchmarking [00:56] poolie: btw, about your recent ui changes, we may want to make the note/info metods to write translated strings only to termina; [00:56] and english to .bzr.log [00:56] interesting [00:56] this is very important IMO [00:56] maybe [00:56] i think we need to detangle the log from the ui a bit more [00:56] perhaps logging everything done to the ui makes sense [00:57] but it's still a bit weird atm [00:57] I'm not quite understand [00:57] so [00:58] for example, some tests that want to know about messages to the user look in the equivalent of .bzr.log [00:58] inside the test [00:58] this is a bit weird [00:58] some of the methods in trace.py are to do with logging, and some with user interaction [00:58] this kind of thing [00:58] I don't follow [00:59] we should not run tests with real translations [00:59] rather with zzz pseudo translations, which was invented by igc [00:59] ok [01:00] at the moment some tests fail just because we expect system exceptions to be in english [01:00] gettext is only half of the i18n and l10n [01:00] ah, yes [01:00] OSError stuff [01:00] yep, they are done so inside python itself [01:01] btw, this was changed only in 2.5 [01:01] 2.4 always prints english [01:01] at least for me [01:01] i agree we don't want the tests to know about every possible translation [01:02] also there will be desire to localize dates in bzr log [01:02] I have no idea how to test such things properly [01:03] it will take some creativity [01:03] i'm suggesting as a first step we avoid any accidental dependency on english in the tests [01:03] or just disable it for selftest [01:04] btw, in qbzr we don't enable gettext when we run selftest [01:04] ditto for bzr-explorer [01:56] james_w: if there's something you think would be a much better main focus than merge/resolve, please do speak up [01:57] I think it has its merits [01:57] and is a focus that will bring something to all stakeholders [01:58] k [01:58] i think so too [01:59] if there are particular bugs you can nominate them too at any point [03:04] spiv, i'm sure you understand this but it's not quite clear in your recent mails [03:04] which is that some things like os.read need special handling but can be handled correctly [03:05] whereas some just cannot be done correctly [03:05] perhaps clarifying this is less useful than just fixing the bug though :) [03:21] poolie: right [03:22] poolie: so until_no_eintr is currently correctly handling basically that case for us, read from a pipe [03:23] Unfortunately it seems all the other uses are broken. [03:24] That said, siginterrupt side-steps the whole mess for us quite nicely. [03:24] k [03:24] it may not work on all platforms [03:24] but it may cover enough of them [03:28] Yeah. [03:33] there are only three platforms anyway these days! [03:34] hello all [03:34] mwhudson: hardy, karmic and lucid? [03:34] lol [03:35] poolie: not quite what i meant, but that'll do [03:35] * fullermd looks disgruntled :p [03:36] fullermd: os x is almost like freebsd, right? [03:36] * mwhudson runs away and stops trolling [03:36] mwhudson: contagious huh ;> [03:36] Don't mach me hurt you! [03:36] actually more seriously perhaps we should only run ppas for them [03:37] if that made it any easier [03:37] it's probably not much easier though [03:37] abentley: i guess you're asleep? [03:37] poolie, hi. [03:37] hi [03:37] i was just running tests in a bzr 2.0 branch [03:37] 2230 or so, I'd guess. [03:37] and bzrtools's fail [03:38] because it checks the version when running the command, not when running the tests [03:38] so i was just thinking about this [03:38] poolie: there is a test_selftest test that fails with bzrtools; its not really bzrtools fault though. I'm sure you are seeing more, I'm just mentioning one that I saw this morning. [03:38] it's not really urgent [03:38] this is different [03:39] essentially it runs its tests regardless of bzr version, but they can't possibly pass on 2.0 [03:39] so anyhow [03:39] - it's interesting not to grumble until someone actually uses the command [03:39] kind of cleaner than failing to load [03:39] - iwbni this was done through the standard channels, perhaps [03:40] - iwbni if the tests also skipped, or refused to load, if the commands aren't going to run [03:40] poolie, I see. The version mismatch checking is only done with the commands now, because people complained about bzrtools warning them when they were running irrelevant commands. [03:40] yeah [03:40] it's quite nice actually [03:40] perhaps that should be the standard thing [03:41] obviously it is a bit more difficult for plugins that act through hooks [03:41] I was just about to say that. [03:41] I guess I can add a version check to the bztools test_suite method. [03:42] and return []? [03:43] (semantically not literally) [03:43] anyhow separately, teddybears, i would like a way to cancel some user warnings systematically [03:43] istm it would be clean to give the uifactory a list of ones that have been squelched [03:43] then upgrade() can squelch the cross-format fetch warning for the duration of its run [03:46] poolie, no, I'd probably just emit a warning. I wouldn't want to interfere with actually testing bzrtools. [03:47] one thing that occurs to me [03:47] if you're doing per command version locking [03:47] ok, but at least some of the tests can't possibly pass, because they will examine the bzrlib version then fail [03:47] is that you could use the test suite to tell you when commands break, and only change those commands to be requiring new versions [03:47] so we could say they are expected to fail [03:47] that would be interesting [03:48] at the moment this is the same check across all commands, but applied at invocation time [03:48] but you could do that [03:48] put an attribute on the class; define a base value so most classes don't need to set it, sort of thing. [03:49] right [03:49] it would be interesting to consider how to do this for other things [03:49] in principle you could only complain about bzr-svn when you actually try to use a svn repo [03:49] lifeless, it's an interesting idea, but would it be useful? Most people will not have mismatches, assuming they use packaged versions. [03:50] it may be overkill [03:50] what i would like to get to is to get myself out of the habit of always testing with --no-plugins [03:50] by removing snags when they appear [03:50] abentley: it would make it easier for devs to run with plugins enabled during test runs of core [03:50] abentley: s/would/might/ [03:51] lifeless, so you would disable the tests for a command if there was a version incompatibility? [03:52] abentley: I think gracefully show that the incompatibility is there, rather than hard-fail [03:52] abentley: so to upgrade bzrtools, one would change the version lock, and they would start executing, and failing if there is a problem. [03:52] lifeless, yes, but what about the functions used by those commands? Those typically also have tests, and would not be version-locked. [03:53] abentley: two angles occur to me: How often do they actually break? And perhaps you will get patches. [03:53] lifeless, and it's the functions that are likely to be incompatible. Most of the commands are thin wrappers. [03:54] lifeless, breaks have become pretty unusual, both in commands and in functions. [03:56] so perhaps you could just relax the maximum-version limit? [03:56] in this case i'm actually going back to an earlier version [03:56] so if it's marked incompatible, it probably really is [03:56] which is fine [03:56] but i just want the tests to do something clean [03:56] like report a missing dependency === [1]herbtea is now known as herbtea [03:59] poolie, I'm thinking of relaxing the limit during test runs. In my testing 2.0 passes with bzrtools trunk when I do that. [04:00] poolie, I can relax the minimum-version limit, but I canna predict tha futurre, so changing the maximum-version limit is riskier. [04:01] yeah it's tough to say if it's better to get some false alarms or to get users complaining about weird attributeerrors when it does go out of date [04:03] How about emitting a warning about possible version-mismatch only when an error occurs? [04:04] could be good [04:04] Ideally only on TypeErrors and AttributeErrors, but probably other kinds will happen sometimes. [04:05] It depends on if the breakage is "doesn't even run" or "starts to run then leaves a broken mess" [04:05] If the latter can occur, you really do want to bias towards fail early. [04:10] hi all, I'm a new bazaar user and I'm using explorer and I hope somebody can answer a question for me [04:10] I've created a shared repository with a trunk [04:11] added project directory and files from a new project [04:11] so far so good [04:12] when I click on the Local Changes tab for this repository there is a message " No parent location defined yet", what do I need to do to define the parent location? [04:16] Typically that's automatically set when you first 'bzr pull', or when you create a branch by doing 'bzr branch URL' [04:16] I'm not sure that it makes sense to set it for your case, but if you want to I'd guess that pulling from another location would do it. [04:17] (I'm not sure how to use explorer to do that, sorry) [04:18] poolie, lifeless, I've made the change in the 2.0, 2.1 and trunk series. [04:19] spiv: thanks for the info. Still not 100% clear on the best process for setting up my project for versioning [04:20] abentley: which one? [04:20] spiv: I did a bzr init-repo on a top level dir, then a bzr init on the trunk [04:21] spiv: I then added my proj dir and files to the trunk and did a commit [04:21] (I'm a bit curious about why you thought you should set that location?) [04:21] which location? [04:22] Well, you asked "what do I need to do to define the parent location?", which suggests you thought you should set it. [04:22] yes [04:22] But that's a tangent to your current question, so ignore that if you like. [04:22] I'm getting what appears to be an error message in explorer [04:23] explorer says "No parent location defined yet" [04:23] The init-repo, init, add, then commit sounds good. [04:23] Ok, sounds like something that could be improved in explorer. [04:24] poolie, disabling the version check while commands are running. [04:24] so, this is all local, I have a server that I want to be the main project repository, do I simply copy this top level dir I just created to the server? [04:25] Ah, ok. You can do that, although you'll want to 'bzr remove-tree' on the server afterwards to be tidy. [04:26] ok, just the rev history on the server? [04:26] Or, you can 'bzr init-repo' the location on the server, then 'bzr push' your trunk to server [04:26] Right. [04:26] kewl [04:26] using the locations.conf, is there a way I can specify the parent location of a branch? [04:27] IIRC it's set in the branch's own .bzr/branch/branch.conf, but it might be possible to set it in locations.conf too [04:27] It would be the 'parent_location' option. [04:28] thanks, I'll give that a go and see if that clears the error message in explorer [04:28] thanks for your help spiv :) [04:28] garyyyyyy [04:29] bye all [04:36] * bialix -> zzz === mordred_ is now known as mtaylor [05:29] Question: Is there a good private hosting system for bzr? Eg, a software suite you can install that matches some of the feature sets Github and BitBucket provide? [05:30] Ie, i need it private and not public.. so Launch won't work for me.. sadly. [05:32] you can run launchpad yourself if you like! [05:32] there's bzr-trac, too [05:41] you can also pay for private launchpad hosting [05:41] if you want [05:44] lifeless: !? They're doing that now? [05:44] lifeless: Last i checked, ages ago, they weren't heh. [05:45] Leemp, https://answers.edge.launchpad.net/launchpad/+faq/208 [05:45] says beta but it's in production [05:47] poolie: Ah, still a bit expensive when compared to Git/HG it seems though [05:47] poolie: Or are they offering different plans eventually/now, than they list in that faq [05:48] And i wonder if that's per project.. [05:48] per project [05:48] Ouch :o [05:48] not that it's not per user or per repo [05:49] or per project group, i would imagine [05:49] s/not/note [05:49] depending on what project means, that's competitive with github at least [05:50] bob2: Well it depends on size i suppose. For me though, a personal small developer, $5/mo gets me 5 projects iirc on github. [05:50] 5 repositories [05:50] Separate issue tracking for each one, etc [05:51] bob2: Does launchpad group all the features it provides per repo? or per "project"? .. We're getting cross terms anyway heh. [05:52] bob2: Eg, would i still have 5 separate issue trackings, and whatnot, with launchpad? Or only a single issue tracking, for a single "project"? [05:52] Leemp: i suggest you mail them or ask in #launchpad [05:53] poolie: Righto, conversation slid that way i guess :) [05:53] So on the bzr side of things [05:53] There's a trac mod, and i can run launchpad myself. [06:02] right [06:03] spiv, lifeless, can i have a quick review on the ui_factory side of https://code.edge.launchpad.net/~mbp/bzr/456077-cross-format-fetch/+merge/20041 [06:03] ie adding a show_user_warning(warning_id, **) that can be turned off by a flag [06:07] poolie: looks ok to me [06:08] I'll add a slightly longer review to the proposal :) [06:10] thanks [06:11] having a problem branching from LaunchPad [06:11] k [06:11] This is my error [06:11] bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. [06:12] RyNy_: pastebin the full error? [06:12] Sorry, how? [06:13] RyNy_: paste it into http://pastebin.com/, then share the resulting URL here [06:15] Spiv: sorry how do I get more of an error? That's all I see in Terminal. [06:15] This is the command: bzr branch lp:~pantheon-developers/projectmercury/bcfg2 /var/lib/bcfg2 [06:16] RyNy_: interesting, often there's more text than that [06:17] RyNy_: could you paste the most recent section of you ~/.bzr.log, then? [06:17] RyNy_: at a guess your ssh command to connect is not working [06:17] what does 'ssh bazaar.launchpad.net' do? [06:20] spiv: there's not anything more in the log file. [06:21] I also had this error on a different server trying to branch from the same source: [06:21] bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~pantheon-developers/projectmercury/bcfg2/". [06:22] That's correct. It's not. [06:23] That branch does not exist,. [06:23] Peng: What am I doing wrong? Is it the ~ ? [06:24] Peng: If it is any help here is the URL for the project: https://code.launchpad.net/projectmercury [06:26] RyNy_: The only existing branch in that project is lp:~pantheon-developers/projectmercury/trunk (which you can also refer to with the shorthand lp:projectmercury) [06:28] Peng: Thanks, so the branch doesn't exist. I see that now by looking at the project site at LaunchPad. [06:29] Question: I suppose if it did exist then it would appear on that URL under the branches tab, right? [06:29] Uh-huh. [06:31] Peng: Cool. I do see a bcfg2 file at http://bazaar.launchpad.net/~pantheon-developers/projectmercury/trunk/files. [06:32] Suppose if I were to guess what the correct path should be, it would be http://bazaar.launchpad.net/~pantheon-developers/projectmercury/trunk/files/head%3A/bcfg2/ [06:32] What are you trying to do, exactly? [06:32] Correct path for what? [06:32] Those two URLs are for the Loggerhead web viewer running in bazaar.launchpad.net. [06:33] That's a correct path for viewing the 'bcfg2' directory of the ~pantheon-developers/projectmercury/trunk branch via the web viewer. [06:33] But it's not a valid location to use with 'bzr branch' [06:34] I'm trying to branch from Project Mercury, which is a high performance Drupal installation. I'm following the install directions, but they broke on that branch command. [06:34] "bzr branch lp:projectmercury" [06:34] You can see the install directions at: http://groups.drupal.org/node/50408 [06:34] Where are these instructi -- thanks. :D [06:35] RyNy_: my guess is those instructions are out of date [06:35] RyNy_: I think someone probably renamed (or deleted?) the ~pantheon-developers/projectmercury/bcfg2 branch [06:35] I commented where I got stuck. Search on the page for bzr branch lp:~pantheon-developers/projectmercury/bcfg2 /var/lib/bcfg2 [06:35] spiv, could it be that https://bugs.edge.launchpad.net/bzr/+bug/280608 has already been fixed by you? [06:35] Launchpad bug 280608 in bzr "Stacked-on branch not unlocked when commit_write_group fails on stacked branch" [Medium,In progress] [06:36] poolie: it could be! [06:37] poolie: off the top of my head, I'm not certain. I have certainly touched code in that area, and may well have fixed that. [06:37] poolie: but I couldn't be sure without trying to reproduce, I think. [06:38] ubottu: sorry, what that directed to me? Launchpad bug 280608 [06:38] poolie: I'd guess about 70% likely to have fixed that [06:38] Launchpad bug 280608 in bzr "Stacked-on branch not unlocked when commit_write_group fails on stacked branch" [Medium,In progress] https://launchpad.net/bugs/280608 [06:38] Error: I am only a bot, please don't think I'm intelligent :) [06:38] RyNy_: no, that bug was for me [06:38] RyNy_: right, I see your comments [06:39] RyNy_: the simple fact is that there is currently no lp:~pantheon-developers/projectmercury/bcfg2 branch [06:39] Spiv: ok so I'm not loco, just bad branching instructions? [06:39] RyNy_: Well, out-of-date instructions. [06:39] That helps I suppose. Just have to wait for the instructions to be updated or better. [06:40] Thanks for your help. [06:40] RyNy_: right. I expect they were good once, but have gone stale because that branch has gone [06:40] RyNy_: If I had to guess, [06:40] RyNy_: I would try either using lp:projectmercury branch instead, and if that fails, using the 'bcfg2' inside that branch instead. [06:40] RyNy_: but that's just guesswork :) [06:41] RyNy_: also, the errors you've pasted into that wiki page have the extra text I was looking for before when you first joined this channel. Argh! :) [06:42] (Even though that turned out to be unimportant) [06:42] :) [06:43] Spiv: sorry the wiki comments were from a couple nights ago. If you were to guess the correct bcfg2 path, what would it be? [06:44] RyNy_: well, https://code.launchpad.net/~pantheon-developers/projectmercury/ only shows one branch [06:44] RyNy_: and as you've noticed that branch has a bcfg2 directory (as you can see at the http://bazaar.launchpad.net/~pantheon-developers/projectmercury/trunk/files/head%3A/bcfg2/ link) [06:45] RyNy_: so there aren't many options; probably those instructions either expect that entire branch, or that subdirectory of that branch, or something that isn't there at all. [06:46] Spiv: so is the command I'm looking for bzr branch lp:~pantheon-developers/projectmercury/trunk/bcfg2 /var/lib/bcfg2 [06:47] RyNy_: I don't know [06:47] RyNy_: Actually [06:47] RyNy_: I know it's not that command, because that's not a branch [06:47] RyNy_: (you can't 'bzr branch' a subdirectory of a branch) [06:48] RyNy_: You might need "bzr branch lp:projectmercury" /var/lib/bcfg2 [06:48] er, [06:48] "bzr branch lp:projectmercury /var/lib/bcfg2" [06:49] RyNy_: Ask the Project Mercury people or, failing that, someone else who knows what bcfg2 is. [06:49] Or you might need "bzr branch lp:projectmercury /tmp/projectmercury && cp -a /tmp/projectmercury/bcfg2 /var/lib/bcfg2" to just grab that subdirectory [06:50] Or maybe something else; I really don't know. [06:50] RyNy_: Try spiv's suggestions first, of course, but you should still report to them that their docs are out-of-date. [06:50] Cool, on the branches page of their LaunchPad page that is the only branch. I'll contact them again and see if I can get some help. [06:51] You guys have been very helpful. Thanks! [06:51] You're welcome. [06:51] :) === RickCogley is now known as RickCogley_ [07:21] spiv, can you suggest anything to https://answers.launchpad.net/bzr/+question/102270 ? === RickCogley_ is now known as Rick_Cogley === Rick_Cogley is now known as rickcogley === rickcogley is now known as RCogley === RCogley is now known as RickCogley [07:25] hi all ! [07:25] * fullermd waves at vila. [07:26] fullermd: \o_ [07:26] vila: BTW, fix to paramiko port committed {to,yester}day, so the unadorned port won't break with setuptools. [07:26] Now if only a new version of paramiko would be released that didn't crap on pycrypto... [07:29] fullermd: good to know ! [07:29] I dislike that kind of workaround otherwise as I tend to forget.... what was I speaking about ? [07:29] Eh? Who're you? [07:33] poolie: sure [07:33] poolie: (short answer: post_branch_tip_change + TipChangeRejected) [07:35] I mean, s/post/pre/, of course [07:35] thanks [07:35] * poolie fixed a bug with 7 dupes, that's a nice feeling [07:38] * spiv finishes for the day, time to swim [07:38] me too [07:38] cheerio [07:38] hi vila, bye vila [07:39] poolie: oh, that looks like a nice bug to have fixed! [07:39] I might review that later tonight. [07:39] * spiv -> really gone [07:39] poolie: lol [08:21] lifeless: pong ? [09:23] hi vila [09:24] poolie: Are you back or a poolie's clone ? :D [09:24] really here [09:24] hi, where can i get something like rebase? [09:24] my desktop is a bit sad [09:24] good ;) [09:25] ronny: bzr-rewrite [09:25] ronny: lp:bzr-rebase ? [09:26] ronny: right, lp:bzr-rebase redirects to https://edge.launchpad.net/bzr-rewrite anyway [09:27] hmm [09:28] i reverted to using diff, pull --overwrite;patch [09:32] vila: I was thinkin we should finish the parallel stuff [09:34] lifeless: I'd love too... What TZ are you in these days ? [09:34] GMT+12 more or less [09:34] NZ ? [09:35] waking early in .au [09:36] very early [09:37] AFAIR, your main objection was about compatibility with EC2-like setups, I still have to investigate how I can test that locally (I haven't even look at --parallel=?? damn, bzr help selftest doesn't even mention the possible values :-/) [09:38] * bialix waves at vila [09:38] bialix: _o/ [09:39] _o> [09:39] lol [09:39] Offsides. 5 yard penalty. [09:40] fullermd: I'm affraid neither bialix nor I can undesrtand that :D [09:42] i'd like to do something that suggests missing commands be installed from plugins [09:42] i think we talked about this before [09:42] poolie: with beuno I think [09:43] vila: Oh, it doesn't really mean much. [09:46] poolie: AFAIR lifeless and beuno talked about some kind of registry but I now wonder if a bzr-guess-like approach couldn't be easier [09:50] the registry is built [09:50] just needs populating [09:50] Thats why I wrote the plugin metadata scanner [09:51] in principle, all you need to do is: [09:51] - write a plugin which hooks command not found (like -guess does) [09:51] - give it a static dict of metadata [09:51] - write a script to analyse the plugin metadata for as many plugins as you can get your hands on and shove it into that dict every now and then, [09:52] vila: yes, that was my main objection. [09:52] [parallel] [09:56] yeah [09:57] though {'rebase', 'https://launchpad.net/bzr-rewrite'} would solve 50% of it ;-) [09:57] sure [09:58] I would support someone starting that way [09:58] though bzr branch lp:plugin-info is pretty easy too [09:58] I'd finish it off myself, but its not top of my TODO pile [10:09] wonder why pulling lp:bzr on consecutive days can give me file conflicts [10:09] * Kamping_Kaiser blames rouge pixels [10:19] any local diffs? [10:26] nope. [10:26] i'm doing an 'mr up', and theres almost always 1 or 2 bzr repos conflict out (or not apply their changes). i've not dug into mr to discover if it has a timeout of some sort on doing updates [10:27] even with an update, i find it odd to wind up with conflicts [10:27] ah, not bzr itself? [10:27] todays conflict was lp:bzr [10:27] i don't know how bzr is called by mr to do the update though [10:56] Is there an easy way to have the working tree updated on the server when using bzr+ssh where all the work is done server side? [11:02] johnf: lp:bzr-push-and-update [11:02] vila: I just realised that it does actually do what I want. I misread it before, thanks [11:24] vila: isn't that client side? [11:25] johnf: it is [11:25] oooh, you mean you want the tree to updated automatically like with some hook ? [11:25] I was after something that worked on the server so that I don't have to reply on my users having a plugin installed [11:25] yes [11:25] hmm [11:25] or even it could just push on the server to a different location [11:26] but somewhere on the server I want an up to date working tree [11:27] maybe I can get automirror to do what I want [11:27] could be [11:27] I don't know about pre-canned solutions for that myself, but others may [13:17] hello [13:23] hello [14:39] hi [14:39] I'm writing a plugin [14:40] it's designed to replace a hook that Twisted is using to require all trunk commits to add "news fragment files" [14:43] I figure that pre_change_branch_tip is the right kind of hook [14:44] but I'm not sure whether in that hook I should check each new revision individually, or whether I should check the result of the whole [14:52] Hi all [14:52] Remind me again how I fetch ghost revisions from another repository that has them? [15:15] Lo-lan-do, bzr fetch-ghosts [15:17] Aha, thanks. [15:18] jml: I'm not sure I understand your question correctly [15:21] jml: but it'll be called only once if you pull in a lot of revisions into mainline, for example [15:43] jam: around? [15:45] on the subject of pre_change_branch_tip is there an easy way of introspecting the type of change made e.g, push, commit, uncommit etc? [15:46] sorry meant post_change_branch_tip not pre [15:46] muffinresearch, you can register to individual hooks for those [15:47] jelmer: This is running on the server rather than the client. [15:47] the server doesn't know in that case [15:47] muffinresearch: does post_change_branch_tip run on the server ? [15:47] jelmer: yes [15:47] ah, nice [15:48] jelmer: (another reason to use it in zeitgeist :P) [15:49] lifeless, actually for zeitgeist you'd want client side hooks since that's where your zeitgeist daemon is running [15:49] jelmer: that hook runs on both sides [15:49] I was meaning if you push to your laptop from somewhere [15:50] ah, right [15:52] Right now I'm looking at the revnos to work out if it's a commit which feels a bit clunky. === salgado is now known as salgado-lunch [16:00] jelmer: poke? [16:00] mathrick, hello [16:00] did you see the crasher about map.read() not being a method I ran into yesterday? [16:01] yeah, that'd already been fixed just not pushed yet [16:01] see lp:dulwich [16:01] ah [16:01] good then [16:02] and the other bug about annotate? This one I filed properly in launchpad [16:02] https://bugs.launchpad.net/bzr-git/+bug/526792 this one [16:02] Launchpad bug 526792 in bzr-git "Revision not present error in annotate" [Undecided,New] [16:02] poolie said it looked like a bug that's been fixed already in bzr itself, but I'm pretty up to date [16:03] * mathrick notes he still doesn't understand how the new package structure for bzr is supposed to work, so far it seems to mean no new versions for karmic and no gains [16:09] mathrick: that looks like a bzr core bug to me [16:09] ok, how do I diagnose it then? [16:12] mathrick, what do you mean with new package structure? [16:12] the thing where PPA no longer gets packages [16:13] I think it's supposed to be replaced by main repo uploads, except that I get none in karmic [16:13] so overall I'm left out in the cold [16:17] mathrick: I think Gary has just fixed the PPA [16:18] oh, lemme take a look [16:19] jelmer: I might be confused, but last time I complained about it, I got told it was in the middle of a policy change and there was a thread I didn't have the time to read properly [16:20] mathrick: My understanding was also that the idea was to just have recent versions of bzr in backports for older Ubuntu releases [16:20] but I'm not involved in that part of Bazaar, so I'm not sure what the status or exact plans are [16:22] poolie should know more, we should ask him when he's back [16:22] right [16:22] mathrick@hatsumi:~/elisp/dist/dvc$ bzr log lp:bzr -r 4797.19.2..-1 [16:22] bzr: ERROR: Start revision not found in left-hand history of end revision. [16:22] huh? [16:22] what does that mean? [16:23] it means it wants me to say -n0, but that's a crappy error message [16:24] mathrick, please file a bug [16:24] yeah, doing that now [16:25] mathrick: please explain what you were trying to achieve with that command [16:25] mathrick, thanks [16:25] vila: do you happen to know what the status/plans for bzr in the backports for older Ubuntu releases is? [16:25] vila: see everything that happened on the main bzr branch since 2.1.0 got released [16:25] I started with tag:bzr-2.1.0 and that's the revision it corresponds to [16:27] jelmer: AIUI, it's hapening. slowly [16:27] mathrick: you should also be able to just use tag:2.1.0 rather than the version number [16:28] jelmer: I did that, but thought the error was because of that at first [16:28] mathrick: although admittedly that isn't an excuse for giving such a bad error message [16:28] which is why I switched to the explicit revno [16:28] but that doesn't help anything, since that's completely not what bzr was complaining about [16:28] vila: ah, thanks. This is mainly waiting for SRU's to get approved? [16:29] the bad error message is a consequence of an optimization... abstraction leak ftl :-/ [16:29] jelmer: that's what I understand yes [16:32] why does it error out when I want to start with a merge anyway? [16:32] vila: oh [16:32] mathrick: if you have a up-to-date bzr.dev, 'bzr missing lp:bzr/2.1' will better answer your question I think [16:33] I don't, which is why I didn't do it locally [16:33] I love that bzr lets me ask questions about remote repos [16:33] and I get annoyed each time git tells me I don't need that because it's not as "efficient" [16:35] vila: so there's no way to give two explicit locations to bzr missing? [16:35] * mathrick thinks absolutely everything should accept a location or -d [16:35] mathrick: the only trick I can think of then is using 'bzr qlog lp:bzr/2.1 lp:bzr' :-/ [16:36] that's such a boon when trying to nagivate a forest of branches you need to find a specific change in, but don't want or need to download [16:36] mathrick: please meet bialix about generic -d :-D [16:36] heh [16:37] can I file a bug about it, or is there one already? [16:37] mathrick: note that the qlog trick allows you to navigate at will and should clearly shows what each branch is missing from the other [16:38] yeah, a browser in this situation is probably the best option [16:38] but the point stands [16:38] seriously, operating on arbitrary locations is to bzr what rebase -i is to git [16:38] mathrick: I don't remember of hand, if you have good arguments, feel free to file a new one, it's sometimes easier to de-dupe [16:38] ie. the reason to switch [16:39] mathrick: I agree with -d, I think it could be implemented quite easily but it may require checking all commands for consistency [16:42] mathrick: did the annotate error occur with a recent version of bzr? what does "bzr check" say? [16:42] speaking of killer features, it should be mentioned in bold on the "reasons to switch to bzr" page [16:42] jelmer: 2.1.0 [16:42] lemme try [16:49] https://bugs.launchpad.net/bzr/+bug/527878 [16:49] Launchpad bug 527878 in bzr "All commands should accept an explicit location or -d" [Undecided,New] [16:52] jelmer: http://pastebin.com/2mhRe15K [16:52] btw, it's a colocated repo, that is I'm using bzr-colo with it [16:52] how does one set one's identity per banch using qconfig? [16:53] mathrick: does bzr reconcile fix it perhaps? [16:53] I can try [16:53] what's "inconsistent parents" btw? [16:53] hmm [16:53] text revision parents that aren't set correctly [16:53] I think it just got confused [16:55] http://pastebin.com/aFEbpfbM <-- is that supposed to happen? [16:55] ~/Dev/ is my shared repo [16:59] mathrick: that looks ok [16:59] mathrick: Does annotate work now? [16:59] nope, though I'm hitting several bugs at once it seems [17:00] nope, same bug, and a couple of other ones [17:02] mathrick: what other ones? === beuno is now known as beuno-lunch [17:25] sorry, apparently I need a new battery for my laptop [17:25] did anything happen since nope, same bug, and a couple of other ones ? [17:32] mathrick, yeah, I asked what other bugs you were hitting? [17:32] jelmer: ah, the impossibility of annotating a file that's not currently in the working tree (ie. removed or renamed) [17:33] mathrick, doesn't -r allow you to do that? [17:33] nope [17:38] jelmer: http://pastebin.com/6VkcBi8J [17:38] does bzr check still report errors? [17:39] mathrick: Hmm annotate -r does not work on a deleted file. Thats a bug. qannotate works though. [17:39] sec [17:40] GaryvdM: oh, interesting [17:40] jelmer: yep, still 201 inconsistent parents [17:41] which I still don't quite understand what are [17:41] mathrick: "bzr reconcile" should fix those.. [17:41] but apparently it didn't :\ [17:45] I did it again, just to be sure, and it still didn't fix anything [17:47] and apparently I can't clone from it either [17:48] though curiously enough, I can branch within the colocated workspace [17:49] so it might have something to do with the colocated branches, bzr branch . /tmp/test errors out with revision not present, but bzr branch colo:trunk /tmp/test works === salgado-lunch is now known as salgado [18:15] Hi guys I am working with the ubuntu manual project and we are going to capture screen shots for all 40 languages that it is translated in. We are in the process of devleoping a program to deal with them. We were thinking of setting up a bzr branch to with subfolders for each language and within those one for each chapter. How ever we would like our program (quickshot) to only pull the folder for the relevant language. is [18:15] this possible? or will I have to make forty branches? [18:15] ubuntujenkins: AFAIK, no, at this point it's not possible to pull a partial repo [18:16] it's a requested feature, but it's not trivial to implement in bzr, which is fundamentally organised around the notion of the tree as the atomic unit of change [18:16] ok thanks mathrick that was a very fast response. forty branches it is [18:17] ubuntujenkins: nested branches is the name of the feature that'll eventually lead there, but it's still not there to be enabled by default [18:17] do we know when it will be avalible? === beuno-lunch is now known as beuno [18:18] Mmmm. I think that's slightly misleading... [18:18] fullermd: if it is, please correct me :) [18:18] * mathrick apologises for any factual errors [18:19] Nested branches don't let you pull around parts of branches, they just make it easier to lay out multiple branches. [18:19] so i am right I can't do nested branches yet? I wish you could [18:19] ah, yeah, but with nested branches + splits it'd be possible to get a layout that pretty mimics the desired effect [18:20] Well, you can manually put one branch "inside" another. That works fine; just that the "outer" branch doesn't know anything about the "inner" one. [18:21] that seams point less some people have requested that we have it possible to pull one huge branch so that they can compile the manual in multiple languages. [18:22] Right, that's what nested trees would give you; it would automate bundling all 40 (or however many) branches together in a particular layout. [18:23] but I coun't pull them as one big one right? [18:23] With nested trees, you would be able to. You can't now, no. [18:23] ubuntujenkins: small spelling nitpicks: "however", "pointless", "seems" (seams is a different, unrelated word) [18:24] (well, you can multi-pull to sorta fake it, but I presume you actually mean 'branch' when you say 'pull' there, not the actual 'pull' command) [18:25] I ment pull all 40 branches as if it was one big branch [18:27] ubuntujenkins: you can't do it now, but you could with nested branches, which are not finished yet [18:27] in other words, no you can't, sorry [18:27] cool thanks for your help guys sorry I got a bit confused in the middle of all that. [18:27] There are... things that it's pointless to say after you /part. [18:28] * fullermd goes back into his hole [18:28] heh [18:30] * fullermd blinks. [18:30] It's Thursday? The heck? What happened to Tuesday? [18:31] alzheimer again.... [18:31] * fullermd sighs. [18:31] Once again, the world fails to conform to my expectations. This is becoming a serious problem. Somebody needs to be taken to task. [18:32] hehe [18:33] hi abentley, sorry I was out this morning with a sick child [18:33] hey vila [18:33] hey jam! [18:38] jam, hi. [18:38] I was wondering whether you had any insight into the memory consumption issue I posed about in canonical-bazaar. [18:39] haven't gotten to that folder yet, let me go check [18:40] so... this is with 2.1? [18:40] initial branch was specifically cut by about 50% for branching launchpad in the 2.1 series [18:41] abentley: the other possibility would be to try changing the fetch to be "unordered" rather than "groupcompress" [18:41] oh, and is this client-side, server-side? local branching? [18:42] jam, this was branching using bzr.dev 5051, from Launchpad to local over bzr+ssh. [18:42] and IIRC lp uses 64-bit python, which averages 50-100% more memory consumption than 32-bit python [18:42] jam, the memory consumption I experienced was on my laptop which runs 32-bit Ubuntu. [18:42] abentley: k, so the memory consumption you were seeing was on the client side? [18:42] and do you know *when*? [18:42] it could be during fetch, or it could be during building the working tree [18:43] for example [18:43] or if you know what stage of fetch [18:43] It was steadily increasing during fetch. The highest I saw was 600m+ [18:43] I *do* know some places that could be trimmed a bit more, but was trying to figure out the tradeoffs [18:43] abentley: then how did you figure 1.8GB peak ? [18:44] jam: I saw it at 1.8, but it was finishing up, and I can't swear whether it was writing pack files or what. [18:44] k [18:44] do you know if the codebase has large files? [18:44] I do know it was before the message about building a working tree was printed on my terminal. [18:44] like say a ~400MB file in there? [18:44] But the system was thrashing a lot at that point. [18:45] the repacking code is specifically a bit wasteful of memory sometimes [18:45] hence 'unordered' could fix it as it wouldn't try to pack-on-the-fly as much [18:47] I can say the size of the repo is 571 M and the total size of the standalone branch, including working tree is 609M [18:47] So the largest a file could be would be 38M === deryck is now known as deryck[lunch] [18:47] abentley: well, it could be 600M and you just have a whole bunch of 10byte files :) [18:48] oh sorry, I missed that last part [18:48] sure [18:48] seems odd [18:48] is there a lot of history? (how many revisions, etc) [18:48] how wide is the tree? [18:48] jam, it's a conversion from bzr-svn, so the history might be wacky. [18:50] jam, are you able to see the branch page? If so, you are a "bzr expert" and can download it for yourself. [18:51] I don't think I am, but I can check [18:52] abentley: nope, permission denied [18:53] jam: i can mirror it to devpad for you, if it helps. [18:53] abentley: would make it easier for me to test, yes [18:53] preferably an exact copy using lftp if you could [18:54] so that we don't run into 'slightly different pack layout' issues [18:57] jam, I'm using hitchhiker. [18:57] that's fine [18:57] I just mean a mirror of the push side [18:57] rather than 'bzr branch' [18:59] jam, mirrored to: ~abentley/economist [19:05] hmm... there only seems to be 1 pack file, is that true on the hosted side? [19:07] Is there a way to convert a "bzr co sftp://host/repo" to a "bzr branch sftp://host/repo" ? [19:07] BasicOSX: bzr unbind [19:07] jam: that's awesome ty [19:09] jam, yes. [19:14] jelmer: is this the latest dulwich branch with debian packaging: http://bzr.debian.org/users/jelmer/dulwich/unstable/ ? [19:16] (I could not find any others, but it worries me that it is in your user folder, not some where else.) [19:20] how does one do the equivalent of "bzr whoami --branch USER_DETAILS" with qconfig? [19:20] x_dimitri: you can't at the moment. [19:20] GaryvdM: :-( [19:21] x_dimitri: There is bug logged. [19:21] GaryvdM: :-) [19:23] speaking of which, is there something like bzr config? [19:23] Nope [19:24] it'd be a bit nicer than mucking around with text files, especially for per-branch settings, which require you to type the full path in ~/.bazaar/bazaar.conf [19:25] So I was watching this talk by Linus to Google about git. And he seemed to be adamant about the fact that git hashes all of its contents so that it can be verified. (no disk corruption, no tampering.) [19:25] bzr doesn't do something similar? [19:25] I mean, if I do 'bzr check' and there was corruption or tampering, it'd find it, no? [19:26] NfNitLoop: yes and no [19:26] it hashes everything, but by default doesn't require signing [19:26] so you can't actually *verify* anything unless it's signed [19:27] but the same is really true for git [19:27] long story short: everything git has, bzr has too [19:27] at least as far as being tamper-proof goes [19:28] Oh. Where does it store these hashes? [19:28] NfNitLoop: bzr actually is a bit better, since git is tied to sha1. So if collision attacks against sha1 are found, like for md5, you're screwed. Whereas with bzr it'd be a matter of providing another hash algorithm to be used [19:28] what do you mean you can't "verify" anything unless it's signed? I just mean verify that someone who gives you version {id} is actually the same as version {id} that you have, or had in the past. [19:29] NfNitLoop: in the repository, it's a property of the changeset [19:29] NfNitLoop: It stores them in the repo with the revision properties. [19:29] aah. And that hash includes the hashes from its parents? [19:29] yes [19:29] awesome. [19:29] Yeah, Linus's talk seemd a bit ... inaccurate in places. [19:29] NfNitLoop: you will see it if you do bzr cat-revision -r x [19:29] He claimed git was the only thing to do that. [19:30] NfNitLoop: git isn't particularly more secure than anything else [19:30] bzr and hg do that, monotone gets even more paranoid [19:30] darcs hashes too [19:30] really, it's the easiest way to do it if you're making a DVCS, so I'd be surprised to see anyone else do it differenetly [19:30] NfNitLoop: that talk is old. [19:30] s/et/t/ [19:31] I thought it was given this month. [19:31] GaryvdM: but it was just as untrue when he said that :) [19:31] Yes [19:31] NfNitLoop: if so, it must be a new one [19:31] the google talk he gave is, dunno, 1.5 years old? [19:31] NfNitLoop: was it the one at google? [19:31] yeah. [19:32] May 2007 [19:32] Oh yeah. [19:32] Someone only just recently posted it to a blog I read. (HackerNews). [19:32] so it was dated this month on the blog, but yeah it's from 2007. [19:33] still, even then some of what he said didn't seem that accurate. [19:33] NfNitLoop: Linus is a prick, to use the technical term, and it's not entirely uncommon to sacrifice accuracy to increase the emotional value of what he says [19:34] so you need to take that into account when you read / listen to anything by him [19:34] *uncommon for him [19:34] Is he git? (excuse the pun) [19:34] *Is he a git? [19:35] you could say so :) [19:35] personally I think it's a real pity he grew to be the face of much of the FLOSS [19:35] because we really have people who are just as smart, and aren't unbearable, obnoxious pricks [19:37] Heh. [19:38] Jelmer told me that he name git git as a tribute to Andrew Tridgell. [19:38] *named [19:39] I heard he named it after himself... but I could be hearing it wrong [19:40] I've got to learn git for a new job... it seems that you have to use some convoluted workflows to get it to work right. [19:40] that could just be me too. [19:41] rubbs: nope [19:42] I played around with it a bit because a coworker really likes it. Much prefer bzr's simplicity/flexibility. [19:42] that seems to be the essence of Linus's products. You use them the way Linus meant them to be used, or not at all [19:42] everyone else be damned [19:42] I don't understand why it needs to be so complicated, but it is [19:43] I just don't care for the colocated branches or the index. [19:43] it has some good features, like colocated branches (though they are incredibly confusing if you don't know about them) and rebase -i [19:44] but we already have bzr-colo and rebase -i is a political issue, really [19:44] My officemate is reading http://hginit.com/ and trying to figure out why he should bother with DSCMs. [19:44] rubbs: colocated branches are incredibly useful in certain scenarios [19:44] I'm apparently not that great at articulating it. [19:44] NfNitLoop: http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/ === deryck[lunch] is now known as deryck [19:44] that's the article that really convinced me [19:44] namely, when you don't want to / can't afford to reconfigure everything to use a branch in another dir [19:45] also for Hg, but easily adapted to any DVCS [19:45] NfNitLoop: it's not obvious at first, so it's understandable [19:46] mathrick: oh I'm sure it's useful, and in many ways I can see why, but I don't really need to worry about it. [19:46] NfNitLoop: you can tell him that DVCs are better because make collaboration easy in a way that's natural for humans, not in a way that's somewhat easier for your sysadmin to setup [19:46] not to mention they're easier to setup to boot [19:47] how do I merge lp:~ubuntu-manual/quickshot/screenshots-de into lp:~ubuntu-manual/quickshot/screenshots-ump? [19:47] rubbs: sure, I haven't used them until recently, when I had to work on a git project, but then I actually got hooked up, because said project happens to depend on several external config files pointing to the right place, and with colocated branches I can just switch in-place to test if a bug is upstream or the result of my hacking [19:48] ubuntujenkins: [19:48] bzr branch lp:~ubuntu-manual/quickshot/screenshots-um [19:48] If you have not allready [19:48] cd screenshots-um [19:48] yep I have the branches on my computer [19:48] you can also say bzr merge lp:~ubuntu-manual/quickshot/screenshots-de -d lp:~ubuntu-manual/quickshot/screenshots-ump [19:48] bzr merge lp:~ubuntu-manual/quickshot/screenshots-de [19:49] but if you have them locally, then just do what GaryvdM says [19:49] mathrick: you cant merge into a remote branch [19:49] no? [19:49] mathrick: He's arguing that with merge-tracking in SVN that you can do all of this in SVN too... which I'm not quite sure how to counter. [19:49] you should be able to [19:49] ubuntujenkins: resolve conflicts [19:49] other than the fact that it "feels" more natural to create lots of branches with bzr. [19:49] well I get the error bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified. [19:49] ubuntujenkins: commit [19:49] since it's easier, and doesn't pollute the central repo. [19:50] NfNitLoop: except it's an afterthought for svn, and even svn devs admit it's not quite ready for production use yet [19:50] mathrick: Oh really? [19:50] NfNitLoop: bzr is easier, faster, less buggy and produces smaller trees [19:50] ubuntujenkins: ah, hold on a sec, let me have a look at the contents [19:50] mathrick: How is it not ready for production use? That's how we do merges here. [19:50] NfNitLoop: and svn STILL doesn't give you offline commits [19:50] NfNitLoop: it has many failure modes [19:50] mathrick: Right. He conceded that point. [19:51] mathrick: merge needs a working tree, which bzr does not touch if the branch is remote [19:51] mathrick: any idea where I might find a list of those? *googles* [19:51] thanks GaryvdM its suprising how confusing this gets [19:51] offline commits are awesome, not because you necessarily have to be on a plane all the time, but because it really means you can start a repo absolutely anywhere, at any time [19:51] GaryvdM: ah [19:52] ubuntujenkins: you'll get used [19:52] NfNitLoop: with self-contained repos, all I need to share my repo with you is email. I can literally just zip my tree and send it to you, and have done so many times [19:53] and if I ever get on a plane or train, which I occasionally do, I can work on everything I have branched, even if I haven't planned for this [19:54] mathrick: Yep. He's already agreed that that is nice. [19:54] and most of the time, bzr repos are still smaller than svn's checkouts :) [19:54] But he's pointed out that everyone says that DSCMs are SOOOooo much better at merging without giving concrete examples of how. [19:54] lemme see if I can find it [19:55] and he's claiming that svn 1.5+ basically handle merging well enough now. [19:55] basically screenshots-ump contains a folder for each language, screenshots-de contains a folder for each chapter I need to be able to merge screenshots-de into screenshots-ump/de (GaryvdM [19:56] Hell, using bzr is simpler just because it remembers parent/push branches. having to 'svn merge http://repo/path/path/to/branch/blah" is a pain in itself. :p [19:56] NfNitLoop: btw, I don't know if what I said about hashes and tamper-proofness is true for svn. It's not a DVCs, so it might very well not have that built-in [19:56] NfNitLoop: yeah, that is a good point [19:56] ubuntujenkins: will you need to merge one lanuage in to another? [19:57] http://portal.acm.org/citation.cfm?id=1572196&dl=GUIDE&coll=GUIDE&CFID=77717344&CFTOKEN=95162572 <-- heh [19:58] ubuntujenkins: to do what you asked, you need to do: [19:58] Garyvdm I will have another branch for each language. The idea is they are collated into one giant branch with a folder for each language. [19:59] The one big branch is where you want to end up? [19:59] mathrick: Oh I'm sure it doesn't for svn. [20:00] ubuntujenkins: to do what you asked, you need to do: [20:00] screenshots-ump/ $ bzr merge screenshots-de -r 0..-1 [20:00] screenshots-ump/ $ bzr mv screenshots-de screenshots-ump/de [20:00] and commit [20:00] NfNitLoop: another thing is that svn doesn't really look at the whole tree, only at the changed files. So you can actually get unbuildable trees from two tested patches, even though the commits are supposed to be atomic [20:00] GaryvdM thanks I will give it a go [20:00] NfNitLoop: that can get very tricky, particularly when you do more extensive merges [20:01] ubuntujenkins: and after you have done that, look at bzr qlog, which will give you a better understanding of what you have done. [20:03] NfNitLoop: and SVN still doesn't let you commit if you don't have commit access to the repo, which might, or might not be a problem for you in particular. But in general making people unable to version they changes just because they're not blessed is stupid and will eventually come to bite you when you don't expect it [20:03] because you brough someone from another team to look at some particular problem, or whatever [20:08] *nod* being able to commit a change and then share it regardless of central repo permissions is quite nice. [20:08] but in the corporate world not exactly desired. [20:08] (shhhh). ;) [20:08] http://svnbook.red-bean.com/en/1.5/svn.branchmerge.basicmerging.html#svn.branchemerge.basicmerging.stayinsync [20:09] it's mostly a strawman, because it doesn't influence the central repo in any way [20:09] So I found the --reintegrate option there and pointed the coworker at it. [20:09] you just get to collaborate the same way you can speak to each other without going through your manager [20:09] apparently you have to tell SVN which *direction* your merging, and after reintegrating w/ trunk your feature branch can't be merged anymore. [20:09] that's basically a deal breaker for me, at least. [20:10] you're* [20:10] NfNitLoop: With bzr, you also give merge a direction. [20:11] eh? [20:11] But the not being able to remerge in svn does suck [20:11] you just say: bzr merge source [dest] [20:12] but in SVn you have to specify --reintegrate if [dest] is trunk, from which source had been branched. [20:12] dest$ bzr merge source [20:12] whereas bzr figures it out. [20:12] and any other sane DSCM. [20:12] NfNitLoop: oh man, this is cumbersome as hell [20:13] bzr just keeps track of all that for you [20:13] so the whole thing is down to one command: bzr push [20:15] yup. [20:15] "In Subversion 1.5, once a --reintegrate merge is done from branch to trunk, the branch is no longer usable for further work. It's not able to correctly absorb new trunk changes, nor can it be properly reintegrated to trunk again." <-- seriously? [20:15] that's stupid [20:15] so there you have it [20:15] you *still* can't merge properly [20:15] Wow. That's special. [20:15] it's slightly less retarded now [20:17] NfNitLoop: so tell your coworker that this kills the most common use for branches: branching out releases and fixing bugs on them while keeping the development in trunk without giving up the bugfixes [20:17] you normally do it by cd release-1.0; hack hack hack; bzr commit; bzr push [20:17] and presto, trunk has the same fix now [20:18] I can't see how you could possibly do that with the broken svn model [20:21] ubuntujenkins: were you successful? [20:21] GaryvdM yes and no still working on it [20:33] GaryvdM I have achived what I wanted to, bzr mv didn't work but I found a way to do thanks for your help [20:33] Good [20:34] ubuntujenkins: did you look at qlog? [20:37] erm should it be in .bzr? I think I did something wrong as I have no .bzr [20:38] o I do have .bzr [20:38] ubuntujenkins: run it in the branch that you did the merge in [20:38] screenshots-ump/ $ bzr qlog [20:39] bzr: ERROR: unknown command "qlog" is what I get I have a bad felling :-( [20:39] sudo apt-get install qbzr [20:39] ubuntujenkins: ^ to install it [20:40] just installing it now. [20:43] wow thats a shiny way of showing the changes :) [20:44] I shall set up another branch and give it ago agian thanks GaryvdM [20:44] :-) Hopefully it will help you to understand things better [20:55] (whoops, was afk for a bit) [20:55] mathrick: actually, I'm pretty sure you couldn't do 'cd release-1.0; hack; bzr commit; bzr commit [20:56] er, bzr push [20:56] the trunk would have diverged by then, and a push would complain. [20:56] you'd have to do a merge into trunk. [20:56] but yeah, being able to have long-lasting branches that don't break when you do a reintegrate is a good thing. :p [20:57] halp! i installed bzr fastimport from launchpad with: "python setup.py install" and it worked, but when i run bzr fastimport or bzr fast-import it whinges about it being an unknown command [20:59] alex-weej: it may have installed under a different Python version's package lib. [20:59] is bzr using the same version of python that 'python setup.py install' used? [21:00] (try python -v ; bzr version) [21:00] i haven't configured it otherwise -- everything is stock ubuntu 9.10 [21:00] 264, on both [21:01] hmm, is there an env variable to tell bzr not to warn about dumb terminals? [21:01] does bzr have a cache of commands or something? [21:02] alex-weej: no, it get's them from the plugins each time it runs [21:02] damn this is blocking my work -- anyone have any working way of converting a git repo to a bzr one? [21:02] alex-weej: bzr-git? [21:03] that can do migration? [21:03] Yes, you can even push back to git later. [21:06] I've committed a change but not pushed it, but since then made some more changes. If I undo the commit, will I lose my changes? I want to recommit everything under the one change. [21:07] rioch: That will work. [21:08] rioch: Just *do not* revert after you uncommit. [21:08] Hey. I've tried bzr for the first time today, after git-on-windows frustrations. I followed the git-svn example in the docs to checkout trunk and create a work branch. , then merge changes from work to trunk. In the merge, is it possible to make bzr do the same commits to trunk that I did to work, instead of doing one big commit? [21:08] I will uncommit, and then commit again, that right? [21:08] hmm. did anyone understand that? :) [21:08] rioch: Yes [21:08] thanks [21:09] tasslehoff: Yes. do bzr push [21:10] ok this is really f***ed up, i just installed bzr-git and now i get bzr git [21:10] bzr: ERROR: unknown command "git" [21:10] why is bzr doing this to me!? :( [21:10] alex-weej: There is no bzr git command, but,,, [21:11] GaryvdM: great. this will work if I followed "A Simple Example" from http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/svn_plugin.html? [21:11] alex-weej: with bzr-git, you can do bzr branch [21:11] if it's a local file, how does it know it's git [21:11] alex-weej: Not sure. [21:12] I think it looks for a .git folder. [21:12] dulwich has something to do with git i guess [21:12] alex@whoosh:~/Desktop/XPRESbzr$ bzr branch /home/alex/Work/Geo-Net/XPRES/Code [21:12] bzr: ERROR: dulwich.errors.ChecksumMismatch: Checksum mismatch: Expected 6378e115d5922cf04385f515f5b3627b61971843, got 54524545000051b6002d3120340a736861726500 [21:12] alex-weej: Yes, dulwich is a library that bzr-git uses [21:13] ok so it knows it's a git repo, it's just bailing for some reason :( [21:13] jelmer: Any ideas ^ === salgado is now known as salgado-afk [21:16] tasslehoff: Do bzr log/bzr qlog. If you do bzr push, What you see in log will end up in svn. [21:16] GaryvdM: thanks. [21:16] tasslehoff: Provided what you have has not diverge from the svn branch [21:17] alex-weej: that error suggests that the branch is corrupt [21:17] git seems to still work OK with it with no warnings [21:18] * alex-weej is just pushing git to svn and branching the svn repo instead [21:18] alex-weej: I'm not sure then [21:18] GaryvdM: ok. [21:25] jam: hello! I have a 425MB file in my shared repo, "repository/uploads/something.reconcile" (I ran "bzr reconcile" yesterday), can I remove it? [21:35] if i have a branch already in "mybranch" can i just create a folder, bzr init-repo, and copy "mybranch" in as-is? [21:35] actually that defeats the purpose [21:35] how do i do this properly ;) [21:36] alex-weej: after you move the branch, do bzr reconfigure --use-shared [21:37] in the branch [21:37] Or [21:37] bzr branch in the shared repo, then remove the old branch. [21:57] GaryvdM, reconfigure worked fine, thanks [22:02] guilhembi: yes [22:02] it is a temporary pack file for the reconcile work [22:02] jam: thanks! [22:02] 'upload' is a staging area [22:02] so if nothing is actually writing to the repo, the files there are trash [22:03] ok [22:03] i'm surprised it was left behind without us cleaning it up [22:03] was there an error while running reconcile? [22:03] the command did return "0", no error. [22:05] Tomorrow I'll set up a "check -v" job, to verify the state of the repo. [22:05] jam: thanks again. Off to bed. [22:06] sleep well [22:22] I've just done a qdiff on over 50 files. It displays the diff for each file in turn. How do I terminate the entire process without having to go through all the files? [22:23] crtl-c [22:23] that doesn't work [22:23] in fact, I've cloed the terminal from which I ran the command [22:24] ...closed the terminal... [22:24] the qdiff gui keeps popping up for each file [22:24] Oh - qdiff [22:25] did you do a command line gobbing? [22:25] Is there a C interface into bzrlib? [22:25] got it. I used ps to find it's parent process and killed that [22:25] i.e. bzr qdiff foo*? [22:25] GaryvdM: nope, I actualyl ran bzr qlog, then did a diff from the qlog gui [22:26] x_dimitri: Thats odd. [22:26] how so? [22:26] I don't know why its doing that [22:27] x_dimitri: Could you describe the steps to reproduce that? [22:27] ok, l'll give it a try [22:28] commit a couple of new files, perhaps 100 :-) [22:28] do "bzr qlog" [22:29] in teh qlog gui, double-click on the line that records the commit [22:29] x_dimitri: I get one window for all the files. [22:29] hmm... [22:30] thats' different... [22:30] let me have a look again [22:30] x_dimitri: are you maybe using --using meld or something else? [22:31] yes [22:31] I'm using meld [22:31] Ah ok. I know about that, I hope to fix soon. [22:32] The built in diff will open one window. [22:32] yup, you're right. Using the builtin diff shows all in one window [22:33] well, at least I know how to stop the 'infinite' windows when using meld [22:59] Night all [23:14] abentley: reply to the list. But basically they have a 300+ MB .sql.gz and a 180MB .sql.gz [23:14] and it is in --rich-root-pack and not --2a [23:15] anyway, I'm off for now. [23:15] But if they remove those files completely, their repo goes from 570MB to ~30MB, etc. [23:21] if I follow the centralized workflow, what is the good way to handle central repo? After I clone from the central repo and fix a bug in a branch of my local repo, do I have to push the branch to central repo? [23:24] Hi [23:25] I have one branch which is a checkout of a remote branch... is it possible to reflect changes in the remote branch without committing them, in the other branch? [23:26] Huh? [23:26] You want to commit directly to the remote branch, but not locally? [23:27] GungaDin: what do you mean by "changes in the remote branch"? [23:28] I want the checkout to reflect the remote branch without having to commit all the time and updating in the checkout. [23:28] Oh ok. It sounds like you don't want to use a checkout at all. [23:28] jasonlife, typically you will have a checkout of your central trunk [23:28] You just want an ordinary branch that you can do "bzr pull" in. [23:28] merge your feature changes into that, and commit [23:29] and then everyone will see them [23:37] poolie: Is it normal create branch in central repo? For example, my software periodically release new version.. Do I have create new branch for each version on central repo? [23:38] Do I have to [23:43] jasonlife, it depends on whether you do bugfix updates to those releases [23:43] but yes, it's probably a good idea to make a new central branch for each release