[00:06] lifeless: did you see my whining earlier about the bzrtools edgy+ packaging being broken? [00:07] dato: (and thanks for the suggestion of sid, I can fix it easily enough myself, I just want the bazaar-vcs.org repos to be installable :) [00:07] lifeless: and/or is launchpad bugs an appropriate place for that kind of problem? === mw is now known as mw|out === Winterstream is now known as WinterstreamAway [01:16] spiv, does this error about "remote server did not return a token" mean anything to you? [01:17] Sounds like a locking issue? Where did this occur? [01:18] new mail to the list [01:18] if it's not familiar off hand i'll check launchpad and file a bug [01:19] Not familiar off-hand, no. [01:20] I'd be interested in the -Dhpss log for that. [01:26] New bug: #176020 in bzr ""remote server did not return a token" assertion error" [Undecided,New] https://launchpad.net/bugs/176020 [02:28] poolie: re "Branch 6 options" in the User Guide, the intro text looks wrong [02:29] I assume these options all apply to new formats and perhaps to dirstate as well, not just dirstate-tags [02:30] how should I word that and can anyone suggest a better heading? I don't think "Banch 6" will mean much to most users [02:35] igc: the branch 6 options do not apply to dirstate. Branch 6 introduced tags. [02:37] abentley: but doesn't dirstate support the 5 settings listed: [02:37] append_revisions_only [02:37] parent_location [02:37] bound_location [02:37] bound [02:37] No. [02:37] push_location? [02:37] wow [02:37] Those were not part of the config file for branch format 5. [02:38] They were in separate files. [02:38] ah [02:38] And there was no strict equivalent for "bound" or "append_revisions_only". [02:39] abentley: so should I just say "dirstate-tags or later" formats? [02:40] Sure. [02:40] thanks [02:43] Actually, I guess push location was in use for format 5, but it was typically stored in locations.conf instead of branch.conf [03:55] * igc lunch [04:54] spiv: poolie_: that token bug - bet you its a knit local branch, pack remote branch, or some such. [04:59] lifeless: hmm, interesting thought. [05:04] note - I haven't read the bt or anything [05:04] just a guess [05:05] * spiv nods [06:11] hello guys, anyone awake? [06:20] I am, but I'm not very useful. [06:20] what's the proper way to go about deleting a branch from a repository? [06:24] pattern: rm -rf the branch [06:25] nice [06:25] thanks, lifeless [06:27] pattern: The revisions unique to that branch won't be removed, but it shouldn't be wasting enough space to be worried about. [06:27] Peng: me neither, just wanted to get some "best practices" recommendations of using bzr... being very annoyed by all the git mambo... [06:28] reading the user guide patch [06:28] luislavena: Git mambo? [06:29] Peng: yeah, all the "fuzz" around the -powerful- git, but couldn't get the picture of the unique checkout/mirror and their use of branch/feature and switch... [06:29] still don't get it, and reading the user guide have a question :P [06:32] I didn't understand any of the terms in that sentence, but I'm kind of overloaded right now. [06:32] Peng: no problem, I'm kind of tired too... [06:32] I'm not tired, I'm overloaded. [06:33] Argh, I'm about to explode. [06:33] what the hell, I'll re-read the user guide for nth time and try to compare some of the functionality... [06:33] Peng: oh, sorry :| [06:34] luislavena: If you have a question, just ask it :) [06:35] * fullermd wraps some duct tape around Peng for safety. [06:35] will be a best practice use a checkout to mirror a dev trunk? [06:35] I mean, I don't plan to work directly on it, but create my branch of it (feature-NN) [06:36] * luislavena think bzr have so many options that is overwhelming [06:36] Yes, a checkout would work. So would a branch that you just never commit in; the major difference would be whether you "update" or "pull" to keep it caught up. [06:36] (at least, the checkout _should_ work. There've been occasional hiccups in the past where checkout wanted to be able to write to the upstream for locking) [06:37] fullermd: ok, then a branch on a treeless repo will do the trick. [06:38] * fullermd nods. [06:38] FWIW, I don't use checkouts. I don't see the point, and since they aren't bzr's main functionality, I don't expect them to work as well. [06:38] (I do occasionally use a lightweight checkout to save downloading the history, though.) [06:39] I see, thank you Peng [06:40] I'll try to get used to the workflow, being a svn guy for quite long :P [06:40] I use checkouts with some regularity, especially for work (as opposed to personal) projects. For all the uber-distributed disdain for it, the shared-branch workflow does very well if it fits what you're doing. [06:40] fullermd: that's the problem, found something that 'fit' whatever I'm trying to do. [06:40] couldn't get a clear picture of the workflow that will fit better with my development. [06:41] Yeah, it can be tricky. Once you digest it, though, the choice is great, since there's so many different problems that need different solutions. [06:41] And even the same problem at different times. bzr's been great for me at allowing that adaptability. === poolie_ is now known as poolie [06:42] Peng: thank you. [06:43] fullermd: thank you too for your comments [06:44] luislavena: Any time :) [06:47] a last (for now) question: [06:47] lets say I have one share repo and my "dev" branch on it, all locally. [06:48] I can push it remotely, but I need it to be inside another shared repo? or can stand by itself? [06:49] luislavena: it can stand by itself. [06:49] luislavena: if you have a shared repo on the remote side, pushing a new branch to that repo will automatically use that shared repo, but if there isn't it'll just make a standalone branhc. [06:49] It's a good idea to use a shared repo, though. [06:49] If you use 'push' to send it around, it will go into another repo, or by itself, whichever fits at the other end. [06:50] You can't, e.g., just tar it up and move it around though, unless it's standalone (or you tar and move the whole repo) [06:51] I didn't tried the remote stuff, being using bazaar quite some time (but not full due work) but didn't make pushing yet :-$ [06:52] luislavena: basically, push will work either way. Just like locally, bzr can copy less data if there's a shared repo that already has some of the revisions you're pushing, though. [06:53] thank you guys again, I'll try to find what fits best my workflow (trunk, production and staging with local features that will be merged on these 'stages') [06:53] spiv: if there is already data, push should only require to add the missing data, not remove and start all over, right? :| [06:56] luislavena: right. [06:57] luislavena: But if you aren't using a shared repo, it will send all of the data again. [06:57] Peng: well, if you push a new branch it will [06:57] Peng: If you're just pushing new revisions to a branch you've already pushed, it won't. [06:58] Oh, right. === doko_ is now known as doko [07:06] what if I "diverge" the branch and try to push it to the original branch location? [07:06] nevermind, will try wtih some dummy data :D [07:36] hey guys, think I made a mistake... I canceled a push... and now I am getting this... [07:36] No handlers could be found for logger "bzr" [07:36] when ever I try to push. How can I fix this issue? [07:46] just found the work around... it is a bug in both launchpad and bzr [07:57] poolie: can I merge the bug tracking doc changes? jml said they were ok with him [08:03] I just created a branch called 'hope', where I was hoping that a massive merge bringing in some changes from a different upstream project would work. [08:03] It didn't [08:03] rm -r hope/ [08:04] Clearly, I have no hope. [08:23] * igc dinner [09:09] at 16:30 we have a half hour tutorial on bzr in #kubuntu-devel for https://wiki.kubuntu.org/KubuntuTutorialsDay, if there's a knowledgeable bzr person who could hang around and answer the questions I don't know that would be good [09:10] Riddell: That's UTC? [09:11] spiv: yes [09:11] possibly not ideal for .au [09:12] or that side of the world [09:13] Yeah. There's likely to someone around at that time, though. [09:23] i'll be around if you can't get somone more qualified [09:23] jelmer or vila maybe? [09:26] Good morning Bazaaros! [09:43] Riddell,mwhudson: I just joined there as well [09:43] hi Matt [09:54] thanks [11:04] re [11:13] smart server run good ? [11:15] Good? [11:16] can i use as production? [11:17] Sure. [11:17] now use this via simple ssh [11:17] bzr+ssh? [11:17] yes [11:17] What do you mean? [11:19] now bzr run not as smart-server [11:19] What do you mean? [11:19] nevermind, sry, i need run [11:27] i read the website, thanks Peng [11:28] Ok. === mwhudson_ is now known as mwhudson [11:47] hi :) === mrevell is now known as mrevell-lunch [12:25] Riddell: just curious, what is the biggest issue with the KDE repository when using it with bzr-svn? [12:25] Riddell: The memory usage when it's caching all revision metadata? [12:37] jelmer, the memory usage makes is almost unusable [12:38] jelmer, you have to restart it about every 1000 revisions, which gets boring for 700k revisions [12:38] (and people who are not aware of the bug will be very surprised) === cprov is now known as cprov-out [13:04] jelmer: yes, caching the metadata is just unworkable unfortunately === kiko is now known as kiko-fud === mrevell-lunch is now known as mrevell === cprov-out is now known as cprov [13:41] * quicksilver cries [13:42] why do so many blog postings about VCSes not even mention bzr? [13:42] http://blog.moertel.com/articles/2007/12/10/how-i-stopped-missing-darcs-and-started-loving-git [13:42] Because people don't know it exists? [13:42] SVN has all the limelight. And Git. [13:42] Git was in news lots because of the bitkeeper/kernel stuff [13:47] and mercurial currently has some little hype thanks to opensolaris and openjdk. perhaps canonical should also do some little advertising ;) [13:49] I wonder how I found bzr? [13:50] There were those Mozilla comparisons, but I think I knew about it before them. [13:52] i think i found it through some darcs-to-* comparison ... [13:55] hi there.. I am trying to migrate some svn project to bzr. I am working on a fedora core 7 machine, and I cannot get the bzr-svn plugin to work, due to the subversion bindings version mismatch... has anyone managed to get this working on a fedora core machine ? [13:57] ricardokirkner: my tongue-in-cheek answer for getting this working is installing ubuntu in a chroot/vmware/xen :) [13:57] but once upon a time i did manage to build the right version of the bindings on os x === kiko-fud is now known as kiko [14:12] luks, Riddell: Thanks for the feedback. [14:12] I'll see if I can spend some time fixing that memory leak in the next couple of days. === mrevell_ is now known as mrevell [14:26] ricardokirkner: I'm not aware of anybody providing pre-built rpms of a patched subversion, but there is a link on the bzr-svn wiki page to a howto that explains how to patch subversion on fedora === kiko is now known as kiko-phone === cprov is now known as cprov-lunch === kiko-phone is now known as kiko [15:19] Hey, I'm having a problem with bzr-email. i have a branch that i want a linux user group to be able to commit to (locally) - that works fine, but the bzr-email only seems to work if it's the owner [15:20] Daviey: do you have a specific traceback we can see? [15:20] !paste [15:20] pastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic) [15:20] ubotu: paste [15:20] jam: eek, i'm not sure where logs for bzr-email are kept [15:21] Daviey: well, mostly I'm interested in seeing what you saw on the terminal [15:21] Either that [15:21] or you can give me the tail of ~/.bzr.log [15:21] $ bzr commit [15:21] added test [15:21] Committed revision 1. [15:21] thats all on a working one [15:21] Daviey: you may want to use paste.ubuntu-nl.org since it won't throttle you for a big message [15:21] i will [15:22] I'm also not sure what you mean by "only works if it is the owner". [15:22] I'm not sure if you realize that each user needs to have bzr-email installed [15:22] and configured [15:22] yeah, i do [15:22] just my own user testing atm [15:22] It doesn't seem like the branch permissions should effect it, but I'm happy to help you debug what is going on [15:24] http://pastebin.com/m1f1da47f [15:25] thats if i commit to a folder where i'm in the same group, and have rw perms [15:27] http://pastebin.com/m7a54f32a and thats if i commit from a branch in ~ (hence i'm the owner) [15:27] jam: ^ [15:29] Daviey: I don't see much of a difference there [15:29] (only the revision_id and timestamps seem to change) [15:29] jam: there isn't! :( .. but the second works and the first doesn't [15:29] Daviey: define "works" :) [15:29] Sends an email versus not sending an email? [15:29] ie, sends an email [15:29] yes [15:31] I'm guessing it still looks for $HOME/.bzr/ of current user, and not the group user? [15:32] Daviey: Do you mean $HOME/.bazaar/bazaar.conf ? [15:32] yes [15:32] (sorry) [15:32] I'm sure we don't ever look in a group .bazaar [15:32] Config file is always per-user [15:32] I don't think we have a "group config" [15:32] You could probably set things in the branch itself [15:32] via $BRANCH/.bzr/branch/branch.conf (for --dirstate-tags or newer branches) [15:33] oww, i'll try that [15:36] Daviey: is there even a normal way to say "give me the home directory for this group" ? [15:36] You could have all users override BZR_HOME [15:36] to have it look in a different place for ~/.bazaar/bazaar.conf (and locations.conf) [15:36] But then it wouldn't really be per-branch [15:37] (only want one branch atm) [15:38] Can post_commit_to & post_commit be in bazaar under default? Or should the wildcard [*] be used in locations.conf? [15:41] hmmf, doesn't work with $BRANCH/.bzr/branch/ either [15:49] Daviey: I think you can put it in [DEFAULT], but only do that if you want all commits to send email [15:49] I know I have some branches I consider "private" [15:49] Daviey: what does "bzr info" give in the group branch? === mw|out is now known as mw [15:50] I'm wondering if it is an older format that only uses ~/.bazaar/locations.conf [15:51] Branch format 6 (and above) uses .bzr/branch/branch.conf [15:53] also ~/.bazaar/locations.conf takes precedence over .bzr/branch.conf just in case [16:00] How does one install bzr plugins? [16:00] I have grabbed the push-and-update plugin's source, but there aren't any docs associated with it. [16:00] glyph: Drop it in bzrlib/plugins or ~/.bazaar/plugins. === cprov-lunch is now known as cprov [16:07] jam: i'm using Bazaar (bzr) 0.15.0, but Gutsy package of bzr-email [16:07] ouch... that's an old Bazaar. [16:07] I would recommend upgrading if possible [16:07] bleh. [16:07] Some known minor bugs with how it handles renames [16:08] and does anyone have a suggested replacement for transport.split_url? [16:08] I see it is a "@deprecated_function(zero_ninety)" but no suggestion of a replacement [16:09] glyph: for what we need, I believe you can just grab items off of the transport itself [16:09] transport._user [16:10] transport._scheme [16:10] transport._password [16:10] etc [16:10] glyph: if you are interested in updating push-and-update, I'm happy to merge any patches [16:10] By the way, it would be nice to change it to work as a post-push hook [16:10] rather than a separate command [16:10] jam: Yeah, I was thinking the same thing [16:10] So it could install a branch hook [16:10] and then if it sees that the URL is ssh/sft [16:10] sftp [16:11] it could check if there is a remote working directory [16:11] jam: I don't think I understand the workings of bzr well enough to actually patch this though :) [16:11] and then trigger the rest of the code [16:11] glyph: ok, I'll take a few minutes and put something together [16:11] jam: <3 [16:11] I wrote it originally, but just haven't really needed it since [16:12] jam: I don't really "need" it, but it makes an awesome demo [16:12] jam: I was just showing bzr to a guy I know who maintains a stereotypically absurd apache configuration [16:12] Why does diff need a working tree? [16:12] "bzr init" in /var/www kind of blew him away ;) [16:12] Peng: it theoretically doesn't [16:12] Peng: igc has a patch on the ML which gets rid of that [16:12] but it would have been nice for "push" to just update the working tree on the server (since that's really his main use-case anyway) [16:14] that reminds me my discussion with lifeless the other day about a possible `push -u`, and that I still have to mail the list [16:15] jam: Oh, cool. [16:15] Just out of curiosity, why does it currently need one? [16:15] I think it changes the basic flow of the command, but it means you don't need WT [16:16] Peng: because it is a DWIM command, and it is complicated to get all of the edge cases working [16:16] For example, you can diff a working tree file that doesn't exist in the branch [16:19] jam: Oh, that makes sense. [16:21] Can anyone help with pqm? Here's where I am currently: http://rafb.net/p/lSPpmX40.html [16:35] hi. I managed to branch from my svn repository to a bzr repository, but in order to do that, I had to create a repository with the dirstate-with-subtree format. My problem now is that I cannot make a branch from this last branch into a repository with another format, or even convert the repository format [16:35] any ideas on what I should try? [16:40] ricardokirkner: they are incompatible repository formats [16:41] ricardokirkner: my recommendation is that you keep your bzr-svn branches in a separate shared repository. why do you want to use an existing one, since they are separate projects, anyway? [16:41] dato: maybe what I am doing makes no sense.. what I want to do is to migrate a project completely to bzr. [16:42] for that I branched from the svn repo [16:42] ok, very well [16:42] (what version of bzr do you have?) [16:42] but then, since the repository format is not the default one (it requires dirstate-with-subtree format), I wanted to branch to another repository, in the new format [16:42] I am using bzr 0.92 [16:43] is there a better way to do that? [16:43] you cannot go back from dirstate-with-subtree to dirstate [16:43] that is, branches originally created with bzr-svn are not compatible with the default format [16:43] but that should not be a very big problem, I think [16:45] but if I want to stay in bzr from now on... that means I will have to stay frozen on that repository format forever? [16:46] bzr 1.0-rc1 introduces a couple new, non-experimental repository formats, rich-root and rich-root-pack, to which you can upgrade from dirstate-with-subtree [16:46] any of those two is very safe to use [16:46] (the upgrade maybe slow, though) [16:47] do centralized version control systems offer particular advantages to commercial companies? [16:47] so, what you are saying is.. I should stay with the current format -- dirstate with subtrees -- until bzr 1.0 is out, and then I will be able to upgrade the repository format.. correct? [16:47] is it harder to keep your code closed / secret with a distributed VCS? [16:48] xif: Yes, but not inherently. [16:48] Peng: what do you mean? [16:48] ricardokirkner: yeah. but if you don't upgrade, you'll make people with older bzrs able to branch. why do you seem so anxious to upgrade, though? :) [16:49] xif: Well, with a centralized VCS, it's still possible to extract the entire history and wind up with just as much information as with a DVCS. [16:49] xif: The DVCSes currently aren't really focused on commercial environment so they don't have as good access-control features. [16:49] because I think... (here I might be wrong) that new repository formats should be more efficiente (performance wise) and eventually, I will want to switch [16:49] ricardokirkner: Well, the developers aren't trying to make new repo formats that are slower! [16:50] * Peng notices the backlog and scratches that last line. [16:50] Peng: so you claim CVCSes are more oriented for commercial / closed environments, so - incidentally to them being centralized - they're also a bit easier to protect than the DVCSes? [16:50] Haven't packs been pushed much more rapidly than previous backwards-incompatible changes were? [16:51] xif: Well, I'm just talking about Subversion here. [16:51] ricardokirkner: there is always a way to upgrade to newer repository formats, for example in 0.92 you already have pack-0.92-subtree [16:52] Peng: so SVN specifically has more evolved access-controls than most DVCSes? [16:52] ricardokirkner: and that upgrade is pretty straightforward. the full details of this story is that -subtree is an experimental format, and a new format was created a bit for bzr-svn use case, the rich-root one. [16:53] dato: ok... but currently there is no way to move the repository to the currently default format. actually that is no issue as long as the dirstate with trees format is efficiente enough [16:53] xif: I'm saying that svn has better access-control than the DVCSes I have experience with (bzr and hg), and that, while that is one thing that's being worked on, I've never seen commercial environments discussed. [16:53] dato: what would you recommend me to do? [16:53] I crafted that sentence too carefully. [16:54] ricardokirkner: oh. maybe it would help for you to think that, given that 0.92's default format is "dirstate", dirstate-with-subtree is actually an addition to it :) [16:54] Peng: I see === cpro1 is now known as cprov [16:54] Peng: I'm asking because I'm wondering why a certain company is using Subversion instead of bazaar / git / hg [16:55] oh... ok. :-$ I hadn't though of it that way [16:55] they have some very smart people there, many of the Python knowledgeable - people likely to prefer bazaar or hg [16:55] ricardokirkner: what to do, depends on how much concerned are you about having the latest and the greatest, and about maintaining compatibility with older bzrs for other people for branch from you. [16:55] so I guess that the codebase being top-secret has something to do with it... [16:55] xif: Well, even if companies have some smart people, they're generally insane. :) [16:56] Peng: nah, this company's ok, I think :-) [16:56] xif: When you have gigabytes of history, it sucks that DVCSes copy the whole thing to every developer's computer. [16:56] their CEO / CTO is a former hacker. [16:56] ah, that might make sense as well [16:56] Peng: what's the common solution for such a problem? [16:57] xif: http://jam-bazaar.blogspot.com/2007/10/bazaar-vs-subversion.html [16:57] I believe the Linux codebase has it, right [16:57] xif: Solution? [16:58] Peng: certainly there are some projects - e.g. the Linux kernel project - requiring said "gigabytes of history" while using a DVCS [16:58] xif: Meh. [16:58] xif: Linus doesn't care if it hurts you, as long as it works for him [16:59] xif: 10+ GB seems to be common in corporate environments, but not so much with FOSS. [16:59] oic [16:59] xif: I don't know of any FOSS stuff over 2 GB. [16:59] xif: Bazaar has "lightweight checkouts" and we are working on "shallow/stacked branches" to avoid some of it [16:59] Peng: Moz was >3 GB in CVS [16:59] Peng: OOo is about 20GB in CVS [16:59] but not all of that is code [17:00] they have stuff like mp3's of people's interviews in their CVS repo [17:00] jam: Moz may be 3 GB in CVS, but one can assume it would be a lot smaller in git. [17:00] jam: But OOo, oh. [17:00] Peng: sure, it dropped to ~1GB in Bazaar [17:00] s/git/anything else/, then. :P [17:01] Still, 1GB is non-trivial for most download [17:01] jam: "to avoid some of it" -> what's "it"? [17:01] xif: downloading the full set of history [17:01] Lightweight Checkouts store 0 history locally [17:01] (They don't even store copies of the files like in svn, do they?) [17:01] Stacked/Shallow branches would store a few commits [17:01] jam: I see, thanks. I'm reading your blog now [17:01] Peng: correct [17:02] :X [17:02] Peng: but we do keep the inventory locally, so "bzr status" works [17:02] why should I use bazaar over git or mercurial? [17:02] but "bzr diff" has to hit the remote [17:03] xif: http://bazaar-vcs.org/BzrVsGit [17:03] xif: http://bazaar-vcs.org/BzrVsHg [17:03] thanks :-) [17:03] and http://bazaar-vcs.org/BzrVsSvn, but mostly it just points to my blog [17:04] yeah, and I don't think many people who actually know either (or even understand CVCS vs. DVCS) would need help deciding between SVN and BZR [17:05] ropiku: you're trying to push to launchpad? [17:05] Riddell, yes and it says that I don't have a registered SSH key [17:05] Riddell, and I pasted my .ssh/id_rsa.pub onto launchpad [17:07] ropiku: what's your LP id? [17:07] Riddell, I think the weird stuff is that I push to sftp://bazaar.launchpad.net/~ropiku/kubuntu-tutorial/ropiku-branch [17:08] Riddell, ~ropiku (and name Mihai) [17:08] that all looka fine [17:08] Riddell, and it says "Launchpad user 'mihai' doesn't have a registered SSH key." that's my local username [17:08] oh, different user name [17:09] sftp://@bazaar... [17:09] so bzr push sftp://ropiku@bazaar.launchpad.net/~ropiku/kubuntu-tutorial/ropiku-branch [17:09] pushing... [17:09] Created new branch. ;) [17:09] Blehh, BzrVsHg was written by a marketer, wasn't it? [17:10] Riddell, ssh was connecting to my local username, that was it ? [17:10] ropiku: yes, which is the wrong username for launchpad [17:11] At first glance when it was first created, I thought that article was garbage, but now it looks kinda-OK, except that it sounds like marketing trash. [17:12] what's the difference in using sftp:// instead of bzr+ssh, isn't bzr more efficient ? [17:12] yes [17:13] for bzr+ssh, bzr has to be installed in the remote end [17:13] I'm leaning towards bazaar because: [17:13] 1) it's pure Python. I like pure Python [17:13] 2) I like Ubuntu and Canonical. [17:14] xif: Psst, bzr has some Pyrex (combines Python and C) and C bits. :P [17:14] Peng: oh shoot [17:14] Peng: errr [17:14] xif: those are optimizations and the same functionality is provided by pure bzr [17:14] pure python, I mean [17:15] Right. I was trying to think of how to say that. [17:15] Anyway, bubble-bursting over. [17:15] xif: you don't *have* to compile them, we have pure-python fallbacks [17:15] Wikipedia says bazaar is Python: [17:15] http://en.wikipedia.org/wiki/Comparison_of_revision_control_software#Technical_information [17:15] But they are a bit faster if you do [17:15] Mercurial OTOH is listed as "Python, C" [17:15] jam: yeah, it's still cool though [17:15] also, Pyrex is better than plain C. [17:16] Yeah, Mercurial has four C modules. [17:16] Bzr has parts of modules written in Pyrex or C with alternate Python versions. [17:16] What about Cython? [17:16] what about it? :-) [17:16] vila: ping [17:16] it's a nicer Pyrex afaik, but less people use it [17:16] jam: btw, how do create "Python fallbacks" for C code? [17:17] just rewrite the whole thing in Python, then make sure it passes the same tests? [17:17] Cython is pretty new. [17:17] xif: correct [17:17] Except the other way [17:17] jam: cool, good to know [17:17] we had it written in Python [17:17] and then we implemented it in C/Pyrex [17:17] yeah, I assume so: Python is better for prototyping [17:17] and made sure that all the tests pass with both ways [17:17] A couple months ago Cython's website said it was only experimental, but I can't find that now. [17:17] So when we run "make check" it tests both implementations [17:18] vila: I'm getting a "500 Too many spams from your IP" when trying to send email to you, but the page it sends me to is in french [17:18] jam: what's the deciding factor between using C or Pyrex for the optimized rewrite? [17:18] vila: http://postmaster.free.fr/ [17:18] xif: Generally we prefer Pyrex [17:18] we had 1 person rewrite something in C [17:18] and it was good enough we weren't going to rewrite it again in Pyrex [17:19] I personally always use pyrex [17:19] for things I've rewritten [17:19] jam: WTF ? [17:19] I really like how it handles exception handling without me needing to worry about it all the time [17:19] vila: I *think* my ISP somehow got blacklisted [17:19] I stopped sending directly from my home machine [17:20] because of blacklist sites that block whole ranges [17:20] jam: OK, so there's no technical reason to ever prefer C over Pyrex, but some people (at least one person) had a personal taste preference for C extensions, which is the only reason there are pure C extensions in Bazaar's codebase [17:20] xif: correct [17:20] There is only 1 pure C extension [17:20] jam: thanks, I'm a Python developer myself, so it's quite interesting. [17:21] Peng: afaik Cython was blessed as "production ready" only very recently. [17:21] xif: Pure C is faster than Pyrex. [17:21] Peng: as fast or faster :P [17:21] jam: *your* actual IP is not blacklisted [17:22] I'm not an expert, but in many situations Pyrex should perform just as well as native C. [17:22] xif: The number I've seen touted is that Pyrex is 75% as fast as C. Of course that will vary, but it'll always be faster. Pyrex will have extra ugly glue code, and pure C can be more carefully optimized. [17:22] they say the maximum block time is 24h. but you will get blacklisted again if you spam again ;-/ [17:22] So *that's* how bzr is funded! [17:23] Peng: yeah, basically Pyrex is a compromise between "down to the metal" C and "very high level" Python. [17:23] xif: Right. [17:23] it's more high level than C, and sacrifices some performance for that. [17:23] It's not just that it's more high level, but that it's a translator. [17:23] anyways, eventually PyPy would implement some cutting-edge JIT, and we'd all get pure-C performance with pure Python ;-) [17:23] Well, I guess it is that it's high-level. [17:24] xif: Will that be after PyPy stops being way more complex than CPython? [17:24] xif, Peng : well I hand-optimized my Pyrex work by looking at the generated C code [17:24] no, that would never happen :-) [17:24] so you can see places where you are being silly [17:25] and making it go through getattr() when it doesn't need to [17:25] jam: they say they don't use any public RBL, only internal data, does your provider give you dynamic IPs ? [17:25] jam: interesting. btw have you considered taking advantage of Pysco? [17:25] jam: hey, lazy guy try that: http://postmaster.free.fr/index_en.html [17:28] vila: my IP is static, but I send through my ISP, because apparently there are blacklists that block the whole range of MediaCom client IPs [17:28] xif: One issue with Psyco is that it doesn't save any state [17:28] so it has to JIT every time you run 'bzr' [17:28] rather than doing it in advance [17:28] so JIT in general isn't great for short-lived programs [17:29] * xif nods [17:29] which is sort of what something like bzr is about. [17:29] frequent, short runs. [17:30] vila: so probably someone else behind my ISP is spamming, and it makes us all look bad [17:30] jam: sounds like your neighbours are either spammers or zombies :-/ [17:31] vila: the relay host seems to be: 207.115.20.71 [17:31] But that isn't listed in the RBL either [17:32] vila: I just forwarded the message through smtp.google.com hopefully that gets through [17:39] jam: still nothing, what I did get was through the mailing list though [17:40] jam: err, no, I did get your mail about #175866 directly, not though the ML [17:41] so the one you sent Date: Thu, 13 Dec 2007 10:07:21 -0600 didn't get blocked [17:46] vila: did you get the BB:approve one? [17:46] jam: no [17:46] that must have been the blocked one [17:47] I guess free.fr doesn't want your patch merged [17:48] lol, I can see the vote on BB anyway ;-) [17:48] Maybe they don't support range requests [17:48] and they don't want Bazaar to reveal that [17:49] I replied to your email, if you think pycurl should emit the warning too, I'll file another bug, there is a fix that is 1.0 worth IMHO, let's bikeshed on the warning without blocking it ;-) [17:56] jam: the one via google just arrived [18:01] vila: well, you have to get approval from poolie to get it into 1.0 [18:01] But I'm happy with it for bzr.dev [18:01] jam: that's how I understood it, thanks for confirming [18:03] jam: did you notice you have a bunch a branches in error: https://code.edge.launchpad.net/~jameinel [18:04] vila: His net connection was too slow for a while, or something. [18:04] vila: no I didn't I blame mwhudson [18:05] On the plus side, I think 1.0rc3 has been merged into LP now [18:05] so it should have vila's readv fixes [18:05] Peng: mwhudson ate his bandwidth but I think it was only once ;-) [18:06] jam: I pushing a new pack branch with bzr+ssh and my network perfmeter is quite flat, may be a similar fix should be applied there too :-/ [18:07] LP still doesn't use shared repos isn't it ? [18:07] vila: it is for any newly registered branches [18:07] bzr push trigger the registration ? [18:07] inventory.knit is too big for my bandwidth [18:08] versus the LP timeout [18:09] vila: I use my "bzr-register" plugin, which is a wrapper around bzr register-branch [18:09] argh, they lied to us, gollum, I'm pushing at ~100KO/s damn perfmeter [18:09] So doing a bugfix branch is [18:09] bzr cbranch ../bzr.dev foo_XXXXX [18:09] cd foo_XXXXX [18:09] bzr reg --bug XXXXX [18:10] vila: 100 Knock Outs per second? Damn you're good [18:10] It means Launchpad periodically destroys my upstream bandwidth [18:10] but usually it doesn't have a horrible amount to upload after the first time [18:11] vila: LP does *not* use shared repositories yet, I believe that and/or shallow branches are marked as to-be-done by the March/April timeframe [18:11] ho, so LP pull from you ? What not using just bound branches then ? [18:12] hehe, you scared him ;-) [18:12] vila: LP pulls from me because I don't want to pay the cost of uploading every time I "bzr commit" [18:12] And I certainly don't want to have to wait for "bzr branch" to finish before I start working on a bug [18:13] So I use a bound branch to my local server [18:13] and let LP know about it [18:13] While it may be slower than some other possibilites [18:13] it takes less of *my* time [18:13] (The fastest being ssh foo.canonical.com, bzr push bazaar.lp.net/~jameinel/, and then doing a checkout or something from there) [18:14] The other problem is that you can't turn a hosted branch into a mirror [18:14] So I can't go pre-seed the branch I'm about to have mirrored. [18:16] jam: stop, you scare them all ! [18:16] jam: joking, interesting setup [18:16] * jam => tries to get real work done :) [18:18] It is funny, I pretty much never use "bzr push" [18:18] I keep forgetting I have a "dummy" post-push plugin that I was using to debug writing one [18:18] So when I finally do use "bzr push" it chatters on my terminal [18:18] hehe [18:19] I use push to create branches on launchpad, for my other uses I use bound branches and just commit/update [18:23] vila: weird... it seems that if I use smtp.google.com as my SMTP server, it rewrites the From address [18:23] so that it comes from my gmail account [18:23] rather than the account I'm claiming to send it from [18:23] So my post gets blocked to the ML [18:23] and you replied to my gmail account. [18:23] I suppose that is their anti-spam measure [18:24] mwhudson: I understand why LP was failing to mirror my newly registered branches, but do you know why it is failing to update branches I already had? [18:25] I suppose I upgraded from Branch5 to Branch6 for a lot of them [18:25] Maybe that triggers them to be newly copied from scratch.... :( [18:25] maybe that is why my pings have become so bad lately [18:27] jam: that might do it [18:27] jam: it should be better now [18:27] mwhudson: https://code.launchpad.net/~jameinel/ shows an awful lot of failed branches [18:27] But I did try to refresh them all [18:27] yes, that would probably trigger complete re-mirroring [18:28] 'refresh' ? [18:29] Well the "Try Again" button [18:29] oh right [18:29] when did you try that? [18:29] about 2 minutes ago [18:29] maybe 30 [18:29] probably still running then :) [18:29] excuse slow responses, i'm on a damp-string internet connection here [18:29] (in a pub :) [18:31] mwhudson: it won't try to re-mirror all of them at the same time, right? Just more of a sequential pwnage of my upstream bandwidth? [18:31] My ISP is probably going to ban me... :) [18:31] jam: it can try up to 4 at once [18:31] hmm... [18:31] jam: and indeed, seems to be trying 3 right now [18:31] I wonder if that will trigger the failures [18:31] Just thinking that my bandwidth is barely enough for 1-at-a-time [18:31] would be surprised if it helped :) [18:31] But I guess if it has the progress updates [18:32] it's still running 0.92 i think [18:32] mwhudson: well if it was smart enough to know it was requesting the *exact same* data 3 times [18:32] jam: yeah, yeah, we know about that one [18:32] mwhudson: can you put a squid proxy in front of my URLs :) [18:33] *and* tell it to ignore the Pragma:no-cache [18:33] jam: do all your work in checkouts bound to branches on rookery? :) [18:33] a) I sort of like knowing that all of my work is on my server [18:34] b) 100ms ping to rookery is still a little bit more painful than I want to pay for 'bzr commit' [18:36] I do direct checkouts for plugins to bazaar.lp.net [18:36] just not for bzr branches [18:44] glyph: it has been done [18:44] glyph: if you update your 'push-and-update' it should just trigger for any "bzr push" [18:45] Well, as long as the remote has a WorkingTree, and the remote is bzr+ssh or sftp === BasicMac is now known as BasicOSX [18:49] Without doing any research myself, how consistent are revnos? When one, say, merges some-branch into bzr.dev, it'll get a new, dotted revno, but what happens when someone merges bzr.dev into some-other-branch? Does it change again? Sometimes, but not always? [18:50] jam: so sorry, didn't see anything after "(a)" [18:50] a) I sort of like knowing that all of my work is on my server [18:50] b) 100ms ping to rookery is still a little bit more painful than I want to pay for 'bzr commit' [18:50] Peng: merging won't change your local revnos [18:50] Peng: pull will [18:51] revno's are stable from the viewpoint of a branch [18:53] jam: Err? [18:53] (I am talking about over three different branches, not just 1) [18:54] well, revnos are relative to one branch, so it doesn't make much sense for 3 different branches [18:54] Peng: within 1 branch, revnos will stay fixed as long as you "merge" and not "pull" [18:54] The revnos you merge will change [18:54] so if it is 10 in branch A, merging that into B will give it a different number [18:55] (like 9.1.1) [18:56] speaking of revnos, is it intentional that some revisions ("tails") in e.g. bzr.dev don't have revnos? [18:56] luks: I'm not sure what you mean by tails [18:56] jam: Awesome! [18:56] But the way the algorithm works, only revisions in the ancestry of a branch get numbers [18:57] It would probably be possible to pretend, but you have issues when multiple 'tails' descend from the same node [18:57] which one gets the '.1.' and which one gets '.2.' [18:57] We resolve that by which one is merged first [18:57] and if they have never been merged .... [18:57] jam, for graph like http://pastebin.org/11479 [18:57] B won't be even mentioned in either bzr log or viz (not sure which one) [18:57] jam: How do I enable it? [18:57] but it doesn't have a revno at all [18:58] glyph: You should just need to update it. If it is installed it will check on every push [18:58] jam: Hmm. [18:58] because merge_sort won't include it in the resulting list [18:58] It does a quick check to see if the target is valid [18:58] luks: it won't be listed in log or viz [18:58] because it isn't in the ancestry of the branch [18:59] jam: Aah, the UI is a tad confusing. [18:59] so it isn't "log" worthy [18:59] glyph: how so? [18:59] it's a parent of C, isn't it? [18:59] (you don't need to use push-and-update) [18:59] luks: it is a *child* of C [18:59] http://pastebin.org/11481 [18:59] well, depending on how you are graphing time [18:59] "This transport does not update the working tree...", and then a message telling me it just updated the working tree :) [18:59] glyph: yeah, suppressing the "This transport" is hard [18:59] because that is being done inside "bzr push" [18:59] And I'm hooking after that [18:59] jam, in python tuple speak [(C, (A, B))] [19:00] jam: OK, understood [19:00] luks: In that case B should get "0.1.1" [19:00] jam: is there a way to turn this *off*? There are definitely a lot of places I might want to push that would not take kindly to having a working copy created / updated [19:00] jam, but it doesn't [19:00] glyph: it won't create a WT [19:00] jam: oh, okay. It just updates it if it happens to be there? [19:00] jam, because merge_sort won't generate more than one revno for 0.something [19:00] glyph: right, you need to do your own "bzr checkout" if you want to enable it somewhere [19:01] luks: when Robert implemented it, you could have multiple from null:, and they would each get [19:01] 0.1.1 and then 0.1.2 [19:01] or something like that [19:01] wait [19:01] 0.1.1 for the second branch, 0.2.1 for the third, etc [19:01] I think it's even mentioned in the docstring of merge_sort [19:01] that it won't be included [19:01] (the primary branch gets 1) [19:01] I'll check [19:02] luks: "Revisions not reachable from the tip" are not included [19:02] correct [19:02] You were saying "B" was a parent [19:02] not a child [19:03] luks: http://pastebin.org/11482 [19:03] (When I draw graphs the first commit is at the top) [19:03] jam, one moment, I'll give you a real-world example from bzr.dev [19:03] it's actually your commit, if I remember correctly :) [19:10] jam, as an example - john@arbash-meinel.com-20051228204947-2fd81543e866350a [19:10] it's in the revision graph, but not in log [19:11] most of these http://pastebin.org/11483 [19:11] well, except one [19:12] jam: I've just come back to it, upgraded bzr - same result! [19:12] luks: I think that is actually because they are ghosts [19:12] aka, revisions which are mentioned but not actually present [19:13] How do you get ghosts? [19:13] no, they are present [19:14] and it's also in the ancestry of the tip [19:14] but not mentioned in the log, because merge sort won't generate 0.2.x === mwhudson_ is now known as mwhudson [19:15] Peng, I don't think you can with the current version of bzr [19:15] glyph: I went ahead and created a monkey-patch, try updating again and testing it [19:16] Now it should suppress that ugly warning message [19:16] and just give you an update [19:16] glyph: http://pastebin.org/11485 [19:18] luks: it works here [19:18] http://pastebin.org/11486 [19:18] That actually isn't a ghost [19:19] jam: ... [19:19] it is a plugin that got merged into bzr core [19:19] glyph: ??? [19:19] jam: I am in awe. [19:19] glyph: the power of python monkey patching [19:20] jam: OK now that you ruined the trick I'm a tiny bit less in awe. [19:20] jam: but your responsiveness is still legendary :) [19:20] luks: so is it a problem with "bzr viz" ? [19:20] Because "bzr log" seems to display it without any problems [19:21] Peng: it is really hard to get ghosts in current bzr [19:21] jam, umm, sorry, I was probably the old viz [19:21] The converter from Arch => bzr can generate them [19:21] I was just playing with a new graph view for qlog, and some revisions were missing [19:21] because Arch could reference nodes that it didn't actually copy locally [19:21] but I can't seem to reproduce it now [19:22] The nodes in Bazaar which are actual ghosts [19:22] are because our original merge code [19:22] would reference them [19:22] but not fetch them into the local repository [19:22] I think there are about 2 of them [19:22] both with my name on them [19:22] because I nuked my copy once Martin had merged it [19:22] (i haven't done that since :) [19:26] hi again. I have created two bzr branches from a svn repository, 1 for the trunk and 1 for a branch. now I want to merge my bzr trunk (corresponding to the svn trunk) with my bzr branch (corresponding to the svn branch) , but I get an error that 'branches have no common aancestor'. Even if I specify a revision with the -r flag, it doesnt work. is there anything I can do to work around this? [19:27] are these created using bzr-svn? [19:27] yes [19:27] ricardokirkner: you *can* use "bzr merge -r 0..-1", but I have the feeling it might be sub-optimal for what you want [19:27] The '0' is the secret way of telling Bazaar that you really do want to merge 2 projects together [19:28] hm, it's weird that bzr-svn created them without a common ancestor [19:28] although, I think I just found out how... it apparently merged with -r 0..n (last revision) [19:28] But it sounds it is going to do things you don't like [19:28] maybe you had your svn branching scheme wrong? [19:28] (I mean the branching scheme set in bzr-svn) [19:29] no idea... what do you mean? === Winterstream_ is now known as Winterstream [19:30] luks: are you positive that bzr-svn is able to detect merges when importing? [19:30] dato: it should be able to detect *branches* [19:30] which gives you a common ancestor [19:31] er, right [19:31] I got confused [19:31] ricardokirkner, see bzr help svn-branching-scheme [19:32] jam: btw, I think a NEWS file in push-and-update could be helpful for people to notice this important change (cheers for it, too) [19:32] I've never been big on that sort of thing [19:32] "bzr log" if you want to know what has happened :) [19:33] I suppose next you'll be asking me to create a setup.py so it can be bilt [19:33] built [19:33] and installed [19:33] why, what an excellent idea :) [19:33] As always.... Patches welcome [19:33] And if you are going to do it, I suppose a README is in order, too [19:34] heh. well, it was just a suggestion :) [19:35] New bug: #176184 in bzr-eclipse "check in the whole branch and not just the current selected file" [Medium,Confirmed] https://launchpad.net/bugs/176184 [19:37] jam: regarding the earlier problem - if i rm a "-" from the path it works fine, but with it there no mail? any ideas [19:38] "with it there no mail" ? [19:38] Why is there a '-' in the path? [19:38] Anyway, something sounds fishy.. Daviey, can you send me your .conf files? [19:39] jam: v. basic conf files [19:40] well, I can say that *I* haven't had any problems with bzr-email not sending in directories I have configured it to send from [19:40] pm them? [19:40] So I'm trying to see what the difference would be [19:40] Daviey: pm or email [19:41] hi. i can import bazaar classes via for example: "from bzrlib import workingtree". there is a file named workingtree.py. but how does Bazaar do this? i mean, i thought workingtree.py means i have to write "from bzrlib.workingtree impor workingtree" ?? [19:42] i am trying to do the same in my program, but i just dont get it to work. how does bazaar do this? [19:42] Qhestion: "from bzrlib import workingtree" imports the "workingtree" module [19:42] to get the class you need either [19:43] "from bzrlib import workingtree; workingtree.WorkingTree" [19:43] or [19:43] "from bzrlib.workingtree import WorkingTree" [19:43] the thing is, "from bzrlib import workingtree" works. [19:43] (note that we capitalize classes, but tend to use lowercase for modules) [19:43] dont know how, it just works [19:43] Qhestion: you have a valid module [19:43] ? [19:43] python -c "from bzrlib import workingtree; print workingtree" [19:43] [19:44] python -c "from bzrlib import workingtree; print workingtree.WorkingTree" [19:44] [19:44] ree.pyc'> [19:44] Qhestion: right, that is a *module* not a class [19:44] (output for first command) [19:44] oh wait [19:44] i am stupid [19:45] Qhestion: there is a class named WorkingTree inside the bzrlib.workingtree module [19:45] i should have read the next line more carefully [19:45] all my fault [19:45] 1 from bzrlib import workingtree 2 wt = workingtree.WorkingTree.open('/home/jebw/bzrtest') [19:45] http://bazaar-vcs.org/Integrating_with_Bazaar [19:45] hooray documentation :) [19:45] i think i overlooked the "workingtree." part... [19:45] i think i just saw what i WANTED to see [19:47] hmm.. anyway, i think pythons module system is crap. i think it would be better if all the modules in a package would get accumulated and... one big module [19:47] Qhestion: when you get used to it... the namespaces are *wonderful* [19:47] nothing against namespaces [19:47] Something I actually miss a lot with C/C++ [19:47] but i dont like 5kLine source files... [19:48] anyway. hmm i remember reading your name somewhere... [19:49] radix, jam, any chance you are also active in the storm channels? [19:49] i think i read some chatlog on that website... [19:49] Qhestion: radix might be, I'm not [19:50] Qhestion: you might be thinking jamesh [19:50] Qhestion: yeah, that's me :) [19:51] radix: you work on Landscape, and thus storm, right? [19:51] jam: yep. [19:51] twisted little man [19:51] :) [19:51] Well, you aren't *that* little [19:51] but shorter than I [19:52] I think [19:52] Qhestion: You can put a bunch of names in one place if you want to, even without having 5klines of source file. Python's module system isn't crap for the reason you think it is, anyway :) [19:52] jam: Yeah, and Twisted ;-) [19:52] jam: probably :-) [19:52] radix: well, this is just what you think after using python for half a year. i think i still have to learn a lot... [19:52] anyway, it is MUCH better than java [19:53] although until yesterday i said otherwise [19:53] heh :) [19:53] i used java in a contest [19:53] yesterday. [19:53] crap. [19:53] sorry. :) [19:54] ? [19:57] jam: hmmpf, i've upgraded, same problem! :( [20:00] Daviey: care to do some manual debugging? [20:00] You can look at bzrlib/config.py [20:00] Around line 506 [20:00] will do [20:00] there is "_get_matching_sections" [20:00] which is the part that should match the path for the branch [20:00] with the config entry [20:01] I guess: /usr/share/pycentral/bzr/site-packages/bzrlib/config.py [20:01] Daviey: sounds correct to me [20:06] def _get_matching_sections(self): -- nothing looks bad [20:08] hey there [20:09] I have a branch 'experimental' from 'trunk'. I did bzr merge $trunkurl and it says my experimental branch is up to revision 63. trunk, however, is 70. what's the problem there? how can I fix it? [20:10] dennda: Look at bzr log. Is everything there? [20:10] https://code.launchpad.net/memaker/ <-- the projects branches [20:10] dennda: 'bzr merge' will create a new revision at the tip. [20:10] Which is likely to be '64' [20:10] dennda: Did you commit after the merge? [20:10] "bzr pull" will pull over and change your history [20:11] to look like the source branch [20:11] moin [20:11] which will make it "70" [20:11] morning lifeless, I thought you were on vacation [20:11] just can't stay away, can you? [20:11] Will it merge when it's not necessary? [20:11] jam: I am :) [20:11] Peng: bzr log shows me 63 as latest revno [20:11] dennda: Did you commit after the merge? [20:11] jam: I'm grabbing a drink an dlogging into WoW :). Level 64 now. [20:11] dennda: What is revision 63? [20:11] lifeless: congrats [20:11] dennda: Not a merge? [20:12] yes [20:12] lifeless: enjoying outland? [20:12] yes, i committed [20:12] to 64 [20:12] just now [20:12] dennda: You committed the merge? [20:12] dennda: Then everything's there. [20:12] dennda: It's all listed under revision 64. [20:13] ok [20:13] (That is, the merged revisions are all listed under revision 64.) [20:13] so rev numbers don't have to be identical? [20:13] They do not. [20:13] ok [20:13] thank you [20:14] (FWIW, bzr internally uses much longer, less readable IDs. The simple numbers are just for user convenience.) [20:15] jam: yah, starting zangarmarsh today, finished hfp last night. I'm about 70% to 65 :). [20:15] ANd with that, ciao :) [20:15] Me too. [20:15] * Peng wanders off. [20:15] bye [20:23] everyone is leaving me [20:30] lifeless: I forgot to ask, what class is your main? (obviously it can wait :) [20:36] New bug: #176191 in bzr-eclipse "Change "Username" field to "Email"." [Undecided,New] https://launchpad.net/bugs/176191 === asak__ is now known as asak [21:02] I have a web application I work on with someone else. What's the best way for me to publish my application to the webserver from my development workstation? [21:04] My first attempt was to bzr push it, but that just copied the trunk/.bzr stuff. [21:04] Is rsync the right tool, or is there a way to do it with bzr? [21:05] newz2000: install my plugin [21:05] newz2000: Check out the push-and-update plugin. [21:05] https://launchpad.net/bzr-push-and-update [21:05] after you do "bzr checkout" on the server [21:05] from then on when you do [21:05] bzr push [21:05] it should make sure the target is updated [21:05] Odd to have you mention this about 2 hours after I finally got around to cleaning up that plugin. [21:05] ok. Now, the one problem is that the server can't do a bzr checkout, because it can't see the place where I normally push to. [21:06] well, I could push twice I guess [21:06] newz2000: once you have done a "bzr push" [21:06] then you do [21:06] ssh server [21:06] cd path [21:06] bzr checkout . [21:06] oh, interesting [21:06] newz2000: from then on, 'bzr push' should do the "ssh server bzr update path" for you [21:06] (with the plugin installed) [21:06] so where do I install the plugin, on my local pc? [21:07] newz2000: correct [21:07] newz2000: are you on linux? [21:07] cd ~/.bazaar/plugins [21:07] bzr checkout lp://bzr-push-and-update push_and_update [21:07] bzr checkout lp:bzr-push-and-update push_and_update [21:07] sorry, I get used to typing 2 // [21:07] you either need 0 or 3 [21:09] fascinating. So I'm working on a tmp checkout... if I kill this and later push to the same location from another checkout, does it remember to update the server? [21:09] newz2000: it just hooks into the "bzr push" code. And if the target has a working tree [21:09] it will update it [21:10] So by doing "bzr checkout" you tell my plugin that you want to keep it updated [21:10] cool. Giving it a shot now. [21:15] ok. Everything seems to have worked, but I won't know until I have some code to change. :-) [21:15] thanks jam. Your my hero. If you're in IA between xmas and nye you can come to my hackfest. [21:16] newz2000: it should say: running command "ssh ..." [21:16] If it says that, then I think it is working [21:16] newz2000: what hackfest? [21:16] I will be in IA, though I may not be close to Des Moines [21:16] I'm going to be nostalgic and try to have a programming party at my house [21:17] like the good ol' days. Coding for sheer pleasure [21:19] your plugin worked. It ran ssh. [21:21] morning all [21:24] how do i set up ignore options for bzr? [21:24] devinus: "bzr ignore PATTERN" ? [21:24] or what do you mean by "options" ? [21:24] it takes globs? [21:24] i want to ignore all *.pyc [21:24] devinus: bzr ignore "*.pyc" [21:25] Note the quotes. :) [21:25] oh wow [21:25] i see i could of just done [21:25] bzr help ignore too [21:25] thanks! [21:25] devinus: I thought .pyc was in our default global ignores... [21:25] Anyway you may want [21:25] bzr ignore "*.py[co]" [21:25] Since you really want both to be ignored [21:26] Though you may not run "python -O" very often [21:26] i'm always getting the error "bzr: warning: unsupported locale setting (...)" [21:27] SmileyChris: Are you on Windows or GNU/Linux? [21:27] Odd_Bloke: sorry, clarification - always getting when using sftp/bzr+ssh [21:27] Odd_Bloke: linux [21:27] SmileyChris: sounds like LANG on your other side is set in a funny way [21:27] LANG=C [21:28] or LANG=en.UTF-8 should be decent [21:28] I don't know why you would get it when using sftp [21:28] bzr+ssh is spawning a remote process [21:28] which could certainly be having troubles with the LANG on the remote side [21:28] jam: seems like it can't pick up en_NZ.UTF-8 [21:28] SmileyChris: well, that should be valid, but you may need to have the right locale files installed [21:29] jam: on the remote side? [21:29] SmileyChris: if it is only happening when you use bzr+ssh then I think it is the remote side which has the problem [21:29] can you just do [21:29] ssh host locale [21:29] ? [21:29] from local or remote? [21:30] ssh remote locale [21:30] ah :) [21:30] If running "bzr rocks" doesn't give you a locale warning [21:30] then it is the bazaar on the remote machine which is giving the warning [21:30] it's the remote giving the warning [21:30] just tested [21:31] jam: you want the output of locale? [21:31] poolie: can I please tweak 1.0 with abentley's changes to 'avanced merging'? [21:31] SmileyChris: I don't specifically need it, but I'm just trying to help you track down the problem [21:31] it sounds like the *remote* machine doesn't have the lang set [21:31] properly [21:31] interesting [21:31] if I do "ssh host locale" [21:31] I get a different result than [21:32] ssh host locale [21:32] is "ssh host COMMAND" passing through the local LANG? [21:32] jam: it seems to be using my local $LANG setting [21:33] running locale.getpreferredencoding() on remote python raises error [21:33] (local is fine) [21:34] this is really only a minor annoyance - it's only a warning (and falling back to use ascii instead of unicode), but still ;) [21:35] SmileyChris: you might try doing something with SendEnv in ~/.ssh/config [21:35] but I haven't figured out why it would be triggering yet [21:36] jam: is there just some way to make my en_NZ locale work on remote? :P [21:36] SmileyChris: well, you could just install the same package [21:37] I see a "language-pack-en-base" [21:37] But I don't know if that installs en_NZ [21:38] I'm guessing it does, since it seems to exist here [21:38] and I don't have much extra installed [21:39] jam: holy moly that's a lot of dependencies though [21:39] bah [21:39] maybe i'll just live with the warning [21:39] wants to install firefox and open office on the server [21:40] A lot of dependencies for "language-pack-en-base" ? [21:40] weird [21:40] Let me check something [21:41] dang [21:41] % dpkg -S /var/lib/locales/supported.d/en [21:41] language-pack-en-base: /var/lib/locales/supported.d/en [21:42] I'm guessing it provides the language translations for things like openoffice and firefox [21:42] but it seems like it should be more of: [21:42] If program X is installed, provide the language pack for it [21:43] Not "when providing *any* language support, install all programs which might use it." [21:43] SmileyChris: Are you using 'apt-get' or 'aptitude'? If the latter, it may be trying to install things on which it does not depend... [21:43] Assuming you're using a Debian-based system at all. :p [21:43] I thought you just had to build the en_NZ locale, not install the language-pack. [21:44] recommends versus depends? [21:44] radix: well my /var/lib/locales/supported.d/en has en_NZ [21:44] and I don't see a separate package for it [21:44] Odd_Bloke: i was using latter... (ubuntu) [21:44] lthough, yeah, language-pack-en-base does not depend on firefox or openoffice or anything like that, on my system. [21:45] anyone better at parsing the output of "apt-cache showpkg" ? [21:46] SmileyChris: http://packages.ubuntu.com/gutsy/translations/language-pack-en-base suggests that it _recommends_ language-support-en, which then depends on the Firefox and OO stuff. [21:46] jam: uh, yeah, if you're using showpkg you're probably looking at *Reverse* Depends. [21:46] So I suggest trying again with 'apt-get'. :) [21:46] http://rafb.net/p/cAOXar16.html [21:46] Odd_Bloke: ah... [21:47] Reverse Depens [21:47] Depends, seems to list -pack-kde-en and -pack-gnome-en [21:47] Odd_Bloke: it's a depends on mine [21:48] jam: yeah, I guess that's what it looks like here, but nowhere do I see dependencies on actual software like firefox or openoffice or any gnome apps [21:50] is en_NZ checked if you do dpkg-reconfigure locales ? [22:02] Odd_Bloke: I was wrong. It was the language-support-en *recommends* causing the bloat :P [22:02] all working now, thanks for your help guys [22:02] (specially since it wasn't really a bzr problem) [22:12] poolie: those doc tweaks sent to pqm now [22:12] (for 1.0, not bzr.dev) [22:27] * igc breakfast [23:31] poolie: 3105 needs to be cherrypicked from bzr.dev into 1.0 [23:31] it's definitely not there yet [23:32] just confirming you're going to do that [23:48] igc, thanks, doing that now [23:49] great. thanks