[00:02] luke-jr: yes, use bzr:file-ids as revprop [00:02] luke-jr: and set that on a revision in which the file was introduced [00:03] luke-jr: alternatively, "bzr reconcile" might do what you want [00:14] jelmer: another problem that I just thought of... :/ [00:15] somehow I'll need to rebase the merged branches :\ [00:15] I suspect I'm going to want to introduce 2 new revs for each original bzr rev [00:15] a rebased one and a merge of the rebased one and the original one [00:16] or perhaps I can have the rebased one list the original one as a parent... hmm [00:34] jelmer: I can't find that mapping spec [00:36] luke-jr: specs/mappingv4.txt [00:40] ah [00:40] README had referred to some weird path :( [00:51] bzr:file-ids revprop doesn't seem to do anything :( [00:51] nor bzr:skip :/ [00:56] luke-jr: have you erased the cache ? [00:56] luke-jr: also, have you set other bzr: revprops? [00:58] yes; not yet [00:58] bzr:skip looks to just be poorly documented [00:58] I expected to be able to set it on svn-r1 and get bzr to skip over that rev [01:01] luke-jr: this is a design document, not a document aimed at users so they can set their own revision properties [01:01] anyhow, bzr:file-ids still seems to be ignored [01:01] do I need to set other properties to make it take effect? (perhaps bzr:mapping-version?) [01:01] luke-jr: bzr:skip only means bzr-svn can avoid checking any other bzr-svn metadata for that revision [01:02] luke-jr: yes, you need to set more than just bzr:file-ids [01:02] luke-jr: at least bzr:mapping-version and bzr:root IIRC [01:03] what should they be? [01:04] the real repo has no bzr:mapping-version at least. :/ [01:04] luke-jr: I would recommend running "bzr reconcile" and checking what that sets [03:00] bzr nested trees rock way better than git subtree merge =) [03:02] I now do $ bzr merge svn://svn.server.org/path/to/external [03:02] and get everything i want =)! in the correct subdir of my project ;-) [03:06] xnox: I was under them impression that nested trees hadn't landed. Am I confused or are you working off a dev branch? [03:06] jbowtie, by reference nested trees are not here yet. [03:07] jbowtie, but you can do this $ bzr branch URL subdir/ [03:07] $ bzr join subdir [03:07] $ bzr ci -m "Merging external code from any URL" [03:07] and from now on you can do [03:07] $ bzr merge URL [03:07] to update the code [03:08] but this makes history of that subdir part of your history [03:08] join & split have landed in bzr a while ago [03:08] xnox: Oh, OK. I'd never seen the join/split commands before, must read release notes more in future. [03:09] xnox: That gives me the benefits of svn:externals under Bazaar, right? [03:09] jbowtie, when we have by reference trees you will be able to have stuff like externals where that code is almost not part of your history & has independed branch on it's own. [03:09] jbowtie, almost =) [03:10] xnox: Almost is good enough for most of my scenarios. [03:10] jbowtie, yes almost good =) [03:11] if you want to work & submit patches to that external you are better off branching it on it's own, then try to commit stuff in your containing project [03:11] "then" = "than" [03:12] OK, my TFS plugin seems to be working well enough for read-only access to TFS repositories. (Microsoft Team Foundation Server) [03:13] Just need my manager to sign off on my pushing it to Launchpad. [03:15] xnox: Does pull update the joined directory, or do you have to explicitly merge? [03:15] jbowtie, you have to do merge [03:16] jbowtie, cause history has diverged from both places. [03:16] jbowtie, with by-reference nested trees you will be able to just pull [03:16] jbowtie, but we don't have that yet =) [03:17] jbowtie, I have svn import running of 2 projects on launchpad. With one having svn:external to the other [03:17] jbowtie, to update to latest code after the intial $ bzr join [03:17] I have to do $ bzr merge URL-super [03:17] $ bzr merge URL-external [03:18] then I have locally everything tip-top [03:20] xnox: Thanks, that makes everything clear. Will definitely start using join for a couple of projects. [03:20] jbowtie, your welcome =) I should blog about it ;-) [03:23] Hmmm...how do you provide tests for something that talks to a proprietary foreign VCS? [03:30] jbowtie, depends on which one.... =) but generally it is bzr protocol tests. And you right a test stub using bzr-test framework which does the intended behaviour. (documented, speced) etc... such that it can be run automated without having access to that VCS [03:38] xnox: Tricky. But just realised I can capture HTTP output and replay that during tests for the actual "talk to a VCS" class. [03:38] =) nice [03:39] which VCS are you working on? or is it top-secret? [03:39] Microsoft Team Foundation Server. [03:39] there have been issues with bitkeeper...... [03:39] No secret, just ugly, ugly code. [03:39] jbowtie, aha =) that beast. [03:40] are you switching to bzr from that? [03:40] xnox: Yes, getting my team to, anyway. I can checkout and pull updates from TFS now. [03:41] jbowtie, publish code on lp. I'm pretty sure loads of people will find it useful [03:41] xnox: Pushing updates to TFS is possible but needs a bit more work so that round-tripping is a bit more solid. [03:41] jbowtie, is there bzr plugin for VS? [03:42] xnox: Just waiting for manager to sign off on publishing to Launchpad. [03:42] xnox: Not that I know of but project in question is using Eclipse anyway. [03:42] jbowtie, aha =) https://edge.launchpad.net/bzr-visualstudio [03:42] it's for 2005 though [03:43] xnox: Once I've published the TFS work I'll have a look at updating that. [03:44] I want to update the plugin developer's guide with info on writing a VCS plugin, but can't find it in launchpad. [03:47] Probably I'll just end up blogging it. [04:01] hi, bzr 2.1.1 on windows doesn't print any messages in any command. Does anybody know why? [04:04] For example, when I do "bzr pull", the message "Using saved parent location..." is not printed; when I do "bzr pack", the message "repacking..." is not printed [04:05] and bazaar.conf does not have likely related setting [04:05] echo-area: That's not what I'm seeing (just checked) [04:05] echo-area: Does bzr --version print anything? === timchen1` is now known as nasloc__ [04:12] jbowtie: um, my description was a bit wrong. Something is printed, but the other information is not. "bzr --version" indeed prints version information. But for "bzr pull", only the list of changes is printed, the information like "Using saved parent location..." and about the fetching progress is not printed. For "bzr pack", nothing is printed [04:15] and I remembered when I used bzr 2.1.0, that information was printed [04:15] echo-area: AFIAK that hasn't changed in 2.1.1 - certainly the saved parent thing is happening on my Windows box. [04:16] echo-area: Does a "bzr info" show that there is a saved parent? [04:17] echo-area: Don't forget, you can always use the verbose switch (-v), might mention something useful. [04:18] jbowtie: I tried "bzr pack -v", but still, nothing is printed. It's so strange [04:18] echo-area: The only thing that springs to mind is that one of your streams (stdout, stderr) is being redirected somehow. [04:19] echo-area: I've had that happen to me once or twice, where stuff printed to stderr got captured by a debug utility. [04:19] jbowtie: I guess so, but how come a plain "bzr pack -v" redirects? [04:21] echo-area: No idea, and that's just a guess anyhow. Are you using PowerShell by any chance, or the standard command shell? [04:22] jbowtie: I'm using C:\WINDOWS\system32\cmd.exe. [04:23] echo-area: Hmm. Maybe bzr pack has nothing to do? [04:25] jbowtie: I don't know, but I guess not, since every time I run "bzr pack" on a Linux box, there is information printed. But this is not a problem until now, so I think I can live with that [04:28] echo-area: OK. Let us know if you have any other issues, I can at least run a quick test on another Windows box for comparison. [04:29] Hi. Can I pull from branches other than master with bzr-git? [04:30] jbowtie: okay, thank you :) [04:31] I tried 'bzr git-import' which gives me a tree, but then I can't push/pull after that. [04:44] dcoles: Are you trying to merge the changes from the other branch into yours, or switch to using it as your parent branch? [04:46] jbowtie: Ideally, I just want to check it out to work on it and then be able to push changes to that branch [04:47] Trouble I'm having is I can't think how to provide the branch in the git+ssh url [04:48] hm [04:51] dcoles: I'm not a git user; but looking at the documentation for bzr-git that might not be possible. [04:51] dcoles: Could you clone the git branch into another location, the use bzr to check that out? [04:52] Yeah. I was worried about that. I even went to the extent of browsing the bzr-git sourcecode [04:53] jbowtie: That might be the way of doing it. Just make sure you "checkout" the right git branch [04:54] I'm not a git user either, but learning _far_ too much about it looking after a project's git repository ;) [04:55] bzr-git currently can only interact with the master branch in a git repo aiui [04:56] mwhudson: Righto. That makes sense. [05:39] Is Bazaar 2.x packaged anywhere for RHEL? [05:39] jbowtie: http://wiki.bazaar.canonical.com/DistroDownloads#CentOS/RHEL perhaps? [05:40] Looks like it should already be in yum. [05:40] dcoles: That only has 1.3.1 - pretty old [05:41] Ah. That's a shame. :S [05:52] And of course gcc is not installed on the RHEL box I want to install it on. [05:56] I saw some rumors about it being included in RHEL6, but who knows when that is coming out [05:57] One might assume it might be possible to nab from Fedora, but who knows what kind of dependancies that would try and drag with it. [06:00] dcoles: There's always the long way - spin up a CentOS image, install gcc, build the RPM, scp to the server, install. Bleh. [06:00] Yuck. At least bzr is a reasonably nice package to build [06:01] Hopefully one of the lurkers will feel guilty enough to update the yum repository. [06:02] * jbowtie looks around for anyone with a guilty look. [06:02] jbowtie: I tried the "git clone x, git checkout branch; bzr branch x y" method. It works. But you have to do a 'git reset --hard' after you dpush back. [06:03] And using bzr in the git repo seems to crash bzr when I try and commit (not sure if that's a legal use of bzr or not) [06:03] dcoles: Important thing is that you are not stuck, glad I could help with that much. [06:04] :) [06:04] I could always just use git.... blehgh [06:04] dcoles: I'll keep an eye on the Bazaar blueprints during UDS, maybe we can get someone to do something about that. [06:05] Well, I think the current block was "colocated branches" [06:06] dcoles: Personally I'll probably work on cleaning up the documentation, it's getting a little hard to find details I need. [06:06] But even just being able to do bzr co git+ssh://example.com/repo#branch would be quite nice. [06:07] Indeed. I've been pestering jelmer about a lot of the bzr-git stuff. [06:07] There's also quite a few references to bzr-git being "read only", despite having dpush now. [06:09] I'd love to sit down and hack on the plugin one afternoon. It's really neat except for one or two little bugbears. [06:17] dcoles: It's not like you need commit access. ;) [06:18] Whoops, gotta go, have a train to catch. [06:19] Cya [06:19] Whoops. Too late. [07:45] hi all [08:29] hi all [08:29] how come, that in my working copy I get the latest revision when doing bzr log [08:29] and when I go the parent branch, [08:29] then it shows a couple of revisions back? [08:30] (sorry for using CRLF as punctuation) [08:34] sivang, ? what does `bzr status` show in both directories? [08:34] and what is bzr info in both of them [08:58] xnox: let me check [10:22] xnox: in one dir, a bunch of unknowns [10:25] xnox: in the other : [10:25] :~/ccforms_renamed$ bzr status [10:25] bzr: ERROR: No WorkingTree exists for "file:///home/sivan/ccforms_renamed/.bzr/checkout/". [10:26] sivang, so looks ok to me. Depending on what you are trying to do [10:26] and what type of checkout you use [10:27] sivang, if you do `bzr info` in both of them it should tell you what are the relationships, if any, between those two branches [10:27] xnox: so the one that does now show all the revision in log, is the push target of the working copy [10:28] I wouldn't assume he's using [explicit] checkouts at all. It just sounds like he's got two branches that are at different places, which is... well, normal. [10:28] xnox: how can I make it show all the revision, since when I check out from it or bracnh, it doesn't get revision up to the last one [10:28] Why do you think they SHOULD have the same revs? [10:28] fullermd: I use the push target is the parent branch or repo [10:28] fullermd: or am I not? [10:28] Sure, but did you push them? [10:28] 'missing' is also your friend here. [10:28] sivang, what do you mean by "working copy" - checkout, lightweight checkout, or branch? [10:29] xnox: okay, so I see bzr lingo thickens the plot a bit [10:29] xnox: I init'd a a dir [10:29] xnox: commited into it [10:29] xnox: and then pushed to a "backup" location [10:30] oops [10:30] forgot to push [10:30] geez [10:30] now it is synced [10:30] sivang, =) [10:30] * sivang turns to be the lolipop figure in Bugs Bunny film [10:31] xnox: so, is there a book ? an oreilly book already so learn all things bzr from start to finish ? [10:31] * sivang googles for the difference between a checkout, lw checkout and bracnh [10:31] there's is no repo notion right? [10:31] (like in svn) [10:32] sivang, http://doc.bazaar.canonical.com/bzr.2.1/en/ [10:32] but still, if I have a parent branch [10:32] sivang, yes there is but a lot different from svn [10:32] parent branch: /home/sivan/ccforms_renamed [10:32] sivang, do this [10:32] xnox: I remember lifeless talking lots about the difference [10:32] in a temporary location [10:32] $ bzr init-repo . [10:32] $ bzr info [10:33] * sivang tries [10:33] $ bzr init branch-a [10:33] shared repo with trees? what does that mean? [10:33] $ cd branch-a && bzr ci --unchanged -m "my first commit" [10:33] $ cd ../ [10:34] $ bzr checkout branch-a branch-b [10:34] $ bzr info branch-b [10:34] $ cd branch-a [10:34] $ bzr ci --unchanged -m "checkout branch-b should be out-of date now" [10:34] $ bzr info branch-b [10:34] $ bzr status branch-b [10:35] Checkout of a branch is similar to svn, where commits in the checkout will end up in the branch [10:35] xnox: okay, so what I was looking actually instead of just a branch, is to creat e a repo and so commits will work against it? [10:36] xnox: I wanted commits from the local machine, and from another remote machine to end up in the same source tree [10:36] xnox: with revisions and everything [10:36] xnox: so I can either work on my desktop or from the remote server transparently [10:37] sivang, that would be dangerous cause you might override working tree on the server & desktop [10:37] sivang, what you should do is this [10:37] xnox: I want to have a working tree at a seperate location [10:37] 1) create a branch on the sever [10:37] xnox: just a "shared repo" is that the right term? [10:38] sivang, repo is where the revisions are stored but repo still has to have branches in it so that there is a *named* location to push to. [10:38] So on the server create a repo & branch underneath it [10:38] when you are on the desktop do $ bzr checkout $URL-branch-on-server [10:39] when you are on the server do $ bzr checkout /path/to/branch/on/server [10:39] Always commit to checkouts *of* the branch on server [10:39] this way whenever you make or update a checkout you will get latest code from your "central" branch [10:40] sivang, http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/central_intro.html [10:42] xnox: I see, but when commiting to a checkout that means commiting to the .bzr inside the workign copy [10:42] xnox: how do I get those updates to the parent branch in the central repo ? [10:42] sivang, no it will commit on the server [10:42] xnox: ok, I will dio some reading :) [10:42] sivang, if you look into the .bzr dir inside you will notice it has three major folders: [10:43] xnox: bzr got some feature rich since last time I used it for hubackup [10:43] repository, branch, checkout [10:43] yes [10:43] even when I jsut init a dir, [10:43] in the repository it stores raw bytes, in the branch it stores references as to which revision this branch points at and in checkout it stores the current status of the working tree [10:43] which means I created a new branch right? [10:43] when you do $ bzr init it creates all three [10:44] when you do $ bzr init-repo DIR [10:44] it will create $ DIR/.bzr/repository [10:44] such that all branches underneath $ DIR store there bytes together & efficiently sharing them [10:44] when you do $ bzr checkout $URL [10:45] the docs are nice muchly improved [10:45] xnox: I create a mirror of the branch ? [10:45] so to speak [10:46] it will place bytes in a shared-repo if present, and then create a working directly (checkout) with no separate branch. Intead it will put reference "saying when I commit in this working tree, take my local bytes but commit in the target branch" [10:46] ah [10:46] cool, so like a mirror [10:46] yes [10:46] xnox: thanks dude [10:46] sivang, furthermore you can have lightweight-checkouts [10:46] xnox: which are? [10:47] those do not have their own repository and are usefull when you are working with large repositories [10:47] Don't get hung up on the difference between light and heavy checkouts... [10:47] do the significance of a repo is just to share bytes? [10:47] Heavies make a local cache of the revs; lights don't. [10:47] then you will have a tree-less repository such that all branches do not have working tree in them (cause it's a 100MiB big) [10:47] right , so for large repos heavy are better [10:47] You probably only want to use a light checkout when the branch is on the local disk, or possibly close by on a very fast network. [10:48] and you will have one lightweight checkout which just represents a working-tree attached to a particular branch. And then you can do $ bzr switch [10:48] fullermd: right, so when I work on the server, light-checkout [10:48] to jump from one branch to another [10:48] fullermd: on the desktop at home, heavy [10:48] sivang, yes repo is to share bytes [10:48] xnox: this is different from svn so deeply [10:48] xnox: a repo is a dir mostly there :) [10:49] sivang, locally. Two repositories with bytes never will mirror each other. You can only push branches around which will take the bytes with them & put their bytes in the repos [10:50] xnox: so when I init'd the local folder I worked on, and then pushed it to my backup location, what was the relationsip and what happened between them? [10:50] sivang, you got heavy & light right [10:50] sivang, you have (branch & repo & checkout) <-----> (branch & repo) [10:51] unless you did $ bzr co /path/to/branch on the server [10:51] xnox: so due to the face that there was no relationship between them, just a push target, revision did not automatically got updated at the push target [10:51] then you have (branch & repo & checkout) <-----------> (branch & repo & checkout) [10:51] sivang, "not automatically" on commit on either of them [10:51] xnox: what causes the automatic update relationship to occur ? [10:52] Thinking of automatic vs. non-auto is likely to wind up more confusing. [10:52] When you make a commit, it goes onto the branch you're working on. So the question is always, what branch am I working on? [10:52] (repo & checkout ) <------------> (branch & repo) <-----------------> (repo & checkout) [10:52] If you have a checkout, the branch is the thing you `bzr co $THING`'d. [10:53] If you did a `bzr branch $THING`, your local dir is its own branch. [10:53] fullermd: right, okay it starts to be clearer now [10:53] fullermd, yeap nice explaination [10:53] 'push' and 'pull' are commands you use to move existing revs from one branch to another. [10:53] fullermd: nice, so back to DRCS [10:53] * xnox says what's DRCS? [10:54] Distributed revisionc ontrol [10:54] the co and repo is the bzr support for centreal rc [10:54] no ? [10:54] That's one way of thinking about it... [10:54] Better, though, to think of it Branch-centric. [10:54] and working with branches is good'o distributed, when you have a merge action between them [10:55] sivang, yeap. If you have one branch on the server and you have multiple checkouts it's like having svn server & checkouts [10:55] Using co is a way to get multiple working trees all on a single branch. [10:55] cool [10:55] thank yo guys! [10:55] Are you with Canonical btw? [10:55] * xnox no [10:55] Which is similar to what you do with a centralized system. But thinking of it around branches probably keeps things straighter. [10:55] You may want to peruse some of the stuff at http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs [10:56] http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs/PiecesInBrief particularly for some background vocabulary, and http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs/RevHandling for some talk about push/pull/etc. [10:58] fullermd: thanks, irssi logged it and I shall read it! [10:58] now , off to lunch. [12:02] Which Launchpad project do I need to contribute to the documentation? [12:04] documentation of bzr? [12:04] ok [12:05] jbowtie: documentation of bzr? [12:05] Yes, documentation of Bazaar. I want to clean up a few of the less maintained corners. [12:05] Those empty sections in the admin guide also bug the heck out of me. [12:08] is there a way to make 'bzr commit' not throw an error if there's nothing to commit, without allowing it to commit an empty revision? [12:09] jbowtie: There's a bzr-doc team with a mailing list, but it's just handled through the normal bzr project. [12:09] we spent the weekend converting from CVS, and we were taking advantage of the fact that cvs will gladly do nothing when nothing has changed in a bunch of our automated scripts [12:09] jbowtie: File bugs, file merge proposals, whatever. [12:09] faceprint: Ahh... That's a pretty obscure request, and I doubt bzr has a knob somewhere to do it. [12:10] Peng_: Sorry, are you saying the docs are somewhere in the bzr source tree? [12:10] jbowtie: Yes. [12:10] faceprint: I'm not sure I understand what you're asking for? [12:10] jbowtie: Not, like, the wiki, but most of the documentation is. [12:10] faceprint: --unchanged is not what you're after? [12:10] jelmer: I think what he's after is that he wants the exit code to be 0 even if nothing has changed. [12:11] faceprint: Probably not hard to write some Python to accomplish that, but... [12:12] jelmer: i have scripts that grab the latest versions of certain files, or re-compute certain files (yes, this is kind of an abuse of version control, but it's what we have), and then commit them if there are changes. We had been just running cvs commit after generating the new version, and if there were changes they got committed. If the files ended up identical, everything just exited silently [12:12] if I use --unchanged, I'm going to add another 10 or so revisions to my repository every morning with empty commits [12:12] Peng_: OK, I see the admin guide, but not the plugin developer's guide. [12:14] faceprint: you could do some scripting to find out if there are any changes to commit [12:15] yeah, I started down that path, and realized that bzr stat doesn't seem use return codes at all, so I'm actually going to have to look at its output [12:15] it isn't a huge deal, and honestly if this is the only hiccup in this transition, i'm a very happy guy (knock on wood) [12:16] Peng_: That can't be everything. The migration guides for users of other VCS, plugin docs, plugin developer guide - none of that's in the bzr tree. [12:16] faceprint, $ bzr commit returns exit code 3 when there is nothing to commit [12:16] e.g. pointless commit [12:16] And why is there a project called bzr-alldocs that doesn't contain all docs? [12:16] xnox: which doesn't help me in deciding whether to run bzr commit or not ;-) [12:17] faceprint, just run it and catch and check that exit code. Or is there someother logic apart from "when changes -> commit; when no changes -> do not commit" [12:17] jbowtie: bzr-alldocs is for bazaar.canonical.org website [12:18] really, I'm just trying to avoid cron email from all these scripts, but don't want to send stderr to /dev/null in case something actually IS wrong [12:18] faceprint, ok another one $ bzr diff exits 0 if there is no diff, exits with 1 if there is diff and hence there are changes [12:18] faceprint, is this better? [12:19] ah, that'll work. don't know why I didn't think of diff earlier [12:19] bialix: OK, so documentation is split up across multiple sites? [12:20] No wonder the docs are such a mess. [12:20] jbowtie: which kind of documentation? [12:20] faceprint, if you generate new files you will need to somehow add them to the tree though [12:20] jbowtie: if you can do better, please do [12:20] luckily these are just existing-file changes i'm concerned with [12:20] thanks for your help! [12:20] jbowtie, all documentation is linked from bazaar.canonical.com. There a few small about developing bzr inself in the bzr source tree. [12:20] jbowtie: part of documentation is auto-generated from online help (bzr help xxx) [12:21] back [12:22] xnox: I think that's where I'm getting confused. [12:23] I see 14 categories on the Documentation Table of Contents. [12:23] jbowtie, go there click documentation and that's the full maintained, canonical location for all documentation. [12:23] I see 8 categories in the bzr source tree. [12:23] So where are the other 6 categories sourced from? [12:24] jbowtie, from the doc-strings within the codebase inside bzrlib/ [12:24] in each command / function [12:24] jbowtie: are we talking about http://doc.bazaar.canonical.com/bzr.2.1/en/ ? [12:24] bialix: Yes. [12:25] jbowtie, well FAQ & BzrGlossary are just links to random pages online and are not real docs [12:25] If I want to correct something in both the "System Admin Guide" and the "Developer Docs", where do I go to edit that? [12:25] jbowtie: Core documentation coming from bzr sources [12:25] Related links from other places [12:26] jbowtie: core docs coming from bzr_tree/doc/end [12:26] jbowtie: core docs coming from bzr_tree/doc/en [12:26] sorry [12:26] jbowtie: Ooh! I thought there was a project, but I couldn't find it when I checked. [12:26] bialix: OK, so the "System Admin Guide" is in the bzr tree, since it's in the core section. [12:27] jbowtie: correct [12:27] doc/en/admin-guide [12:27] bialix: But how do I track down the 6 "Related Links" projects? Or are they not in Launchpad anywhere? [12:27] http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/files/head%3A/doc/en/ [12:28] jbowtie: look at the links [12:28] xnox & faceprint: 'bzr diff' doesn't show executable bit changes, so it might not include them in the exit code either... [12:28] jbowtie: Desktop Guide coming from Bazaar Explorer [12:28] FAQ is launchpad page [12:28] Glossary is wiki page [12:28] Developer Docs again from bzr tree [12:29] bialix: Wait, what? Where are the Developer Docs? [12:29] wanna screenshot? [12:30] here is http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/files/head%3A/doc/developers/ [12:30] * bialix is not sure where from coming migration and plugins guide [12:30] igc is our docs master, but he's offline this week [12:30] bialix: Well, that's somewhat more helpful. [12:31] you can send the question to the ML though [12:31] maybe jam knows [12:31] bialix: But of course the Plugins Guide was the one I had a big patch for since I just wrote a plugin. [12:31] (... or poolie) [12:32] bialix, bzr/doc/en/upgrade-guide$ for the migration guide [12:32] xnox: thx [12:33] jbowtie: here is plugin guide sources http://bazaar.launchpad.net/~bzr/bzr-alldocs/trunk/files/head%3A/plugins/en/ [12:33] xnox: That isn't right, the Survival Guide doesn't exist at all in that location. [12:33] 4 ./doc/en/user-guide/plugins.txt [12:33] 4 ./doc/en/user-guide/writing_a_plugin.txt [12:34] I guess other docs need to look in the alldocs first [12:34] My links are *from* the bzr tree [12:34] so which once are we still missing? [12:34] bialix: Umm. OK. So "alldocs" only has the Plugin Guide? [12:35] so far I have found everything in the tree [12:35] jbowtie, Plugin Guide is in the just *bzr* tree [12:35] xnox: is not true [12:35] xnox: http://bazaar.launchpad.net/%7Ebzr/bzr-alldocs/trunk/annotate/head%3A/plugins/en/plugin-development.txt [12:36] xnox: Part of the problem is that not all the docs are in the tree. [12:36] xnox: Otherwise I would be less confused. I hope. :) [12:36] xnox: There is some double-up of coverage. [12:36] jbowtie: will be nice if you collect this info on the wiki.bazaar.cacnonical.com, if you don't mind [12:37] bialix: Will do; am logging this and will update the wiki in the morning (very late night in my time zone). [12:38] jbowtie: cool, thanks [12:38] bialix: So if I track down the source for the "Migration Guide" - especially the "Survival Guide" subsection, we'll know where everything is. [12:38] * bialix nods [12:42] bialix, xnox: Thank you both very much, kept me from giving up on contributing documentation. [12:42] jbowtie, i've never seen Survival Guide ever before [12:42] WTF =) this needs fixed [12:42] xnox: You probably didn't need it. :P [12:44] All right, I'm off to bed, will update the wiki in the local morning hopefully to be followed by merge requests. [12:46] there is this page as well http://bazaar.launchpad.net/~ian-clatworthy/bzr-explorer-website/trunk/files/head:/en === mrevell is now known as mrevell-lunch === nlisgo_ is now known as nlisgo === mrevell-lunch is now known as mrevell [13:27] Does bazaar support this: i have 2 folders, one contains patches to an upstream, the 2nd contains the upstream, bazaar should automatically apply the patches every time the upstream folder gets synced with the upstream [13:28] tetsuo--, create third dir use $ bzr patch patch1 patch2 patch3 [13:28] can that be automated like with git? [13:29] tetsuo--, merge this with your "2nd dir contains the upstream" [13:29] and then in that dir do $ bzr merge upstream [13:29] tetsuo--, are you asking for topgit functionality or quilt like or what? =) what do you mean "like git"? [13:30] generally even in git you apply patches on e.g. master, you upstream gets fetched into origin/master. And then you have master tracking origin/master which gets autopulled. [13:30] i have never done it, but i have been told that in GIT you can merge upstreams into the "2nd folder" and GIT will automatically use the upstream and downstream changelog to merge in all the patches from the first dir [13:32] tetsuo--, well you want the pipeline plugin! [13:32] you will do $ bzr co --light upstream pipeline [13:33] $ cd pipeline [13:33] $ bzr add-pipe patch1 [13:33] $ bzr patch patch1 [13:33] $ bzr ci [13:33] $ bzr add pipe patch2 [13:33] rince repeat [13:33] then you do $ bzr switch :first [13:33] then you fetch upstream by pulling [13:33] and to apply all patches you do [13:34] $ bzr pump [13:34] tetsuo--, launchpad.net/bzr-pipeline [13:34] and there is wiki link from there [13:35] ill read that [13:42] i should have asked my question differently [13:42] how can i easily and simply maintain a local fork of an upstream project [13:43] its a fork because i have custom patches that dont make any sense to upstream [13:43] tetsuo--, aha then you simply $ bzr branch $UPSTREAM [13:43] commit your patches as regular commits [13:44] and then everytime you want to sync with upstream you do $ bzr merge $UPSTREAM [13:44] where $UPSTREAM can be git/hg/svn/local branches [13:44] where $UPSTREAM can be git/hg/svn/local branches/ and ofcourse bzr [13:45] If there are conflicts it will show you which files are conflicting [13:45] nice [13:45] so it will only complain if things break [13:46] If there are no conflicts you can just commit to record this merge. [13:46] Or you can tweak it further etc. do whatever you like [13:46] =) [13:46] ok [13:46] tetsuo--, any any point at time you can see which commits were yours and which are from upstream using $ bzr missing [13:46] and $ bzr annotate [13:46] the reason it needs to be simple and easy is because the people who do this are not programmers themselves [13:47] will tell you line by line who committed what in the file so you can see whether it was you who done it [13:47] ok so i dont need to keep the patches seperately after the first merge? [13:47] tetsuo--, no [13:47] (please note i dont use bazaar right now, we use svn) [13:47] you will have just one branch [13:47] ok [13:47] tetsuo--, which platform are you on [13:48] cause there is torgotaiseBzr (or whatever it is) for windows and on other platforms we have plugins as well so that it's all point & click [13:48] windows [13:49] tetsuo--, create branch. Commit patches. Push that branch to everyone who needs it. [13:49] Install https://edge.launchpad.net/tortoisebzr [13:49] tetsuo--: Are you Japanese? [13:50] tetsuo--, and then they will be able to point & click to get new updates [13:50] and will be told if there are conflicts [13:50] tetsuo--: FYI, There is a Japanese ML http://groups.google.co.jp/group/bazaar-ja [13:52] I'm not good at English. If you too, we can talk in Japanese at the ML. [13:53] naoki^: no im dutch [13:54] xnox: how about outdated stuff, like files that are removed upstream [13:54] will they be removed downstream too? [13:55] tetsuo--, yeap [13:55] and if that particular file contains one of my patches it will throw a conflict? [13:55] tetsuo--, no it will get deleted [13:55] oh noes! [13:55] tetsuo--, but not that soon [13:56] tetsuo--, after you merge you will see the changes [13:56] what's going on eg. added files, deleted files, conflicted files [13:56] do deleted files keep their history in bazaar? [13:56] if you are happy with the result you commit it [13:56] tetsuo--, yes [13:56] tetsuo--, you can reincornate any file from any revision without hitting the network on your local machine [13:57] sometimes code is refactored, and the file moves froom foo.cpp to fooa.cpp and foob.cpp, will my patch move to the right file? [13:57] tetsuo--, you just do $ bzr revert -rNN (for whole tree) or you can maintain a delete file like thie $ bzr revert -rNN path/to/file [13:58] tetsuo--, yes the patch becomes history. Bzr looks at your history & at the upstream history. So when upstream moves a file, your files is moved/copied with patched lines still applied [13:58] so if upstream renames file then it your patched file will travel with it. [13:59] tetsuo--, go to terminal create 2 branches and experiment with a sample. commit stuff to a branch "upstream" pull into your "local" branch apply some patches [13:59] what about > del foo.cpp , add fooa.cpp, add foob.cpp, the lines i was patches are deleted in foo.cpp and reintroduced in foob.cpp along with a bunch of new code [13:59] and experiment what happens when you do stuff on the upstream branch and merge back into "local" branch [14:00] ok [14:00] tetsuo--, try out in the terminal =) it depends on which VCS upstream is using and what bzr will decide to do [14:01] tetsuo--, personally I've been hacking with bzr on more than 100 opensource projects and none of my patches / commits have been lost in the process of merging new stuff [14:02] tetsuo--, there was a couple of times when bzr didn't realise what happened but it didn't cover it up but threw a merge conflict on me. But it was obvious for me to see what happened and why bzr couldn't merge it [14:02] ok [14:02] tetsuo--, so from that point of view. Once you commit your patches as a branch you are safe. Backup your branch with commits somewhere and you are done [14:02] i actually need some help setting this up, if you want the challenge of seeing if it breaks with my project, lol :D [14:03] tetsuo--, ping me any time you like ;-) i'm also launchpad.net/~dmitrij.ledkov for contact details [14:03] tetsuo--, generally I think you want to have a maintainer who pulls & merges new upstream. And then pushes that branch to a local repository which all of your users consume straight away [14:04] such that you have a maintained copy of software internally [14:04] i have no idea what that means :s (we use sourceforge for our code hosting) [14:06] http://sourceforge.net/apps/trac/mpc-hc/browser/trunk/src/filters/transform/MPCVideoDec/ffmpeg << this is our patched fork of http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout/trunk/src/ffmpeg/ which is a patched fork of http://git.ffmpeg.org/?p=ffmpeg;a=tree [14:07] as you can see our patches are not seperate but mixed in, and mostly undocumented in the changelog [14:08] and ffmpeg tends to refactor stuff once in a while, so files either get split up or merged all the time === radoe__ is now known as radoe [14:10] any chance of bzr client making it easier to extract the patches from that mess? [14:15] tetsuo--, yeap [14:16] xnox: any tips for my first import? [14:16] i enabled bazaar on sourceforge [14:16] and want to import the svn tree with as much history data as possible [14:17] tetsuo--, that's easy install bzr-svn plugin and just do $ bzr branch $URL_SVN [14:17] tetsuo--, but i fear that fork of fork, the original fork and the upstream do not share history [14:18] they dont [14:18] do you still need to pull updates from the "middle" fork or no? [14:18] if i can extract those patches ones i wont [14:18] once [14:18] but we are not in sync [14:18] right. [14:19] it's a toughy here =) [14:19] do you have email? [14:19] our fork is behind about 2 weeks, on the middle one, which is behind a week on the upstream [14:19] i'll play around with these branches and see what I can come-up with [14:19] thanks [14:19] i dont use email [14:19] tetsuo--, =)))) ok [14:19] do you have a sourceforge account? [14:20] tetsuo--, yes [14:21] do you prefer tickets or forum? [14:21] tetsuo--, dmitrijledkov [14:21] tetsuo--, I haven't used any =) I'll pick tickets [14:21] http://sourceforge.net/apps/trac/mpc-hc/timeline [14:22] you can add a ticket there with the results [14:30] i installed the gui [14:30] i should make a branch of the svn tree right? [14:30] i have the plugin [14:35] tetsuo--, yeap. [14:35] I got to go now. I will post on sourceforge tonight late in the evening [14:46] i get an error [14:46] Unable to import library "launchpadlib": No module named launchpadlib, Unable to load plugin u'pipeline' from u'C:/Program Files (x86)/Bazaar/plugins' [14:47] tetsuo--: did you manually install the pipeline plugin? [14:48] no [14:48] i just used the windows installer [14:50] jelmer, Bug 569934 [14:50] Launchpad bug 569934 in bzr "version-info --python doesn't match version-info" [Undecided,New] https://launchpad.net/bugs/569934 [14:50] xnox: hi Dmitrijs [14:50] tetsuo--: it's probably a bug in the windows installer in that case, I suspect [14:50] jelmer, I'm using waf which is nice python based system and for my upstream I just want to run "version-info --python" get that stream [14:50] aww :( [14:51] jelmer, and import it inside waf and get svn-* info as a nice dict to add add in all C headers =) [14:51] xnox: I don't think abusing the rio hook for that is valid [14:51] xnox: at least not without changing the hook code to be generic and indendent of rio [14:52] jelmer, well I've tried using svn-keywords and it gives me $ Id: (evoluation error) $ [14:52] my hacked up version of regular bzr-keywords does work but it erases working tree changes after $ bzr uncommit which is, well ugly & bad [14:53] jelmer, renegalising hook to regular version info which all formatters subclass? [14:53] xnox: do i need the pipleline plugin to be able to import svn into a bazaar tree? [14:54] xnox: something like that [14:54] tetsuo--: no, you don't need pipelines for that [14:54] xnox: can you file a bug about the keywords issue? [14:55] jelmer, sure [14:55] ok deleting pipelines makes it work [14:56] jelmer, BTW found out about svn-keywords yesterday even though it's been around for ages =) needs docs & blogging [14:58] should i create a shared repository? [14:59] tetsuo--: up to you, shouldn't matter for the import [14:59] ok [15:00] ok its working [15:00] xnox: I'd like it to integrate with bazaar itself better [15:00] holy moly bazaar-svn-client is fast [15:01] jelmer, hmmmm so do I need to echo "svn-keywords = "Id Rev" into ~/.bazaar/rules or no for eg. [names *] [15:02] tetsuo--, and you get whole history =) as well ;-) [15:02] toirtoisesvn only goes like 10kb/s max, the bazaar client is maxing out my download speed [15:02] bzr: ERROR: Unable to convert Subversion path trunk\src\apps\ShuttlePN31 because it contains characters invalid in Bazaar. [15:03] tetsuo--, ask jelmer about that or search on launchpad.net/bzr-svn [15:03] tetsuo--: does that path exist as a filename in your repository? [15:03] tetsuo--: where the \ is part of the name, not used as a separator? [15:04] xnox: yeah, you have to edit ~/.bazaar/rules or .bzrmeta/rules [15:04] jelmer: i dont see it in the current revision [15:04] its not on the svn afaik === xnox is now known as xnox_away [15:06] jelmer: take a look here: https://sourceforge.net/apps/trac/mpc-hc/browser/trunk/src/apps [15:07] tetsuo--: what svn URL are you trying to import? [15:08] https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc [15:22] jelmer: any luck? [15:22] tetsuo--: still in progress [15:22] ok [15:39] jelmer: what speed are you getting [15:40] tetsuo--: varies wildly [15:41] i was getting steady 600kb/s [15:43] i actually retried 3 times since giving you that link :s [15:47] tetsuo--: it imports fine here, no errors [15:47] wth [15:47] ok somethign is wrong here [15:47] i use the gui [15:48] lets try commandline [15:48] what did you use? [15:48] tetsuo--: bzr svn-import [15:48] (on the command-line) [15:49] that shouldn't really matter though.. [15:49] this is what the gui does [15:49] Run command: bzr branch https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc D:/mpc-hc/trunk --use-existing-dir [15:49] tetsuo--: that's lacking a /trunk on the end of the first url [15:49] it does this first: Run command: bzr new --shared-repository --format 2a D:/mpc-hc/trunk [15:50] retry with modified url [15:59] jelmer: looks like its working now, and its super slow again :( === bialix_ is now known as bialix [16:22] got it! [16:23] lol bazaar client crashed [16:23] somebody confirm my understanding: post_commit hook invoked after the local commit succeed? [16:23] bzr: ERROR: exceptions.AttributeError: 'BzrBranch7' object has no attribute 'startswith' [16:24] pstebin [16:24] pastebin [16:25] http://pastebin.com/n5kxTfsX [16:26] after ignoring that error it seems to work now [16:27] ok so my bzr client now has a full local bazaar branch of the svn, how can i push it exactly like this to sourceforge? [16:28] looks like a genuine bug, shame can't see what put the bum entry in the registry from that stack [16:29] tetsuo--: how you managed to get this error? [16:30] using the windows client with pipeline plugin deleted, i created a branch from my svn project, then i went to a subfolder and did "rightclick --> Show log" [16:30] it generated the error right after clicking that [16:31] all in the bazaar gui [16:34] tetsuo--: please, file a bug against https://launchpad.net/bzr-explorer project. [16:34] id ont have a launchpad account :X [16:37] All 1.10 features of bzr are supported. << that probably means the 2.0 file system will fail? [16:41] where it's from? (All 1.10 features of bzr are supported) [16:42] sourceforge [16:43] https://sourceforge.net/apps/trac/sourceforge/wiki/Bazaar [16:47] tetsuo--: that basically means they've added support for bzr when bzr 1.10 was released [16:48] you need to ssh to the server and run `bzr version` to see what actual version there [16:48] but the safe assumption is that you should not use 2a branch format and use 1.9 format instead. [16:49] I think this page is out-of-date [16:49] i checked, they never updated past 1.10 [16:49] well i asked the staff [16:49] :P [16:49] :-/ [16:50] i had to open a ticket so they can update to 2.1 stable [16:50] 1.10 is ~1.5 years old [16:50] will probably tak ages [16:50] 2.0.x is good as well [16:50] what does launchpad use? [16:51] this page https://code.launchpad.net/ said 2.1.0 [16:52] ok [17:00] Hi bialix [17:01] hi Gary! how are you? === salgado is now known as salgado-lunch [17:03] Good. Just been very busy. You? [17:05] me is very busy too. [17:05] planning to finish urgent stuff to be free for UDS [17:06] GaryvdM: right now trying to work on bug 419758 [17:06] Launchpad bug 419758 in qbzr "File menu: add MRU files list" [High,In progress] https://launchpad.net/bugs/419758 [17:07] GaryvdM: I've provided universal post_commit hook and will store the data in ~/.bazaar/commit-history [17:07] I know bzr-gtk don't want to use our approaches, but just in case === IslandUsurper is now known as IslandUsurperAFK [17:08] bialix: I see === deryck is now known as deryck[lunch] === beuno is now known as beuno-lunch [17:24] is there a wiki page explaining the difference between the various file system versions? [17:24] File system versions? [17:26] yeah, when create a new repository it asks me which version to use between 1.x, 1.9 and 2.x [17:27] "it"? What does? [17:27] Ah repository formats [17:27] tetsuo--: 1.x, whatever that means, is less awesome than 1.9, which is less awesome than 2.0. [17:27] that [17:28] but what are the real differences [17:28] tetsuo--: use 1.9 [17:28] since i can only use 1.x with sourceforce i want to know what im missing [17:28] tetsuo--: The nitty-gritty doesn't matter very much. Use the newest one you can. For example, if your coworkers run bzr 1.12, you'll have to use 1.9. [17:28] tetsuo--: 2a is significantly faster, smaller and more RAM efficient (well, not all the time for the last one). [17:29] tetsuo--: see bzr help current-formats [17:30] tetsuo--: http://paste.ubuntu.com/422868/ [17:31] ok ic [18:00] GaryvdM: ping [18:01] bialix: pong [18:01] do you have 5 minutes? take a look on the sketch design http://bazaar.launchpad.net/~bialix/qbzr/post-commit/annotate/head%3A/lib/commit_history.py ? [18:04] can i convert a 2.0 to 1.x ? [18:04] bialix: Is this related to bug 419758? [18:04] Launchpad bug 419758 in qbzr "File menu: add MRU files list" [High,In progress] https://launchpad.net/bugs/419758 [18:04] tetsuo--: You can convert 2.0 to 1.0 rich-root, but not to 1.0 non-rich-root [18:05] GaryvdM: yes, this is commit history to use in qcommit [18:05] oh the erorr was about rich toot [18:05] root [18:06] Run command: bzr push "bzr+ssh://tetsuo55@mpc-hc.bzr.sourceforge.net/bzrroot/mpc-hc " Connected (version 1.99, client OpenSSH_5.2) [18:06] bzr: ERROR: Permission denied: "bzrroot/mpc-hc /": : [Errno 13] Permission denied: '/bzrroot/mpc-hc ' [18:06] GaryvdM: I'm going to home, will be online again after 30-40 minutes. [18:06] wrong error [18:06] bialix: just a sec [18:07] bzr: ERROR: RemoteRepository(bzr+ssh://tetsuo55@mpc-hc.bzr.sourceforge.net/bzrroot/mpc-hc/.bzr/) is not compatible with CHKInventoryRepository('file:///D:/bzrtest/.bzr/repository/') different rich-root support [18:07] * bialix waiting [18:07] bialix: I'm confused. bug/419758 talks about locations, but CommitHistory deals with messages [18:08] GaryvdM: err, maybe. see my last comment to that bug [18:08] ok [18:08] I'll be up till late. [18:08] I'm at work because my home dsl is down... [18:09] maybe i can just change the rich root setting? [18:09] tetsuo--: you have 2 options: === beuno-lunch is now known as beuno [18:11] tetsuo: upgade the branch on sourceforge.net, but only do this if you have consulted the projects other members. [18:11] its new [18:11] empty right now [18:11] tetsuo: and option 2: [18:12] receate branch with non-rich-root format. === IslandUsurperAFK is now known as IslandUsurper [18:13] so basically i have to start over, and make a new local branch with the lower version [18:14] tetsuo: I its a new, maybe option 1 is better [18:14] how can i do that? [18:15] tetsuo--: bzr upgrade bzr+ssh://tetsuo55@mpc-hc.bzr.sourceforge.net/bzrroot/mpc-hc/.bzr/ --2a [18:15] sorry [18:15] that wont work [18:15] :P [18:15] tetsuo--: bzr upgrade bzr+ssh://tetsuo55@mpc-hc.bzr.sourceforge.net/bzrroot/mpc-hc/ --2a [18:15] the sf server is based on a lower than 2 version [18:16] sorry, then you'll have to start again. [18:16] wait... [18:16] just in time === deryck[lunch] is now known as deryck === salgado-lunch is now known as salgado [18:17] You can do : [18:17] tetsuo--: bzr upgrade bzr+ssh://tetsuo55@mpc-hc.bzr.sourceforge.net/bzrroot/mpc-hc/ --1.14-rich-root [18:18] dude it worked [18:18] :-) [18:18] the first command did work [18:28] 300mb :O [18:30] i guess ill get some coffee this is going to take some time [18:33] GaryvdM: does this look right? mpc-hc.bzr.sourceforge.net/bzr/mpc-hc/ [18:33] that is supposed to the the master [18:34] * GaryvdM looks [18:36] * GaryvdM is very worried [18:36] http://mpc-hc.bzr.sourceforge.net/bzr/mpc-hc/changes [18:36] This does not look like a new branch [18:37] tetsuo-- ^ [18:42] tetsuo--: sorry. I guess you thought that you branch was new. You teem mates will need to upgrade their branches before they can pull. [18:49] tetsuo--: Are you still there? [18:50] still [18:50] here [18:51] i created that bazaar an hour ago, sf must auto fill it with some crap [18:51] oh - I see [18:52] Hi biailx [18:52] do i need to run any special commands to make other peoples bzr clients realise this is the master? [18:52] * bialix back [18:52] Master? [18:52] i guess thats a git term [18:53] tetsuo--: http://paste.ubuntu.com/422912/ [18:53] tetsuo--: The parent branch is the svn branch, [18:54] i want bazaar to be the new parent [18:54] Bialix: would this not solve your problem: http://bazaarvcs.wordpress.com/2009/07/20/qcommit-pending-merge-info/? [18:55] probably doesn't really matter though [18:55] GaryvdM: not really [18:55] tetsuo--: when some one branches the bzr branch on to their machine, then the bzr branch will be the parent branch in their branch. [18:55] ok good [18:57] bialix: If it's the messages of pending merges you are interested in, then you can get them from the repo? [18:57] GaryvdM: no no no, not only pending messages [18:58] sometimes I need to commit in several related branches with similar commit message [18:58] pending merge is only part of the problem [18:58] bialix: ok - I see [18:58] GaryvdM: I like your qdiff with message, but it often slow :-( [18:59] the diff itself is slow [19:00] while I've went to home I've realized I need to extract the add logic to base MRU class [19:09] * bialix -> dinner === xnox_away is now known as xnox [19:34] hello [19:34] hello [19:36] I haven't used darcs, but I was reading about it's spontaneous branches. can bzr do anything like that? [19:36] marv: spontaneous? [19:37] you mean you sit down to your editor one day and discover some new branches grew when you were asleep? :) [19:37] http://wiki.darcs.net/SpontaneousBranches explains it [19:38] What i was actually thinking to myself was: it would be nice if i can assign tags (like a website's tag cloud, not like how you normally think of tags) to specific commits to say something like these 3 commits are a part of this particular bug fix. [19:39] then i read about darcs spontaneous branches and that sounded pretty close to what i thought i wanted [19:39] Oh, no. [19:39] bzr's history is linear in a branch. 1 -> 2 -> 3 -> 4 [19:40] revision 4 is just a change on top of revision 3. [19:40] You can't come along and suddenly afterwards decide that changesets 3, 19 and 24 are really a branch on their own. That can't work, because 24 requires 23, .... [19:40] darcs is built on commutability and non-linearity of patches, which allows exactly that scheme to work. [19:41] woah bazaar windows client just crashed with a memory error (it tried to read/write to executable memory) [19:42] http://pastebin.com/ThPyg4qF [19:42] occured after pressing refresh [19:42] submitted to winqual [19:42] any windows client devs online? [19:42] its easy to get access to winqual, just need to enable some compile-time switches and get a certificate [19:43] does that really matter? i know darcs talks about this theory patches and all that stuff. but I don't see why you couldn't have the same feature on top of bzr. But I guess that answers my question of whether or not it can already do that [19:43] tetsuo--: bzr explorer? [19:43] yes [19:43] marv: the usual thing to do in bzr is to shove stuff off into a real branch when you notice you need to [19:44] by creating a branch and using bzr merge --uncommitted [19:46] I don't even really want to treat them as a branch for most purposes. I just want to be able to say that revisions x, y, an z are for the same new feature, give it a name, and later ask for it by name, without having to deal with making it a separate branch and then merging it, when really it belongs in the mainline to begin with [19:46] that strikes me as very odd. :) [19:47] that's probably why nothing really supports doing that [19:49] what I have is a bunch of patches on top of a source tree that's maintained by someone else. And I'm trying to come up with a better way of managing it. we used to just use svn and commit our changes directly. and that made pulling in upstream changes very difficult [19:49] Ah. [19:49] loom or pipeline might be handy. [19:49] then i switched to git, and made each thing it's own topic branch [19:49] and that has become a real pain to manage [19:50] and there's like 4 people who need to work on it, but i'm the only one who understands the topic branch scheme or how to use git [19:51] so I want to switch to bzr just because it looks a lot easier to use. but i'm also trying to come up with a better way to do things [19:51] 1 branch per bug. 1 branch per feature [19:52] Branches are cheap. really cheap. Within one shared repo, they're just a reference to the tip at their branchpoint. [19:52] I haven't looked at pipeline. i've looked at loom and talked to someone here about it, but decided it wasn't a good choice [19:52] branches aren't cheap in terms of doing the checkout, waiting for the code to compile, checking in the fix, then merging the fix [19:54] i've been doing 1 branch per bug or per feature (although I've been doing it in git), and I find myself just not wanting to do it anymore [19:54] which makes it really hard to convince anyone else to do it === davidstrauss_ is now known as davidstrauss [20:01] pipeline looks like it might be a little nicer than loom [20:08] but i still think i would be better off with a "tag cloud" system more how I described. Maybe i'll look into how hard it would be to do a plugin like that [20:08] Any udd experts here. [20:08] *? [20:09] I'm updated the bzr beta ppa. [20:10] Why is there both pipepine and loom? they look to be almost the same thing [20:10] marv: pipeline is new and wants to be better, i guess :) [20:10] ok, i thought it might be something like that :) [20:11] going to each branch for each ubuntu version and merging debian unstable is laborious. [20:12] marv: I use a lightweight checkout and a shared treeless repository, which is very similar to a git layout (multiple branches sharing the same wt) [20:12] that avoids having to recompile all your code [20:12] I'm I doing this the right way? Is there an eaiser way? [20:12] and avoids having to checkout the files from scratch [20:12] pipeline works by basically requiring a lightweight checkout, and automating some bits when you want to have branches depend on eachother [20:13] pipeline is broken on windows though :( [20:13] marv: pipeline is focused differently than loom [20:13] some small yet fundamental differences of opinion [20:13] for example, pipeline assumes your upstream is implicit (it isn't in the pipeline) loom explicitly records an upstream [20:14] loom wants to create a structure that you could then merge with another person [20:14] pipeline assumes you work on the stuff all by yourself (you can't share pipelines) [20:14] (well, you sort of could, but you don't get to diverge from eachother) [20:32] jam: oh ok. well if other people can't use it with me, it doesn't do me much good. that was the reason why i didn't use the quilt like thing in git [21:25] 'evening [21:33] Hi jelmer [21:33] jelmer: You might be able to help me. [21:34] I would like to update the ppas [21:35] GaryvdM: sure, what's up? [21:36] Merging each branch for each version of ubuntu, with debian unstable is laborious. [21:37] Am I doing the right thing? Is there an easier way? [21:37] jelmer ^ [21:49] GaryvdM: you could use the web interface to copy the packages? [21:49] * GaryvdM looks [21:52] jelmer: Thanks - I'm going to try that. === salgado is now known as salgado-afk [22:32] morning mwhudson [22:32] jam hi [22:33] I just put up about 5 hopefully 'bite-sized' changes to loggerhead which would be nice if you could review [22:33] it drops the time to load emacs/changes from >600ms => 215ms on my machine (once the cache is loaded, etc) [22:35] I mostly mention it because I know igc is out most of this week [22:37] Peng: ^^ I suppose you're one of the loggerhead reviewers, too [22:39] I saw the one about an option to disable the merge point thingies. Cutting features out instead of finding magic performance knobs makes me a bit sad. [22:40] Peng_: it defaults to False [22:40] sorry, True [22:40] it defaults to leaving the feature in [22:40] I don't think it specifically affects the perf times for loading "changes" [22:40] since those revs aren't shown [22:40] if you want to see them all together [22:40] lp:~jameinel/loggerhead/integration [22:41] Nonetheless it makes me sad. [22:41] Peng_: and that is the only one that is a 'feature removal' vs just a 'stop doing work that we don't use" [22:41] Oh. Good. [22:41] Yuhh, don't have Thunderbird open right now. [22:42] confirmed, show_merge_points = True still gives 210ms for emacs [22:46] at this point, getting the information takes ~ the same amount of time as rendering [22:46] so the changes to use chameleon or whatever would start to show [23:21] odd [23:21] $ bzr bind :push [23:21] bzr: ERROR: Not a branch: "/home/cody-somerville/Projects/launchpad/lp-branches/bug-444266/lp:~cody-somerville/launchpad/bug-444266/". [23:22] but bzr info has: push branch: lp:~cody-somerville/launchpad/bug-444266 [23:28] cody-somerville, I'm guessing you have something in your locations.conf [23:39] beuno, yea, http://pastebin.ubuntu.com/423045/ [23:40] cody-somerville, so that's why [23:40] Thats just the standard rocketfuel stuff