[00:02] mathrick: file a bug and find jelmer ;) There is probably a text file you can edit somewhere which contains the windos path. [00:03] mathrick: is this with the core bzr support for colocated branches, or with bzr-colo ? [00:03] jelmer: I dunno, 2.5.1, created via bzr-explorer with "colocated workspace" option [00:04] mathrick: ah, that's the bzr-colo plugin [00:04] mathrick: please file a bug, but against the bzr-colo project on Launchpad [00:05] is that really a bug in bzr-colo? [00:05] jelmer: well dodged ;) [00:05] mathrick: more or less [00:05] vila: :-) [00:06] OK, how should I describe it? Since I have no clue how that is a problem with bzr-colo and not bzr reconfigure for instance [00:06] mathrick: zip is not a transport supported by bzr ;) So you run into some absolute paths that may be better handled as relative (but obviously are not (yet ?)) [00:07] mathrick: what you explained here is good enough: zipped on windos, unpacked on linux [00:08] mathrick: it may be interesting to see if the reverse breaks in the same way (zipped on linux, unzipped on windoz) [00:08] dows [00:08] damn tyops [00:09] vila: I understand that, what I don't understand is how bzr-colo breaks things. Bzr reconfigure should be able to change that path [00:10] mathrick: well, the point is that bzr-colo doesn't really break things, it assumes the working trees/branches/repos would stay on the same files system (roughly) [00:11] mathrick: bzr-colo stores an absolute path to the colocated branch, rather than a relative one; bzr reconfigure tries to open the old branch when it reconfigures I think [00:11] that is a problem with reconfigure then, no? [00:11] mathrick: I suspect that there should be some way to bzr-colo push instead of zip/unzip that should work [00:11] yes, there is [00:12] I just didn't remember I made it collocated when I zipped [00:12] mathrick: bzr-colo should be storing a relative path [00:12] mathrick: bzr reconfigure assumes it starts with a "correct" context, it may be worth filing a different bug for that [00:12] mathrick: you might be able to use --force to get reconfigure to ignore the old code [00:13] ah, I didn't notice --force wasa thing [00:13] jelmer: good point (dunno if this will work but it should ;) [00:14] nope, --force only seems to influence potentially losing local changes [00:14] but in this specific case, if the branch is required, it's hard to ignore it [00:14] mathrick: you tried or you just read the --help ? [00:15] tried [00:15] thanks [00:15] mathrick: did you try to grep for that path under .bzr ? [00:16] no, but I expected to be able to change it by hand [00:16] I was asking for the proper way [00:17] mathrick: for this case, I doubt there is one (or that would be bzr-colo push) [00:18] Pfft, proper. What fun is that? [00:18] mathrick: but really, as jelmer said, bzr-colo should use a relative path (that may not be enough but should help anyway) [00:18] vila: bzr-colo push is "how do I transport it properly?". But I didn't, and now my question is "how do I fix it?". Bzr reconfigure *should* be able to fix that, and I will file a bug too [00:19] mathrick: worth a try, but if there is a single place where the branch path is defined and it's broken, bzr reconfigure can't guess the right one [00:20] why not? bzr info tells me what the checkout thinks the source branch is. That is what bzr reconfigure is supposed to change; if it tries to open it before changing, it's kinda useless for fixing things [00:21] mathrick: it can avoid opening it (it's broken after all) but what will it use instead of that broken path ? [00:21] the one I give it in --bind-to? [00:22] mathrick: oh, well done ! [00:22] for this specific case indeed, not sure if the code will make it easy to implement but file-a-bug++ [00:24] done, bug #1076809 and bug #1076810 [00:24] Launchpad bug 1076809 in bzr-colo "Copying collocated branches Windows and Linux broken by absolute paths" [Undecided,New] https://launchpad.net/bugs/1076809 [00:24] Launchpad bug 1076810 in Bazaar "bzr reconfigure can't fix dangling paths" [Undecided,New] https://launchpad.net/bugs/1076810 [00:25] mathrick: thanks [00:25] sure [00:55] fullermd: linked a branch with reproducing failing tests for bug #1072513, one step closer to diagnosis ;-p [00:55] Launchpad bug 1072513 in Bazaar "log can show too few revs" [High,New] https://launchpad.net/bugs/1072513 [00:57] fullermd: you may want to look at the intermediate commits to see how I get there from your script (including revno 6515 where 'bzr test-script ./bzrlib/tests/blackbox/log_bug_1072513.sh --null-output' was passing) [00:58] fullermd: the missing feature still being to be able to keep the built env to toy around manually with the results :-/ [00:59] but at least the syntax should be copy/pastable enough for you to tweak [01:00] is there a preferred way to backup a repository to a file, or is just zipping the directory pretty much [01:00] mgrandi: ask mathrick ;) [01:01] * mgrandi asks mathrick [01:01] mgrandi: if you really want a *backup* 'bzr push' should be the fastest [01:02] im just sending my code to someone, including the repo for archival purposes [01:02] mgrandi: sorry, that a was a joke, mathrick just ran into an issue while zipping on windows and unzipping on linux (special setup where an absolute path has been recorded) [01:02] interesting o.o [01:02] mgrandi: same os on the receiving side ? [01:03] stack overflow says this; http://stackoverflow.com/questions/1976857/bzr-create-tgz-file-containing-full-repository [01:03] might not be [01:03] bzr send is safest [01:03] what does bzr send actually do? generate patch files? [01:04] so this just creates a series of patch files or something? [01:04] mgrandi: almost, they are called merge directives and contains both the revisions and a human-readable patch [01:04] mgrandi: it's not lossless as patches can, you get the real revisions [01:05] interesting, thanks [01:05] mgrandi: the idea is that send accept a public url readable by both sides and create the delta between your branch and the public branch [01:06] mgrandi: so it can be *far* smaller than zipping the whole repo (like the stackoverflow recipe suggests) [01:06] yeah, this isn't a problem here but i was just curious [01:07] mgrandi: the recipe basically uses an empty branch as a starting point [01:07] so are there problems with zipping a bzr branch directory and then using it on a different os? [01:07] mgrandi: not a bzr branch, a bzr-colo environment (plugin) [01:08] isn't that integrated into bzr now? [01:08] there is wip about native colocated branches yes, that's different [01:09] but normal branches should be fine? besides the whole symlinks thing [01:09] that i still need to work on... [01:09] yes [01:10] but it's been a looong time since I did that myself, most of the machines I'm working on have ssh and bzr so it's easier to kust push ;) [01:10] *just [01:11] Obviously, the solution is that somebody needs to donate vila a machine without ssh or bzr on it, to force him to work on it :p [01:12] fullermd: the last case was a windows vm where I managed to install ssh as a service anyway ;) [01:12] I've probably got some OS/2 install media somewhere... [01:12] fullermd: and if they don't have ssh but bzr, well, it's easy enough to pull instead of pushing ;-) [01:14] vila: So, wait, you already fixed it, then re-broke it? I mean, if the test was passing, that means everything's good, right? :p [01:17] hehe, that's where the test scripts shine: they can express failure more easily ;) [01:19] 'druther they expressed success ;p [01:21] tsk, tsk, they allow success to be *demonstrated*, that's TDD for you ;) [01:22] I dunno, TDD sounds like something I'd discuss with my doctor in a hushed voice. [01:24] depends on who you ask. they really beat it into us at my school [01:24] =P [01:25] Well, yes, I remember that from high school too, but... [01:25] unit test ALL THE THINGS [01:26] Alzheimer, Pratchett and I.. what was it I wanted to say... [01:26] so vila, i just tried that recipe out, and it seems useless cause you can't merge the file back into an empty repo =/ [01:26] ha yes, tests are good substitute for failing memory [01:26] mgrandi: you can pull it into an empty repo though [01:27] * jelmer wonders if vila is in the US [01:27] I do wish I had regression tests for stuff at work. Sadly, I've never heard a good story for writing something useful considering the depth of stuff that breaks. [01:27] jelmer: hehe, no ;) [01:27] ... or just up late :-) [01:27] then the documentation for send is slightly out of date [01:27] jelmer: yeah :-} Bad vila, go to sleep [01:27] `bzr send` creates a compact data set that, when applied using bzr merge, has the same effect as merging from the source branch. [01:27] No, but using it to replicate whole histories is out of the scope of the docs. [01:27] well it should still be mentioned that pull can be used as well [01:28] And it does; merging the source branch into a branch with no history will also fail ;p [01:28] 'using bzr merge or pull, has the same effect etc [01:29] mgrandi: that's supposed to work, there may be a bug for *empty* branches (worth filing too, I thought we nailed down all the empty-branch-are-special ones...) [01:29] well it specifically gave a bug url when i tried to do it [01:30] which one ? [01:30] bzr: ERROR: Merging into empty branches not currently supported, https://bugs.launchpad.net/bzr/+bug/308562 [01:30] Ubuntu bug 82555 in Bazaar "duplicate for #308562 Merging to an empty branch doesn't work" [High,Confirmed] [01:31] dang 5 years, old bug [01:32] helllo, someone remember the shortest workaround for that ? [01:32] 'bzr init . ; bzr pull ' ? [01:33] well yeah thats what i did [01:33] good, my job here is done ;) [01:35] is that merge into empty repo a particuarly hard bug? [01:36] I've never been quite clear as to what it's even supposed to _mean_. [01:36] probably along the lines like, its trying to merge two histories but one doesn't exist so it breaks? [01:38] Yeah, the whole point of merge is "take these two separate things and bring them together", so how's it even meaningful to talk about when there's only one thing? [01:38] I think the issue is about root-ids (branches of the same project shares a unique id for their root) [01:38] well, it still seems to me that bzr should be smart about that, and if one history just doesn't exist, then just take the other one [01:38] the first branch of a project gets a new root-id which is then duplicated [01:39] mgrandi: devil is in the details [01:39] i imagine [01:39] the fact that it's a corner case rarely encountered didn't help raise the bug importance [01:40] most of the issues are probably already solved, time is lacking for that one [01:41] Well, taking the other one is "pull" ;p [01:41] If I wanted "merge" to sometimes silently do a "pull" instead, I'd use git... [01:41] haha. [01:42] maybe the error message should be updated to say 'try pull instead?" [07:36] i'm having trouble rebasing a branch. I'd like to rebase the last five revisions onto another branch, but i can't seem to work out how to tell bzr that's what i want to do - i only seem to be able to rebase "all but the last 5" with -r last:5. Is there a way to do this please? [07:37] you mean you're using bzr-rewrite? [07:37] (if I don't specify a revision then bzr wants to rebase 54 revisions, which includes a lot of duplicate changes) [07:37] bob2: i think i am [07:37] bzr help rebase says "From: plugin "rewrite"" [07:41] gmarkall: you might try -r -5:.. [07:43] lifeless: that gives me "Bzr has encountered an internal error..." - shall I submit a bug report? [07:43] sure [07:43] Without the colon, probably... [07:43] oh heh, yes. [07:43] EOUTOFPRACTICE [07:43] gmarkall: -r -5.. [07:44] ah, that didn't crash bzr! :-) === dpb_ is now known as Guest76575 [08:08] I managaed to get the crash down to a small example: https://bugs.launchpad.net/bzr/+bug/1076894 [08:08] Ubuntu bug 1076894 in Bazaar "Invalid arguments to rebase cause internal error" [Undecided,New] [08:10] I managed to choose the correct revisions with the syntax suggested by lifeless/fullermd - however, when i run with --dry-run, the commit ids that it shows are printed out-of-order - is that to be expected? [08:16] when i actually did the rebase, the commits were applied in the correct order [09:03] morning! [09:06] can i tell bzr to just commit the changes of a conflict free merge? [09:06] constantly forgetting that commit and then messing up stuff [09:07] (well, also lack the creativity to invent merge commit messages) [09:17] ok. why would "bzr diff ../parent" show changes that a plain "diff -ru ../parent" doesn't see? === tbf__ is now known as tbf [09:18] apparently i still fundamentally fail in understanding things [09:27] tbf: could be lots of reasons for the diff not being the same, fundamentally those two commands look at different stuff [09:28] so, for instance, if the working tree of ../parent is not up to date, plain recursive diff will not see the later revisions [09:32] mgz, ../parent is up-to-date [09:33] mgz, at least the output of "bzr status" and "bzr diff" in ../parent is empty [09:35] mgz, seems i seriously fail to understand even the basics of bzr: http://nopaste.me/paste/111230873509cce1382789 [09:36] mgz, how can it be, that rev 334 contains changes from 316.1.64, while rev 333 is entirely empty? [09:37] 316.1.64 is the last commit in that merge [09:38] i'd only expect to see that change in 334 if i'd reverted 316.1.64 by accident while commiting 333 [09:47] ...that paste site is borked, gives 406 + error fallout based on UA string [09:48] tbf: from that log, I'm not sure what's suprising you [09:49] mgz, the output of "bzr diff -c 334 debian/control" entirely surprises me [09:49] the diff for -r331..332 is empty, but the log above stops at 332 so that might be right, and 316.1.64 was merged in 333 [09:50] tbf: that command isn't in the paste [09:50] mgz, line 51 [09:51] mgz, rev 333 already should have that change, but bzr shows it was applied again in 334 [09:51] I suspect you have some funny history [09:52] you remerged the same branch in 334? [09:53] mgz: forgot to commit a merge, shelved the mess. merged from parent again, unshelved. [09:53] expecting that only the really new changes would get applied [09:54] now bzr even crashes when accessing that branch [09:54] great. [09:54] okay, so the history and log/diff output is probably correct [09:54] apparently "bzr switch -r 333" was a stupid idea [09:55] mgz, how that? [09:55] r333 includes the merge, and the history of the other branch, but none of the actual changes [09:55] which you shelved, then committed in 334 [09:56] so, log tells you 333 merged stuff, but diff only sees the changes when you actually committed them in 334 [09:56] the best thing to get out of trouble here is just make a new branch from 332 and do the merge right this time [09:57] mgz: "r333 includes the merge, and the history of the other branch, but none of the actual changes" - this makes absolutely no sense to me. [09:57] maybe too much in git mind set. what stone i don't see? [09:57] you merged the history from the other branch [09:57] but left the actual text changes uncommitted [09:57] it's the same as doing that in git. [09:57] well. in git i usually rebase [09:58] and stay away from merges [09:58] too much vooodo [09:58] voodoo and magic [09:58] you like having a nice linear world view :) [09:59] mgz, yup :-) [09:59] anyway, the point of version control is you have the old stuff still [09:59] so you can just start from where you were originally and do it right, rather than trying to fix up the current state [10:00] mgz, sure. still at the point of merging a feature i don't care about the dirty details anymore [10:00] all that merging zig-zack and so on [10:01] look, it's easy, do this: [10:02] as long as i work on the features i highly appreciate having different branches and switching between them comparing them, letting them divert, pick changes and so on... [10:02] ...but once it is done. it is done. [10:04] cd .. && bzr branch -r332 old new && bzr merge -r 332.. -d new ../old [10:05] you then have a new branch, with the just the text changes you made in the last few revs ready to commit, and no hisotry to confuse you [10:05] you could bring in the original feature branch as a merge to make the history correct, but you probably don't care about that [10:06] so how do install libraries needed by plugins in a standalone windows install? [10:06] I thought it was $plugindir/lib/, but that doesn't seem to work [10:07] mathrick: what I did was use not use the windows standalone installers but the python ones and install all the plugins and bits I wanted via the normal setup.py method [10:08] there was a thing added for the standalone ones to look in another location for libs though [10:08] mgz, checking what this does... [10:09] mgz: I tried that before, but it's a huge PITA really and never works quite as well as the standalone installer [10:10] mathrick: try [10:10] $ BZR_PDB=1 bzr assert-fail [10:10] (Pdb) sys.path [10:10] which will tell you where the installed bzr looks for stuff [10:10] ah, good idea [10:11] ah, so site-packages has been added === mmrazik is now known as mmrazik|lunch === mmrazik|lunch is now known as mmrazik [12:13] hello all [12:13] a question, i've installed bzr-eclipse, and i'm looking for option: compare with latest from repository ... that is available when using svn but with bzr repo ? [12:15] hmm ok, forget the question, found it, but the is only: compare with latest from branch, what if i want to specify revision ? [12:59] lolek: I don't think bzr-exclipse is anywhere near usable, is it? [13:00] well ... it is [13:00] :) [13:01] and oh one thing [13:01] regarding this: https://bugs.launchpad.net/bzr-svn/+bug/1076388, i've used svn:// when gave url :) [13:01] Ubuntu bug 1076388 in Bazaar Subversion Plugin "authentication.conf section does not match when port is given" [Undecided,New] [13:02] lolek: not sure I follow? [13:02] oh.. sorry my fault... mind shortcut [13:02] forget ;d [13:04] TBF! [13:04] boah ist die welt klein === mirtwo is now known as mirabilos|work [13:09] lolek: sorry, me too :-) [13:09] mirabilos|work: could you please speak in english ? [13:09] yes [13:09] “the world is small” [13:10] thank You ;) [13:10] tbf was one of the first people I met on IRC, b̲e̲f̲o̲r̲e̲ I even spoke something resembling English [13:13] hey mirabilos|work [13:14] uhm [13:15] mirabilos|work, how long ago is this? 12 years? [13:15] something like that, yes [13:15] probably around 1999/2000 [14:13] a question, can i use this way of workflow for bzr and svn as centralized repo ? : http://doc.bazaar.canonical.com/bzr.2.5/en/tutorials/centralized_workflow.html [14:14] i'm trying to figure out how bzr will deal with branches in folders on svn repo [14:16] of course if You have some suggestions or better aproach, i can consider that also [14:31] Hello folks. I have a problem committing u1-servers. bzr really wants to sign with my mkarnicki@gmail.com key, while I want to sign with michal.karnicki@canonical.com [14:32] karni: see #launchpad [14:32] karni: it should be using your whoami details to find the gpg key [14:32] It's picking mkarnicki by default. How do I change that? I've tried overriding gpg_signing_key [14:32] whoami says michal.karnicki@canonical.com, but it's not using that one [14:33] mgz: I think they'll send me back to #bzr :( [14:33] probably :) [14:33] To make matters more "fun", I can sign with @canonical.com a different project with no fuss. [14:33] I don't see any specific configuration to that project in my locations.conf [14:34] nor authentication.conf [14:35] karni, okay, looking at the code [14:35] mgz: Thank you! [14:36] gpg_signing_key should be either "default" or suitable for passing to gpg -u [14:36] FWIW I tried passing my canonical e-mail as well as key signature (that's what you call it?) to gpg_signing_key [14:36] if default, it looks at 'email' [14:36] right. I can try that again. [14:36] should I put it in ~/.bazaar/authentication.conf ? [14:37] karni: nope, just bazaar.conf I think [14:38] apart from by having a different `bzr whoami --branch` I don't see how different projects could get you different signing [14:39] mgz: I think it had something to do with me signing it within lxc.. [14:39] mgz: I did add it to authentication.conf, though [14:39] mgz: I tried from my host machine, and it commited properly [14:40] yeah, it's still trying to sign with mkarnicki@gmail.com within lxc [14:40] mgz: I don't know how that works, but just so you guys know ↑ [14:43] but `bzr whoami` in lxc isn't that, and `gpg --clearsign -u ...@canonical.com` works? [14:44] possibly lxc hides some of your keys, or confuses the agent in some way? [14:51] karni: I can't find any key on your name on a gpg key server [14:52] mgz: in lxc, bzr whoami is also: Michał Karnicki [14:52] So correct. [14:53] mgz: http://keyserver.ubuntu.com:11371/pks/lookup?op=vindex&search=0xF1044FC25FD638E7 [14:53] mgz: I bet it's confusing the agent in some way [14:54] ah, you have an 'i' on the end I'd not registered [14:55] :) [14:58] You should vowel to be more careful with your spelling... [15:00] karni: when you ran just the gpg command inside lxc, did it also want to sign with the wrong key? [15:00] I can check [15:00] fullermd: @ expands to eat all adjacent characters [15:01] *munch* *munch* [15:01] Only to the right; you can see what's where the mouth is. [15:01] mgz: gpg --sign desktop.png signs with mkarnicki, but -u michal.karnicki works to override and sign with the second key [15:10] ok, one more time with my question, i'd like to use this approach: http://doc.bazaar.canonical.com/beta/en/user-guide/svn_plugin.html#using-a-central-repository-mirror but want to use svn as central repository, my question is what problems should i consider ? [15:12] the problem is that i want to use that like this: http://doc.bazaar.canonical.com/bzr.2.5/en/tutorials/centralized_workflow.html, the second question is how bazar will work with branch in subdirectory on svn repo ? [15:14] lolek: hi [15:14] lolek: what do you mean with branch in subdirectory exactly? [15:15] bzr-svn handles it fine if there is e.g. a branch named /trunk in the repository, and recognizes copies [15:30] karni: last thing to see is run `bzr config` in the branch, see if gpg_signing_key is set anywhere up the chain [15:30] mgz: bzr: ERROR: unknown command "config" [15:31] karni: your running a very old version of bzr [15:32] Bazaar (bzr) 2.1.4 in lxc (LUCID), 2.5.1 on host OS [15:32] This is because it's u1-servers branch, lucid was advised (although I hear it works on more current version) [15:35] Hi. [15:36] Does anyone know when bzr2.6b3 will come ? [15:39] vila, mgz: ^ [15:40] jelmer: may i pm You ? [15:41] lolek: sure [16:03] karni: that might also be an issue with gpg signing then. you can, on lucid, us the bzr ppa to restore sanity to the world. [16:03] mgz: ah. I might try that. I'll stick with committing from host for now :) Thank you! [16:04] karni: ppa:bzr/ppa [16:04] iwata0303: ideally soon [16:05] mgz: Thank you! [16:05] mgz: Thank you, sir! [16:06] I'll send something to the list when I'm about to launch on working out how to do a release [16:06] hm.... the next couple of weekends are full, might need to find a weekday night [16:46] I merged and commited a branch in to trunk and then reverted it. Went back and changed my code in my branch and then when trying to merge again it won't let me. Is there a way to get trunk to forget that this branch was merged/conmitted before? or a way to force a commit? [16:52] you merge trunk back into your branch, revert the tree but not the merge marker (`bzr revert .` && bzr commit), then merge the branch back into trunk [16:54] basically, the feature branch needs to acknowledge the tree changes were not accepted on trunk, and have a new rev with the changes still present as well as trunk history so trunk knows to reapply them [16:56] embersoaker: ^that make sense to you? [16:58] yes [16:58] thank you [17:00] mgz: I'll be in england next week, if connected the latency should be low ;) [17:00] oh ho ho, london? [17:00] all week? [17:00] mgz: yup and yup [17:00] jelmer: ^ [17:01] vila: where in England? [17:01] london [17:01] * jelmer will be in London from Wed-Fri [17:05] * SamB_MacG5 grumbles about how ad-hoc bzr's commands are ... [17:24] jelmer, mgz : I'll leave Friday afternoon, will need to check my schedule but... would be nice to have either lunch or dinner or something no ? === deryck is now known as deryck[lunch] [17:42] vila: yeah, that'd be great [17:43] If I start swimming now, maybe I can meet you there... [17:43] fullermd: be my guest ;) [18:35] * SamB_MacG5 is especially thinking that "bzr missing" should support most of the options of "bzr log", like -p ... [18:39] https://lists.ubuntu.com/archives/bazaar/2008q2/041074.html :p === deryck[lunch] is now known as deryck === yofel_ is now known as yofel [22:23] ls [22:23] derp! [22:24] I have config files ... I'd like a new user to be able to have access to a version of them ... but not mine ... [22:24] SO .. can I include files within a bzr repo which aren't VC'ed ? [22:31] Well, you can PUT a file there and ignore it. Obviously bzr won't know anything about it, so you'd have to put it there (if it's important) any time you make a WT. [22:32] WT? [22:32] fullermd, ? [22:32] working tree [22:33] Oh, shucks. If I'd known lifeless was here, I'd have just hit 6 or 8 keys at random, and he'd interpret a correct answer out of it...