[00:00] hm sorry, that's not what I want [00:00] I want to diff the whole tree in rev 146 and current uncommitted version [00:01] just like the current revision was 146 [00:01] (that command would work as I expect in this case) [00:07] how can i check the version of a checkout? neither bzr status nor bzr info tells me :( [00:07] bzr revno [00:08] curious. i have two chkecouts, one works, the other throws an APC error (yeah, php webapp) and according to bzr revno they are the same rev? [00:09] oh well. we will figure it out, thanks [00:11] chx: are they checkouts of the same branch? are they both clean? [00:11] yes and yes [00:11] and they even look the same because i checked a file i changed fairly recently but wait... [00:11] you gave me an idea [00:13] at this point i would probably 'diff -r' them to get a plain diff without any bzr complications [00:13] hrm, there is a settings file unversioned in his dir but cant cause anything liek this... weiiiiiird. i will just chalk it up to APC. [00:13] in case something is unversioned or ignored [00:15] diff -r -x .bzr :) === Adys is now known as Shirvallah === Shirvallah is now known as Adys === samurai_ is now known as samiam [04:02] hi all [04:14] poolie: was that a tweak vote for the What's New in 2.2 doc? [04:15] igc, i'm not overriding vila but otherwise yes [04:15] so it's up to you to decide if you want to block on him [04:16] poolie: ok. I'll ping him later today and see if I can make us both happy [04:19] If I upgrade a branch, can I downgrade it if I run into issues? [04:19] not if you upgrade to a rich-root-format [04:19] (from a non-rich-root format) [04:19] What does the "upgrade this branch" action on launchpad do? [04:20] Basically runs “bzr upgrade $THE_BRANCH” on the launchpad server. [04:20] The branch currently works with bzr 1.13.1, 2.0.2, and 2.1.0. If I upgrade the branch, will any of those versions no longer be able to interact with the branch? [04:21] cody-somerville: 1.13.1 [04:21] (it needs 1.16+) [04:22] But bzr+ssh will work all the way back to 1.6, won't it? [04:29] RAOF: bzr+ssh unfortunately does not fully isolate the client from the remote format [04:30] RAOF: we'd like to get to that point, but haven't yet. [04:31] and i guess crowberry's ram thanks you for that so far [04:31] Oh, really? I seem to recall testing that 1.6 would branch at one point; maybe I misremember or didn't check hard enough. [04:33] I suspect you misremember; the hpss client has always checked the remote format string and expected to recognise it. [04:33] spiv: not true [04:34] spiv: very early hpss was sftp only [04:34] sorry, VFS only [04:34] That contradicts what spiv said? [04:34] lifeless: wouldn't that mean that the _server_ wouldn't have to understand the branch format? [04:35] mwhudson: right, I suspect i just failed to read now. [04:35] Hmm, if you use nosmart+bzr+ssh, will the servef still ignore the format? [04:35] server* [04:35] yes [04:35] Neat. [04:36] [modulo bugs] [04:37] Yes, that's exactly what I was worried about... [04:47] lifeless: well, except that the VFS behaviour also checks the remote format too :P [04:48] spiv: yes, server side doesn't. I was misreading. [04:49] Ah. [04:59] vila: hi [05:17] How do I set my local branch back to a specific revision? [05:21] Supertanker: In what way? Do you just want to revert the working tree or actually remove later revisions from history? [05:21] Supertanker: Anyway, "bzr revert -r 123", "bzr update -r 123" (in a recent bzr) or even "bzr uncommit -r 123" are what you want. [05:22] Peng, ah, okay, as usual, I have fine-grained control. Thanks :) [05:39] had a question about creating new sub-directories in a directory that belongs to a branch [05:40] Do I need to issue the command add again? [05:41] you need to tell bzr to add anything you would like it to care about [05:41] as a shortcut, 'bzr mkdir' mkdirs then adds [05:42] bob2: I can see in bzr status that bzr has a few directories as "unknown" [05:42] Can I use the bzr add command at the parent level or do I need to add each sub-directory individually? [05:43] should back up and say that I'm using bzr to vc my web root on my server [05:43] I did an initial add, but since new directories have been added [05:43] presumably you did 'bzr add .' then, so you know the answer now :) [05:44] Trying to figure out if I can use "bzr add" at the web root to recursively add everything new or if I have to add each new directory individually [05:44] yes, of course [05:44] surely that's how you added stuff originally? [05:44] don't forget to carefully check the output of 'bzr status' before committing [05:44] so you don't commit junk [05:44] yes, originally did bzr add, but can I do that again [05:45] not sure since somethings from the orig add are already in the repository [05:46] Sorry if this sense basic, but I'm not 100% [06:17] * igc food [06:25] when i 'bzr merge http://svn.repo/...', bzr pulls all 300+ revisions before telling me "Branches have no common ancestor" .. can't it fail faster? [06:33] neaj: perhaps in principle it could [06:33] you could file a bug against bzr-svn [06:37] OK thanx .. i guess it's no problem with a fat pipe, but i'm not that well-connected [06:37] there might be something about the svn protocol that makes it hard to do quickly [06:37] i'm not sure [07:14] hi all ! [07:14] poolie: hey patch pilot :) [07:23] hello vila === poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: poolie | bzr 2.1.0 is out [08:33] poolie: tomorrow can you reply to my end-of-rotation email? [08:34] sure [08:34] the one I sent friday [08:34] its the sort of email to which silence makes one nervous ;) [08:34] i was waiting for david to agree or whatever [08:34] but i'll reply [08:34] heh. [08:35] tjanks [08:35] mkanat: ISE's on loggerhead:( - #launchpad [08:46] * igc dinner === marienz_ is now known as marienz [09:45] Hello, is it possible to get a file back from repository if i delete it locally without having to re-checkout the entire repo ? [09:49] poolie: jelmer lobbed the issue back at you ;-] === jelmer_ is now known as jelmer [09:50] sorry :-) [09:50] xterm: Just the current copy? "bzr cat bzr+ssh://...." [09:50] xterm: Might still download a decent chunk of data, though. [09:53] i feel strange .. the bzr channel is bizarely friendly .. (in comparison to most channels I visit) [09:54] Peng, thank you. [09:55] bzrly? :D [09:57] * Peng revokes idnar's pun license [10:01] neaj: we try ;) [10:01] heh heh [10:01] idnar: -groan- :P === bigjools is now known as bigjools-otp === bigjools-otp is now known as bigjools [10:45] hi, I've got a question about running the bzr selftest. I've created a branch of lp:bzr/2.0 and I try to run the selftest, but either 2.0 contains errors (according to the test) or it might be that the selftest modules of the *installed* version (2.1) are used. Can I somehow find out what modules are in use? [10:45] I'm running the selftest like: $ ./bzr selftest [10:49] dvheumen: that should be fine. whats erroring? [10:49] dvheumen: you can check what './bzr --version' reports [10:49] dvheumen: and have you run make? [10:49] I just noticed this warning before the actual testing starts: "Unable to load plugin 'news_merge' from '/usr/lib/python2.6/dist-packages/bzrlib/plugins'". This seems to confirm my suspicions. [10:49] no I haven't run make, is this necessary? [10:50] dvheumen: ah, ./bzr will still try to load the system-wide plugins I guess [10:50] is there any way around this? maybe set PYTHONPATH or something? (I'm not at all familiar with python, yet, but I'd like to change that :P) [10:51] Well, --no-plugins will disable all plugins. [10:52] dvheumen: alternatively you can remove the news_merge plugin in the install directory [10:52] dvheumen: if you have admin rights [10:53] although we'd be interested to hear why that plugin is failing to load, that seems like a bug [10:53] jelmer: for < 2.1, not a bug [10:53] jelmer: early fail [10:54] lifeless: ah, ok [10:54] jelmer: commitfromnews will work on anything; it doesn't [yet] need shiny-newness [10:55] lifeless: I think this is about news_merge though [10:55] jelmer: yes, I was offering a possibility that you were remembernig the other news related plugin as one that should work on 2.0 [10:56] lifeless: ah [10:56] lifeless: sorry, monday morning syndrome [10:56] de nada [10:59] but, I'm still curious, now that I run the selftest with '--no-plugins', is it assured that it runs the 2.0 selftest modules that are in the branch instead of the modules in /usr/lib/python2.6/dist-packages/bzrlib? (And how could I check this?) [11:01] yes, and by using python to inspect the various modules __file__ [11:01] we set the path for bzrlib.plugins explicitly, other than that we use the defaults, and its the manual setting that loads plugins from the system install [11:02] okay thanks [11:34] Good day. Is there a way to untag akin to uncommitting? [11:35] persia: bzr tag --delete [11:36] persia: As with uncommit, it's hard to get rid of the tag from any branches you've pushed to, though. bzr push --overwrite and bzr tag --delete are you friends there. [11:36] Peng: Thanks. There's always an option I fail to find :) [11:36] your* [11:36] I used to use push --overwrite a lot, but I've become more conservative about push :) === salgado is now known as salgado-brb === mrevell is now known as mrevell-lunch [12:57] * LeoNerd ponders bzr pushover as an alias for push --overwrite === weigon_ is now known as weigon === mrevell-lunch is now known as mrevell [13:48] hi, about the question i asked earlier (regarding the selftest running system-wide plugins even though it is run from a local branch directory). It seems to me that it is worth mentioning something about that in the Bazaar Testing Guide. Do you agree? [13:49] If it includes other semi-rare gotchas, then yes, that sounds good to me. [13:49] (Not that I'm an authority on this.) [13:50] Peng, what do you mean by 'other semi-rare gotchas'? Other than that it might result in errors/warnings/unloadable plugins if the modules do not correspond to the bzr version being tested? [13:51] I mean that it's not a super-common issue. If the guide is very high-level, I'm not sure it warrants mentioning [13:51] But if the guide goes into other things, and you think it fits well, it sounds good to me. [13:53] okay, well that's exactly why I ask. The point is, I'm just starting with python development so I might encounter things that to others might seem obvious. I'd like to help, but stating the obvious is not that interesting :P [13:56] It's not obvious, IMO. It's a good thing to warn people about. It's just...it's not a problem people will run into *that* frequently, and I don't know if the testing guide is the kind of document that should include such warnings. (I don't know because I haven't read it.) === salgado-brb is now known as salgado [14:01] okay tnx, I'll think about it :P [15:47] morning all === salgado is now known as salgado-lunch [16:08] jelmer: hello from yesterday [16:10] maxb: hello [16:10] maxb: I remember pinging you, just need to figure out why :-) [16:10] ah :-) [16:11] * kfogel is away: reboot [16:12] maxb: You had an open merge proposal against one of the bzr-rebase branches that I removed [16:12] if it still applies, can you please resubmit it? [16:13] ah, so I did. It's been hanging around on my "Do I need to rethink this logic one more time?" pile [16:13] I actually have four separate bzr-rewrite branches at various stages of completeness :-/ [16:24] maxb: heh, ok === beuno is now known as beuno-lunch === salgado-lunch is now known as salgado [16:58] hi. I'm trying to do some (first-time) bugfixing for bazaar. I've selected myself a bug and now I've got some questions about how to approach the test case(s). (I noticed that the patch pilot is currently not online, but maybe someone else can help?) It's about bug: https://bugs.launchpad.net/bzr/+bug/498409 I've selected it to not be too complicated, but maybe the bug itself is even rediculously simple (or I don't get it :P) [16:58] Launchpad bug 498409 in bzr "bzr revert takes a branch lock" [Medium,Confirmed] [17:00] dvheumen: hi [17:00] dvheumen: I think that's a fairly tricky thing to test [17:01] fixing the bug without a test would be simpler, but alternatively, could I suggest picking a different bug? [17:03] jelmer, this is the fix I have now. http://paste.ubuntu.com/391170/ [17:03] I could pick another bug, I don't mind, but if it is this simple ... [17:04] the code is in the 'cmd_revert' class [17:04] dvheumen: that looks reasonable enough [17:04] dvheumen: Perhaps submit this as a merge request and ask the patch pilot for further guidance? [17:04] should I just make it a branch and then pick a more suitable bug? :) [17:05] okay, I'll do that [17:05] dvheumen: I think there might be a helper class that can remember the locking that has been done on a tree somewhere, but I don't have time to look for it atm. [17:06] Martin should be able to help you out with that bit though. [17:07] jelmer, okay, so that's how you approach such a case. Okay, I'll ask Martin and in the mean time I'll have a look for the class. Thanks [17:07] I do know how to pick the wrong bugs :P [17:08] dvheumen: yeah, that's the pattern we usually use for things like that. [17:11] vila: are you still around? [17:11] (just wanting to say hi) [17:12] jam: yeah, hi ! I thought you were in vacations and without internet access ? [17:12] no, starts on Wed night [17:12] 10th [17:12] oooh, ok === deryck is now known as deryck[lunch] [17:13] anyway, I hope you had a decent weekend [17:13] I saw your went offline briefly, (on Fri?) [17:13] power outage? [17:14] yeah, a planned one [17:14] of course it took longer than planned :-/ [17:16] Is there a way to "name" a shelved change so that you can later retrieve it by that given name rather than the assigned number? [17:16] dcraven: bzr shelve -m name [17:16] dcraven: but you still need to use the number obtained from 'bzr shelve --list' [17:16] Oh. Something tells me I missed an obvious bit of the doc :) [17:16] vila: That's good stuff. THanks. [17:17] dcraven: may be :-) But if you didn't file a bug asking for clarifications :) [17:17] dcraven: may be :-) But if you didn't, file a bug asking for clarifications :) [17:17] comas are important... [17:17] vila: Oh I did see that. I think I mis-interpreted the function of "message". [17:18] ok [17:18] vila: commas are important, too [17:18] jam: hehe, I can't fix a typo without doing another one, story of my life :) === jkakar_ is now known as jkakar === beuno-lunch is now known as beuno === deryck[lunch] is now known as deryck === IslandUsurper is now known as IslandUsurperAFK === radoe_ is now known as radoe [18:45] so i was reading up on bzr, and finally found something I don't like. apparently if you 'bzr merge' and then 'bzr push' it will mess up the remote side's history (making it match the local side). Is there any way around that besides following the "best practice" that involves making all changes in a separate branch and merging that into clone of the central one and pushing? [18:45] marv, yes [18:45] set a variable on the server side [18:46] I can't remember off the top of my head [18:46] but it's something like append_only = True [18:46] beuno: i saw a reference to that. something like history append only? [18:46] well, that forces you to use that workflow [18:46] but from what I was reading, that only makes the push that would mess things up fail [18:47] I'm wondering why there can't just be an option to 'push' (or maybe the default) to make it work in a way that doesn't rewrite history remotely [18:48] not really [18:48] you could provide an alternative to merge that allowed you to avoid this situation if used at the right time [18:49] in one of the threads i saw, someone said they were going to ask for a merge --remote flag or something [18:50] i guess you could rebase instead of merging, but I'm not sure I like that [18:54] but it seems like there should be like a 'push as merge' command that makes the remote side end up as if I had done all those extra steps but without me having to do them. === IslandUsurperAFK is now known as IslandUsurper [18:56] marv, that's because merge is asymmetric [18:57] if you instead keep a checkout of trunk, and always merge into trunk then that should be fine [18:59] why should i have to do that? that seems like a UI wart to me. you're asking me to do several extra steps that could all be automated. and the most obvious way of doing things doesn't do what I want. And I see other projects with guides that say you have to follow this certain workflow or you'll mess up our history. [19:05] marv: so, its automatable in principle. Its just code. [19:06] marv: so far, noone has done a really nice automated version that preserves digital signatures and so on. [19:07] lifeless: interesting. so someone is or was working on it then? [19:08] there was at least one plugin offering what you describe [19:09] any idea what it was called? it might be a good place to start [19:11] is there a way to change an existing branch to a different connection method? i.e. I did bzr branch sftp:// and now I want to change the connection method to bzr+ssh:// [19:11] can that be done, or is the only way to branch a new copy with bzr+ssh? [19:17] wadesworld: bzr pull --remember otherurl [19:17] cool, thanks :) [19:29] marv: remotemerge, I think [19:43] can someone help me? [19:43] after i encrypted my home drive (using this guide: http://jacob.hoffman-andrews.com/README/index.php/2009/12/08/howto-encrypt-an-existing-home-directory-on-ubuntu-karmic-koala/) [19:43] bzr suddenly stopped working [19:44] now i get this: [19:44] Permission denied (publickey). [19:44] bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. [19:45] nvsbl: That sounds more like an SSH error. [19:48] lifeless: thanks [19:51] although i can't find anything on it with google [20:25] nvsbl: Are you saying you encrypted the homedir on the remote server or the local machine that you're running bzr on? (Either way it's still a SSH problem) [20:28] the local machine [20:29] is there a specific place i can go to ask for help [20:29] perhaps a specific forum or irc channel? [20:30] well we can try to help you [20:30] I can't think of an obvious place for generic ssh help (other than #ubuntu, which is useless because it's so high volume) [20:30] does 'ssh ' work [20:30] what does it output [20:30] what does ssh -vv output [20:30] etc [20:32] what should the host be if i were trying to get something off launchpad? [20:33] bazaar.launchpad.net [20:33] In that case, it would say "No shells on this server." if it's working correctly [20:35] .....No such Launchpad account: nvsbl [20:35] debug1: Authentications that can continue: publickey [20:35] debug1: Trying private key: /home/nvsbl/.ssh/identity [20:35] debug1: Trying private key: /home/nvsbl/.ssh/id_dsa [20:35] debug2: we did not send a packet, disable method [20:35] debug1: No more authentication methods to try. [20:35] Permission denied (publickey). [20:36] why does it think my launchpad account is that? that isn't my account and i'm logged in as my real account [20:38] http://paste.ubuntu.com/391265/ if having the entire output helps [20:38] nvsbl, Try `bzr launchpad-login ` [20:38] i did [20:38] same thing [20:40] nvsbl: Of course, `bzr launchpad-login` only affects bzr. If you're testing it with ssh manually, you'll need to say `ssh your-lp-id@bazaar.launchpad.net` [20:42] http://paste.ubuntu.com/391271/ [20:42] same thing, still [20:42] hi all! [20:43] I am still struggling with importing from svn [20:43] using bzr 2.1 & bzr-svn 1.0.2 [20:43] servilio: Struggling how? [20:43] no matter what I try, I end up with an empty repository [20:43] branch, whatever I make [20:44] as in, 'bzr log' doesn't show any revisions? [20:44] or as in, it lacks a working copy? [20:44] NfNitLoop: yep, an empty log [20:44] do you get an error? [20:44] NfNitLoop: no error [20:44] are you able to svn checkout the same URL? [20:44] command used: bzr svn-import --verbose file://$PWD/repo-svn/plone/mcmaster.branding.theme repo-bzr/mcmaster.branding.theme [20:45] NfNitLoop: let me try... [20:45] NfNitLoop: oh, wait, I can do svn ls no problem [20:45] Hrmm, strange. [20:45] NfNitLoop: and checkout too, just did it [20:46] I've tried creating a shared repo, and a standalone branch, and a branch inside a shared repo [20:46] no luck [20:46] anything interesting in ~/.bzr.log ? [20:47] let me see [20:47] (please use a pastebin for anything over a couple lines) :) [20:48] no error [20:48] was about to ask what pastebin to use :D [20:48] Ehh, doesn't matter to me. [20:48] I don't see one in the topic. [20:48] me neither [20:49] * servilio goes to search for a paste [20:51] http://ubuntu.pastebin.com/ [20:54] servilio: You should not need to create anything at all before running `bzr svn-import` [21:00] maxb: that's what I thought, but that didn't work either [21:00] NfNitLoop: http://paste.lisp.org/+226A [21:00] Looks to me as if bzr-svn is having trouble understanding your svn repository [21:01] Is this repository public? [21:01] maxb: unfortunately, no [21:01] hm [21:02] maxb: not that it could not be, I just don't have a server for it [21:02] maxb: public server, it is [21:03] strange, that log seems to think it found 21 revisions. [21:03] Well, the easiest way for someone else to understand the problem would be for them to see if happening [21:03] and it explicitly says that it didn't create a working copy. [21:03] did it create empty subdirectories for you? [21:03] with svn-import, iirc those subdirectories are your branches. [21:03] THEY will have your history (bzr log) [21:05] NfNitLoop: when pointing to a non-existing directory it will create it and it has a .bzr directory inside [21:06] and 'bzr log' in that directory has no revisions? [21:06] NfNitLoop: no revision, it even complains that it is not a branch [21:07] is mcmaster.branding.theme a branch? Or does it contain trunk/ branches/ and tags/ ? [21:07] bzr info says it is a shared repo [21:07] nono, the one in your SVN repo. [21:07] NfNitLoop: it contains the regular trunk/branches/tags structure [21:07] ah. Hmm. [21:07] I don't know. [21:08] as I've said before, I just use 'bzr branch'. [21:08] by bzr info I meant when doing it on the newly imported dir [21:08] servilio: Could you run `svn info file://$PWD/repo-svn/plone/mcmaster.branding.theme` and pastebin please? [21:08] NfNitLoop: thanks anyway! [21:08] try doing bzr branch file://$PWD/repo-svn/plone/mcmaster.branding.theme/trunk yourNewTrunkBranch [21:08] alright, i fixed what was wrong [21:09] all i had to do was create a new ssh key with my launchpad username [21:09] maxb: http://paste.lisp.org/+226D [21:10] servilio: Right.... I'm guessing that the problem might be with bzr-svn's layout detection [21:11] Just to confirm, file:///home/servilio/Trabajo/McMaster/RHPCS/Plone/code/repo-svn/plone/mcmaster.branding.theme/trunk exists? [21:11] maxb: yes [21:12] maxb: it is an existing, used repository [21:12] maxb: I am migrating it to bzr [21:12] maxb: well, trying to... [21:12] OK, go to your ~/.bazaar/subversion.conf and find the [c133bc4f-f41c-0410-a8f9-f4ee1c8ca9d1 [21:12] ] section .... It says "guessed-layout = trunk3" ? [21:12] Change that to "layout = trunk-variable" [21:13] then try again [21:13] maxb: will try again, remember using that layout in the command line, but when trying to import the whole repo last week instead of project by project [21:18] maxb: great! that created a shared repo and inside the trunk, but I only see 4 revisions from the 40+ that are in svn [21:19] servilio: it'll only get revisions that are actually IN trunk. [21:19] try doing svn log on file:///home/servilio/Trabajo/McMaster/RHPCS/Plone/code/repo-svn/plone/mcmaster.branding.theme/trunk [21:19] it likely only has 4 revisions in it. [21:19] NfNitLoop: already did ;) [21:20] doing "svn log file://$PWD/repo-svn/plone/mcmaster.branding.theme/| grep ^r | wc -l" outputs 55 [21:22] Hrmm. [21:23] servilio: at some point in its history, was trunk/ moved? [21:23] maybe it's only showing history since trunk has been at its new location? [21:23] (I'm not quite sure how that works.) [21:27] NfNitLoop: if I add --stop-on-copy the log stops at 34 [21:29] NfNitLoop: maybe that together with something else, but not the moving/renaming of the repository alone [21:31] servilio: well, does the bzr branch at least accurately reflect the current state of trunk? [21:32] NfNitLoop: haven't checked that yet [21:32] NfNitLoop: kept myself busy trying to find a way to keep the history === salgado is now known as salgado-afk [21:38] well, if it has the right content, it's a matter of bzr representing history as best it can. [21:38] if it has the wrong content, it's a bug in bzr. [21:38] those have two different solutions. :) [21:39] Thank you bzr developers for making me not have to worry about 'default branches', 'fast forwarding', and other git hell. [21:46] hehe. [21:46] cody-somerville: amenn to that! [21:48] What is a default branch and fast forwarding? :p