=== frakturfreak_ is now known as frakturfreak [07:34] i have a trouble using bzr to branch on a nfs mount, ("bzr branch ...", $(pwd) is a nfs mounted directory), i get an error saying "Could not acquire lock ... No locks available", googling it told me it is a trouble with nfs locking. But, i have lockd running on both client and server, i tried doing a "mount -o remount,nolock" for my nfs mount, but it tells me "an incorrect mount option was specified" (???). Any idea? [14:50] Can you generate a bundle of an entire branch? I tried -r 0.. . but that didn't work [14:52] jelmer_ / jelmer__: hi [14:52] mathrick@hatsumi:/tmp$ bzr get https://github.com/dto/iosketch.git [14:52] bzr: ERROR: Invalid http response for https://github.com/dto/iosketch.git/info/refs: Unable to handle http code 0 [14:52] any idea what's wrong? [14:52] git seems pretty happy cloning that repo [14:56] mathrick: hi [14:56] I get a 200 from that url with curl, but if I add an Accept-Encoding header I don't get a valid response back [14:56] mathrick: when cloning from github, use git:// [14:57] mathrick: they don't support "dumb" access over http at the moment [14:57] jelmer__: oh [14:57] are there different modes of access over HTTP for git? [14:58] mathrick: yeah, two [14:59] odd [15:00] jelmer__: but speaking of github, I have another odd failure [15:00] ah, not actually github [15:00] just git [15:02] 3623kB 4kB/s - finding revisions to fetch 132 <-- huh, that's a lot of data sent for 132 revs [15:02] jelmer__: okay, got it [15:02] mathrick@hatsumi:/tmp$ bzr get http://common-lisp.net/project/parenscript/git/parenscript [15:02] bzr: ERROR: [Errno 2] No such file or directory: 'pack-027b9225cdb4a06f422e6321d92328dfb7103b92.pack' [15:02] that's after the above revision-finding [15:03] mathrick: git access over "dumb" http is really inefficient [15:03] again git seems perfectly happy [15:03] jelmer__: I see. Well, that's what I got for the URL, so guess can't blame anyone but the author here [15:04] but I'm more concerned with the fact this thing fails ultimately [15:05] * jelmer__ is trying locally === jelmer__ is now known as jelmer [15:10] jelmer: does it fail for you too? [15:11] mathrick: it's working so far.. fetching revisions 506/609 [15:11] huh [15:11] it errors out right as it tries to fetch revisions for me [15:13] that, or during revision-finding, hard to say [15:13] jelmer: it might be some outdatedness in my setup, lemme check [15:14] bzr-git 0.5.0 [15:14] seems to be in my ~/.bazaar/plugins and not distro package [15:14] mathrick: yeah, that's fairly old [15:14] mathrick: You might also want to try the daily builds PPA [15:14] I will, yeah [15:15] huh [15:15] now I got 0.5.2 from distro, and it errors out with "not a branch" [15:15] jelmer: is the bzr-git 0.5.2 from Ubuntu Maverick sufficient, or is this one of those "would have been updated if we could convince Canonical to SRU the thing" occasions? [15:17] AfC: I think it's not really about being able to convince Canonical to accept the SRU, it's more about the effort involved in doing a SRU vs the benefits [15:18] AfC: SRU's can't really be new upstream releases, and cherrypicking bugfixes is often tricky (and also carries risks) [15:19] jelmer: sure. I guess you know about mere users's frustration at constantly being told "it works in the next (unreleased) release of the distro" [15:20] For me personally your work has always been caught by that. Kinda a shame. (for example, I want almost 8 months without being able to use Bazaar to work on GNOME stuff. It's working now, though, for which I compliment you and the others working on bzr-git!) [15:20] AfC: Yes, I realize that - I've hit it as well myself. [15:21] AfC: But this isn't specific to Bazaar, it's specific to bleeding edge code in general - I see the same thing with Samba 4. [15:21] well, specific to bleeding edge code and the fact that releases happen only every 6 months [15:21] jelmer: where exactly is the daily build PPA you mentioned? [15:21] mathrick: https://launchpad.net/~bzr/+archive/daily [15:22] [as a slightly broader theme, Fedora is utterly unusable because no one runs release - developer throw stuff at rawhide without really caring about it, and meanwhile corporate sustains RHEL, but no one is actually trying to live on current and the result is always "wait for the next release"] [15:22] jelmer: right, but if we never get the code [in Ubuntu's terminology, SRU [15:23] jelmer 'ed] then the code will always be bleeding edge :) [15:23] anyway, not meaning to nag [15:23] AfC: SRU's are fairly heavyweight (for a good reason, we don't want to break existing stable users) [15:23] Yeah, but when shit wholesale doesn't work, then who cares that it's "not broken"? [15:24] AfC: http support in bzr-git was only added recently anyway - most people use git:// [15:25] Of course, we are dealing with this in GNOME land right now - GTK 3.0 is still not out and GNOME 2.26 aka GNOME 3.0 is due out in less than three months. Total dogs breakfast. [15:25] jelmer: ah, but that doesn't have bzr-git in it, does it now? [15:26] no, it does [15:26] it showed something different when I googled [15:26] * mathrick confused [15:29] mathrick: https://launchpad.net/~bzr/+archive/daily lists it for me [15:29] yeah, it does [15:32] jelmer: re: SRU, bzr seems to be particularly hard-hit by always being in the "will work in the next release" limbo === AfC is now known as AfC|zzz [15:32] I'm not quite sure what makes it so prone, but it's always there [15:34] mathrick: I'm not sure either :-/ [15:34] probably because there's so much tricky interop code (hello, Mr Jelmer sir), which never quite works until it's been bashed at by many people for a long time, which means every time you hit a bug, you're pretty much required to wait or go to the -dev anyway [15:34] * jelmer will probably be a bit more involved in the Ubuntu packaging of Bazaar as of January [15:35] which suggests it'd be actually stabler for end-users if they could get recent packages in stable [15:35] mathrick: I think if the packages are that error prone we should probably not have them in stable releases at all :-/ [15:36] jelmer: but then they will never get tested and brought up to the real-world quality [15:36] at some point, the shit has to hit the fan. If you want bzr to talk to git and SVN seamlessly, somebody has to test it in real-world broken scenarios [15:36] mathrick: Users who are interested can always use the daily builds PPA or backports [15:37] and that has a much quicker feedback + fix cycle [15:37] true [15:37] mathrick: fwiw the clone of the http git repo just succeeded here [15:37] yeah, it's at 469 / 609 here with PPA [15:41] Urff. Negative revision numbers? [15:41] Not quite what I was going for. [15:42] How should I extract some (quite well isolated) changes from one branch and put them into another unrelated branch, preserving their history? [15:42] I thought rebase would work, but it kept too much history. [15:52] does the remove-revisions plugin do what I want? [16:00] exarkun: what exactly do you mean by "preserving their history"? [16:03] There's 11 or 12 revisions, with their own diffs and commit messages and such [16:03] I should have put them in a different branch than I did [16:03] I want what I would have gotten if I'd put them in the right branch in the first place [16:09] exarkun: then probably bzr-fastimport is what you want [16:10] Thanks [16:10] it won't preserve the tree equivalence (that is, you won't be able to merge properly before and after), but the commits will look the same [16:10] sounds like just what I want [16:14] jelmer: so yes, a PPA bzr-git works fine with that repo, thanks [16:14] mathrick: great [16:14] I also need a way to export all revisions from one repo (shared repo, not branch) into another, and move all the branches based in that repo there [16:15] because it's corrupted and hits me hard, particularly when I touch anything git-related [16:15] any idea how to do it? [16:15] I don't mind a bit of programming against bzrlib if that's what it takes [16:19] mathrick: this is a bzr repo? [16:20] yes [16:20] mathrick: how is it corrupted? [16:20] jelmer: sec, I'll get the errors it throws [16:22] humph, `bzr: ERROR: Unable to import library "fastimport": No module named fastimport`? I branched fastimport directly into my ~/.bazaar/plugins/ [16:24] exarkun: do you have the fastimport python module installed? [16:25] is there a standard for the bzr commit message? I know that the first line has to be short, but do i have to break up the subsequent lines up or can i use long long lines? [16:25] jelmer: All I did was branch fastimport into ~/.bazaar/plugins. Is there something beyond that I should do? The README suggests that's intended to be sufficient. [16:26] exarkun: you need the python-fastimport package or the fastimport module from http://launchpad.net/python-fastimport [16:26] txdv: it's up to you [16:26] I see [16:28] exarkun: I've clarified the error message [16:29] cool, works now, thanks [16:38] bzr so fucking lacks --amend [17:07] oh man [17:08] trying to merge that fast-imported stuff, http://codepad.org/stXoQ9jp [17:09] exarkun: what are you trying to do? [17:10] fix one tiny mistake :( [17:10] exarkun: are you trying to merge into an empty branch? [17:10] yes [17:11] exarkun: That doesn't work at the moment - there's an open bug about it. Is there any reason for not pulling? [17:11] txdv, exarkun: yes, we need better tools for history editing :-/ [17:11] no, I just didn't know there was a special case around empty branches for merging [17:35] exarkun: it's a bit of an odd situation. hg and git both simply default to a pull in this situation, perhaps that's what we should do too for the moment. [17:36] jelmer: even refusing to merge would be better than corrupting the target branch :) [17:36] I don't have an opinion beyond thinking that the current behavior is kinda bad. [17:36] exarkun: there's no special case really, it just fails because of the nature of the operation [17:36] mathrick: it's a special case for me. [17:37] it's that git and hg both silently replace it with pull when possible [17:37] which bzr doesn't [17:37] and I have no experience with git or hg in this situation [17:37] I've seen good arguments against bzr's behaviour [17:37] so don't think I'm trying to impose another system's behavior on bzr :) [17:37] exarkun: well, they basically go "oh, I can pull, so I'll just interpret it as a pull request instead of merge" [17:38] bzr, OTOH, sticks to merge unless you tell it not to with --pull [17:38] merge and data corruption [17:38] :) [17:38] and pull and merge are two different situation. Pull can succeed on an empty tree, merge not really [17:38] exarkun: sure, it _shouldn't_ corrupt the tree. That is clearly a bug. But it also helps to know that merge on an empty tree is sort of meaningless [17:39] s/situations/operations/ [17:39] whereas merge on any non-empty tree is not sort of meaningless. so how is it not a special case? [17:40] exarkun: because it's not _coded_ to be a special case. It's just an edge condition in which the algorithm fails. So it's the opposite, it fails to special-case the situation it should [17:40] alright [17:41] sort of like throwing -1 at sqrt() function that's not prepared to deal with negative numbers [19:08] jelmer: sorry, I got completely sidetracked there, lemme get the error [19:30] jelmer: it doesn't seem to error out in the same way as before so far, but one of the things I get is that when I do "bzr get git://github.com/dto/iosketch.git", I get "updating git map" about 20 times [19:31] some of them are like 1/2, some 1/41, and now one 1/1245 [19:31] mathrick: that's because of the repository you're cloning into [21:54] hi everyone :) [23:16] Ursinha-afk: help me please === spiv changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | 2.3b4 is officially out ! (rm vila)