[01:42] * igc back in a few hours === davidstrauss_ is now known as davidstrauss [03:55] *** FYI. Launchpad Codehost will be going down shortly for a code update. ~ 5-10 mins before I'll be doing so; ETA of outage < 30 secs, all going well. *** [04:05] *** About to restart Launchpad codehost for a code update *** [04:07] *** all done *** === mwhudson_ is now known as mwhudson [05:40] hello, I'm a newbie on bzr, I have an issue when I'm going to bzr launchpad-login with my id, it always tells me: [05:40] bzr: ERROR: Connection error: curl connection error (error setting certificate verify locations: [05:40] CAfile: /etc/curl/curlCA [05:40] CApath: none [05:40] ) [05:40] on https://launchpad.net/~tim-miao/%2Bsshkeys [05:40] I'm sure I've uploaded my public rsa key, what's the problem? [05:40] heh curl [05:40] I'm using the bzr on OpenSolaris 2010.03 release [05:43] bob2: excuse me? [05:43] bob2: would you please give me some clue in detail? thanks! :) [05:43] no, sorry [05:52] back [05:58] bob2, that was kind of harsh [05:58] sorry :| I misread it as being from get, so was going to suggest http+urllib [05:58] but then realised I had no idea [06:00] s/get/branch/ [06:01] i would guess he was trying to lp-login and it's trying to send xmlrpc over ssl [06:01] and that's failing [06:04] k, sprint stuff sent === davidstrauss_ is now known as davidstrauss [06:56] hi all ! === vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: vila | bzr 2.1.0 is out [07:21] hi vila [07:21] hey poolie ! [07:24] poolie: I'll submit a fix shortly for bug #474807 and I did apply for patch piloting this week [07:24] Launchpad bug 474807 in bzr "MYSQL/BZR P3: Incomprehensible results of "bzr log -rX..Y"" [High,In progress] https://launchpad.net/bugs/474807 [07:27] poolie: since the active review list is mainly from core, I plan to dig the wip queue and maybe have a look at the bugs with patches [07:28] hey, that's pretty good [07:28] i barely saw you last week, being away and then having some activities in the evening [07:29] I paused a bit on the merge stuff, concentrating on some plugin paths and log bugs, thanks for the past reviews and even more thanks for the coming ones ;-) [07:29] that's ok [07:30] i spent today mostly doing some clerical things, including getting organized for Belgium [07:30] i'm planning to take a holiday in the week after easter [07:30] there are two merges (well conflicts really) submissions waiting for review anyway [07:30] coll [07:30] cool [07:35] Anyone got an idea why `bzr serve --git` is currently hard coded to localhost? [07:35] in what sense? [07:37] poolie: The serve_git function in server.py (of the bzr-git plugin) calls "server = TCPGitServer(backend, 'localhost')" [07:37] (At the very bottom of the file) [07:37] I'm just checking if trunk is the same [07:39] Yup. In trunk too [07:39] * dcoles opens a bug [07:45] gah, there are days.... [07:45] I read the above 'In trunk too' as '"I'm drunk too" and then 'opens a bug' as 'opens a mug'.... [07:45] * vila get more coffeee [07:46] Hahaha === mthaddon` is now known as mthaddon [07:57] bug 543998 [07:57] Launchpad bug 543998 in bzr-git "bzr serve --git is hardcoded to localhost" [Undecided,New] https://launchpad.net/bugs/543998 [07:58] Looks pretty simple. I might try and write up a patch on the train home. [08:07] * igc dinner [09:35] Heya GaryvdM [09:36] Hi bialix [09:36] I'm thinking about starting packaging 0.18.4 [09:36] I've just committed some tests for treewidget select all. [09:37] bialix: Cool. Let me know If I can help at all. [09:38] bialix: I'll do 0.19b1 on Wednesday (24th) evening. [09:39] GaryvdM: you can help, yes. Can you confirm I can start 0.18.4 or you have some plans? [09:40] bialix: Yes you can start on 0.18.4. [09:40] GaryvdM: ok, I've let the 0.19b1 for you then [09:41] bialix: I'm working on some stuff for trunk. So I want to leave 0.19b1 for the last minute. [09:41] ok [09:41] in the end it's b1 [09:41] Yes :-) [09:43] GaryvdM: I have last revno 1227 in 0.18 branch. (Restore test removed by rev 1225.) That's correct? [09:43] * GaryvdM looks [09:43] GaryvdM: can you skim through NEWS? [09:44] GaryvdM: and one more thing: do you have a tree name for this release ;-) ? [09:44] jelmer: Have you seen bug 543998 [09:44] Launchpad bug 543998 in bzr-git "bzr serve --git is hardcoded to localhost" [Undecided,New] https://launchpad.net/bugs/543998 [09:44] GaryvdM: what about bug #533837? [09:44] Launchpad bug 533837 in qbzr "Trying to show the log of a file causes a crash" [High,Confirmed] https://launchpad.net/bugs/533837 [09:47] bialix: The revision is correct. NEWS has every thing. (Except test improvements, which I don't think should be in NEWS) [09:48] GaryvdM: do you have objections for codename "pussy-willow"? [09:49] Sounds good: http://en.wikipedia.org/wiki/Pussy_willow [09:50] yes, it is [09:51] bialix: I'm looking at bug 533837. [09:51] Launchpad bug 533837 in qbzr "Trying to show the log of a file causes a crash" [High,Confirmed] https://launchpad.net/bugs/533837 [09:51] I did not target that bug btw. [09:52] GaryvdM: it seems igc has assigned it to you and to 0.18.4. I've removed milestone assignment [09:53] bialix: Ok - I'm not going to look at it now. I'm going to stay focused on what I'm doing (treewidget stuff) [09:53] GaryvdM: that's great === radoe_ is now known as radoe [09:58] bialix, GaryvdM : Hi guys ! [09:58] bonjour vila! [09:59] GaryvdM: Test improvements in NEWS give *me* a warm feeling of confidence ;-) [09:59] Hi vila [10:04] qbzr 0.18.4 released. w00t! [10:04] dcoles: yep [10:05] dcoles: I'd consider that a low-priority bug, we need more testing of the server first [10:05] Ah. OK. [10:06] Wasn't quite sure of it's status, though it's been mighty handy of late :) [10:06] it seems vila enjoyed piloting :-) [10:07] dcoles: so it's working ok for you? [10:08] jelmer: For a very trivial repository, yes. I might just try something more complex [10:10] jelmer: Though it appears to be serving the wrong branch... [10:11] * bialix finishes the qbzr release [10:14] jelmer: It seems to be a tad confused in a shared repository. Regardless of how I try and clone, it grabs the first branch I pulled [10:15] (I have 2 branches in this directory) [10:16] bialix: \o/ [10:16] hi jelmer, thank you! [10:16] dcoles: how are you cloning from it, git clone ? [10:16] Yup [10:18] IIRC it should just grab all branches in that case [10:19] I tried git clone git://localhost/nonexistantfoo and I still get the same branch [10:19] This is even if I try and serve from the other branch (rather than the shared repo) [10:22] Though I notice that `bzr serve --proto=bzr` refuses to branch when it's not run from the shared repo [10:23] Hi, I wonder if anyone would be able to help me please? I'm doing a lightweight checkout of an svn repo and it is failing with an "Unable to find old fileid for..." for a file in the svn repo. Any ideas what would cause this? [10:24] fullermd: quick check on FreeBSD8, is /var/crash the right and only place to search for left over dumps after a hard crash ? (One that required running fsck and then some) [10:25] * vila shudders, rats, crashing again :( [10:26] dcoles: hmm, that's probably a bug :-( [10:27] jelmer: Ok. I'll see if I can reproduce the circumstances and file it === elmo_ is now known as elmo [11:15] hello [11:16] is there a public installation of the current trac-bzr? [11:19] gioele: do you mean: to see it in action? [11:20] bialix: yes [11:21] I'm not sure about "current" [11:21] but there was some open-source project using it [11:22] what exactly you want to see? [11:23] jelmer: do you know any existing public server with trac-bzr? [11:26] bialix: I would like to see how it looks like: how branches are managed, whether relationships between branches are shows, how the timeline looks like, etc. [11:27] branches are not managed [11:27] relations between branches is not shown [11:27] I'm using it at my work [11:27] timeline shows revisions on;y for the mainline [11:27] *only [11:28] bialix: "how branches are managed" as in "how multiple branches in the same shared repo are shown" [11:28] gioele: as directories [11:28] lemme show you some images [11:29] bialix: so basically it still looks like http://bugs.bitlbee.org/bitlbee/browser [11:30] gioele: here http://imagebin.ca/view/ZrY9m2.html [11:30] gioele: yes [11:31] gioele: do you know do they're using trac-bzr or ? [11:32] bialix: they = bitlbee? Yes, I think so: that page is linked from the old wiki page of TracBzr [11:33] yes, bitlbee [11:37] hello [11:38] I'm using bzr in ubuntu with Bazaar Explorer. is there any way to export my projects log history (in html format)? [11:39] gioele: there is also [[Branches]] macro to use in wiki pages [11:39] tenchi: no, we don't have such feature yet [11:39] tenchi: but there is special plugin to do so [11:39] check htmllog [11:40] also there is xmloutput plugin do support xml output of some commands [11:40] thx, will google it [11:41] also: using hungarian characters in the commit text provided some errors [11:41] are you working on utf8-ing it? [11:42] tenchi: is should be unicode/utf8 clean [11:42] tenchi: what did you use to read the commit log? [11:42] tenchi: I'm working with Russian and it's fine (on Windows) [11:42] hmmm [11:42] tenchi: make sure you have correct LANG settings [11:42] just checked it and it works [11:42] strange [11:43] will tray again at next commit [11:43] typed all texts in english because of this [11:44] tenchi: I have been using Italian accents and German vowels for quite a long time and everything seems fine [11:45] tenchi: http://michael.ellerman.id.au/bzr/plugins/htmllog [11:45] ok, will not whine if it works :-D [11:45] When I first tried there was some error but I can't remamber what... [11:45] tenchi: ghosts [11:52] I just tried the gnulog plugin and it works fine for me :-D [11:54] omg [12:05] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572109 <== anyone know if this bzr-svn bug is going to be fixed any time soon? [12:05] Debian bug 572109 in bzr-svn "AttributeError during 'bzr shelve'" [Normal,Open] [12:05] I'm sure it can't be that hard, and I'd really appreciate being able to 'bzr shelve' in my svn checkouts again [12:05] LeoNerd: it's already fixed upstream [12:05] Ah excellent [12:06] Hmm.. if I bzr co a later copy of bzr-svn would that do it? [12:06] LeoNerd: yeah [12:06] OK thanks [12:11] Is it possible to use "bzr send" (or something else) to send only specific changes? [12:11] aburch: you can give it a revision range [12:13] jelmer: "bzr send -r 1961..1962" still bundles two revisions (the same with -r 1962..1962, -r 1962) when the remote has rev 1960 [12:15] jelmer: Thanks; that fixes it. Have commented on the debian bug to this effect too; hopefully they'll pull it [12:15] LeoNerd: they == me :-) [12:15] Ah. :) [12:15] aburch: What are you trying to do exactly ? Sending a bundle without those revisions seems pointless since the remote side won't be able to apply it. [12:15] s/side/site/ [12:18] jelmer: I fixed a bug and used "bzr send" to send the patch, now I fixed something else and wanted to send only the second commit upstream. [12:20] jelmer: Git could do this with "git format-patch -1". As long as the patches do not depend on each other, upstream should be able to apply them seperately. [12:21] aburch: bzr bundles in their current form are intended to keep history (e.g. revision ids stay the same), that's not necessarily the case for "git format-patch" [12:22] aburch: I guess to answer your question: it's not possible at the moment, but please file a bug report about it. [12:23] jelmer: Hmm, ok. Then I will either look into how Bzr handles branches or just use "bzr diff". (And file the report.) === mrevell is now known as mrevell-lunch === mrevell-lunch is now known as mrevell === Meths_ is now known as Meths === aburch_ is now known as aburch === deryck is now known as deryck[lunch] === salgado is now known as salgado-lunch === deryck[lunch] is now known as deryck [16:50] hey lifeless, got time for a question about the high(er) level lock hooks? === zini1 is now known as zini [17:14] dvheumen: I think he's asleep, being in .au [17:14] ah right okay [17:15] are you up for a (simple) question by any chance? [17:15] For certain values of "simple", sure :-) [17:17] jelmer, maybe you already caught on to that, the idea was that I'd implement a slightly "higher" level of lock hooks. I've been browsing around the code for a good location (or locations) and I think that, for the working trees, I could best implement it in the MutableTree class. But the MutableTree class only "implements" lock_write and lock_tree_write but no lock_read. [17:18] So I was wondering, was lock_read just forgotten, or should I take the implementation up to MemoryTree and WorkingTree classes [17:18] because lock_write and lock_tree_write only raise NotImplementedException and nothing more [17:23] I personally think I could best implement it in MutableTree, but I wanted to wait for some confirmation :) [17:23] ow w8, not it's not, it's stupid, because the actual locking implementation isn't there [17:23] nevermind [17:24] dvheumen: MutableTree seems like the best place to me [17:24] WorkingTree could be thought of as OnDiskMutableTree [17:25] jelmer, but then I could only do the implementation partially, right [17:25] dvheumen: yes, but the interface would be on MutableTree [17:25] dvheumen: how the subclasses of MutableTree call the hook is up to them [17:25] okay, that's exactly what I was thinking. okay tnx [17:26] in that case I also know what (approximate) level to choose for the branch and repository hooks :) === salgado-lunch is now known as salgado [17:52] how can i use bzr to delete a branch? [17:54] is it difficult to define a custom location scheme a la lp:projectname? [17:54] it gets tiring to type bzr+ssh://servername/prefix/for/all/my/bzr/repos/ all the time [17:58] No, it's pretty simple, I suggest looking at how the launchpad plugin defines lp: [17:59] (which is slightly complicated only because it goes and hits an xml-rpc server to resolve the name) [18:00] mgedmin: http://pastebin.ubuntu.com/399436/ [18:00] jpds, thanks, but it's a bit cryptic [18:00] is it ~/.bazaar/config? [18:01] mgedmin: ~/.bazaar/locations.conf [18:02] and what does it do? lets be do cd ~/someproject/devell && bzr branch X where X gets translated to prefix/X ? === beuno is now known as beuno-lunch [18:02] mgedmin: You'll then be able to do: bzr push - from a branch and it will automatically go to lp~you/someproject/branchname [18:03] * mgedmin googles for locations.conf [18:03] thanks for the pointer [18:03] from what I see I'm not sure it's what I want, but I'll read [18:06] http://wiki.bazaar-vcs.org/ConfiguringBzr was not useful [18:07] no useful matches in wiki search [18:08] no matches at all in http://doc.bazaar.canonical.com/latest [18:08] * mgedmin searches for appendpath [18:09] that works better === beuno-lunch is now known as beuno === radoe_ is now known as radoe [20:00] gar [20:00] I have a newbie question :) [20:00] I have a revno that removed stuff [20:00] I want to revert only those changes [20:01] revert seems to not be what I want [20:01] and merging in that revision, or 111..112 (assuming 112 is the revno I that I want to revert) doesn't work either [20:02] merge -r 156..155 will undo the changes that you see with diff -c 156 [20:03] of course, the other way around [20:03] *sigh* [20:03] thank you james_w :) [20:17] hehe. [20:49] If I create a branch, then merge the changes, would I be able to revert back to that at any time? [20:50] or should I say... could I create a branch, commit, then revert back to what it was before that, while keeping the branch [20:51] codygman: Yes. [20:51] alright cool [20:51] codygman: You can do bzr uncommit [20:52] well here's what i'm trying to do [20:52] i'm experimenting with different facebook connect solutions on my django site.. and i'd like to keep note of each one [20:52] and be able to revert to the one i like [20:53] codygman: for that, I would make a branch for each solution. [20:53] codygman: And merge the one you want. [20:53] the branches stay until i delete them right? [20:53] codygman: Yes [20:54] codygman: or pull the one you want if you have no other commits in your main branch. [20:54] Thanks! [20:54] I have quite a few other commits lol [20:58] hi jam? [21:00] bzr branch "name of my branch" isn't the right syntax huh [21:00] is their anything similiar to that? [21:00] similar* [21:00] codygman: it's "branch FROM TO" [21:00] what do you want to do? [21:00] I just want to test out different facebook connect solutions on my django website [21:00] then be able to revert to the one I like most [21:01] ok, and they're already in different bzr branches? or you're going to write things in different branches? [21:01] there is currently only the master branch [21:02] basically.. I want to be able to revert to my website without the facebook connect plugins.. code the solution.. then do it for the other 2 possible solutions [21:02] and be able to revert to the one I like best [21:03] codygman: (in the dir above master) bzr branch master solution1 [21:03] Hi poolie [21:05] then when I want to test.. I just merge right? [21:05] bzr merge solution1 master ? [21:07] codygman: Run mange.py runserver in the branch [21:07] well.. this is actually on an apache server.. that's why i'm trying to get everything working in that directory [21:08] Ok, 2 options: [21:09] 1. use the bzr-colo plugin [21:09] that allows you to have more than one branch in the same dir. [21:11] 2. step 1: branch apache-dir ~/proj/master [21:11] hi gary [21:12] step 2: edit apache-dir, commit, push ~/proj/solution1 [21:13] step 3: (in apache-dir) bzr pull ~/proj/master [21:13] go back to step 2 repeat [21:14] when you chose, pull master, then merge concision solution. [21:14] codygman: ^ [21:15] I'm reading! Thanks for that. I think i'm going to try the bzr-colo plugin [21:15] if i can't do it with that, i'll use option 2 [21:16] codygman: I would recomend trying: branch into your home dir, and run with ./manage.py runserver [21:16] vila: Yes, that's where crashdumps get copied to on boot, unless you change it. [21:17] codygman: I had good mileage with that when I was working with django. [21:21] you mean runserver? [21:24] codygman: Yes, runserver, and working with branches in my home dir. [21:28] night all [22:00] hi [22:00] we have a pretty big problem [22:00] our branch has randomly jumped back about 30 revisions and we're not sure why [22:00] we may have lost a crapload of work but not sure [22:00] http://bazaar.launchpad.net/~ubuntu-manual/ubuntu-manual/main/changes [22:01] it was on 565, but then we think it got screwed when Sayantan pushed something and merged === salgado is now known as salgado-afk [22:01] no we have people sitting on 554 testing it all over the palce [22:01] pushing can do that [22:02] so we've got a tonne of people (hundreds) who are testing an older version, but on a newer revision number [22:02] what happens now? [22:02] bzr log -n0 [22:02] that command gives me 0 - 65 [22:02] we've got 500+ revisions [22:03] it should give you a long and complicated nested log [22:03] i might need to turn up my line count in terminal [22:04] run it through less [22:04] it looks like we've lost about 30 revisions, 2 days worth of work [22:04] really? [22:04] yes [22:05] which isn't particularly cool [22:05] do you mind jumping in to #ubuntu-manual ? [22:05] ok, two thinsg: push can change rev order, so look carefully at the output of bzr log -n0 [22:05] also, those revs still exist on the computers of whoever committed them, so even if someone broke launchpad, you can recover them [22:05] (msot likely) [22:06] http://bazaar.launchpad.net/~ubuntu-manual/ubuntu-manual/main/changes/525.1.17 < -s that the work you think is gone? [22:07] http://paste.ubuntu.com/399564/ [22:08] and there is more, under rev 529.xx [22:08] but i'm presuming that stuff has been preserved? [22:10] http://bazaar.launchpad.net/~ubuntu-manual/ubuntu-manual/main/changes/525.4.25 [22:10] that's more stuff that we had [22:10] is that stuff preserved, or is it gone? [22:55] hey all! I've been searching around, is there something like a rebase, but that collapses your commits into just one? [22:55] such as, I've made a bunch of commits , now I want to push it somewhere else as one [22:56] bzr merge; bzr revert --forget-merges; bzr commit - that will discard the history of where the changes came from [22:56] or if you just merge and commit, bzr log will, by default, show it as one change, and keeps the little details available if desired via log -n0 [22:58] lifeless: doesn't a simple merge squash the remote history, not the local history? [22:59] or do I rebase and then merge, or something interesting [23:03] mrooney: You realize you could just uncommit multiple commits, then commit once? [23:03] yeah certainly [23:03] but as a workflow item, that's tedious and annoying [23:04] That's probably because squashing commits isn't a common workflow :-) [23:04] Why do you want to do it anyway? [23:05] multiple uncommits + commit == merge ; revert --forget-merges, commit [23:07] yes, just depends whether you're already in a branch with the commits to be squashed [23:14] jelmer: ayt? [23:14] mwhudson: otp [23:15] maxb: I don't really, some people want to wrap our svn workflow and don't want all their local commits to end up as individual commits on the svn end [23:18] mkanat: https://bugs.edge.launchpad.net/loggerhead/+bug/513044/comments/6 [23:18] Ubuntu bug 513044 in loggerhead "loggerhead (codebrowse) hangs occasionally on launchpad" [Critical,Triaged] [23:18] mwhudson: hello [23:18] jelmer: well, i have to admit i'm otp now too :) [23:18] I'm hoping to convince them to just rebase and enjoy all the history being in svn [23:18] jelmer: but did you have time/brain energy to talk about incremental bzr-hg imports? [23:19] mwhudson: I'm always excited to talk about bzr-hg imports! [23:20] jelmer: heh heh [23:20] okay so if I can do a bzr branch of an svn repos [23:21] and then someone else branches my branch, can they bzr push $SVN_REPOS without issue [23:21] jelmer: last time we talked, i think we decided that limiting in findmissing() would be too hard? [23:21] mrooney: yes. [23:22] mwhudson: yep [23:22] yay, my new machine has shipped [23:22] okay great [23:23] and a silly question I think but one I've had a hard time googling an answer for [23:23] if I've got a branch on my machine, what do I need to set up to have someone else be able to branch from it [23:24] jelmer: so where can you limit? [23:24] i guess i need to figure out what [23:24] cg = self.source._hgrepo.changegroup(missing, 'pull') [23:24] is doing [23:24] we're all on a LAN here, I've never figured out how to push and pull from another LAN machine [23:24] mwhudson: you can't really limit what the server will send you, but you can limit how much you process [23:25] mwhudson: cg is a unpacked hg bundle [23:25] oh ok, so addchangegroup needs to change? [23:25] mwhudson: it contains three chunks of data in order - from memory: revisions, inventories and texts. We basically loop over all three and you'd need to limit how much processing you do in the first then skip irrelevant stuff in the second two loops. [23:27] jelmer: that sounds about right [23:27] i don't know what "skip irrelevant stuff" means in concrete terms [23:29] mwhudson: inventories (manifests in mercurial jargon) that aren't referenced by any revisions that you're importing should be skipped as well as texts that aren't referenced by any of those manifests. [23:29] jelmer: sorry :-p [23:29] jelmer: i understood that much [23:29] mwhudson: the revisions have references to the manifest ids [23:30] and the manifests have references to the text ids [23:30] jelmer: ahh [23:30] so i'll need to keep track of some set()s i guess [23:30] you might be able to leverage the existing datastructures [23:30] "referenced manifest ids" and so on [23:30] since they try to keep track of what manifest is for what revision [23:31] mrooney: SSH access should be sufficient for people to push/pull to/from you. [23:31] and what mercurial file rev is for what bzr fileid/revid [23:32] jelmer: ok, that should be enough to keep me going until i have some more questions i guess [23:32] morning [23:34] RAOF: but would every user that wants to pull from me need a user on my machine? [23:34] mwhudson: awesome [23:34] is there any documentation I can read for this? I'm reading through http://doc.bazaar.canonical.com/latest/en/user-guide/organizing_branches.html and such, but I can't find anything that tells you how to actually set up the sharing [23:34] hi Ian === iBasic_ is now known as iBasic [23:52] jelmer: okay one more question for you, I can't create a --stacked branch of an svn branch, correct? [23:52] but what happens if someone branches --stacked my branch, and then tries to push to svn? [23:52] mrooney: no [23:53] mrooney: If they --stacked your branch, that would work and they would be able to push [23:53] you just can't stack on a svn branch [23:53] okay so I can branch an svn branch, serve it with bzr serve, and people can branch --stacked and push back to svn all they like? that seems good! [23:54] jelmer: grar [23:55] jelmer: the unpack_chunk_iter makes live a little awkward to do this, maybe [23:55] ^ interface