[00:07] igc, do you want to talk about benchmarking some time? [00:07] poolie: sure [00:07] you call me? [00:07] ok [00:32] Noob Q : So will bzr rewind my local commits when I rebase and then apply them again? [00:32] like git ? [00:35] Er sorry I should RTFM http://bazaar-vcs.org/Rebase [00:36] dysinger: you can do that if you want yes [00:36] what RTFM ? :) [00:36] dysinger: our community rarely uses rebase because its very bad for collaboration [00:36] Well it's useful when your team uses SVN IMO [00:37] why? [00:37] I guess because I have some of the team on SVN and some on DVCS [00:37] so the we could all just pull from each other except some people are only commiting to SVN [00:37] I still don't get what rebase does for you; just merge and commit and away you go [00:37] you don't need rebase for that at all [00:38] I guess my mind is polluted with git-svn [00:38] :) [00:38] BZR will be a fun new (hopefully simpler) experience [00:38] when someone commits to svn, you 'bzr merge' to get their stuff into your branch [00:38] when you want to commit to svn, you do 'bzr checkout svn:///' merge and commit [00:39] Git treats SVN as a whole separate add on side-car which sucks. [00:39] indeed [00:39] * AfC just read the URL about rebase above and *still* doesn't get what it's for. {sigh} [00:39] it would be extremly hard to do other with gits design [00:39] AfC: rebase is for folk that care about having a 'pretty revision graph' [00:39] I guess [00:39] AfC: more than having effective collaboration [00:40] Well rebase is awesome for things like: Fore example I am tracking bazaar but I don't have commit access - so I can rebase and re-apply my commits on top of the latest head. [00:40] dysinger: or you can just merge. [00:40] ko [00:40] ok [00:40] So I guess yeah - why would you have rebase then ? [00:41] dysinger: your commits are preserved and if you have shared your commits with other people they don't have to resync specially when you merge, like people have to with rebase [00:41] dysinger: as I say above, rebase is about 'revision graph prettiness' [00:41] I see [00:41] some people care intensely about that; for them we have rebase ;) [00:41] lifeless: huh. Thanks. [I'll admit that there some ... concerns ... that I have about the human usefulness of the revision graph as presented by log and viz UIs at present, but it doesn't seem to be a rebase related thing] [00:41] that would be me [00:42] rebase can /also/ be used for some internal trickiness related to changing translations between bzr and svn and other such systems, but thats more using the core logic than using the commands [00:42] dysinger: well, you may find you care less with bzr's log layout :) [00:43] i am looking forward to playing with it. [00:44] So the pastable install script for OS - X, BZR 1.1, SVN w/ patch, bzr-svn is different than http://bazaar-vcs.org/BzrForeignBranches/Subversion says to do it. http://bazaar-vcs.org/BzrForeignBranches/Subversion does NOT work on OS X. [00:44] Should I put it somewhere for others? [00:45] dysinger: cool, edit that page and add a version for os X [00:45] K [00:50] "Bazaar-NG branch format 5" is dirstate, right? Why is it listed as "unnamed" in bzr info? [00:51] Peng: the format name reporting is bogus, there is a bug on it [00:51] Peng: format 5 with knits and dirstate is 'dirstate' [00:51] Peng: format 5 with packs is 'unnamed' [00:52] Ahhh, ok. [00:52] Yeah, I'm using packs. [00:52] Ok. [00:54] Thanks for the explanation. :) === mw is now known as mw|out [00:57] ok I updated bzr-svn wiki with the right install info for OS X [00:59] jelmer thanks for hanging in there - it's working now! I am off to play with some svn repos [01:14] dysinger, thanks! [02:11] So who's an expert on light-weight branching? [02:13] fsvo expert many people [02:13] just ask :) [02:17] So I need a plugin? https://launchpad.net/bzr-lightweight-branch [02:18] I want to checkout from svn once and then branch off that for topics - but I don't want to copy the whole branch everytime - that would be rudundant and huge. Git does this with the --shared and --references flags. [02:19] I also heard you can have many branches within the same directory like Git [02:19] Maybe that would be better [02:19] create a repository (need to use init-repo --rich-root) and branch into that [02:19] er, from svn into that [02:21] So instead of branching right from svn with bzr branch svn:///..... I do it this way? [02:21] well, you make the repository, then use "bzr branch svn..." to branch into that repository [02:21] mkdir project ; cd project ; bzr init-repo --rich-root ; bzr branch svn:///some/url ./ [02:21] you can't really have multiple branches "within the same directory like Git" [02:22] you can have a repository, which contains branches (each is a dir), and it efficiently shares data between them, so you're not using N times as much space for N branches [02:23] "bzr init-repo --rich-root ~/repository/ ; bzr branch svnL//blah ~/repository/trunk/ ; bzr branch ~/repository/trunk/ ~/repository/the-feature-I-am-working-on" [02:23] So if I already branched off of svn directly do i have to do it again this way? [02:24] --no-trees is optional for init-repo, and means it does not include checkouts of the branches along with the branches [02:24] bob2: sure you can; bzr switch will let you do exactly that. [02:24] I thought I read you could [02:24] you should be able to branch from the existing checkout into the repository [02:24] In the bzr vs git page [02:24] foom: that was the next bit [02:24] bob2: oh okay. :) [02:24] dysinger: you can, though, quickly switch between branches in a checkout using bzr switch, like foom says [02:25] that's what I need [02:25] I don't want new IDE setup on every branch [02:25] I just want to switch between branches fast. [02:27] that's what I use switch for, works well [02:27] dysinger: if you already branched from svn into dir FOO [02:27] dysinger: then this: [02:27] bzr init --rich-root myrepo [02:27] bzr branch $FOO myrepo/svntrunk [02:27] awesome that's what I want then - though I am glad about the light-weight branch-to-another dir option too - I like how flexible bzr is [02:27] dysinger: will transfer the data into the repo [02:28] not init-repo? [02:32] dysinger: When I started working with bzr, the `bzr switch` command was ... unavailable ... and so we developed an alternate approach to dealing with the "and I sure as hell don't want to have to reconfigure my IDE every time I branch" meme [02:32] dysinger: we have the source code in .../project/mainline .../project/branch1 .../project/branh2, etc [02:33] dysinger: where .../project is created with `bzr init-repository` [02:33] bob2: oh yeah, I meant to type init-repo [02:33] dysinger: and the first branch was `bzr init mainline` [02:34] AFC: lemme guess - symlinks? [02:34] dysinger: all subsequent branches were, of course, created with the `bzr branch` aka `bzr clone` command [02:34] dysinger: yes, that's where I'm heading [02:34] dysinger: [02:34] OK [02:34] I like the switch option - I'll try that. [02:34] dysinger: then (this is Eclipse, but whatever), in [02:34] I am using eclipse too [02:35] Eclipse's ~/workspace we have [02:35] ~/workspace/projectname ->.../project/whicheverbranch [02:35] With eclipse and maven it's easier - mvn eclipse:eclipse can generate project files on the fly then you can import them with the mult-project import plugin. [02:35] and we just move the symlink. [02:36] ok thanks AfC [02:36] You don't need maven, but whatever. [02:36] I Do - but that's not related to this. [02:37] So do I need the --rich-root to work with switch ? [02:38] Does the lightweight branching occur automatically when you are within a rich root ? [02:38] Also, be aware that `bzr switch` evolved from a different concept that Git's. The Bazaar hackers are working on it, but it wasn't a high priority until recently, and the current implementation is somewhat specific. [02:39] AfC: The switch command is quite similar to its bzrtools incarnation, so a bug report on the data loss you encountered would still be welcome. [02:39] Heh yeah - I am just coming over from Git so I am wanting that switch thing [02:40] dysinger: no, lightweight always requires the option [02:40] abentley: did I mention your name? Was a talking to you? Did I say data loss? [02:40] lol! [02:40] whoa [02:41] AfC: No, though you hinted at something to do with the bzrtools incarnation. [02:41] When I branch from svn and then branch again somewhere else (like into a rich repo as suggested above) can I commit back to svn directly? [02:41] dysinger: yes, just push [02:41] AfC: But in general, I feel free to join in conversations on public fora like IRC. [02:42] dysinger: or simply bind/do a a checkout from svn (using bzr checkout) again. [02:42] dysinger: the shared repository will mean that only new data is copied, so it will be nice and fast [02:42] dysinger: for what it's worth, you're getting on into the area where experience will fill in the blanks. Bazaar is *very* powerful, you can trust it implicitly, but it does work a wee bit differently that Git and you'll probably need to work with it a bit before you catch on to the differences. [02:42] ok [02:42] Just getting my feet wet today [02:43] dysinger: that's obviously from my own experience, but beware that it doesn't quite do things Gits way. That's neither good nor bad, but if you think in purely Git terms you may beat your head a bit. [02:43] dysinger: yeah, so just try stuff a bit. [02:43] Is the --lightweight plugin needed to do light-weight branching ? You guys didn't mention it above but it's on the plugin page. [02:43] dysinger: even creating a full branch or two for a moment to try stuff (including commits and merges) lthen throwing them away won't cost you anything. [02:44] dysinger: no [02:44] dysinger: I have no idea about that plugin [02:44] * AfC watches another new user flail with the question of what the heck is "lightweight" [02:44] AfC - I have already done that - I have pushed and pulled and merged like nuts over the last week. Today I just got bzr-svn working and now I want to use it for real. [02:45] dysinger: sweet. [02:45] dysinger: guess what I'm saying is that you can keep at the experimentation for sure (at least on the Bazaar side) [02:45] dysinger: and if you have access to create dummy repos on the svn side you're really set [02:45] But "for real" means checking out a real very large svn project. I didn't want to copy it everytime I made a branch. [02:45] dysinger: you don't have to; init-repo and you're done [02:46] The other guys will want to know: how large is large? [02:46] [The Bazaar hackers, of which I am not one, are especially interested in Bazaar performance and usability on huge projects] [02:46] It's probably not large by your guys standards sorry. Only about 5000 commits but it's about 500MB [02:47] The svn repo is 500MB, a clean checkout is 500MB, or the release tarball is 500MB? [02:47] spiv/abentley if you feel like doing a review SearchResult would love one [02:47] Sorry, I have to go rock out. [02:48] lifeless: ok, I'll take a look sometime this afternoon [02:48] abentley: enjoy! [02:49] spiv: thanks; I have fetch converted to use SearchResult now [02:49] making sure all tests pass and that branch will go up; then onto hpss integration [02:49] AfC: unfortunately it's still really bad. :P [02:50] but at least it's gone from really *really* bad to only really bad. :) [02:50] foom: progress! :) [02:51] Abstractly, I wonder where the break point is. Number of revisions? Size of repository? Size of code:revision ratio? [02:52] lifeless: sweet [02:52] dysinger: the lightweight /branching/ plugin gives you 'partial history'; its reduces the data the repository stores rather than having no repository (which is what lightweight checkouts do) [02:53] from my understanding, the current speed issues are related to loading the index, which I guess is related to number of revisions [02:53] dysinger: erm, no I'm wrong [02:53] but I don't actually know, all I know is that it's still pretty slow. :) [02:53] dysinger: its the same as 'bzr cbranch' which is a bzrtools plugin, AFAICT [02:53] (for a 60krev repo) [02:53] foom: speed issues in what operations? [02:54] say, log. [02:54] thats due to log doing a global sort on the revisions [02:55] (ie, where does Bazaar go from being a wonderful experience to choking? I imagine that most people working on or evaluating Bazaar, except possibly lifeless, haven't seen the cumulative effect of a marginal one-more-wafer-thin revision; most try to import some huge 20 year old project and something isn't cool and so they give up) [02:55] and yes index speed matters there; the current indices are good at partial loads but not so hot at full loads [02:55] Sorry guys - all / most of this is already plain as day over in http://doc.bazaar-vcs.org/latest/en/user-guide/index.html - you guys should tell me to RTFM ! :) [02:55] dysinger: we're a friendly lot :] [02:57] 50% done no failures [03:18] * AfC goes for coffee. dysinger, I hope bzr goes well for you. Good luck. [03:19] patch sent [03:27] spiv: ping [03:27] spiv: what is the current verb for 'pull revisions' that I should be replacing ? [03:29] spiv: and why are there two verbs for it ? SmartServerRepositoryStreamKnitDataForRevisions [03:30] lifeless: there's two, because one buffers everything, and the other sends the response in chunks [03:30] I see two for the same request object [03:31] Oh, ugh, I see. [03:31] I wonder how that happened... [03:31] Repository.stream_knit_data_for_revisions SmartServerRepositoryStreamKnitDataForRevisions and Repository.chunked_stream_knit_data_for_revisions SmartServerRepositoryStreamKnitDataForRevisions [03:31] I iz confused [03:32] stream_knit_data_for_revisions is the original, buffering one. [03:32] ok [03:32] is there one that is not in a release yet ? [03:32] stream_revisions_chunked is the right verb for the better, chunking one. [03:34] spiv: is stream_revisions_chunked in 1.1 ? [03:34] chunked_stream_knit_data_for_revisions should not exist. [03:34] stream_revisions_chunked has not been in a release. [03:34] (and neither has chunked_stream_knit_data_for_revisions, thankfully) [03:34] k [03:34] I'll delete one and alter the other [03:34] lifeless: thanks [03:34] lifeless: and thanks for spotting it! [03:40] can bazaar version symbolic links? [03:40] how do I tell bzr to use an SSH key while doing bzr push bzr+ssh? [03:45] looks like bazaar can version symbolic links :) [03:45] aya [03:45] yay even :) [03:45] Manfre: just does it for me [03:46] i'm on windows [03:46] ah, dunno then [03:47] http://bazaar-vcs.org/Bzr_and_SSH [03:53] thanks [03:56] cool...it's working [04:05] i successfully pushed a branch up to launchpad [04:12] spiv: I'm running more and more into 'RemoteRepository has duplicate code cause its not a subclass' [04:42] Hey, does anyone know if there would be compatibility issues commiting to a remote repo with bzr1 from a local bzr1.1 client? [04:43] lostylost: there should not be, but we recommend that bzr servers run the latest release for best performance [04:43] that makes sense [04:43] I have had a few errors with bzr lately and it's getting me nervous [04:44] lostylost: what sort of errors? [04:45] I lost a complete revision, I think due to my rashness. I was committing locally to a repo. When I tried to commit it said to update, so I did. It gave an error message. [04:45] I can't recall exactly what it said [04:45] lostylost: your ~/.bzr.log may still have the error in it [04:46] something about to check the .bzr/checkout/pending-deletes [04:46] anyway, it said to delete the ones in there, I foolishly manually deleted them thinking everything would still be in the repo [04:46] somehow I lost a whole revision [04:47] Check the bzr log hey [04:47] I would like to understand what happened for next time [04:49] all that was in the directory was files with numerical names... [04:54] lostylost: if you ever have to look inside .bzr there is a bug of some sort; ask a question here or on launchpad [04:54] cheers [04:55] ImmortalPendingDeletion: Unable to delete transform temporary directory D:/invoice/trunk/.bzr/checkout/pending-deletion. Please examine D:/invoice/trunk/.bzr/checkout/pending-deletion to see if it contains any files you wish to keep, and delete it when you are done. [04:55] that is the error message I got [04:56] I just deleted all the stuff in there, thinking it was "temporary" working directory stuff [04:56] its things that are to be deleted [04:56] during the application of a merge/update/pull [04:56] so if I actually deleted them they wouldn't have been then? [04:56] ? [04:57] or are they all moved there temporarily? [04:57] hrmm [04:57] just the actual working tree files? [04:57] how do files end up there rather than just conflicting? [04:57] how come a whole local commit disappeared, along with it's message? [04:58] I shouldn't have been so rash, damn it :( [04:59] bob2: it was an "ERROR:" [05:00] lostylost: the update should have left your local commit as a pending merge [05:00] lostylost: the bug that caused the update to fail probably left the tree unupdated; the commit is still in your repository [05:00] I don't see it by running bzr log --forward [05:01] I have only 19, should be 20 [05:01] lostylost: if you install the bzr heads plugin, you can do 'bzr heads' to find it [05:01] thank you! [05:01] hope yet [05:02] so, when you merge, you merge into the working directory? [05:02] you can't merge up? [05:02] merge doesn't commit, so no [05:03] merge doesn't commit? [05:03] merge merges changes into your working tree [05:03] merge generates a tree with the combination of two existing commits [05:03] this gives you the ability to review what you are merging [05:04] and then do 'bzr commit' to save it [05:05] right [05:05] that makes sense. [05:05] I really like that the log has all of the previous logs in it. [05:06] do git hg etc do the nested log thing? [05:06] no idea [05:06] I found bzr and it was tasty crack, so here I am. [05:08] bob2: hg doesn't [05:08] bob2: AFAIR git doesn't [05:08] how does one manage a remote bzr branch? [05:09] (without logging in, cd'ing to the dir, and then running commands there) [05:10] in fact, I'm now doing the 3-branch interface between svn and bzr so that I can stay sane and keep my collaborator happy. :) [05:10] push to it and/or checking it out and commiting to it [05:10] :( [05:10] Solarion: define manage [05:11] lifeless: I have 2 branches (+ the one in SVN)--a working branch and the trunk. Trunk is kept synchronized with the svn repo and merges in changes from the working branch, but otherwise I don't really directly access it. [05:12] lifeless: the two branches are on my server, so that I can keep synchronized between workstation and laptop (and whatever else). [05:13] no luck with bzr heads [05:13] lostylost: you get only one head ? [05:14] no I was jumping the gun [05:14] lifeless: I can bzr push/pull to/from the working branch from my workstation to keep it up to date. However, it seems that I have to be in (a branch of) the trunk branch or (a branch of) the working branch to sync between them, or to sync to/from the svn server. [05:14] I think I am inluck [05:14] bzr head --all shows it [05:14] sweet [05:14] lifeless: Thus, I either have to pull a copy of whatever branch I'm actively working on, do the changes, and push it up, or else ssh in to the server to do the operations. [05:15] lifeless: Ideally, I'd like to just, say, run bzr --root=sftp://server/path operation [05:15] ok so it's in there, how do retrieve it? it says it's a (dead) revision? [05:15] lostylost: bzr merge . -r revid:THEREVISIONID [05:16] lifeless: in which case, instead of looking at the current directory, bzr acts like sftp://server/path is the current working directory (or root of the branch) [05:16] thank you very much lifeless, your a godsend [05:16] Solarion: we don't generally do working tree operations over teh network because things like 'stat' are really not reliable, and they are needed [05:17] Solarion: why don't you just have both branches on your laptop and work there [05:17] lifeless: I have a workstation I work on about the same amount of the time [05:17] Solarion: then whenever you feel like it bzr push to the server (e.g. when you are about to switch to another machine) [05:17] I suppose that'll work [05:17] still, I like the --root option idea better. :) [05:18] what I'd do is different [05:18] Also, I'd like a pony. [05:18] bzr --pony [05:18] I'd just work on the laptop and workstation as separate branches [05:19] 60% tests passed, looks like this patch is done [05:19] lifeless: still not help when I need to sync the changes over to trunk. [05:19] I like "micro-checkins" as my boss calls it, while he likes larger changes. [05:20] having trunk helps put all of my little changes into one big one. Keeps both of us happy. :) [05:20] Solarion: sure; so have a checkout of trunk on both laptop and workstation [05:20] Solarion: then you just merge to that checkout and 'bzr commit' [05:20] lifeless: then I'd have to care about keeping them synchronized. [05:20] Solarion: no, bzr will manage that for you [05:21] The management of it that I've seen thus far from bzr consists of telling me I need to merge the changes manually. :( [05:21] checkouts won't commit if the master is newer than the local tree; just like 'svn' [05:21] anyhow, ssh'ing over to the server isn't a big deal; it's just annoying [05:21] so you'll get 'cannot commit, run bzr update' if you haven't run bzr update before merging, but thats all [05:22] lifeless: unless your changes + their changes require a manual merge [05:22] 'bzr checkout's workflow really is designed for 'trunk' situations [05:22] conflict [05:22] Solarion: then you'll get a tree you can resolve the conflict it, and when you do that and ocmmit it will be all synced [05:22] yeah, I ran checkout for a while, but it took a while whenever I wanted to commit. [05:23] lifeless: I'd rather just not have to deal with keeping multiple branches in sync and ssh to the server. [05:23] Solarion: ah, interesting [05:23] or, use the --root option (in combination with --pony) :) [05:23] trunk is really just for combining commits so my boss is happy. [05:24] the less annoying it is, the better [05:24] though keeping multiple branches in sync is still less annoying than having to use svn [05:26] interesting. pushing the merged changes just kept my overall message, not the sub-messages. [05:26] (according to svn log) [05:27] hi, pardon me for barging in. New user, quick question. I cant get the authentication.conf file to work. have read and re-read the docs till my eyeballs are spiing but just dont get what the problem is. can somebody please give me a hint. [05:28] Im am trying to set up automatice password so I dont have to keep typing it. everything else is working far as I can tell [05:28] Solarion: thats svn's failure to track merges AIUI [05:29] svn seems to fail quite a bit [05:29] Solarion: yes :) [05:29] ah well, I can put it somewhere where it'll be found in the next merge. [05:29] lifeless: thanks for the help, but it is bedtime for bonzo [05:29] * Solarion heads to bed [05:30] codeslinger: I have no idea sorry; I haven't used that feature [05:30] hmm I was all excited to use bzr-svn today. However after trying it - it's unusable slow. Am I doing something wrong? I branched from svn. I did a "lightweight" checkout which took a couple of minutes. I open a file a put one line of whitespace in and committed locally. Then I did a push parent. It's been going 5 minutes now with 4 === [05:31] dysinger: there is a first time startup cost which is pretty high AIUI [05:31] how many megs of files?? speed is good for me with about 40megs of files. [05:31] I put one line of whitespace in a file and made a commit comment - then I am trying to get that back into sv. [05:31] svn. [05:31] dysinger: so you're pushing to svn:// ? from bzr? [05:31] It's been twirling for 5 minutes now. [05:32] dysinger: the first time you do "anything" it loads a bunch of stuff into a cache [05:32] lifeless -- are you saying that you type the password after every command??? or just run everything local? I find the password prompt tedious real fast. [05:32] trying to push that one commit up [05:32] dysinger: like I say though, AIUI there is a first time cost where it maps a bunch of data [05:32] codeslinger: I use ssh with ssh-agent [05:32] didn't it map that on the way when I branched it? [05:32] probably not since you did a lightweight branch [05:33] No the test commit to svn I did on the branch I took from svn [05:33] dysinger: I've seen jelmer explain this to other people; [05:33] dysinger: if you allow it to finish and try again I understand it to be much much faster [05:33] I branched my trunk svn project with bzr-svn, made one line of whitespace and then tried to push that back to svn [05:33] lifeless - ok [05:33] lifeless -- ssh-agent -- oh, okay, I see a vague reference to it, but did not yet find/read that section. if that works well then I guess I better give it a shot [05:33] btw, is your home directory on a local disk? [05:33] It's taken forever so it's scared me. [05:34] It's never taken this long with file:// or sftp:// [05:34] i ran into the issue where it was taking *extra* forever due to it putting the cache on NFS. [05:38] could be the speed issue is related to the hybyrd interface to svn. I create a clean repository from scratch and was satisfied with the speed. its not a mamoth project, but it's not lightweight either. [05:38] I am hoping this is just some one time cost. [05:39] it's been committing my one line of whitespace for 10 minutes now. It's churning through things like it's evaluating all 5000 commits 1st though [05:39] it is [05:39] does anybody else have any ideas about authentication.conf ??? is there a trick to getting it to work??? maybe its a bug??? [05:43] spiv: ping [05:43] spiv: I'd like a quick chat [05:49] thanks again lifesaver [05:49] lifeless [05:49] lostylost: np [05:50] How do I manipulate the "parent" branch - say I branched and then the parent is gone now. [05:50] dysinger, i believe it's set by pull --remember [05:51] um [05:51] there might be a more direct way? [05:53] So let me ask another question - is there some benefit to setting up a rich root and the branching a svn repository into it a subdirectory vs just branching a svn directory somewhere else? When I do a bzr info on both of them the both say rich-root type. [05:53] "as a subdirectory" [05:54] lifeless -- Im trying to find the docs for ssh agent. the manual refers to it in several places. but nowhere do I find a section on setting it up??? [05:55] I don't see the benefit of the creating a bzr init-repo --rich-root repostitory and then going into that directory and bzr branch http://my/svn/repo [05:55] I can just bzr branch http://my/svn/repo directly [05:55] both ways I can checkout --lightweight from it. [05:56] maybe I am missing something. [05:56] you can have a heavyweight checkout for "free" inside the repo [05:56] instead of just a lightweight one [05:56] oh you mean I don't have to specify the --lightweight ? [05:57] not only don't you have to specify it, you get all the revision data immediately there [05:58] from reading the manual, it says that the main advantage of the repro is when you have multiple branches. Lightweight is basically for when you want just the files and nothing else. for instance the example give is that you are publishing to a website. otherwise heavywieght is usually what you want. [05:59] when you have multiple branches the shared repro is able to avoid duplication. if you only have one branch you won't see any savings. [06:00] question: I have multiple projects that use some of the same files. I can keep all of these shared files in their own directory. what is the best way to share them amoung multiple unrelated projects? [06:01] You'd put them in another branch, and include them with subtrees (something akin to svn:externals). Unfortunately, that's not exactly supported yet. :P [06:02] s/include them/include that branch/ [06:04] ok Let's take the case of using a subversion "trunk" repository as the parent: If I create a shared repo and then branch svn trunk into it as "trunk" and then I have another branch from svn called "branch-x" that I clone and then I branch locally from trunk. You are saying that the shared repository is aware of the commits so that it doesn't duplicate data ? [06:04] its not clear to me how to do subtrees, but some of what Ive read cause me to think that it is still being developed. [06:04] dysinger: for branches within the repository, yes [06:05] ok I see the benefit then. Thanks. [06:06] So I am going to create a shared repo with bzr init-repo --rich-root myrepo then branch a remote svn "trunk" and remote "branch-x" into the repo. THen I can go into the repo and "checkout trunk my-topic" and make commits to that. [06:06] codeslinger: Yeah, subtrees are experimental. [06:07] well, "branch trunk my-topic" [06:07] checkout is not recommended? [06:07] ok, thanks, I will avoid that for now. any ideas where I can find the docs to config ssh agent? [06:07] branch would give me a clone [06:07] right? [06:08] well, you'd need to make a my-topic a branch in the repository, then check that out [06:08] yes, branch is a connected clone [06:09] That would make 3 layers there - 1 branch svn, 1 more branch "my-topic" and then one checkout? [06:09] dysinger: checkout is recomment just fine [06:09] three steps, yes [06:09] I don't see the benefit ... In git I clone, then branch, work, commit, merge, push etc. Then delete the branch and move on. [06:10] the checkout is your working set of files where you make you changes. the svn branch would be your base [06:10] Couldn't I just branch from svn and then branch off that for topics, commit and then push ? [06:10] you can [06:11] oh codeslinger says I _can_ checkout off the svn branch [06:11] * dysinger needs to learn the diff between branch and checkout. [06:11] Hello. [06:11] yes, using a repository is just an organisational/efficiency thing [06:11] sorry if I confused you by suggesting it [06:11] It's fine - I am drinking from the firehose [06:11] :) [06:12] No better way to drink if you ask me. - just get it over with [06:12] I had a glance at Bazaar's container formats, and I see dirstate and knit ... [06:12] Is there a way to have plain files stored? [06:12] Silktrader: Plain files? What do you mean? Why? [06:13] I am using bzr to track changes on Word documents. [06:13] Though I would like to index them. [06:13] So I can search within those. [06:13] Right now bzr stores revisions as .packs. [06:13] For a mirrored bzr branch on Launchpad, would bzr+http be better than http? Does "bzr pull" or whatever LP uses perform better in some way with bzr+http? [06:13] When you guys checkout from svn - I am sure some of you do in here - just to deal with other projects that use svn. When you do that do you checkout the repository root or do you checkout individual branches, trunk and tags ? [06:14] FWIW, 99% of the time, LP will find no new changes. [06:14] Silktrader: Why do you want to index the repository instead of the working tree? [06:14] Because I may delete content from the working tree. [06:15] I have document X, which I edit and commit. [06:15] Then I reedit document X, take off stuff, recommit. [06:15] Sorry to ask so many questions - I promise to help out with other noobs when I get done. [06:15] I would like to be able to search through what has been deleted, for instance. [06:15] That is - through old revisions. [06:15] Silktrader: Ooh, that's pretty neat. [06:16] dysinger: latter, doing the former on big svn repositories would be huge [06:16] checking out the repository root is a good way to use up your whole hard drive. :) [06:16] OK so you make a shared bzr repo and then checkout trunk and checkout branch-a etc. [06:16] dysinger -- okay, say you start out with the svn in the shared repository. you leave that prestine as your base. then you make a branch in the repository and that becomes your target for any changes. these both are living on the server. now you do a branch on your local computer from the branch that you made of the svn. this thrid branch is your working set, where you make your changes. when you do a checkout you are connecting your [06:16] branch to the servers branch such that any commits are made immediatly to the server as well as local. this is refered to as lock-step mode and is probably closest to how you are used to working with svn. but you do not actually have to do a checkout, you can skip that process and work with the local branch in dristubited mode. [06:16] Silktrader: Anyway, bzr currently does not have a format that stores a bunch of plain files. That would be horribly inefficient. [06:16] Silktrader: You could always develop one if you wanted to . . . :D [06:17] Peng: I understand. But given small repos ... space efficiency is not so important, is it. [06:17] Peng: you'd be surprised: some VCSes only store full files, no diffs. [06:17] Silktrader: True. [06:17] Peng: hardlinking identical files... [06:17] Peng: "hard disk space is cheap" is the theory [06:17] you could call it a "revision library" [06:17] Foom: which ones? [06:18] foom: What, svn working copies (ughhh, that was a bad design decision) and git? With git, you're supposed to pack occasionally. [06:18] Silktrader: accurev is one [06:18] Proprietary, right? [06:18] yes [06:18] doesn't svn gzip pristines now? [06:19] Gzip is already decent ... [06:19] not in the last released version...dunno about the next version [06:19] As content can be easily indexed within archives. [06:19] codeslinger - If I didn't want to go that complex and keep it distributed like git - I could just create a shared repo, branch svn there and then branch again from that - commit, commit and then push back to svn. Correct? [06:22] I dunno.... but frankly I'd be pretty nervous about it. plenty of opportunity for bugs to byte yea in the interface/conversions to/from svn [06:23] really? so bzr-svn isn't ready for prime-time? I have to work with others that aren't on bzr - they are on svn. [06:23] did you figure out how to get it to not ask you for a pasword? [06:23] y [06:24] whats the secret??? to the password? I've been thrashing it for a couple of hours now with no luck. [06:24] I mean I would be all for fully distrubuted mode with git or bzr for me team but I have to get them to take baby-steps [06:24] I just cloned (branched) from subverison with http://myuser:mypassword:server/repo [06:25] I mean http://myuser:mypassword@server/repo [06:25] http basic style [06:25] awww thats too simple :-) thanks. [06:25] Maybe it doesn't remember my password though - I need to use it more to make sure. [06:26] It does at least keep the username - I can see that in the bzr info [06:26] foom: disk space is cheap; disk cache is not [06:27] Silktrader: I suggest you index by writing a small amount of glue for your indexer [06:27] Silktrader: so that it can extract all the historical versions during initial indexing [06:28] lifeless: yeah but who ever accesses old revisions, anyways! [06:28] as fro svn, I'm a bzr noob. I only know what Ive read in the docs so far. but my overall impression is that bzr is still a little young. plus just general experience says that a hybyrd interface is asking for trouble. I'd be very conservative if I was you, last thing you need happening is corruypting either of the stores. won't make a good impression on your team. [06:28] I do, foom. Very often. [06:28] Perhaps not when writing software. [06:29] lifeless: thanks, but can't code a plugin for the indexer ... [06:29] ... I'd rather use the filesystem and that's it. [06:29] Silktrader: write it in fuse then :) [06:29] Silktrader: but that said, sounds like the indexer is pretty primitive [06:29] Come on, write a fuse plugin to deal with that? :-) [06:29] Silktrader: sure; expose the historical trees over fuse [06:29] Lucene, Google Search, etc. [06:29] hey now, a fuse plugin for bzr would be nifty [06:29] They can't deal with bzr's packs. [06:30] someone was just telling me the other day how awesome it was in ClearCase how you could just use normal unix utilities to navigate history [06:30] Silktrader: they wouldn't need do; you can generate any flat namespace you like; [06:30] foom: yah; I wrote a fuse plugin using pyfuse and pybaz [06:31] lifeless: It's great to be spurred to write code ... but I don't have the time nor the skill to :-) [06:32] Besides ... [06:32] I work on Windows machines ... [06:32] So no fuse I suppose. [06:32] there is a reference in the manual with pointers to an article about using word revision tracking in conjunction with bzr [06:32] there's fuse for windows now I believe [06:32] codeslinger: searching, thanks. [06:34] codeslinger: I see a DocDiff plugin. [06:34] that could be it, I didn't read it since I dont need it. be careful of word revisions though they are not that reliable. [06:35] They suck. [06:35] Both Word and OO. [06:37] it's hard to do it right, the complexities of the documents is huge. I don't know what OO's track record is for revisions, but I have a lot of experience with word revisions and know that they are not something you would want to use with complex docs, as long as you stick to text with no tables or art objects you should be fine. [06:37] with oo you can get diffs from bzr, using bzr to track the revisions [06:38] that sounds great. I was guessing/hoping that OO had done it better. [06:39] lifeless: Yes. I assume OO's format is also more portable than MS. [06:39] But it still doesn't solve the searching issue ... [06:39] I should probably be looking for DMS. [06:39] Document Management Systems ... [06:39] But bzr is so simple and easy ... [06:40] Software like Alfresco and whatnot puts me off. [06:40] well, good luck. I gotta get back to my bzr slugfest. [06:45] spiv: ping [06:45] pong [06:45] File "/home/robertc/source/baz/search-results/bzrlib/smart/client.py", line 77, in call_with_body_bytes_expecting_body [06:45] request = self.get_smart_medium().get_request() [06:45] File "/home/robertc/source/baz/search-results/bzrlib/smart/client.py", line 33, in get_smart_medium [06:45] return self._shared_connection.connection [06:45] AttributeError: 'FakeMedium' object has no attribute 'connection' [06:46] and I'm seeing an error about read_streamed_body [06:47] Hmm. [06:47] so I was pinging you about the fake medium error [06:47] where is the voodoo to fit that in [06:48] lifeless: See FakeClient [06:49] the second one comes from [06:49] File "/home/robertc/source/baz/search-results/bzrlib/repository.py", line 832, in insert_data_stream [06:49] for item_key, bytes in stream: [06:49] File "/home/robertc/source/baz/search-results/bzrlib/remote.py", line 996, in _deserialise_stream [06:49] lifeless: I think you want to override call_with_body_bytes_expecting_body in that. [06:49] stream = protocol.read_streamed_body() [06:49] AttributeError: 'SmartClientRequestProtocolOne' object has no attribute 'read_streamed_body' [06:49] ah [06:49] Well fellows, thanks for the help. Have a good day, cheers. [06:49] The second error is correct, in that there is intentionally no read_streamed_body on SmartClientRequestProtocolOne. It's implemented only on SmartClientRequestProtocolOne [06:50] Er, [06:50] It's implemented only on SmartClientRequestProtocol*Two* [06:50] err, ROTFL> L> L> [06:51] A laugh with a stutter? [06:51] yah [06:51] so why am I getting the old protocol? [06:51] You'll have to demonstrate that one in person for me sometime ;) [06:51] Good question. [06:51] laugh repeatedly tailing off a little slowly [06:52] ok, first one fixed [06:52] Can you give me a little more context? [06:52] yes [06:52] I'm testing a modified streaming revisions pull [06:52] that I upload a body to [06:53] that contains start_keys\nstop_keys\ncount [06:57] I'll defer this till tomorrow now, too many hours working :) [07:00] lifeless: that's odd [07:00] lifeless: I don't know why you'd get a ProtocolOne there [07:01] oh [07:01] callwithbodybytes [07:01] uses One not Two [07:01] is it safe to change that ? [07:01] Cool, with dirstate-tags, pulling with no new revisions only downloads the format files and last-revision. [07:01] Oh, huh. [07:01] Oh, and tags. [07:02] With bzr+http, it still makes 24 requests. [07:02] lifeless: I guess so, it seems wrong that it's hard-coded either way in that class though. [07:02] Same as when there is 1 new revision. [07:02] lifeless: but it should at least be hard-coded consistently :) [07:02] spiv: righto, well I'll change it in the new method I add [07:02] spiv: and let you worry about consistency [07:02] :) [07:03] lifeless: sounds good :) [07:03] woo passes [07:03] * lifeless runs a full suite and organises food [07:07] Ooh! I upgraded all of my local branches recently but forgot about my remote ones! [07:07] Err, wait, I don't know. [07:08] Right, I don't want to upgrade that branch. [07:08] Apparently on one project still using dirstate, some of my remote branches are dirstate and some are dirstate-tags. [07:09] I guess it depends on whether they were created before or after I upgraded my local stuff to packs. [07:16] bob2: revision library? For shame! [07:19] ok, out for a bit [07:19] good night, abentley, or morning [07:20] poolie: good night [07:43] What does --rich-root really do ? the help doesn't really explain it and the online manual doesn't mention it. [07:44] it adds a versioned / to the disk format [07:44] which is needed to handle svn branches as they are made via copies [07:45] ok don't quite get that but ok [07:45] it will eventually be the default format [07:45] the manual just says bzr init-repo X-repo (without the rich-root). [07:46] ok cause when I do a branch from a svn repo it does the rich-root by default - I can see it in the info [07:47] Is the --no-trees usually used with checkout ? And is checkout mostly used with the centralized workflow only? [07:47] that seems to be the pattern in the examples in the manual [07:48] dysinger: It Depends(tm) :) [07:48] heh [07:49] checkout is most often a tool for centralised workflows [07:49] I am just trying to figure out the best setup for working with a team that mostly uses svn. I could init-repo and "checkout" the remote svn repo and then make branches off of that for work. Or I could "branch" the svn repo and then make branches off of that for work. [07:50] --no-trees in init-repo is used when you expect to have your working areas elsewhere yes [07:50] lifeless gotcha [07:50] dysinger: so there are two dimensions here [07:50] 1) init-repo or not [07:50] 2) checkouts or branches [07:50] Well, you _can_ do it either way, or probably a dozen others. If it were me, *I* would make a checkout of the svn branch, then branch off that. [07:50] OK so --no-trees would be like git clone --bare [07:50] It's for history only then. [07:50] no work [07:50] init-repo is *simply* for sharing .bzr/repository amongst many branches [07:51] That way I could use that checkout just like it were a svn checkout; update, commit, etc. [07:51] thats all [07:51] checkout would be if I wanted a tracking branch [07:51] And it wouldn't let me commit and diverge from upstream. [07:51] so you can init-repo, then branch into the repo, and make branches from that etc [07:51] where commits are immediate. [07:51] Then I could merge ; commit into it when I wanted to land my other branches. [07:51] or you can init-repo, and use checkouts, its all reasonable [07:51] (or just edit ; commit directly in it if I just wanted to make one rev right on trunk, like if I were just using svn itself) [07:52] ok I am getting it. [07:52] Right. That checkout would then explicitly always be "whatever's in svn [mod getting behind and having to 'update' of course]" [07:52] There's some parallels to git (and some to svn) [07:52] rule of thumb is 'if your history is large, or you will have many branches, you should use init-repo' [07:54] What is --rich-root-pack all about? [07:54] Does it make a diff vs --rich-root really ? [07:55] --rich-root is a variant of knits (the older repo format). --rich-root-pack is a variant of packs (the newer repo format) [07:56] should I go with the newer one? Is that where everything is headed ? I read how you guys are using packs to speed up transfers. [07:56] New bug: #183704 in bzr "bzr clean-tree should not remove .shelve directory" [Undecided,New] https://launchpad.net/bugs/183704 [07:56] Well, packs ARE intended to replace knits. It's the direction we're going. There are some reasons to use knits; compatibility with older versions of bzr, for instance. [07:56] But lacking those reasons, you probably want packs. [07:57] ok I have no other bzr interaction on my project [07:57] (no older versions) [07:57] packs are the default now, if you just 'bzr init'. [07:57] oh really [07:58] so I could just bzr init-repo myrepo ? [07:58] Yeah, as of 1.0 [I think]. They were introduced on 0.92. [07:58] Well, not if you want to use bzr-svn ;) [07:58] It needs the rich-root variant. [07:58] (which isn't default) [07:58] oh ok so if I want to branch off of svn I MUST use the knits format [07:59] No, you need to use a rich-root capable format. There's one of those for knits AND one for packs. [07:59] --rich-root is the knit version; --rich-root-pack is the pack version. [07:59] ok [07:59] Unless you know a reason you want to go knit, you probably want the pack. [08:00] (if the choice turns out to be wrong later, there are ways to convert yourself down, so it's not a lock-in decision) [08:00] rich-root is, though, which is the main reason it's not default; you can convert data from packs into knits, (or from rich-packs into rich-knits), but you can't convert from rich to non-rich. [08:03] so just so I am understanding - in order to use svn I must use a rich _variant_ which is either rich-root or rich-root-pack - either one. Packs are the default bet are not rich right? [08:03] s/bet/but [08:03] Right. [08:04] so I could bzr init-repo --rich-root-pack myrepo and the branch svn off into it [08:04] Bingo. [08:05] ok thanks for your help [08:05] I am getting it. [08:05] I promise I'll help others once I do [08:05] you want rich-root-pack [08:06] someone told be just rich-root earlier [08:06] but I want to go with the newest format [08:06] if I have no legacy to deal with [08:06] yeah I forgot there were two variants [08:06] Yeah, that might just be a finger-o; thinking 'rich root' and forgetting to append the pack. [08:07] can you branch off of a checkout ? [08:07] Yep. [08:08] I could see an advantage of checkout for svn and the branch off of that for work. [08:08] I don't know - maybe not. [08:08] I'd do it that way. [08:08] That way the thing that directly touches svn acts like an svn client would; helps reduce impedance mismatches. [08:08] y [08:09] Especially for me - I wouldn't use that checkout for anything other than tracking the remote branch [08:09] and merging into my topic branches [08:09] Really, I also work that way on multi-dev bzr projects; there's a shared trunk that I checkout. I do trivial things directly on trunk, just like I did with CVS. And branch off that for more involved things. [08:15] If make a branch and then want to push back to the parent - what's the best way to do that [08:15] I can re-specify the parent in the push command but that seems a bit redundant [08:16] Well, with this toplogy you wouldn't push back; you'd merge your topic branch _into_ the checkout, then commit that merge (and the commit in the checkout goes upstream) [08:16] ok [08:16] so it's done with merges [08:16] Sorta a hierarchial setup, rather than the mesh-like setup of more 'fully distributed' workflows. [08:17] Well, you _can_ do it with pushes. But that gets you back to impedance mismatches with svn, and (IMAO, anyway) is more likely to lead to confusion. [08:18] don't want to do that [08:18] (mismatches) [08:18] I'll just keep it straight checkout and merge/commit into it. [08:18] from my branches. [08:18] Yeah. This way you have the svn side, which acts like svn. You have your bzr side, where you do whatever you want, bzr-style. And all interaction between them funnels through your bzr-svn checkout. [08:19] excellent [08:19] Seems cleaner to me [note, though, that I've never used bzr-svn, so this is all "how it fits in my head" and from reading about other people using it] [08:19] and if I want I can take one my branches and 'push' it off to a 3rd machine where I can share it with team mates distributed-style. [08:20] Right. No problemo. You can get all wild and wooly on the bzr side. [08:20] that's how I did all this with git so it makes sense [08:20] git/svn [08:21] I really like how bzr doesn't treat svn like a side-car-add-on [08:21] It's just a transport/storage plugin [08:21] git-svn is a one-off-hack [08:21] That's because we don't trust svn way off to the side, where we can't smack it ;) [08:22] and the commands are different than the normal git flo [08:22] flow [08:22] It's sucky [08:22] (but fast) [08:23] I was in a svn working directory and I accedentally typed bzr st [08:23] and it told me the status [08:24] I was like ??? [08:24] so then I commit with bzr too and it worked !? [08:24] that's too transparent [08:24] Heh. [08:25] bzr log worked - it was like it was a bzr repo [08:25] then I was looking at bzr init-repo help [08:25] and it has --subversion in it [08:25] so bzr-svn is pretty integrated. [08:26] if you have a branch, with a few files added, and you want to split that into two branches which add different sets of files, can you do that easily with bzr? [08:26] * dysinger is a noob [08:26] sabdfl: Mmm. I think you'd have to sort of the files manually. Maybe "branch ; merge --uncommitted", the rm the right files on each side? [08:27] I imagine you could always make two branches from the one [08:27] and just prune away until you had it like you like [08:27] fullermd: i'm worried that rm'ing the files on each side would mean the whole lot get rm'd when these land in trunk [08:27] Well, I'm reading you as "bzr add'd but not committed". [08:28] If they're committed files you want to rm, then yeah, that would happen. [08:28] since bzr doesn't auto-commit merges though [08:28] In that case, I think you'd have to backtrack to before they were added, and recreate history from that point onward in two different branches. [08:28] you could merge the two branches back in [08:28] but revert the removes [08:29] and then commit [08:29] Well, or that. And if you edit the files in the branch you don't delete them in, it'll conflict and you can resolve it from there. [08:29] That means adding to your work at merge-time. I guess which is Right depends on how long they'll be unlanded, and how much history you'd have to rewind, and yada yada. [09:01] * igc dinner [09:30] sabdfl: split the branch into two, delete on each side. then merge each side to the other with the following recipe: [09:30] bzr OTHER; revert .; commit -m 'sync with split branch' [09:31] the . is important [09:31] Twisted. [09:31] then you'll have two branches which think they are mutually merged (but aren't), so merging with trunk will do the right thing (well, you can test this, its late, but my head says this will work) [09:31] ciao [09:32] perhaps test locally first; merging both serially to a copy of trunk :) [09:49] lifeless: bummer, i started doing this the hard way, and will just finish [09:49] but have a note of the recipe and will try it next time [09:49] thanks! [10:05] Gah! I hate Mac OS X. [10:06] I can't install bzr on it from MacPorts, because it can't fetch paramiko from any of the places it knows about. [10:06] * rjek wonders why Fink went out of fashion. [11:15] So. Is bzr available for Mac OS X 10.4 using a package management system that actually works? :) === doko_ is now known as doko [11:48] rjek: I just posted some instructions on the bzr-svn page about 6 hours ago which includes bzr install [11:48] without macports or fink [11:49] btw I think the #bzr channel peoples are soooo... awesome [11:49] and the bzr developers [11:49] it worsk [11:49] is the correct capitalisation Bzr bzr or BZR? [11:49] works [11:50] I think it's actually bZr [11:50] >,< [11:50] :) [11:50] :P === mrevell is now known as mrevell-lunch [11:55] Kamping_Kaiser: the correct capitalization of the software is Bazaar, and the correct capitalization of the binary is bzr [11:55] if you'd like to use bzr to mean "Bazaar", then, well, write "bzr" :-) [11:56] dato, so its Bazaar? (not Bazaar-ng or any of the short versions?) === asac_ is now known as asac [11:57] Kamping_Kaiser: yeah, Bazaar, but many people use bzr as well. Like Subversion/svn or Mercurial/hg [11:58] dato, thanks for that [11:58] you're welcome [12:03] dysinger: Sounds fun. URL? [12:06] http://bazaar-vcs.org/BzrForeignBranches/Subversion [12:12] dysinger: Which version is Leopard? [12:12] I have 10.4 [12:12] 10.5 is leopard but it should work all the same IMO [12:13] Does 10.4 ship with a version of Python that isn't too ancient? [12:13] I don't know that for a fact though [12:13] (which I had assumed is the reason bzr is packaged more simply for 10.5 than for 10.4) [12:13] open a terminal [12:13] What is this easy_install thing, too? [12:14] I have Python 2.3.5, btw. [12:14] http://peak.telecommunity.com/DevCenter/EasyInstall [12:15] ta [12:19] dysinger: It appears to be doing something \o/ [12:20] Although it appears to be having the same difficulty as MacPorts: it can't reach www.log.net to download paramiko. [12:21] Should upgrade to 10.5 then! :) [12:21] This Mac's lucky I've not thrown it out of the window. [12:21] I *hate* Mac OS. [12:22] Then erase it and install something better [12:22] Not an option, given the entire point of the exercise it to ensure something works under Mac OS :) [12:22] I'd be furious if I actually paid for this Mac. [12:23] Something does work [12:23] As I experienced today [12:23] What is your pref? [12:23] No, I mean I'm making sure a piece of our software's portable to it. [12:23] Is the hardware garbage? That's rarely the case [12:24] I hate Apple hardware almost as much as I hate their OS. [12:24] Oh are you a M$fanboy? [12:24] No [12:24] Then BSD ? Linux? [12:24] But I can tolerate Windows for longer periods than I can Mac OS: it still ultimately annoys me. [12:24] All OSes annoy me: Mac OS is just top of the pile. [12:24] Wow. [12:25] dysinger: My development environment is Linux. Where I build Linux and Windows versions of stuff. Mac OS stuff I have to do self-hosted given there's no good toolchain like MinGW for Linux yet. [12:26] Winblows is the top of my shit pile. That's an absolute crap-pile. [12:27] rjex "I hate Apple hardware almost as much as I hate their OS." Wow [12:28] What on this green earth do you actually like? [12:29] I like my Thinkpad. [12:30] It's built like a tank, doesn't have keylegends that wear off if you look at them too much, has three mouse buttons, and wasn't over-priced. [12:30] With what freedos? [12:31] Erm. Ubuntu as it happens, but you've left now. [12:32] I think freenode logs you off if you say 'freedos'. [12:32] heh [12:33] fullermd: Didn't kick you off. :) [12:33] I'm special. My mother always told me so. [12:33] * rjek grins. [12:34] * rjek checks out the source on Linux box, burns it onto a CD-R, and shoves it in the Mac that way. [12:35] Do regular CD-R's work in a Mac, or do you have to get special multi-colored aerodynamic CD-R's? [12:35] Crap, I hadn't thought of that. [12:35] It might spit it out in disgust for being a cheap Tesco CD-R. === mrevell-lunch is now known as mrevell === bigdo1 is now known as bigdog [14:33] hi, anybody awake? [14:33] codeslinger: Yes, but I most likely will not be much help ;) [14:34] abentley: I'm sorry for the format flags mess [14:34] No worries. [14:34] Great!!! question: I don't see this in the manual. is the physical location of a branch fixed or can I arbitrarily move it to another location? [14:34] I could have read it more carefully, too. [14:35] codeslinger: You can move it anywhere you like, even mirror it to another machine. [14:36] cool!!!!! [14:36] If you a shared repository, you have to keep the branch inside the shared repository. [14:36] abentley: Even outside shared repository ? [14:36] matkor: ^^^ [14:37] what if I move the repository too. basically I just want to know about disk reorg and moving the entire structure, does it have any fixed path components? [14:38] codeslinger: If you remove the repository too, that's fine. [14:38] good. thanks. [14:39] Many commands remember the location you ran it against last, e.g. "pull". Those locations tend to be fixed locations. [14:40] bind ???? [14:40] Yes, I believe bind is one of those. [14:40] er, let me be clear. can I fix that path with bind? [14:40] Yes. [14:41] great. [14:41] If you have a checkout, and you move the branch you're bound to, you can just do 'bind'. [14:41] abentley: Actually, I think this is one of the problems that I'm facing.. If I have a branch or checkout bound to a shared repository. If the shared repository is no longer accessible, I can't unbind it... [14:41] Similarly, you can fix pull with pull --remember. [14:41] neither was I able to bind to a different location.. [14:42] brilliantnut: Try switch --force then, but file a bug report please. [14:43] But you mean "If I have a branch bound to *a branch in a shared repository*...", right? [14:43] Branches aren't "bound" to repositories themselves. [14:45] why does 'unbind' even bother doing anything with the remote branch instead of just removing the association locally, out of curiosity? [14:45] right. [14:46] abentley: I did in fact mean a branch in a shared repository. [14:46] atleast, I was facing that behaviour with 1.1rc1... I haven't had an opportunity to check since 1.1 ... To be honest, I thought it was expected behaviour.. [14:46] Right, so if you have a heavyweight checkout of that branch, and you delete that checkout, "unbind" should work. If it doesn't, it's a bug. [14:47] Scratch that. [14:47] I did have a heavyweight checkout... but what do you mean by delete that checkout? [14:47] If you have a heavyweight checkout of that branch, and you delete that branch, "unbind" should work. If it doesn't, it's a bug. [14:47] brilliantnut: thinko [14:47] no, what if the repository isn't accessible any longer. [14:47] The repository for the branch? [14:47] yeah. [14:48] abentley: need to take a call, brb [14:48] Most of the information provided through a branch is stored in the repository, not the branch. [14:48] Everything you commit goes into the repository, not the branch. [14:48] The branch is just a pointer to the data you committed. [14:49] So if there's no repository for a branch, it cannot function. [15:00] I have a project with multiple (mostly) independant parts. there is a client program and a public website and then the private website after you login and then the admin web site etc. some fo the php programs are shared between all of the apps. some are only shared between the web apps. but most files are not shared at all. what would be the ~best~ way to organize this? [15:03] "if there is no repository for a branch it connot function" but what if it's a heavyweight checkout? doesn't the branch contain it's own copy of the repository? === mw|out is now known as mw [15:07] abentley: back. Here's the situation that I was facing: [15:07] I have a central repository, and many branches on the central repository (specifically including a branch called HEAD) [15:07] I have a heavy checkout of HEAD on local [15:08] commits, pulls, pushes, merges etc. work fine. [15:08] now the repository, (along with all the branches) is down. [15:08] lets say that the location has been changed. [15:09] codeslinger: If the heavyweight checkout is created inside a shared repository, it will store data in the shared repository. [15:09] at this point, I want to bind the checkout that I have to the new location.. [15:11] brilliantnut: So bind NEWLOCATION ought to work. [15:12] No need to unbind. [15:12] But switch --force NEWLOCATION should also work. [15:17] hmm. I didn't try --force [15:17] Switch ideally would not require force. [15:17] And it should at least suggest it on NotBranchError [15:18] Something I'd like to fix, but I've got a big queue right now... [15:24] thanks for all the help. any suggestions on best practices for dealing with the situation of shared files between different projects? I understand the subtrees are NYI [15:33] Error 1 Operation not permitted -- I have a respoitory on a server and a local branch. the server-side was created initially by doing a push of a local branch. what I did is to set up a conflict with another copy of the branch and then resolve that conflict and commit the changes. then I did a merge. Now when I do a push -- which used to work -- I get the Error. any odeas what I am doing wrong? [15:34] abentley are you still there? [15:35] He's abended! [15:36] codeslinger: Not off the top of my head. Sounds like a permissions problem on the server. [15:37] You can get a full traceback by doing "push -Derror" [15:38] rjek: Unfortunately, I can't just idle in IRC. [15:39] I have work to do. [15:41] ok, fine, thanks, I understand.... I dont think it liked that I changed the path though.... I went back to the orgianl path and now I get bzr: ERROR: Generic path error: 'zzzzz.fetch': Failure: unable to rename '../packs/zzzz.pack' [15:46] Sounds permission-y to me. [15:48] Im logged in as root.... [15:51] seems like bzr is pretty buggy. I see plenty of high priority bugs that are pretty old. does anybody have opinions about the actualy usability/stability of bzr. I mean the design is pretty darn terrific, I thinks its what Ive been looking for. bug I am concerned about the apparent level of bugginess. and now I am just running some simple use scenarios and appear to have been hit by a substantial problem. [15:54] I use bzr since few month and never meet bug in it ... depends prolly what you are doing ... [15:54] hi fullermd! are you the one who wrote the "rant" about BSD vs Linux? I checked out your site. [15:56] matkor -- that is good to know. what is your typical use scenario? I've been at it for basically one day and already hit two problems. [15:57] Oh, lord, and here I thought it was safe to step outside again... [15:58] jelmer: regarding bug #180128, did I do wrong by cp'ing with svn? is there another way of doing the same with bzr-svn alone, in a way that the created branch is a cp, and I can push new changesets to it? [15:58] Launchpad bug 180128 in bzr-svn "Cannot push to a branch `svn cp'ied`" [Undecided,New] https://launchpad.net/bugs/180128 [15:58] codeslinger: what is typical use of bzr - developing software in many places and many branches ;) [15:58] I've been using bzr for... 2 years and change. I've hit a number of bugs in that time, but pretty much all of the bug ones have since been fixed. [15:59] fullermd - you make some very good points about linux, it's exactly why I switched to gentoo. and now trying out sabayon. [16:01] I should go through that thing sometime and do some cleaning and updating. [16:01] Of course, that's a subset of needing to do the same on, like, my whole webpage. [16:01] I'm am trying to figure out what I can do and should avoid with bzr. I just tried a use scenario of creating a conflict and resolving it and somehow it is now blowing up in my face. it may be related to the fact that I changed the location of the server path due to another bug in which the automatic password conf file is not working. [16:04] fullermd -- it was a good read. [16:04] I was happy with how it turned out. [16:09] fullermd -- the thing is, that "Aunt Betsey" is not going to be willing to compile code from scratch. she just wants something that works out of the box. [16:13] codeslinger: I keep thinking about the potential for gentoo to benefit enormously from a hug distributed P2P compile system [16:14] codeslinger: FOr most of the common hardware setups and use flag combos, there must already be binaries out there. [16:15] yeah, I set up distcc locally but iy was a pain to get working. spent spent was greater than time saved. [16:16] I don't update as much as I used to, my only gentoo box is a MythTV box now [16:16] I used gentoo because at the time it was the only distro I could get the hardware working on ; not least because it was the easiest to get the mm-sources kernel working on [16:17] "spent spent" === "time spent" [16:17] But I found gentoo to be a great teaching distro - it really makes you learn a lot about Linux [16:19] yes, gentoo seems to combine best of most worlds. but the "learning curve" was pretty darn steep. so far I am liking sabayon, it's gentoo packaged to "just work" out of the box. [16:20] once I finally tamed the beast, I put gentoo on all of my servers. debian and other distros drove me nuts with their dependancy hell. [16:21] Agreed, not having to install GTK to get the ncurses version of BitTorrent is very useful [16:22] This particular box doesn't even run a desktop, just MythTV in a bare X server [16:27] we are way off topic but I guess nobody is objecting.... I have seen some references in the gentoo docs to the pre-compiled binararies. but at a quick glance it looks pretty restrictive. so I have not pursued it. sound like you have been using it, what is your impression? [16:31] codeslinger: No, I don't use precompiled binaries, I still build from source, but not often [16:32] FOr MythTV I still build from source because the ebuilds lag behind the trunk so much [16:33] But I even do that less often as it gets more stable. I'd love a build that didn't use MySQL though, that thing is a piece of trash (doesn't survive a BRS reset very well) [16:33] ah, okay. lag... yes, but over-all pretty impressive, consider php for instance. they had the updated ebuild in about 3 days. [16:34] I wouldn't notice ; I don't even have a cron job running emerge --sync [16:34] i've found mysql to be pretty solid. perhaps the cause is elsewhere. [16:34] codeslinger: It's probably because the box was overheating and shutting down non-gracefully [16:35] This was only happening in long transcoding jobs... I've underclocked it since and it's stable even transcoding 24/7 for 3 days straight. [16:36] I'd swap the CPU for a mobile variant but the motherboard is a budget model and has no VCORE support. [16:37] I'm happy with it though, £43 for onboard graphics with TV-out [16:37] oh I'd never use a cron job for that. it's jsut that I happened to be looking for the php upgrade and expected to have to install it from scratch and lo there it was already to go. that was one of the things that decided me to switch the servers to gentoo [16:37] They're probably a lot snappier on core packages [16:37] if you've got hardware issues it is totally unfair to blame mysql for corruption. [16:38] It's not exactly ACID though, is it? [16:38] I've got tables with a million plus records and mysql handled it without a hiccup. impressed the heck out of me. [16:40] I suppose I'm being a little unfair... it got really annoying for a while though, having to repair the tables every couple of days [16:40] I'm more used to RDBMs like MSSQL and MySQL feels a little toy-like in comparison. [16:40] a database _should_ be able to handle power cutoff [16:41] radix: My point ; if the same thing happened to MSSQL for example, it would recover fine because the transaction log would be played back when it recovered. [16:41] AFAIK, MySQL doesn't _have_ a transaction log [16:42] MySQL doesn't usually have transactions, period [16:42] Oh, heck, am I busy working through Bash MySQL day? Crap. [16:42] On the other hand, it's not exactly "enterprise" deployment, being a mythtv box. SQLite managed to be ACID though ; I'd be interested to see how easy it was to port MythTV to use that instead. [16:43] SQLite is nice.. it lacks a lot of abilities but it's very upfront about that. "Here's what we do, here's what we don't." [16:44] mysql != toy it's being used by some pretty big players such as the census buru and the airline reservation system. if you think it toy because of minimal interface then try mysqladmin it is good. [16:45] In any case, I've not had to repair the tables since I underclocked the CPU, so hooray. [16:45] Er.. no... I think MySQL is a toy because of all the crazy things it does [16:45] codeslinger: I'm happy enough with SQLYog on windows and phpmyadmin [16:45] transactiosn and logs are options that you turn on when desired. [16:45] Have you seen such things as the example SELECT * FROM table WHERE col IS NULL AND col IS NOT NULL; ? [16:45] It returns a row :) [16:46] I prefer the high-quality data validation, myself. [16:46] 's all way the heck off the #bzr path, though. [16:46] * awilkins likes bzr but hasn't really tried shared repositories yet [16:47] yup, so I am going to say bye now. see you around, good chating. [16:49] Am I rght in thinking that if I wan't proper merge tracking converting over a old CVS repository I;m going to have to do it myself? [16:54] Just reading that question gives me the twitches... [16:56] It's worse, it's not even a real CVS repository, it's MKS [16:56] I've already patched rcstools not to choke and die on the MKS RCS format though [16:56] MKS does at least have some notion of atomic commits [16:58] But it doesn't track merges and even if it did, the merges are being done here by some horrible old Java [16:58] (MKS itself is some horrible old Java too) [16:59] This stuff branches by copying individual files into their own "change package" folder and working on them there [17:00] I'm supposed to be developing this on the back of SVN but after a few days trying bzr I'm rather enamoured of it's speed and merge support [17:00] I'm fairly convinced that even if the final product is svn-driven, just using bzr for development and testing is going to increase my productivity enormously [17:07] Well, I ended up using bzr because I figured svn was mature enough to look at replacing CVS with, then looked at it closely. So using bzr instead of svn sounds perfectly reasonable to me :) [17:09] The only problem is that the Eclipse plugin is not ... mature [17:10] Which is a real stumbler for the automation that my users expect. *sigh* [17:10] Ah, well, I'm waiting to eclipse itself to mature so that it looks more like vi ;> [17:11] Isn't there a vim editor plugin for Eclipse? [17:11] eclim [17:11] fullermd: Are you an MD or is that something else? [17:12] Oh, no, it's initials. [17:13] * awilkins does healthcare IT [17:13] First account I had used last name and initials as the naming scheme, and it's only been a millennium since then; too little time to get aroudn to changing it. [17:15] * fullermd doesn't, and is glad of it. [18:06] hi, in bzr branch http://bazaar.launchpad.net/~timepass/timepass/timepass-devel [18:07] ~timepass is project name [18:07] what is the next timepass for? [18:07] or is ~timepass the name of the team [18:09] krish: yes, the team [18:10] then the next timepass is for? [18:10] timepass-devel is my branch [18:11] what does the timepass between these two mean? [18:11] the name of the project [18:11] (to which the branch belongs to) [18:11] oo. so i have to use registrantofbranch/projectname/branchname always [18:12] yep [18:13] thks dato. :) im new to bzr and its the first versioning system i m using. todays my first day. thks a lot [18:13] you're welcome [18:13] It's not a bzr thing - bzr doesn't care.. that's just a file path [18:13] krish: you have to use "registrantofbranch/projectname/branchname" for *launchpad.net* [18:13] It might have some significance to the launchpad system in particular... but... bzr cares not [18:14] oh ok [18:14] shall remember that :) [18:25] New bug: #183831 in bzr "Internal error with soft link" [Undecided,New] https://launchpad.net/bugs/183831 [18:56] hey, i've got a question [18:56] i've done a bzr push to a sftp URL [18:57] and i only have the files "visible" at that location after i do a bzr update on the server [18:57] is there a way so that on push the repo on the sftp location will update? [18:58] mimir_: https://edge.launchpad.net/bzr-push-and-update [18:58] mimir_: not over sftp, but if you install bzr on the remote end, you can use bzr+ssh, plus the link radix gave you [18:59] thanks a lot. that's what i was looking for [18:59] oops. I guess that plugin is ssh only [18:59] i have ssh, no prob there... [18:59] although probably that works in the majority of cases where you have sftp access :) [19:00] it's the requirement of bzr on the server that's the strictest requirement [19:01] i'm installing the plugin right now [19:09] radix: do i need that plugin to work on launchpad too? [19:09] krish: no, not at all [19:09] the plugin doesn't really make sense with launchpad, you don't need working trees on the server [19:10] hmm ok [19:23] question... is there a way now to alias bzr push to execut bzr push-and-update? [19:23] i'm using BzrEclipse [19:24] and it only has bzr push... [19:24] doesnt bzr has a gtk frontend? [19:24] i m new to this. [19:24] krish: bzr-gtk [19:24] brilliantnut: i was suggesting mimir_ [19:25] brilliantnut: may be u can help him out. i just read that bzr has a gtk frontend [19:25] brilliantnut: i dont even know how it looks :P [19:27] mimir_: mmm. push-and-update now is smart, and makes "push" alone itself update the remote tree, *iff* there is one [19:28] mimir_: so you just need to log to the remote computer once and create the tree there. you create the tree with 'bzr checkout .' [19:29] dato, here is how i work: 1. create on the remote server the repo (bzr init, bzr add, bzr commit -m "initial import"). then on local machine i do a bzr branch sftp://URLHERE [19:29] dato, then i work on the local branch, i do commits etc, until i'm ready to make a push back to the remote server.. [19:30] dato, so i want now that on push the remote does bzr update... what is the plugin mentioned doing, right? [19:31] mimir_: yes, it will do that, as long as you push over bzr+ssh and not over sftp [19:31] ah... so on push i neet to do bzr push bzr+ssh://someurl ? [19:32] yeah [19:32] dato, cool, testing it now.. [19:32] ok [19:44] dato, i think i'm doing smthing wrong... [19:44] dato, bzr push bzr+ssh://science@myscienceisbetter.info/home/science/public_html/basilisk/ [19:44] science@myscienceisbetter.info's password: [19:44] This transport does not update the working tree of: bzr+ssh://URL. See 'bzr help working-trees' for more information. [19:44] No new revisions to push. [19:45] ah... 1 sec.. [19:48] dato, nope... i still need to do bzr update on server... [19:48] am i missing something? [19:48] Thanks for your help yesterday gang. I am totally on bzr/svn now. [19:49] mimir_, I use a cron job which runs bzr update due to permission problemas. AFAIK, bzr+ssh doesn't update the working tree, just the push-and-update plugin [19:50] mimir_: if you see the "This transport does not update..." warning, something's gone wrong. do you see push-and-update listed if you run `bzr plugins`? (Also, the directory under plugins should be named push_and_update, it can't be push-and-update) [19:50] let me check.. [19:51] bye all [19:54] mimir_, you have to do: bzr push-and-update bzr+ssh://science@myscienceisbetter.info/home/science/public_html/basilisk/ [19:54] beuno: nope [19:54] dato, thanks m8, it works now [19:54] beuno: check the commit log [19:54] dato, there was a problem with my push-and-update install [19:54] mimir_: very well [19:54] dato, really? aaaah, didn't know a new version was out [19:55] * beuno learns something new [19:55] i just did bzr push-and-update and it automaticaly the sftp:// path [19:55] and it did the job quite well :) [19:56] * mimir_ thanks dato and radix for pointing the right path :) [19:56] you're welcome [19:57] that's odd, I was subscribed to the repo en launchpad, but I didn't get any notifications [20:00] yay, the 20th bzr-svn bug related to unicode \o/ [20:00] hi jelmer [20:00] hi dato [20:00] hey, james_w. long time no see, I think? [20:00] hey James [20:01] 'evening Adeodato [20:01] dato: yeah, hardware troubles. All sorted now, so I should be back with the code soon. [20:01] james_w: great [20:01] jelmer: On the other side, my experience with bzr-svn was almost flawless apart from my misunderstanding of what the branch file thingy was for :) [20:01] jelmer: I'm going home now. I'll try to take a look at -pqm when I arrive. [20:02] dato: Cool, thanks === mw is now known as mw|food [20:15] can i bounce some bzr ideas off the room [20:15] i am trying to plan a vcs system for my workgroup [20:16] we have a shared codebae that is 75% plain text files, and 25% within binary files (more on that in a sec) [20:17] its the 25% that is an issue. the 4gl we use stores the file definitions and screen definitions withing the header of the actual db datafile. [20:18] i think i am capable of coming up with a fuse fs kindof like sshfs that would allow regular fs-like access to thes contents of the binary files. [20:19] has anyone dealt with a simialr setup, versioning selected contents of a vinary file, not teh whole bin file. [20:19] The only occation I found myself needing fine-grained revision history over binary blobs I wrote a tool to convert the binary blobs to and from a textual format, and installed a pre-commit hook. [20:20] thats kindonf what i am thinking, a wrapper that will extrac the records I need, and put tehm back safely. [20:21] i was considering a fs-like interface so it will be familiar and transparent to any 3rd party tools that deal with bzr [20:21] There's no need for a FUSE hack really. The pre-commit hook idea is also more portable in case you want to check in or out on a non-Linux box. [20:28] what is the command to generate a diff of 2 revisions? [20:29] rjek: thanks :) [20:29] Manfre: bzr diff -r R1:R2 [20:29] er [20:29] that's svn :) [20:29] bzr diff -r R1...R2 [20:30] thanks [20:30] actually it's bzr diff -r R1..R2 [20:30] I should probably really try to not help anybody today :) [20:41] does bzr support the auto replace variables? e.g. $LastChangedRevision: [20:41] if so, can some one link me to a doc that explains it [20:41] no [20:42] the usual trick for build scripts is `bzr version-info` [20:43] it's a shame you can't really do that (AFAICT) from bzr export. === mw|food is now known as mw [20:55] Is there a way to get bzr-svn to remember your password like git-svn or just plain svn? It's driving me nuts having to enter it all the time. [20:56] use svn to remember the password [20:56] dysinger: what transport are you using? [20:56] then bzr-svn will use the saved password [20:56] https [20:56] when I branched I put https://username:password@host/url [20:57] but now I have to enter my password everytime. [20:57] when update/pull etc. [20:58] That brings up another question. A guy in here last night recommended that I checkout from svn instead of branch - said there was less chance for an impedance mismatch with svn. Is that true Jelmer ? [20:58] * fullermd <---- guy [20:58] heh [20:58] hey fullermd [20:59] I just wanted to check with 'the man' [20:59] I _wish_ it were last night. It's still "earlier today" for me :| === brilliantnu1 is now known as brilliantnut [20:59] heh I am GMT-10 [20:59] in the center of the ocean [20:59] Well, if you're going to be becalmed, you might as well have a 'net connection. [21:00] dysinger: can you rephrase that last bit without using "impedance"? [21:00] * jelmer is not a native speaker, the only way I know impedance is related to electricity [21:00] Well, that's the context I draw it from too :] [21:00] fullermd said that using checkout for an svn remote repo was better and there was less chance for problems [21:01] I found that at least it seems to me checkout is better for svn because "push" to svn on a branch I made the 1st time was painfully slow. [21:02] Well, that's not a checkout/push difference; that's some cache or other that had to fill. [21:02] I just want to make sure I am doing "the right thing" before I settle in on a pattern of work. [21:02] dysinger: Checkouts will be slow the first time as well [21:02] yes checkout vs branch is about the same [21:02] dysinger: checkouts are basically branches that push on commit [21:02] y [21:03] dysinger: They're not necessarily better than pushing, but they may match your workflow better [21:03] jelmer: My operative theory is that using the checkout to interface to svn via merging in work and committing (vs. merging from svn and pushing) is interfacing to svn how svn expects to be interfaced to, and so is less likely to confuse it or you (or both). [21:04] (i.e., matched impedances, no reflections) [21:04] What I am hearing is that branch vs checkout makes no difference to the bzr-svn plugin -but checkout matches svn workflow better [21:04] changelog for 1.1? [21:04] fullermd,dysinger: yep, that makes sense [21:04] fullermd you used the word impedance again :) [21:04] * fullermd nods. [21:04] Well, I considered using admittance instead ;) [21:05] * jelmer has a some idea of what it means now :-) [21:05] foss development is really good for my foreign language skills [21:05] Luckily, I have a pi-network tuner right here at my elbow to resolve such mismatches :p [21:05] moin [21:05] So about that svn password - is there something I can stash in .bazaar/subversion.conf or something? [21:06] hey lifeless [21:06] dysinger: If you force svn to authenticate once, it will cache the password [21:07] hmm [21:07] see the bzr-svn FAQ for details [21:07] ok [21:07] It's asking me for a password everytime [21:23] FAQ! it doesn't work jelmer svn info https://dysinger@xyz.com/svn works without password but then I immediately get asked for my password when doing bzr update [21:23] svn password is cached [21:23] bzr still asks everytime [21:23] dysinger: and if you don't specify a username to svn? [21:24] svn info works fine either way with no password [21:25] Does bzr still produce an error if you try to do something with an http:// URL that requires auth but you don't specify a username? [21:25] maybe it's because I checked out the branch with bzr using the username:password@ notation [21:27] dysinger: try bzr bind bettersvnurl [21:27] dysinger: right, but if you specify a username to svn (using the username@ notation) it may not do any caching [21:27] ok I'll try it again [21:28] dysinger: that will update the url bzr has remembered [21:28] bzr.dev seems to take an awfully long time to pull [21:29] jml: Lots of history. [21:29] Try a checkout with --lightweight instead if you're not interested in editing the source so much as simply get the latest source. [21:29] that only works if you are always connected if I am correct [21:30] dysinger: Sure, but if you're not interested in using it for development work and only as a way to check out the latest source, you'd need to be connected anyway. [21:30] rjek: I mean, pulling from my month-old copy [21:30] oh sorry I was thinking of my repo - not bzr.dev [21:31] jml: is your copy in knits or packs? [21:31] lifeless lol oops I already deleted my repo to start over. dogh! [21:32] dysinger: heh, why delete the repo ? [21:33] dato: format is 'dirstate', I guess that means knits [21:33] Thanks to OS X I can time-machine back an hour ago and grab it. [21:33] dysinger: at most delete the branch; repositories have no configuration, only raw data, so for things like cached password etc the repository is never at fault [21:33] gatcha [21:33] jml: 'bzr upgrade' [21:33] lifeless: doing so now :) [21:33] bzr upgrade --pack-0.92 to be really sure [21:34] (in the rare case his copy didn't have packs-as-default) [21:34] why do people say knits when bzr says dirstate? [21:34] time machine is so awesome [21:34] restore -> click [21:34] * dato thinks that part of bzr is messy, messy. [21:35] jml: if you know the difference between brach, repository, and working tree, because dirstate is a working tree format and knits a repository format [21:35] sweet [21:35] hpss call w/body: 'Repository.stream_revisions_chunked', 'home/robertc/bzr.dev/' ('pqm@pqm.ubuntu.com-2'...) [21:35] 172 bytes [21:36] dato: interesting. running bzr info in the top dir of a shared repository said the format was dirstate [21:36] down from > 1 MB [21:37] dato: I'm surprised that has anything to do with working trees [21:37] jml: see bug kthxbye [21:41] Grrr - when I do svn info http://url.com/svn it works fine. We I try to bind my checkout to it it fails : Duece:trunk tim$ b bind https://url.com/svn/trunk [21:41] bzr: ERROR: Invalid http response for https://url.com/svn/trunk/.bzr/branch-format: Unable to handle http code 401: Authorization Required [21:43] dysinger: try svn+https [21:43] k [21:43] or is it https+svn; svn first I think [21:43] yes [21:44] (svn+) [21:46] does it work ? [21:46] no [21:46] jelmer: ^ ? [21:46] I went into /tmp & created a new fresh repo & tried to checkout [21:47] first I did an svn info https://url.... [21:47] then bzr checkout https://url <- fails [21:47] bzr checkout svn+https://url <- fails the same [21:47] that's why I added the username:password in the url last night. [21:48] I get bzr: ERROR: Permission denied: ".": PROPFIND request failed on '..... everytime [21:50] I don't know enough about bzr-svn to answer this sorry [21:50] Sorry, I don't know eithr [21:51] Subversion 1.5 and bzr-svn 0.4.6 should allow bzr to do the caching [21:51] whacked ok I am going to try one of my other accounts to see what's up [21:51] ok I am using bzr-svn stable but subversion 1.4.6 with patches [21:51] maybe I should go trunk [21:51] but the "svn info" trick has always worked for me so far [21:52] ^ trunk on subversion 1.5 [22:11] Is trunk 1.5 subversion stable enough to use for everyday dependable development work? [22:11] jelmer: % [22:12] dysinger: imho, yes [22:13] They don't have a branch for 1.5 yet so I imagine you just compile trunk [22:13] and trunk needs no patches [22:13] yep [22:17] geez trunk is way easier to compile [22:25] I bet the problem is this [22:26] I am using os x's svn client to login [22:26] but bzr is using an updated svn library [22:26] that's off to the side. [22:26] maybe that's it [22:46] abentley: ping [22:46] jelmer: uploaded [22:58] morning [22:59] igc: morning [22:59] hi [23:00] spiv: any recent changes to Launchpad that would make bzr+ssh start failing? [23:01] grr [23:01] jam ping [23:01] jam: not that I know of [23:01] plstobe bzr add not being relative to cwd [23:01] jam: I have an incremental patch I'd love instant-review on [23:02] lifeless: just a sec, phone call right now [23:02] will do after [23:02] jam: will mail it then [23:04] jam: so there are two unreviewed patches in this stack - the incremental one I just sent; and the smart server one that I rejected last night, but is actually good. [23:05] lifeless: I reviewed that a moment ago [23:06] sweet [23:06] its a change from >1.2MB -> 172 bytes :) [23:12] dato: why the "sigh" about python-all-dev? [23:15] dato: and thanks once again for uploading :-) === cfbolz is now known as zzzzz [23:18] lifeless: bb:approve [23:20] thanks [23:20] * lifeless merges all 4 [23:22] jam: its release time; could be a rollout or something has just been done [23:25] * jam => family time [23:31] Is there an install for 10.4 [23:31] Is there an install for Mac OS X 10.4 [23:33] is easy_install on Tiger ? [23:33] can you open a terminal and type `which easy_install` ? [23:33] nope [23:34] is that what the 10.5 dmg installer uses? [23:34] I think so yes [23:34] I am on leopard so I just type `sudo easy_install -U paramiko pycrypto bzr` [23:35] seams silly to only release for os os that is barely months old [23:35] an* [23:36] oh I am sure there is a way [23:36] I just don't know it. [23:36] It's just python [23:36] code [23:36] Do you have macports installed ? [23:36] thats enough to make me suspicious [23:37] I cant stand python [23:37] yeah I am updateing macports now [23:37] wow be careful [23:37] :) [23:37] why is that not going to work either? [23:37] The heresy to say python sucks in here [23:37] ih that [23:37] s/the/that's [23:38] well written by a guy who doesnt understand object dispatch [23:38] sh, down boy [23:38] Python's a perfectly fine language - I prefer ruby myself or java [23:39] first language I ever write a hate sheet on [23:39] but I suspect it might have been the first book I bought on it was rubbish and that coloured my view [23:40] ruby's ok [23:40] I just like Ruby better nowdays - java paid the bills for 10 years [23:40] wow macports updated! [23:41] this might be ok afterall [23:41] I believe git and bzr etc are in macports [23:42] ive tried mercurial, now its bzr's turn.... does it have patch queues? [23:43] does it do binary diffs? [23:44] * dysinger just came from git & now trying bzr [23:44] Ruby... furrfu. Crazy people, this internet thing has... [23:44] * awilkins is using SVK fairly actively, tried git (windows) and is liking the look of bzr so far [23:45] hey easy - I didn't say python sucks. I just said I like Ruby. :) [23:45] well Smalltalk pays my bills [23:45] keithy_: bzr will let you pass off to the diff tool of your choice [23:45] wow - they still make smalltalk ? [23:45] :) [23:45] not that sort of diff [23:45] when it stores in the revisions [23:45] Oh, well, I said python sucks :p [23:45] does it store whole files or does it store diffs? [23:46] But hey, as long as the tool works, and *I* don't have to write the language, it can be in whatever it likes. [23:46] fullermd likes ??? [23:46] Well, except Haskell. Gotta draw the line somewhere. [23:47] keithy_: its stores both full files and diffs [23:47] I dunno. I don't actually have a language I'm agog about these days. [23:47] keithy_: but chooses between them to balance time and space at each commit [23:47] so if I have a 50Mb file in 4 versions [23:47] I am not a fan of any language I can't read - haskell, erlang, scala etc all have totally bizarre syntax. [23:48] I like C, but it's so much manual bookkeeping. I spend my days writing PHP and it's not bad, except for the big gaping suckages. I like perl, but it irritates me in a lot of ways... [23:48] keithy_: in 1.0 or 1.1 you'll end up with 50MB gzipped + space proportional to the difference in the files, split on \n and represented as line deltas [23:48] But hey, perl 6 will cure everything. And it's right around the corner. No, really, this time for sure. [23:49] but binary fiels dont have lines [23:49] keithy_: they have \n in ~1/256 characters [23:49] keithy_: which is enough for the storage layer. [23:50] hmm not sure if it would work on a smalltlak image, can I change the split character [23:50] keithy_: but its not as efficient as something that looks for common sequences of bytes rather than fooo\n's. We know this is an issue and are looking at a new compressor in a couple of months time [23:50] keithy_: no, you can't, but it will work - it round trips losslessly; the worst case is you end up with 200MB of storage. [23:50] k [23:50] keithy_: (and which we will be addressing by 1.4 anyhow :)) [23:51] folk version iso's :) [23:54] keithy_: you could also use the fuse interface someone was working on to the squeak code and version that in bzr; I suspect we'd need a little work to work on the fuse tree (we need os locks which you wouldn't really have, for a couple of files), but the fuse tree could back that part to local disk; :) [23:54] wow you know about that fuse interface! [23:55] interesting idea [23:56] it wouldn't get object state; but personally I like file-in imageless based smalltalks :) [23:57] I used to use st/x myself [23:57] and that did cvs versioning of classes [23:57] bbiab