[07:43] morning [07:44] i've few programs for which i keep their config files under dvcs...now we are going to switch to bzr and wonder whether you recommend to use lightweight checkouts for 'working trees' and keep repos separately with --no-trees ? [08:10] morning [08:17] hi [09:36] * jelmer is having fun fighting with pbuilder chroots [10:29] and I thought you had debian packaging entirely tamed jelmer... are the chroots defeated yet? [10:29] ish [10:29] the fact I'm running quantal seems to be breaking me up :) [10:29] mgz: what mischief are you up to? [10:32] also, we still seem to have a fair number of issues with encodings in 2.6 :( [10:32] the usual silliness, and seeing what hacks need fixing or documenting before I can post the mp I promised last week [10:32] jelmer: just need to merge all our branches up I think [10:33] mgz: from where? [10:34] 2.2->2.3 and 2.5->2.6 and some of the ones inbetween [10:35] k [10:50] /q [11:18] jelmer: I see you've started the merge up, but 2.3 doesn't seem to have landed and you've got 2.3->2.4 up? === zyga is now known as zyga-food [13:59] jam, is anyone patch-piloting? I have a couple MPs I'd like reviewed. [13:59] abentley: I think we're watching the queue, but nobody is specifically focused on it. You're welcome to request reviews. === zyga-food is now known as zyga === yofel_ is now known as yofel [15:21] i just played a bit with bzr's lightweight co-s emulating "Switching a lightweight checkout" section (http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/reusing_a_checkout.html) and i had a feeling that this feature should enable me to create sandboxed directory wich is goingto be populatd by different working trees based on the 'switch' command [15:21] now i see that it works this way :-) [15:22] but i must say that the code example was (is) a bit misleading to me...so i propose the following one... [15:25] http://pastebin.com/cRi6vYgB [15:27] conclusion: treeless branches in (no-tree) shared repo, feature branches, lightweight checkouts...easy switching between them...great stuff and we love bzr's simplicity & power :-) [15:31] gour: note also `bzr switch -b NAME` to create sibling feature branches is handy [15:33] mgz: hmm, does it mean, if i'm e.g. on master branch, that bzr switch -b feature1 branch will 'clone' a master branch into feature1 and switch on it? [15:35] yup. [15:35] very handy...thumbs up [15:37] it seems to me that bzr is really nicely designed despite changing its format (too) often in the past, so understanding why so many people are enamored by git is well beyond me :-} [15:40] Format changes should have been prettymuch invisible to users, though [16:04] LeoNerd: well, it was a bit irritating in the past [16:05] Eh.. it was a mild inconvenience at times but I don't recall ever being actually uspet by it [16:08] gour: the last format change is more than three years ago at this point [16:13] i know that 2a is stable and do not complain...just sayign that [16:14] foramt changes in the past created a feeling that bzr is not stable...that's all [16:14] otherwise i wouldn't be here today ;) [16:32] jelmer: bug 1014626 / 1014627 should still be dupes of bug 966934 I think, were they from after you did the 2.5 merge to dev? [16:32] Launchpad bug 1014626 in Bazaar "UnicodeEncodeError formatting translated message during merge" [Medium,Triaged] https://launchpad.net/bugs/1014626 [16:32] Launchpad bug 966934 in Bazaar "[i18n] bzr commands affected working tree crashed with unicode error in non-english locale" [High,In progress] https://launchpad.net/bugs/966934 [17:38] How do you checkout/update to a past revision? [17:40] use -r, see `bzr help update` [17:40] I did see it, but I couldn't figure out what -r meant. [17:40] Am I using the right word? [17:40] depending on exactly what you're trying to do, you may want revert instead. [17:41] I want my working tree to be at a specified revision. [17:41] did you try it? [17:41] Yeah, but I don't know if it worked. [17:41] How do I know at what revision I'm currently in? [17:41] `bzr revno --tree` [17:42] Okay, is that done with revert or update? I did both. [17:43] revert changes the state of the tree (files on disk), but not the branch, update changes both [17:43] so, after a revert, `bzr st` will tell you stuff has changed from the current branch state [17:44] But update seems to try to merge changes... [17:44] I ended up with merge conflict markers. [17:44] I don't want that. [17:44] did you have local changes? [17:45] changing the tree always means you may get conflicts [17:46] if you're sure there's nothing in the current state you want keep, a plain bzr revert will throw everything out [17:47] I didn't make any, but I don't know if bzr decided I had changes because there's been updates and reverts. [17:47] perhaps, if you're not sure, you can always look at your .bzr.log to see exactly what happened [17:48] `bzr version` will tell you where to find it. === zyga is now known as zyga-afk [17:48] Ooh, nice feature. [17:48] and you can always get a copy of an older revision cleanly by creating a new tree, `bzr checkout --lightweight -r-6 . ../old_rev` for instance [17:49] So, just to make sure I have the right terminology... [17:50] if I do "bzr update -r foo" that means change the state of the current directory to whatever is stored in that branch? [17:50] What happens if you commit there? Do you just painlessly branch off? [17:50] Wait, what is a "branch" in bzr? [17:50] It's not a path in the DAG, is it? [17:50] It's also a working directory? [17:51] see [17:53] if you try to commit it will prevent you from doing so by default [17:56] what you probably want is two branches, but just work in the one directory [17:57] as that's what I imagine you're used to with other tools [17:58] if you describe the actual task you're trying to do, rather than just the step, that might help [18:17] No, what I'm used to with hg is to commit wherever I want and for things to branch off naturally. [18:17] "branch" in bzr also seems to mean "working tree". [18:17] Or directory. [18:18] JordiGH: a branch is a line of history [18:25] Does "branch" also mean "clone" in bzr? You even use the branch command when you want to clone a repo. [18:34] JordiGH: a branch and a clone are the same thing at the moment [18:35] JordiGH: since each control directory usually holds a single branch, and not multiple like in git or hg [18:36] Alright. [18:36] So how do you branch off at a past revision? [18:37] You update to a past revision, and you do a special kind of commit? [18:44] JordiGH: update the branch to a past revision or update the working tree state to the same state as in a past revision? [18:44] "bzr up -rREV" for the first, "bzr revert -rREV" for the latter [18:45] So "update the branch" means... what? [18:45] JordiGH: resetting the branch to an older revision [18:45] I guess the equivalent in git would be "git reset COMMITTISH" [18:45] And "the branch" means the working directory? [18:45] I don't do git. [18:45] JordiGH: no, the branch is the history [18:46] So reset the history? [18:46] JordiGH: so "bzr up -rREV" would make the branch look like the history ended at REV [18:48] How do I see the DAG? [18:48] JordiGH: bzr log [18:48] That's just the log entries. [18:48] How do I see what's an ancestor of what? [18:48] or for a more graphical one, "bzr qlog" or "bzr viz" [18:48] bzr: ERROR: unknown command "viz" [18:49] But qlog seems to be doing something... [18:49] JordiGH: the log will show that (right hand side ancestors are shown indented) [18:49] Starting Qt? [18:49] JordiGH: viz is part of the bzr-gtk plugin, qlog is part of the qbzr plugin [18:49] So it's like git that when you update to an earlier revision, it looks like later revisions disappear? [18:52] JordiGH: well, that's if you use "bzr up -rREV" [18:52] if you just want to reset the working tree to the same state as in a previous revision, use "bzr revert -rREV" [18:52] But then bzr st thinks I modified all files. [18:53] JordiGH: right, because the last revision didn't have those changes [18:53] JordiGH: and bzr st by default shows the changes between the working tree and the last revision [18:54] if you just want to create a new revision that resets the state of the tree, just commit chose changes [18:54] e.g. bzr commit -m "Revert back to rREV." [19:28] How does bzr keep revisions centralised? [19:28] heh, idgi [19:31] JordiGH: they're in the control directory (.bzr/repository) [19:42] I want to see a graph of two branches, what they have in common and what differs in terms of commits, how can I do that with bzr? [19:50] santagada: bzr missing [19:51] jelmer: thanks [19:51] :) [19:51] jelmer: docs don't mention missing... or I didn't find it [19:54] but thanks a lot if really did solve my problem [19:54] now I will slowly merge revisions that are missing [20:18] A pull also updates, right? [20:18] And an update also merges, right? [20:18] JordiGH: in the hg terminology, pull indeed also updates the working tree [20:19] How can you pull revisions without touching the working directory? [22:25] Hi! IWe've got a Windows machine here with TortoiseBzr which reports a lot of x-bit changes for a working tree. I'm a bit confused about this, as I didn't think Windows NTFS had such a thing. I guess most regular Windows users would be even more confused. Can someone around here tell me what could give bzrlib the idea of such changes? [22:25] is there some cute way i can suppress this message: [22:25] I also finished the conversation with some advice I told him I realized he didn't have to pay attention to. [22:25] i said - if i were you, I'd focus on making zach happy (even in spare time), because that's the best thing you could do for your career right now [22:25] he said he understood, but I don't think he can resist this urge. [22:25] heh [22:25] he really is a strange guy [22:25] I think he's wanting to create an entirely new community that's a "fork" of LAVA [22:25] I asked "fork"? he said - well, a rewrite is a kind of fork [22:25] i found that part a bit amusing [22:25] its not like anybody can stop him, but I had to be clear he can't use "lava" in the branding of what he does [22:25] good idea [22:25] and maybe we'll come crawling back to him some day. as he said, finishing up the rest of porting stuff to lava-core was easy :) [22:25] oh ffs [22:25] ! [22:25] You have not informed bzr of your Launchpad ID, and you must do this to [22:25] write to Launchpad or access private data. See "bzr help launchpad-login". [22:31] mwhudson: which message :P [22:31] lifeless: the one about launchpad :( [22:32] bzr launchpad-login mwhudson, I think. [22:32] lifeless: without doing that [22:32] don't use lp: urls. [22:33] lifeless: i have been using bzr and launchpad for a /little/ while after all... [22:33] yeah, that might be easiest [22:38] or use bzr's library [22:38] whats the use case ? [22:38] lifeless: just avoiding spam when running a script [22:38] lifeless: just half a thought that there might be some config option i could set === jelmer is now known as Guest12454 [22:58] mwhudson: you can set launchpad_username ? [22:59] Guest12454: i want to use the http transport, but don't want to be nagged about it [22:59] ah [22:59] we discussed having a lp+http:// URL scheme at some point [22:59] but that never emerged === Guest12454 is now known as jelmer [23:01] jelmer: ok [23:01] jelmer: i guess if that itch strikes again i know what to do...