[00:04] morning === abentley1 is now known as abentley === davidstrauss_ is now known as davidstrauss === abentley1 is now known as abentley === abentley1 is now known as abentley === abentley1 is now known as abentley [01:34] is there a way to get only one file from a revision? [01:35] krisfremen: "bzr cat -r 123 foo.py" [01:36] awesome thanks [01:44] krisfremen: which is also really handy when you have a forest of Branches that do not have Working Trees present with them [01:44] Indeed. [01:44] krisfremen: and you need one or so files out of it [01:45] yes, that's what i need it for [02:04] igc: hi [02:04] igc: I've just added http://bazaar-vcs.org/ConvertCommand [02:04] igc: it touches on upgrade a bit as well, since they might share common code [02:04] hi jelmer [02:05] jelmer: thanks for the rio stuff [02:06] jelmer: one thing that would help though ... [02:06] is to move the escape logic down somehow ... [02:06] so that knowing whether to xml_escape or not doesn't need to be handled at higher layers multiple times [02:07] igc: the problem is that we don't know if we're re-serializing an existing revision [02:07] I had to tweak fast-import to disable it and I imagine ... [02:07] that you'll need to do the same in svn-import, etc. [02:07] igc: we could always escape in the XML serializer [02:08] jelmer: or even the repo layer [02:08] I just want to get it out of commit.py, fast-import, etc. [02:08] igc: yeah, that would be really useful [02:09] jelmer: if nothing else, we might need a flag on the format saying whether to escape messages or not [02:10] jelmer: btw, I fast-import OOo over the weekend [02:10] 36 hours altogether, though only 1 hour for the first 50K so ... [02:10] there's room in there to improve things a lot I think [02:10] igc: into dev6 or into 1.9-rr ? [02:11] dev6-rr [02:13] igc: about the xml char escaping, do you think it would be acceptable to just push it into the serializer and not have commit print warnings about squashed characters? [02:14] alternatively, I guess we could propagate that number somehow [02:14] jelmer: I think the serialiser is the logical place for it but ... [02:14] I worry about backwards compatibility [02:14] that's why I suggested the repo layer [02:15] igc: backwards compatibility in what sense? [02:15] igc: we don't really escape special characters at the moment, we squash them (we don't escape "\" itself) [02:15] jelmer: if plugins assume the serialiser does or does not do it [02:15] igc: it's not a problem if plugins escape too [02:16] jelmer: I guess not [02:17] jelmer: hopefully our tests we tell us :-) [02:36] Gday. I have an existing svn+ssh repos, and I've installed bzr-svn. What would the url be for the bzr exposure of the svn repos? [02:36] h6w: same URL you would use with svn [02:36] bzr+ssh://.....? [02:36] h6w: no, svn+ssh://.. [02:36] Oh really? [02:37] Sounds a bit confusing, but, oh well. [02:37] h6w: well, it's the svn+ssh:// protocol that you're using with bzr [02:37] h6w: bzr+ssh:// would be the bzr protocol [02:38] oic. I installed the bzr-svn plugin on the server, expecting it to do the translation server-side. [02:38] So I'd just use bzr on my client. [02:38] h6w: that might work too (with bzr+ssh:// then, but I've never tried it) [02:39] ok, will try that. [02:43] h6w: looks like that doesn't work for some reason [02:43] spiv: ping [02:44] h6w: so you'll need bzr-svn on the client instead and use svn+ssh://.... [02:47] ok. Or else just shift the entire repos. [02:48] The whole point was so that we could do a smooth migration from svn to bzr. [02:49] h6w: you can do such a smooth migration that way, it's just the URL that's different [02:50] h6w: if you later convert the repo on the server from svn to bzr using "bzr svn-import" you just adjust the URL and things will still work [02:50] I think that's going to have to be the way to go. [02:50] I was just hoping to have commits and updates work through both protocols while we tested it. [02:51] We have one client (Launchpad) that doesn't do bzr-svn, only bzr. [02:51] h6w: it's probably an easy fix to support bzr+ssh:// for svn repositories, it's just that nobody has asked for it before [02:52] lifeless,spiv: ^ [02:52] jelmer: huh? [02:52] jelmer: do you mean, bzr-svn running on the server? [02:52] lifeless: yeah [02:52] Yes. [02:52] lifeless: the smart server raises NotBranchError for some reason, any idea what could be causing that? [02:52] doesn't really make, sense that would be a site-to-site thing like 3rd-party ftp [02:53] or perhaps I don't understnad what you mean [02:53] Serving bzr requests via bzr url and piping them to an existing svn repos on the same server. [02:53] lifeless: Using bzr+ssh:// to access a Subversion repo on the server [02:53] jelmer: bzr-svn would need to find an svn repository given a file url [02:53] jelmer: why should that be needed? [02:53] lifeless: it can do that [02:53] jelmer: into the repo, not into a tree [02:54] why not just use svn+ssh ? [02:54] SamB: see above [02:54] lifeless: yes [02:54] jelmer: then it should, in principle, just work [02:54] lifeless: What's the easiest way to debug if it doesn't? [02:55] hmm, how do you break an ssh-started program into a debugger ... [02:55] jelmer: use raw bzr:// [02:55] jelmer: start a server via bzr serve [02:56] and then use pdb and or ctrl-\ juidiciously [02:56] oh, I guess that would work ... [02:56] jelmer: why don't you just check ? [02:56] its exceedingly unlikely that ssh is part of the problem [02:56] oh, you did [02:56] * SamB wonders why he said "if" [03:03] did you? [03:03] lifeless: it loads the plugin but never even calls the probe function [03:04] jelmer: the smart server uses the standard interface [03:04] jelmer: break in bzrlib.smart.bzrdir .. OpenBranch [03:04] lifeless: standard interface ... ? [03:05] SamB: as opposed to a nonstandard one [03:07] lifeless: do you have a link to the documentation of this interface? === Kissaki is now known as Kissaki^0ff [03:09] lifeless: found the problem [03:09] lifeless: it only tries to do an open with BzrDirMeta1 [03:09] lifeless: bzrlib/smart/bzrdir.py:52 [03:10] oh [03:10] fugly [03:10] iz bug [03:13] filed [03:25] lifeless: oh, and ChrootTransport doesn't provide local access? [03:33] jelmer: no [03:34] it provides whatever its back on, no more [03:49] * SamB wonders what ChrootTransport is ... [03:56] What's the bzr-svn URL now? I have http://people.samba.org/bzr/jelmer/bzr-svn/trunk/ but it's not redirecting anywhere. [03:56] AfC: symlinks don't usually cause HTTP redirection ... [03:57] SamB: apache configurations do, though [03:58] AfC: well, I believe that's always going to be the trunk of bzr-svn, and I don't think it's ever redirected for me unless I left off the / [04:00] SamB: oh; so you believe that URL to be correct? [04:00] AfC: assuming you're not getting an error [04:01] oh ... actually, I'm using http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev/ [04:02] SamB: ok, thanks [04:02] * SamB was just confused by AfC's expecting it a redirect [04:20] * igc lunch [05:12] -> spain [06:34] lifeless: ping? still in sydney? [06:34] 14:12:17 < lifeless> -> spain [06:35] poolie: ^ [06:35] ah i thought so [06:58] poolie1: at the airport [06:58] poolie1: can I do something for you? [07:00] poolie1: you have a 10 minute window before I'm forcible un-wifi'd [07:07] ok, boarding call ;) [07:07] ciao [07:10] Bye. :) [07:12] actually, misheard :) [07:13] 16:30 I have to board [07:16] 14 minutes from now? [07:16] Well, enjoy your last 13.5 minutes of wifi. :) [07:16] yes [07:16] though pinging my home client could be wrong :) [07:17] good luck with jet lag... since it's 8:17am here [07:18] So, um, why are you guys always flying all over the world? [07:19] we get together for sprints [07:19] different areas of the company do this at different times [07:19] this particular one is everyone in the company, which is way cool [07:19] Oh, okay. [07:19] and happens ~ once a year [07:20] wow, DCO's look evil [07:20] hello lifeless [07:20] no, nothing important [07:20] DCOs? [07:20] device configuration overlay [07:21] for vendors that want to sell '60 GB drives' but their supplier gives them 65GB drives. [07:21] apply a DCO and most everything sees it as 60 [07:21] just reading up on HPA's due to finding the BIOS HPA support on my desktop flaky, I decided I should know more about it [07:23] and the best doc I've found so far is from the journal of investigative forensics :) [07:32] * lifeless waves [07:39] fly well [07:40] Fly well? The airline industry is doing so badly that passengers have to flap their arms now? [08:08] Hi, is there a facility on Bazaar similar to subversion's tags? [08:08] I would ask my bzr repo's maintainer but he has been offline for quite a while so I cannot [08:10] awilcox: Bazaar supports tagging, but branches are more similar to svn tags. [08:10] Ah. [08:10] Peng_: Well, if you believe the version control/airlines thing... [08:11] My project is closing in on a release and I'd like to "branch" the tree I guess, so that this version can be out of trunk and be worked on separately [08:11] awilcox: Then use a branch. [08:11] That way, last-minute bug fixes can be done by the QA devs on the branch, and me and the rest of the team can be adding shiny new features to 2.0 [08:12] Okay. [08:12] Have a branch for the release engineering, and tag the release on it, is SOP. [08:12] fullermd: is there a tutorial for doing this? Because I looked on the wiki and it does not say how to make a branch [08:13] I am an utter n00b when it comes to bazaar. I mean, my repo maintainer taught me how to use checkout and resolved and said "anything else read the manpage" [08:13] And the manpage doesn't seem to cover tags and just mentions what branches are, not how to to create one =/ [08:13] `bzr branch foo bzr` [08:14] Aargh. Dangit. bar. bAr. With an A. [08:14] :D [08:14] Hah. [08:14] So it would be like bzr branch trunk release ? [08:14] Where do I run that from? I have ssh to the server... [08:15] Well, one general way would be to put it right next to trunk. [08:15] Right. [08:15] It would be like foo.com/project/trunk or foo.com/project/release [08:16] Unless you only want to make one release, it might be better to name the branch "1.2" or whatever. [08:17] Or better, since you're going on with 2.0, name the branch RELENG_1 or something. Then you can add branches off that for 1.0.x or 1.1.x releases or whatever's needful later. [08:17] He said make a branch for releases and tag the release on it [08:17] Well, it's your choice. Some projects just have one "stable" branch for the current release. [08:17] Okay so we'll have a RELENG_1 [08:18] Okay I am at /home/awos-bzr/repos/awos [08:18] I see: branches and trunk [08:18] This isn't CVS, you don't need to keep caps lock on. :P [08:18] Do I just cp trunk branches/1.0 ? [08:19] awilcox: "bzr branch". [08:19] Well, you maybe _could_, but using 'branch' would be better. [08:19] Okay [08:19] bzr branch trunk branches/1.0 ? [08:21] IMO it's silly to have a "branches" directory, but yes. [08:21] Users get offended when it's called "oldcrap" instead... [08:21] Branched 670 revision(s). [08:24] So now if I commit to the branch, it will have revision 671, and that will be separate from trunk revision 671, yes? [08:25] hi, i don't want bzr to track the file mode/ownership changes, how to do that? [08:28] nok4: All it tracks is the exec bit. If you want to turn that off, um, I don't know how. [08:28] awilcox: Yes. [08:28] Peng_: Awesome [08:28] awilcox: Y'know, you can merge the release branch back into the trunk when you make changes. [08:28] Thank you Peng_ and fullermd for your help, it is much appreciated :D [08:30] Peng_: ok, i'll try chmod the x bit to work around it. [08:46] Why does the index have to be probed to figure out that there's nothing to pull? [08:54] hi, I've got a question about using hooks: is it possible to ship a hook within a branch? [08:54] as far as I understand the docs a hook has to be in ~/.bazaar/plugins [08:55] but I'm looking for hooks on a per branch basis, so something like mybranch/.bzr/hooks [09:04] Peng_: How do I merge? [09:04] awilcox: "bzr merge". :D [09:04] ahhhhhh [09:04] awilcox: Read the tutorial and/or help. [09:04] That should have been obvious. [09:04] :P [09:18] * igc dinner [09:52] thekorn: No, you can't ship hooks in a branch unless you do it and get the users to run a script that installs them [09:53] thekorn: Bazaar will by design not execute stuff in a branch automatically [09:54] awilkins, thanks, so it won't make sense to file a wishlist bug, as this is by design, correct? [09:54] thekorn: I'd agree with that [10:00] Well, it's probably something we'd like more mechanism for. So it's wishlist in a sense. [10:02] it would be nice to have especially for hooks which don't do any harm, like commit_message_template [10:03] but I can live without it, just curious [10:15] thekorn: plugin plugin plugin [10:15] you can do almost anything in a plugin [10:16] pygi, I'm sure you can, so write me a plugin which allows me a define a commit_message_template hook within a branch ;) [10:17] thekorn: w00t xD [10:17] catch me during UDS, we might talk if its really something you need [10:19] :p [10:19] * pygi hides [10:20] pygi, ok, ok, I'm also not sure if I really need it [10:22] ehhe [10:22] * pygi shoots thekorn [10:22] Well, it's kinda a bootstrap problem :p [10:22] * thekorn switches over to git [10:23] Making a plugin that forces somebody not having the problem to get the plugin has minor temporal difficulties. [10:23] s/problem/plugin/ [10:25] right, I think I will just trust the contributors to the project to always use the template for commit messages we agreed on [10:26] Yah. Social problems are best handled with a cattle prod 8-} [10:26] Forcing a given template for commit messages seems a bit draconian. Is this a commercial project? [10:27] But as fullermd says, cattle prods are useful. [10:27] no, I just want them to mention all files they changed [10:28] In what sense? [10:28] the change surely does that for you. [10:28] thekorn: hm, whats the point if bzr can tell you that for every revision? o.O === Kissaki^0ff is now known as Kissaki [10:35] pygi, I'm using bzr in a computer sience class, and I want the student to actually describe their changes in detail [10:35] thekorn: ah, ok! [10:35] so just for teaching purposes [10:37] bzr-gtk has a nice commit UI, doesn't it? [10:37] I mean, for messages. It's the source of all of those really detailed messages in bzr.dev, isn't it? [10:43] * Spaz tickles everyone [10:43] oops [10:43] wrong channel [10:44] Spaz: :p [10:44] lol [10:44] you don't deserve my tickling! >:( [10:45] :( [10:47] I always thought commit messages were meant for long rambling harangues about the stupid things the client made you do... [10:52] Bonus points for using profanity as shorthand. [10:57] Bonus points for writing comments that when they are acronymized are an insult to the irritating client that cause the patch to be necessary [10:59] thekorn: I remember a plugin that automatically listed all changed files in the comment [10:59] thekorn: Wouldn't be hard to write though [11:00] thekorn: I remember another one that parsed the --- below here --- part of the comment that was previously ignored and used it as a commit list, so you just deleted the line for any file you didn't want committed [11:01] I remember _discussion_ about that, but I'm not sure it really exists. [11:09] hi, I have a question about English term. What is blueprint? Re: blueprints at launchpad [11:10] bialix: A set of plans for construction, as of a building. [11:11] so it's more like "plan"? [11:11] or "planned features"? [11:11] or closer to "specification"? [11:11] Probably specification. [11:11] I need this for Russian translations [11:11] "plan" can get too general; a blueprint is a plan for building a specific thing, whereas "plan" could also mean broader what things you want to build. [11:13] Only downside to 'specification' is that it could also mean a description of something that already exists, rather than the desired specifications for something to be made. [11:13] But I don't know whether that ambiguity would translate. [11:13] so "blueprints @ launchpad" -- plans? [11:15] Yeah, that would probably get the right idea across. [11:15] ok [11:18] fullermd: is it somehow related to "request"? === Kissaki is now known as Kissaki^0ff [11:21] bialix: No, it's more like "We've decided to do this (or at least explore it in-depth), here is the behavior the feature should have and something of how we'll implement it at the code-level" [11:22] So it's more of an "implementation plan", maybe. [11:24] looks good [11:59] jam: I tried to use bzr merge-into to work-around bug 375898 as you suggested. Unfortunately using bzr merge-into gives the exact same problem :-( [11:59] Launchpad bug 375898 in bzr "bzr merge fails: bzr: ERROR: No final name for trans_id 'new-1'" [Undecided,New] https://launchpad.net/bugs/375898 [12:00] jam: I have added to the bug report the exact steps needed to get the error, including the merge-into step and subsequent patches applied. [13:28] jam: ping [13:38] jelmer: ping [13:38] Peng_: yo [13:39] Hi! :) [13:39] Oops, wait, never mind. [13:40] vila! [13:40] beuno ! [13:40] :) [13:40] vila, I'm packing to go see you! [13:40] jelmer: Sorry. I wanted to mention a little error in bzr-svn, but you've already changed that code and fixed it. Oops, should've checked before pinging you. [13:41] beuno: I'll do the same very soon (still a couple of hours hacking while re-checking my survival kit :) [13:41] vila, you've got a slightly shorter flight than I do ;) [13:42] beuno: we should sit and talk again about bzr-upload, I'll took notes last time but I need more details to refresh my memory :-/ [13:42] beuno: sure thing, the flight is shorter, yet I have to leave in the morning anyway because there isn't a lot of flights from here... [13:42] vila, would be great [13:42] there's that bzr sprint going on during UDS [13:43] I haven'g signed up because I'm over-booked elsewhere [13:43] BUT [13:43] yes, hopefully we'll find time in the two coming weeks [13:43] I will run away occasionaly and hang out [13:48] hmm, bb is down again :-( === Kissaki^0ff is now known as Kissaki === vila is now known as vila-dentist === `6og is now known as Kamping_Kaiser === vila-dentist is now known as vila [15:33] jam: ping [15:34] hi vila [16:04] Hi all, i'm new to bazaar - am actually just trying to checkout a copy of the planet project (planetplanet.org)'s repo - i've used bzr branch http://www.gnome.org/~jdub/bzr/planet/devel/trunk/ ./ - but it seems to be sticking, does it take time to examine files or is it likely my http proxy isn't setup correctly? === Spaz is now known as spaz [17:00] <_amanica_> ph8, it can be your proxy settings [17:06] Eww, planetplanet is using an old repo format [18:14] what's the (practical) difference between default-rich-root and rich-root-pack? [18:17] Tak: in the future --default-rich-root may point to a different format [18:17] --rich-root-pack will always stay the same [18:18] as of *today* there is no difference [18:20] hmm - which one would be a better default for a user who's unlikely to know the difference? [18:50] Tak: where are you using them for? [18:51] I'm looking at adding "init" to md-bzr [18:51] Tak: --default-rich-root seems like the most sensible choice then [18:51] ok === fta_ is now known as fta [22:31] Hello all. I'm trying to get the bzr "svn" plugin working, but it tells me "No module named filters". I'm using bzr-svn-0.5.4 w/ bzr 1.13.1 on Fedora. [22:32] And indeed, there is no module bzrlib.filters. [22:33] las3r: for bzr 1.13.1 you need bzr-svn 0.5.3 (see the bzr-svn wiki page) [22:33] Ah, I see. I was looking in the "requirements" section, which wasn't so specific. Now I understand what the release list was telling me. Thanks! [22:37] Okay. Now I'm trying to import from an https:// subversion repository using a self-signed cert. Curl is complaining ("Peer certificate cannot be authenticated..."). Is there any easy to way to pass the equivalent of 'curl --insecure' to this process? [22:47] las3r: try prefixing the URL with svn+ [22:48] jelmer: Huh, seems to work, but with the deprecated warning. I had just finished patching the code to use connection.setopt(pycurl.SSL_VERIFYPEER,0) and then ran into authentication issues... [22:48] jelmer: Other than using svn+https, is there any way to provide a username/password to svn-import? [23:08] Well, I'll try the mailing list, because it's failed on the next step... [23:19] jelmer: are you doing weird stuff to dulwich? every time try i pull the bzr branch, it tells me "branches diverged" [23:31] I'm getting "bzr: ERROR: Server sent an unexpected error: ('error', "ImportError instance has no attribute 'message'")" when checking out from my server over ssh [23:34] davidstrauss: Can you try running a similar operation locally on the server? [23:34] ronny: Shouldn't have happened recently, I mean, not in the last two weeks [23:34] Odd_Bloke: Works [23:35] (from local access) [23:36] davidstrauss: Hmm, that's the only debugging idea I had. [23:36] I know nothing about the smart server. :p [23:37] davidstrauss: Is this bzr+ssh or sftp? [23:37] jelmer: im not very regular updating, since busy with other stuff [23:37] Odd_Bloke: bzr+ssh [23:37] davidstrauss: Try sftp. [23:37] works fine over sftp === Kissaki is now known as Kissaki^0ff [23:39] ronny: So, the rebasing should've stopped by now [23:39] ronny: it was mainly caused by the fact that dulwich is maintained in both bzr and git [23:39] davidstrauss: Right, now I'm out of ideas. :p [23:40] ronny: and should stop now