[00:23] FYI problem was with crap tunneling via openvpn in an inopportune path, not bzr :-) [00:25] scorp007: P'raps with "bzr reconfigure" (but back up first). [00:29] ok [01:09] How do I continue a merge after resolving all conflicts? [01:31] It's not clear what you mean by "continue" [01:32] maxb: Nvm, what I wanted was bzr commit ( and what I really wanted was bzr rebase :) === r0bby_ is now known as r0bby [02:56] james_w: around? [02:56] hi [02:56] bzr builddeb question [02:56] I'm debianising something [02:56] whats the right way to get the upstream tarball recorded [02:56] specifically, as merge-upstream writes to debian/changelog [02:57] what version should I have in debian changelog, if the upstream release is N [02:57] yeah, that's currently broken [02:57] there are currently no commits on the debian branch [02:57] ok, so given its broken, do you have a recommended workaround? [02:57] you can trick it by setting an upstream- tag and then putting that version as the top debian/changelog [02:57] [this is why I think an import command that can do a merge would be clearer than a merge command which can do an import] [03:00] does bzr compress the stream as you check it out? [03:03] and does bzr show no progress information *at all* when you branch by default? === rockstar` is now known as rockstar [03:10] scorp007, yes [03:10] damn. If I'd known I'da used -v. [03:11] huh, it shows progress by default [03:11] if I kill it now I'm gonna have to start all over again. [03:11] well, it don't show me anything. [03:11] taking over an hour and still going... [03:17] how do I merge in a patch from lp? [03:22] james_w: this is annoying too :( [03:22] :!bzr merge-upstream --version=0.1 ../testscenarios-0.1.tar.gz ../trunk/ [03:22] bzr: ERROR: There are uncommitted changes in the working tree. You must commit before using this command. [03:23] james_w: pretty sure I filed bugs covering this. [03:23] scorp007: bzr merge BRANCH; bzr commit - I suggest you read the docs though, as it sounds like you're a new user. [03:24] lifeless: why is that annoying? [03:24] james_w: because I'm trying to debianise this [03:24] bzr merge does it [03:24] james_w: bzr merge has --force [03:31] lifeless, I'm not trying to merge a branch though [03:31] just a patch: http://lists.mysql.com/commits/93844 [03:32] erm, I think I got it actually [03:39] james_w: bug 498402 [03:39] Launchpad bug 498402 in bzr-builddeb "debianising things with bzr-builddeb is near-impossible" [Undecided,New] https://launchpad.net/bugs/498402 [03:40] james_w: If you can suggest a workaround that would be great. [03:44] debuild -S -i -I [03:44] does launchpad support the bzr:// proto? [03:44] no, that won't work [03:45] what's the fastest one I can use? [03:46] arg. I keep getting bzr: ERROR: Cannot lock LockDir when I try to bzr pull from lp. [03:46] http does not support mkdir() [03:46] scorp007: you did 'bzr checkout' [03:46] to update a checkout, use 'bzr update' [03:47] if you want an independent branch [03:47] oh [03:47] you can run 'bzr unbind' [03:47] james_w: do you mean 'use import-dsc' ? [03:48] I'm already at the head. I'm trying to undo a local edit so I can merge a branch, but I can't even do a bzr revert. [03:48] update just tells me I'm up to date. [03:48] I tried deleting the file I edited, but update won't get it again [03:49] lifeless: yeah, but that won't put your upstream branch as the base [03:49] james_w: I'm fiddling with that direction already, however its broken in treeless repos [03:49] I've filed a bug [03:50] I saw [03:50] I merged your branch to fix it [03:52] james_w: I think that was merge-upstream was broken [03:52] this is new [03:52] as I'm already running my branch, Ithink :) [03:53] * james_w -> leaving [03:53] ciao [03:53] please file bugs for anything still broken [03:53] oh, I will :) [03:54] does bzr revert not work with lightweight checkouts? [03:57] it works [03:57] you might like to provide more detail with these questions [03:57] 'I experience XXX, is that expected' [03:58] I sort of alluded to it earlier. Same problem with locks. [03:58] D:\dev\mysql-5.1>bzr revert [03:58] bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.1/ [03:58] .bzr/branch/lock): Transport operation not possible: http does not support mkdir() [04:00] that appears to be a bug [04:00] awesome. [04:00] note that using lightweight checkouts over the internet will be very very slow: don't do it. [04:00] that makes me even happier. [04:00] what do you suggest? [04:00] heavy checkouts? [04:00] bzr branch http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.1/ [04:00] or follow the mysql docs they wrote up [04:01] I did. [04:01] there are several howtos [04:01] as we speak, I'm running >bzr branch lp:mysql-server [04:01] I'm pretty sure none of them suggest lightweight checkouts over the net [04:01] it's been going for 2 hours. [04:01] and the bloody thing won't finish. [04:01] with no feedback, either. [04:01] had you run launchpad-login ? [04:01] scorp007: is it using network or cpu ? [04:01] no, but is that necessary, just to view it? [04:02] yes, it's downloaded 900mb of stuff. [04:02] and occasionally uses cpu. [04:02] scorp007: launchpad-login enables bzr+ssh which is a lot faster than http doing VFS calls [04:02] for most projects it doesn't matter [04:02] but mysql-server is very large, and it makes a great deal of difference there [04:03] great... I wish they told me. [04:03] they just say "use bzr branch lp:foo" [04:03] which seems to default to http [04:03] :< [04:03] there is a discussion at the moment about making the default better [04:03] its desired [04:04] I'm sure. But this has killed over 2 hours of my time and I don't know whether there is a benefit of killing it and starting over. [04:04] I already have a lw-checkout copy though -- perhaps I can convert it to a branch? [04:05] (it's times like these I wish they used git... or even CVS for goodness sake.) [04:06] with those old things like cvs or svn, you can at least abort the process and continue on, just by running an update. [04:06] if I cancel this branch operation, it's gonna start from scratch. [04:10] do you know if it's possible to put my lw copy to use? [04:10] i.e. convert it to a "real" branch or something? [04:20] scorp007: you can convert it but it has to download the same amount of history [04:20] scorp007: I would stop the branch, do launchpad-login, and branch again. [04:21] so you think I need a launchpad account in order to get access to the code in a timely fashion? [04:21] scorp007: as for using git, bzr and git branch at the same speed when using the smart server these days [04:22] right, but what will a lp-account help me with here? [04:23] scorp007: as I said above it lets you use bzr+ssh [04:23] oh [04:23] so the command would then be bzr branch bzr+ssh://lp:mysql-server ? [04:23] no, still lp: [04:23] oh [04:23] how will I know what it's using? [04:23] but if you've logged into launchpad it selects bzr+ssh under the hood [04:24] oh [04:24] and are you sure it's not using it now/ [04:24] ? [04:24] it will ask for your ssh passphrase ? :P [04:24] scorp007: have you done bzr launchpad-login before? [04:24] no [04:24] then yes, I'm sure [04:24] so it never uses ssh anonymously? [04:25] what about regular bzr:// without ssh? [04:25] launchpad doesn't operate a naked bzr:// protocol server. [04:25] oh. [04:25] why's that? [04:25] no reason [04:28] hmm, I've reg'd an account, but how do I know what my username is? [04:28] It only asked for a display name and email. [04:29] its the bit after the ~ on your home page [04:29] oh [04:39] why don't I get any progress information with branch? [04:39] even with -v@ [04:39] what do you get [04:39] only: [04:39] D:\dev\bzr>bzr branch -v lp:mysql-server [04:39] Connected (version 2.0, client Twisted) [04:39] Authentication (publickey) successful! [04:39] Secsh channel 1 opened. [04:40] that's it. [04:40] might be a windows thing [04:40] we normally show a progress bar [04:40] hmm. [04:44] do you know any small projects I can check out just to see if the bloody thing works? [04:45] lp:testtools [04:45] thanks [04:46] oh so that works [04:46] but still no progress information... horrible. [04:46] especially for large projects. [04:46] s/oh/ok/ [04:47] file a bug, assuming you're using some half-recent release [04:47] Bazaar (bzr) 2.0.3 [04:47] yeah [04:47] file a bug [04:47] re: what? [04:47] not getting a progress bar [04:47] oh [04:48] ciao [04:48] thanks, cuya [05:34] lifeless: commandant is packaged in my jkakar/commandant PPA. The latest trunk version isn't package though, because it has some changes that rely on bzr 2.1 (I think). I'll probably back out those changes so I can make another release sooner than later. [05:56] jkakar: I mean in debian :) [05:56] jkakar: PPAs are not at all as convenient or discoverable as distros proper [06:56] Why does bazaar-vcs.org now redirect to bazaar.canonical.com? [06:56] You guys needed to become *less* associated with Canonical, not more! [06:56] wgrant: see the long thread about that on the list [06:56] * wgrant headdesks. [06:56] wgrant: I share your concerns. [06:57] WTF [06:57] * wgrant reads. [06:57] however, close association with canonical works both ways - for some folk its a 'way cool' response, for others its a negative [06:57] * Kamping_Kaiser goes to find thread [06:58] One of the major objections to bzr seems to be that it's owned by Canonical and only Canonical and only Canonical has anything to do with it. [06:58] While I am concerned about the change, the association with Canonical itself is something I'm very pro, and I don't think its something we should ever feel ashamed of. [06:59] Sure. [06:59] its not. but using a .canonical domain reinfoces the 'just a product' meme [06:59] But this new domain name shows that Canonical owns it, and you feel it is a Canonical roduct. [06:59] Exactly. [06:59] Not a community project. [07:00] so [07:00] grab my on jan 4th :P [07:00] this is too close to being work :> [07:00] lifeless: hehe. [07:01] there are however many positives to being a product, not just a project :). As I've said I have concerns myself. Bring it up in the thread. [07:02] I cannot yet find this thread. [07:02] for the logs: https://lists.ubuntu.com/archives/bazaar/2009q4/065173.html [07:02] wgrant: ^^ [07:02] I've heard about these people that like the Canonical association, but I've never seen one. [07:02] Peng: I presume MySQL does, but that's about all I can think of... [07:02] Kamping_Kaiser: Ah, thanks. [07:03] np. looks to be a dozen or so posts from the list history ( https://lists.ubuntu.com/archives/bazaar/2009q4/thread.html ) [07:05] Ah good, so everyone else disagrees too. [07:06] So, bzr is even more fucked than before. [07:08] don't whine here. Post to the thread. [07:08] If you want to have an impact, that is. [10:27] I'm wanting to install on a Gentoo machine, but http://wiki.bazaar.canonical.com/DistroDownloads#Gentoo just contains the code-formatted text "dev-util/bzr" - what does this mean? I'm lost! [10:29] Should I just download the tgz and work from that? Any easy_install script? [10:32] ChrisMorgan: dev-util/bzr is the Gentoo package name for Bazaar [10:32] Oh... how does that get installed? [10:32] I don't know, I don't use Gentoo, you do :) [10:33] It's not my machine, it's an OSUOSL machine, just wanting to work out exactly how to do it so I can ask them [10:33] It took me a while even to work out how to work out what OS it was... [10:34] `emerge bzr` doesn't work? [10:34] I'm not going to run it to see if it does [10:35] well, I can tell you how to install bzr from sources [10:35] I'm just wanting to know so I can ask them to do it [10:35] but surely if y ou are going to maintain a Gentoo machine, you should know how to install Gentoo packages [10:35] I'm not maintaining it. [10:36] then anybody who maintains it will know how to install a standard package [10:36] to just tell them to install the package mentioned on the wiki page [10:36] OK, that's fine then :-) [10:36] It's an OSUOSL machine hosting inkscape.org for Inkscape, and we want to switch from SVN to Bazaar for the website repository (Inkscape source has just moved to LP, so we naturally want the website to too) [10:37] is this for accessing the repository via bzr+ssh? [10:38] Possibly [10:38] (which is confusing if you said you are using LP) [10:38] Why is it confusing? [10:38] why do you need bzr on the inkscape.org server? [10:38] The website is updated via SVN currently [10:38] oh! [10:38] so you want to check out the website source code there [10:38] (Sure, we have to trigger svn up manually, but it's in an SVN repo) [10:38] yep [10:38] Yep [10:39] But I'm planning on having the new Inkscape website also modifiable from the web interface, and thus have it able to do committing and pushing as well as pulling and updating. [10:40] yeah [10:40] It's a Django thing we're (I'm) working on for it, Python, so that might make it easier, import rather than exec... I'll find out when I handle it [10:40] just installing the bzr package will be enough [10:40] So that's why it may need bzr+ssh [10:40] their admins should know how to do that [10:40] OK, thanks [10:42] Is there a nice friendly API for that sort of thing? something like import bzr, bzr.pull_update()? :D [10:44] there is an API, but it's more low-level [10:44] you can call the command which handles "bzr pull" [10:44] OK. I'll take a look at it when I get to that stage. [10:44] but then you have no advantage over actually calling "bzr pull" [10:44] Except saving memory [10:44] No need for a second Python interpreter to be loaded into memory [10:45] true [10:45] And if editing content through the website is done often, it's worth saving. Faster as well, though for some things you'd want it asynchronous === menesis1 is now known as menesis === mbarnett` is now known as mbarnett [15:44] hi [15:44] someone pushed his branch on top of server trunk and replaced the whole log with it [15:44] is there any way to fix that? [15:45] nyu: Hi [15:45] nyu: to prevent that from happening in the future you mean, or to get the old trunk back? [15:45] I don't think we have local branches without the new log. "bzr pull" seems to have overwritten it [15:45] jelmer_: the latter [15:45] though the first would be useful too [15:45] nyu: if you run "bzr heads --dead" on the server it should list as one of the revisions your previous tip [15:46] nyu: you can then switch back to that revision by running "bzr pull -rrevid: ." [15:48] trying... [15:52] jelmer_: "bzr heads --dead" lists nothing === khmarbaise_ is now known as khmarbaise [15:53] nyu: what about without --dead? [15:53] jelmer_: I think the revision is just not there. it's not that he merged a branch we didn't want to merge, he replaced the whole thing with his local branch [15:53] nyu: even if he replaced the tip of the branch then the revision should still be there in the repository [15:53] so the log now lists merges from his local perspective ("merge from remote", etc) [15:54] ok, without --dead I get a commit id [15:54] *revision id [15:56] this rev id corresponds to a commit done after the mess [15:57] tried bzr heads --all, but this is all it lists [15:59] nyu: did they just push, or did they log in and rm -rf and then push? [16:00] nyu: Did they perhaps merge in the old tip before pushing ? In other words, does "bzr log -n0" list the old tip somewhere? [16:00] james_w: I think they just run "bzr push", which failed with "diverging branches" error, then run "bzr merge " and "bzr push" again [16:01] seen this happen before. but last time we had a recent local branch as backup [16:01] nyu: ah, in that case you can just find the old tip in the log of your local branch [16:01] james_w: my local branch is destroyed [16:01] then run "bzr push --overwrite -r " [16:01] I run "bzr pull" [16:01] then grab from the server again [16:01] it's ok [16:01] the revision is still there [16:01] that's the problem. the server one was replaced [16:02] no it wasn't [16:02] "bzr log -n0" and you will find it in the history somewhere [16:02] I'm confused now [16:02] bzr log does list commits from before this happened, but they date back to october [16:03] what's the branch URL? [16:03] afterwards it's all "merge from server" commits [16:03] sftp://bzr.savannah.gnu.org/srv/bzr/gnewsense/metad/ [16:06] "Resync with gnash packages from getgnash.org" [16:07] was that the old tip? [16:07] sounds like it could be, yes [16:07] it's fairly recent [16:08] bzr pull --overwrite -rrevid:rmh@aybabtu.com-20091217202044-ze9vfdfi9r157uin [16:08] on the server [16:08] then pull --overwrite locally [16:08] when you say on the server, do you mean on the server filesystem directly (e.g. sshfs mount) or with as argument? [16:09] then "bzr merge -rrevid:karl@kgoetz.id.au-20091218212429-gx6ixjplvm5yo88u sftp://bzr.savannah.gnu.org/srv/bzr/gnewsense/metad/" [16:09] on the server [16:09] ok [16:09] or locally, followed by push --overwrite instead of pull [16:13] then put "[DEFAULT]\nappend_revisions_only = True" in .bzr/branch/branch.conf on the server to stop this happening again [16:14] pffiew [16:14] thanks a lot man [16:14] I got pretty scared, I thought I'd have to live with a fscked log [16:15] can this append_revisions_only setting be applied to the whole shared-repo? [16:16] it's per-branch [16:17] uhm a quick google shows some pages suggesting it should be made the default [16:17] IMHO it'd be a good idea. it can be a terrible mess when this happens and people like me have no clue on how to resolve it [16:18] oh, I see your name there [18:24] can i push to 2 destionation with 1 branch? [18:24] yes [18:25] Tak: any url can i refer ? [18:26] u mean .. i can push to subversion n launchpad together ? [18:27] you'll have to do two pushes, but you can push to both places from the same branch [18:29] owh ok .. [18:30] i got it .. u mean .. i need to push manually from the same brach to destination branch right ? [18:30] yeah [18:31] ok thanks Tak === abentley1 is now known as abentley === Noldorin_ is now known as Noldorin [21:16] if i've been working with multiple branches on a project and then stepped away for a few months what's the easiest way to see which branches i already merged back to the main branch? [21:59] rocky: there is a plugin, removable [22:00] or you can just running missing [22:04] Hello :-) [22:05] Any IDEs that integrate well with Launchpad? I'm guessing no, but no harm in trying I guess :-) [22:05] (IE: the bug tracker, the bzr bit ...) [22:05] Normally I'm an emacs person but people around me keep bugging me to look at netbeans/eclipse so I decided to humor them [22:22] I need some speed benchmarks for Bazaar 2.0 [22:23] lvh: that stuff is on my tod [22:23] *todo [22:43] ronny, I thought you were a vi person [23:17] lvh: pida stufff a on other things