[00:02] Hmm... when I view the output of building the "survival" docs locally all I get is a blue page [00:02] Title headers are there but the content seems to be missing [00:02] Same for the other pages so I know it's not just me [00:14] awilkins: Sorry, that means you don't get to survive :( [00:15] Bah, pushed it up anyway, the text is still PURE GOLD, I tell you. [00:15] Only someone who hates VSS as much as I do could document how it differs from decent version control systems at all thoroughly. [00:16] Because by definition, anyone who knows a lot about how VSS works, hates it. [00:18] * mwhudson hasn't used VSS for 9 years, didn't use it much then and still hates it [00:19] * fullermd never used VSS, and still hates it :p [00:20] I used to have to run the "analyze.exe" tool [00:20] I figured the document would look something like "unlike VSS, bzr actually stores your history and can retrieve it later" [00:21] I tried to stay away from making it a "why Bazaar is just Soooooooo much better than VSS" document and stuck to "Why you may find Bazaar, or indeed, any decent VCS, a bit confusing after using VSS" [00:21] But it's far from complete and I need sleep. But slashdot beckons [00:21] Bah [00:24] Is Karmic going to have GNOME Shell? [00:25] awilkins: why do you care? rxvt-unicode, man! [00:25] Oh, is that what people use who don't have xterm? :p [00:25] Yeah, but it's nice to have a window manager to move your terminals around [00:26] You can fit more on the screen with overlapping windows [00:26] Pfft. Who wants to waste CPU cycles on frills? [00:26] awilkins: oh, wait, I'm confused with GNOME Terminal [00:26] I guess I may have been using Windows too much lately? [00:26] also, some people are liking Xmonad, though it's configuration file be written in a most arcane script ... [00:27] This was prompted by the announcement that Fedora 12 has a preview of it in the distro [00:27] gnome-shell is available in karmic [00:27] it's slightly neat [00:27] who needs a desktop? [00:27] SamB_XP_: who needs a computer? [00:27] Who needs a computer? [00:27] * dash hgh fives awilkins [00:27] :-D [00:28] How else would I heat my house? [00:28] dash: well, the desktop is a lot less necessary than the WM [00:28] if you'd seen my homedir, you would understand ;-) [00:28] They replaced my machine at work with one that only drives one monitor [00:28] That sounds like it should be a country song. [00:29] What the *hell* are they smoking in ICT [00:29] I'll just have to get one of those USB graphics adapters [00:29] huh, my school's ITS is really crappy and I don't think we *have* any computers that can only drive one monitor ... === davidstrauss_ is now known as davidstrauss [00:29] Or work at home a lot more... I neeeeeed my dual 22" widescreens [00:30] It's painful enough being trapped in tiny resolutions like 1280x1024 at work... [00:30] ... of course, none of them are really set up to take advantage of the second output, except some of the ones hooked up to projectors :-( [00:33] Blimey, gnome-shell is going all "Mac" in terms of menu === BasicPRO is now known as BasicOSX [01:16] I'm being pushy here, but: could someone send my branch to PQM? :D https://code.edge.launchpad.net/~mnordhoff/bzr/statictuple-pickling [01:18] Let's just agree too assume I've found the perfect time for the 'sounds like a real pickle' joke, and save me the trouble of coming up with it, and you the trouble of hearing it. [01:22] Peng_: hmm, I don't see your name on the list people that have signed contributor agreements... would you mind doing so? http://www.canonical.com/contributors [01:28] spiv: Yeah, I never did, cuz I don't like copyright assignment. :P I liked being in the grey area of "hasn't written enough code for it to be copyrightable". [01:28] spiv: Anyway, I'll do it now. [01:28] Crap, it's a PDF? [01:28] Google cache++ [01:29] Oh, that's a problem? I could have sworn this was 2009, not 1999 ;) [01:29] No way. Then I'd have to stop partying like this. [01:29] Haha [01:33] spiv: Or...I'll do it soonish. My brain isn't up to deciphering legal documents rightn ow. [01:33] spiv: Who do you want me to CC it to, you or poolie? [01:34] Peng_: poolie [01:50] spiv: 'kay [01:53] spiv: Is it supposed to be GPG-signed? [01:54] Peng_: I don't think it's required (whatever that link says is the rule), but it wouldn't hurt. [01:55] Peng_: and I know if I was the sender it would make me feel better ;) [02:29] hrm, where do i install plugins such that loggerhead will run them on writes? [02:34] the bzr plugins dir [02:34] how are you running loggerhead? [02:37] lifeless: the init script... runs as loggerhead user [02:37] lifeless: so ~loggerhead/.bzr/plugins ? [02:37] * jdub doesn't like the loggerhead package [02:37] you may also need to be sure you are running 'bzr serve --http', not 'serve-branches' [02:37] the former will load all plugins, the latter *may*, and I'd need to check to be sure. [02:38] s/bzr/bazaar/ <- oops ;) [02:39] lifeless: hrm, then using loggerhead as a plugin? [02:40] lifeless: serve-branches does load plugins [02:41] spiv: good to know [02:42] jdub: I hope to convince beuno to delete serve-branches soon [02:42] only need one 'serve' command. [02:42] spiv: so my expectation that it'd load them from ~/.bazaar/plugins of whatever user loggerhead is running as would be right? [02:42] yes [02:42] or the global python install dir [02:43] and you can add paths via BZR_PLUGINS_PATH [02:43] whihc makes the loggerhead package SPECIAL [02:43] It does? [02:43] jdub@whitlam:~$ getent passwd loggerhead [02:43] loggerhead:x:109:117::/:/bin/false [02:43] \o/ [02:43] jdub: put them in e.g. /var/lib/loggerhead/plugins [02:43] and export BZR_PLUGINS_PATH=/var/lib/loggerhead/plugins [02:44] perhaps the best thing to do would be BZR_PLUGINS_PATH=/var/lib/loggerhead or whatever in the init script [02:44] ha ha [02:44] we are FHS TO THE MAX, man [02:44] submit a package patch to do that ;) [02:44] yeah, but now i'm looking more closely at bzr serve [02:45] does --http only work when bzr finds loggerhead? [02:45] yes [02:45] loggerhead provides --http [02:45] right [02:45] svn should provide --svn, but I don't know if its glued in yet [02:46] will other parameters be passed through automagically? ie --use-cdn [02:46] It would perhaps be nice to have something simple builtin for --http, but if loggerhead is easy enough to install then it's probably not a big deal. [02:46] spiv: I'm very keen on not building in a non-loggerhead http [02:47] spiv: I think discussions about doing that have been missing the point :) [02:47] lifeless: that wold be nice [02:47] jdub: No. [02:47] AfC: --svn? [02:47] jdub: That's basically the reason to still keep serve-branches around for now. [02:47] lifeless: non loggerhead --http [02:47] [battery change [02:47] AfC: why? [02:48] Peng_: particularly since the use of libjs-yui doesn't actually work ;-) [02:49] Peng_: ah, plus, no way to provide a prefix [02:50] jdub@whitlam:~$ bzr serve --http --allow-writes --port 8000 --directory /srv/whitlam.crikey.com.au/code/ [02:50] ... [02:50] File "/usr/lib/python2.5/site-packages/bzrlib/registry.py", line 183, in get_prefix [02:50] Hi, I was wondering if someone could help me with a small bzr problem. I merged 2 branches. There was a conflict in 1 file. I bzr rm'd the folder that contained that file, and now I can't commit (bzr says conflicts still exist). [02:50] if fullname.startswith(key): [02:50] AttributeError: 'LocalTransport' object has no attribute 'startswith' [02:50] jdub: please file a bug on that [02:51] bzr resolve gives an error saying: "bzr: ERROR: The file id "....." is not present in the tree cszikszoy: bzr resolve --all [02:51] lifeless: will do [02:51] cszikszoy: and file a bug please [02:51] lifeless: against? [02:51] bzr itself [02:51] jdub: loggerhead, for now. [02:52] ok [02:52] lifeless, great, thanks very much! [02:55] lifeless: yeah, I'm certainly not keen on bringing yet another underpowered, buggy HTTP server into the world :) [02:56] lifeless: I can see how it might be convenient from time to time... but I think I'd rather put effort into making loggerhead smoother. [02:56] same [02:58] http://code.google.com/p/magnum-py/ ? [02:58] god no [02:59] -1 point, terrible pun name [02:59] oh, liux specific :-(, not really embeddable [02:59] (I'll get my coat) [03:00] for starters, python 2.6 minimum [03:00] and multiprocessing is *slow* [03:00] (the module) [03:00] is it? I was curious about that [03:00] we already have http servers in the code base too, for testing [03:00] there is a tolerable http server in the standard library [03:01] lifeless: looked at unicorn? [03:01] nope [03:01] lifeless: http://unicorn.bogomips.org/ (ruby, but interesting to read) [03:02] * mwhudson keeps meaning to investigate spawning seriously for loggerhead [03:04] mwhudson: please don't, I've seen one have lots of fallout from spawning [03:05] lifeless: btw, here's something a bit amusing [03:05] yeah, spawning sucks. looking at you, spiv. [03:06] jdub: 'serve fast clients on low-latency, high-bandwidth connections' [03:06] lifeless: we recently pointed out an error in the way our mortgage interest was being calculated by our bank (they weren't applying an offset account the way we had asked them to) [03:06] jdub: e.g. 'unsuitable for use on the internet' [03:06] lifeless: it also says that. :-) [03:06] spiv: nice catch [03:06] lifeless: the bank checked their records and agreed, so they had to fix the history of our account [03:07] lifeless: unicorn is designed to sit behind nginx [03:07] lifeless: it turns out they don't rebase ;) [03:07] (or something else, but they're close cousins) [03:07] spiv: so you got a single adjustment ? [03:08] lifeless: so the statement for the mortgage now has all the original interest and payment transactions, plus a bajillion new transactions, backdated, that undo those individually, and individually reapply the right amounts [03:08] jdub: squid won't [without a rather ugly hack I don't think I landed in trunk] buffer full responses [03:08] lifeless: on top of the existing history [03:08] jdub: unless they are tiny [03:08] lifeless: which certainly makes for a confusing read, but the original history is intact ;) [03:08] spiv: nice [03:08] spiv: they can't rebase, its the law :) [03:09] Right. [03:09] Still, it would be nice to have a view of the history "as it should be" as well as "how it ended up being recorded" [03:09] But they don't provide the tools for that. [03:10] true [03:10] jdub: spawning is certainly slow~! [03:11] [======= ] download in progress [03:11] there is a maternity t-shirt with that on it [03:11] lifeless: from thinkgeek, yeah :) [03:11] spiv: yeah, i think about starting, but "want! now!" impatience gets in the way [03:12] it would rock if they sold three or four versions [03:12] jdub: and thus, Po [03:12] lifeless: or a little extendy piece of fabric [03:12] hmm. [03:12] probably going to have shirt size problems. [03:12] separate shirts == better. [03:13] howdy. i'm trying to "bzr svn-import https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/pd", but it crashes bzr [03:13] yes [03:13] lifeless: adult size, puppy brain! [03:13] he's 23kg now [03:13] 6 when we got him [03:13] jdub: nice [03:13] piem: with a memory error, or something else? [03:13] piem: details are needed, my telepathy is broken [03:14] ok, i'll reproduce again. got than on osx, now back on debian unstable, and got the same [03:14] he's currently chasing horse flies in the loungeroom... chaos. [03:15] $ dpkg -l bzr | tail -1 | awk '{print $3}' [03:15] 2.0.1-1 [03:15] $ dpkg -l bzr-svn | tail -1 | awk '{print $3}' [03:15] 1.0.0-1 [03:16] now running the import, it will take a while... [03:16] piem: a pastebin of the error would be helpful [03:17] spiv: yep, preparing that... [03:17] jdub: Waitwaitwait, I just fixed that LocalTransport bug in the trunk a couple days ago. [03:17] Peng_: oh! loggerhead trunk? [03:17] jdub: Yah. [03:17] Peng_: win! :-) [03:18] jdub: also, loggerhead trunk has my fix from yesterday I think [03:18] looks like i'll have to start running loggerhead trunk ;) [03:18] yayayay [03:18] jdub: (and bzr trunk now has the fix for the other issue I bumped into too) [03:18] spiv: whats a test that will run only_raises [03:18] spiv: Yes, it does. [03:18] not quite so interested in running bzr trunk ;) [03:19] http://pastebin.com/d47582967 [03:19] jdub: Why not? [03:19] (it appears this loggerhead adventure has been fruitful!) [03:19] lifeless: test_decorators has unit tests for it [03:19] Peng_: happy to run 2.0 on production machine via ppa, but not quite so keen on bothering with trunk ;) [03:19] jdub: Bazaar's trunk is just as reliable as the releases. [03:19] piem: either a sf operation issue, or a bzr-svn bug; start by filing a bug on bzr-svn please [03:19] jdub: Plus, there's a nightly PPA, so you don't even have to build it yourself. [03:19] lifeless: or if you mean indirectly, any test that invokes unlock on a Repository or Branch [03:20] Peng_: mmm, our trunk is pretty damn good [03:20] Peng_: but even so it's not *quite* as reliable as releases [03:20] lifeless: https://bugs.launchpad.net/bzr-svn/+filebug ? [03:21] spiv: The only major breakage I remember is all of the fallout back when packs were added, and that made it into the releases. :P [03:21] piem: yep [03:21] spiv: But you're right. Still, it's pretty damn close. [03:22] spiv: I sent the contributor agreement email, btw [03:22] Peng_: there have been a few regressions in trunk from time to time that we've been careful to catch and fix before releases [03:22] spiv: Hmm. The 2a fallout? [03:22] Peng_: and occasionally stuff like hpss verbs in one revision of trunk incompatible with an earlier revision of trunk [03:23] spiv: Oh, that's a good point. That did bite me once. [03:23] The main problem with running bzr.dev is keeping all of your plugins compatible. [03:23] piem: The "bzr init" is pointless. [03:23] All the majorest hiccups I remember ended up happening with releases too. [03:24] Peng_: why? [03:24] So maybe it's safer to avoid them and stick with .dev ;) [03:24] Yeah, plugins are really the main practical issue, much more so than our rare regressions. [03:24] Peng_: import does init too/ [03:24] ? [03:24] Peng_: i use bzr-svn quite a bit (working with wordpress stuff) [03:24] just submitted a bug [03:24] https://bugs.launchpad.net/bzr-svn/+bug/457813 [03:24] Launchpad bug 457813 in bzr-svn "bzr svn import crashes" [Undecided,New] [03:25] piem: Well, first of all, teh command you were looking for was "bzr init-repo", not "bzr init". And yes, it does create its own repo. [03:25] jdub: You only have to keep a copy of bzr.dev's bzrlib around for Loggerhead. You don't need to install it globally. Well, you'd have to hack get it into sys.path somehow, but... === Sam__ is now known as SamB_XP [03:25] Just sayin'. [03:26] Peng_: wait, loggerhead trunk requires it? [03:27] jdub: Err, no, not what I meant. I meant that if you wanted to run Loggerhead against bzr.dev, you don't need to install bzr.dev globally. [03:27] jdub: Loggerhead trunk is supposed to be compatible back to...1.13, I think? [03:27] jdub: I don't know if anyone tests it regularly, but... [03:29] right [03:29] yeah, if i don't need to run bzr.dev, i'm not going to bother :) [03:30] Peng_: right. reproduced, the right way :-) [03:30] piem: exact same error? Or does the SVN revision number change? [03:30] and bug report updated [03:32] spiv: exact same error it seems [03:33] jdub: If you want .bzr/smart to work with shared repos, you'll need bzr.dev. Or to backport the patch. [03:33] Or use the monkeypatch I gave him yesterday [03:34] yeah [03:34] Or that! [03:34] Heh. [03:34] I don't want to add the monkeypatch to Loggerhead; there's not a good way to test if the version of bzr.dev being used has the bug or not. [03:35] Peng_: version < 2.1.0b2 would be approximately right [03:35] lifeless: one as in u1? [03:37] in any case, good to know [03:39] spiv: Eh. [03:39] Peng_: I'm not for or against adding the monkeypatch to loggerhead anyhow [03:39] Peng_: just saying :) [03:39] spiv: :) [03:40] I don't _want_ to add it, but I also want Loggerhead to seem less buggy. I'm going with the lazy choice for now. :P [03:40] +1 lazy [03:42] piem: not that it matters a lot, but I don't see your update to the bug report? [03:45] Stupid question: does interning objects keep them around forever or can they still be GCed? [03:48] interning strings doesn't keep them around forever [03:50] spiv: editing the first entry actually failed, resubmitted now [03:51] ISTM _static_tuple_py's interning makes them immortal, though. It just does "adict.setdefault(self, self)" [03:52] Peng_: hmm, perhaps that should be a weakref dict of some sort. [03:53] _static_tuple_c OTOH uses a SimpleSet, and does a decref and has a comment about making sure they're not immortal, so I guess it doesn't? [03:54] static tuple's aren't weakrefable [03:54] though maybe the python version is [03:54] mwhudson: the pure python one is a non __slot__ted subclass of tuple, so it probably is [03:54] (Hmm, adding __slots__ to that is probably a good idea though) [03:54] spiv: i don't think it is actually [03:55] because you can't weakref subclasses of variable sized types i think [03:55] (i tried to fix this once) [03:55] mwhudson: apparently you're right [03:55] That seems like an odd restriction. [03:56] spiv: it's because the location of the weakref list is stored as an offset into the structure [03:56] in something like tuples you'd have to interpret a negative offset as an index from the end of the object [03:56] Ah, hmm. [03:57] (which is how dict is done) [03:57] i can't remember why i didn't fix this, i guess i just ran out of steam [03:57] Another reason perhaps to make the pure python StaticTuple not inherit from tuple [03:58] or make interning a noop [03:58] (the other is that you can't make tuple + StaticTuple give you a StaticTuple) [03:58] (which is an unfortunate difference in behaviour from the C version) [04:00] I don't think it's hugely likely that we'll right code that accidentally depends on "foo = (prefix,) + a_static_tuple; foo = foo.intern()" [04:00] There are probably other subtle differences, features that tuple doesn't implement but StaticTupleC does. [04:00] s/right/write/ [04:00] mwhudson: yes, u1 [04:00] (I'm sure if wrote it we'd right it sooner or later ;) [04:01] lifeless: ugh :( [04:01] lifeless: oh well, i'm glad i can take advantage of their pain [04:02] mwhudson: they may have gotten all the glitches out by now [04:03] but its got a tonne of too-much-magic in it [04:03] such as watching sys.modules contents, which is a terrible idea (apt-get dist-upgrade FAIL) [04:03] E.g., StaticTuplePy.from_sequence supports arbitrary iterables; C requires sequences. [04:03] StaticTuplePy can be subclassed, C cannot . . [04:04] The very basic issubclass(StaticTuple, tuple). [04:33] AfC: why? [04:34] lifeless: you talking about aspiration for a loggerhead-less embedded web server? [04:34] yes [04:35] I said 'we don't want it' and you piped up with 'it would be desirable'... [04:35] so why is it desirable? [04:36] lifeless: well (and this is just my subjective experience, but) LoggerHead has been unbearably slow. [04:36] lifeless: It's user interface is ghetto. [04:36] lifeless: It is almost impossible to find the revisions [and their detailed commit messages] that actually contributed changes as instead presents almost exclusively to the useless left hand edge merges. [04:37] AfC: so, an embedded http server in bzr core would be likely be slower and even more primitive [04:37] lifeless: and I am quite embarrassed that my code is presented by it on the branches that launchpad mirrors. [04:37] lifeless: as may be [04:37] AfC: these are 'things wrong with loggerhead' not 'why there should be an embedded http server in bzr core' [04:38] AfC: For the former, I encourage bug filing! [04:38] lifeless: I've been hacking on a kludgy workaround just using GNU source-highlight locally and then rsyncing up [04:38] for the latter, I'm still at a loss [04:38] lifeless: but a straight forward [a la darcsweb, gitweb] branch navigator would have been lovely. [04:38] I _loath_ gitweb [04:38] its terrible [04:39] lifeless: or whatever they're running on git.gnome.org — people can effortlessly refer to a branch + revision + file + line number combination. [04:39] a Transport should expect to get paths that are utf-8 plain strings and urlencoded, right? [04:39] mwhudson: yes [04:40] mwhudson: or rather no [04:40] mwhudson: urls and relative urls [04:40] lifeless: i mean a transport method like "rename" [04:40] mwhudson: url encoding is not uf8; its a specific defined encoding itself. [04:40] verterok: I got things building, I'll try to package tomorrow [04:40] utf8 is outside the permitted codepoints for urls [04:41] lifeless: yes, it's a succession of things: unicode --(utf-8)--> str --(urlencode)--> ascii-only str [04:41] AfC: you can do that in loggerhead too [04:41] mwhudson: urls don't imply unicode or utf8 at all [04:41] mwhudson: std66 is sadly clear about it being useless this way. [04:41] AfC: I honestly don't see any of that being harder with loggerhead than with what git.gnome.org is running [04:42] lifeless: i'm not talking about urls, i'm talking about bzrlib.transport.Transport methods [04:42] mwhudson: the generator of a url is responsible for getting it into url form, and noone else is permitted to try to decode it. [04:42] mwhudson: so am I [04:42] except *perhaps* the browsing for branches part [04:42] mwhudson: they take relative url references [04:42] spiv: I couldn't say why, to be honest. I'm just giving you the result of my experience working with both that cgit is a) not slow and b) way easier to use. [04:43] But certainly once you're looking at a branch it's essentially the same, except it takes me one less click with loggerhead [04:43] AfC: its fast, I'll give you that. Thats something loggerhead can improve at - it should be faster with 2a branches anyhow. [04:43] AfC: can you describe /how/ cgit it easier to use? [04:44] I know I find 'blob' links a bit of a mindfuck [04:44] lifeless: the concrete problem i have is that "bzr push bzr+ssh://bazaar.launchpad.dev/~mark/+junk/bé" causes a server side exception [04:45] (that was a utf-8 string if irc's unhelpfulness on this topic defeated things) [04:45] mwhudson: ok. So the client should be encoding that, and here is where std66 fucks us, we guess at utf8 for the native encoding of the far end [04:45] lifeless: right [04:46] so you'll have argv[2].decode(console_encoding).encode('utf8').urlencode() [04:46] and then pushed over the wire [04:46] whats the server side exception? is there a bug? [04:46] lifeless: the bug is https://bugs.edge.launchpad.net/launchpad-code/+bug/449528 [04:46] Launchpad bug 449528 in launchpad-code "lp: resolution for non-ASCII name oopses" [High,Triaged] [04:46] well, ish [04:46] AfC: hmm. Well, if you figure out why it feels nicer to you at some point then please do file a bug or post about it. From what I can see loggerhead's UI actually is simpler for this, but I realise UI issues can be pretty subtle. [04:46] the exception in that report is in the lp-resolution [04:47] mwhudson: is there a stock test double for launchpad, for using in code that wants to talk to launchpad [04:47] lifeless: no [04:47] it would be hard to make a generically useful test double that was much less complicated than launchpad i think... [04:48] a fixed definition of apis would allow that to be programmtically generated [04:49] lifeless: the exception is actually in the implementation of the xml-rpc method that we call to interpret paths [04:49] spiv: I don't know. I've just spent the last 5 minutes trying to find loggerhead of bzr on launchpad. I really don't have any more time, so I'm sure you'll dismiss this feedback as whinging. Pity I can't be more specific. At least my objection to Bazaar Explorer is simpler to articulate. [04:49] mwhudson: it would help to have a backtrace in the bug [04:49] lifeless: basically, i think there's a lack of understanding of unicode paths all through the code, so i want to figure things out starting at the beginning [04:49] AfC: http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/ [04:50] mwhudson: we try for crunchy shell there [04:50] spiv: [thanks; that wasn't anywhere obvious on the bling new website] [04:50] AfC: now, if your problem is with Launchpad's UI for browsing branches rather than loggerheads, that makes more sense to me :) [04:51] spiv: aren't they the same? [04:51] AfC: bzr lp-open lp:bzr, and click on 'view the branch content' [04:51] lifeless: i'm implementing a transport, i'm part of the shell, surely? [04:51] AfC: god no. [04:51] AfC: I mean, for browsing through the set of branches that are available [04:51] mwhudson: gimme a backtrace, I'll try to help :) [04:51] really? Well, launchpad is what everyone I talk to thinks loggerhead is [04:52] s/launchpad/launchpad's pathetic attempt at branch, revision, and code browsing/ [04:52] AfC: the url spiv gave you is loggerhead [04:52] lifeless: you've already answered my question enough i think [04:52] AfC: as opposed to what loggerhead provides to Launchpad, which I just gave you a link to [04:52] AfC: (And is where the "browse the source code" link on https://code.launchpad.net/bzr will take you) [04:52] mwhudson: ok, well I'm happy to look more closely if you like. [04:52] it would be a pleasant distraction from deciding how untested I can bear this ppa watcher to be [04:53] lifeless: thanks, i'll come back if i have more questions [04:53] Crap, I just let a traceback get word-wrapped by my email client. :( Should I resend a fixed version, or do you guys usually just suffer through mangled tracebacks? [04:53] AfC: so if the difficulty you have is with finding a branch in the first place, that's purely Launchpad. [04:53] So here I am, trying to find the revisions that led to revno 4753. Click on the expander, and all I get is more details about some guy named "Canonical.com Patch Queue Manager" who write some code [04:53] Peng_: they are generally decipherable anyway [04:54] oooh [04:54] bleeping xmlrpclib strikes again [04:55] i expect [04:55] AfC: ah, fair enough. The link "(4752.2.1 integration)" with the crossed arrows icon takes you to the other parent revision [04:55] Four pages later I finally find my way to a page that has a link that turns out to be http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/revision/4752.1.1 that finally has the commit message that Vincent wrote. [04:56] AfC: but I think a way to see all the revisions that were merged into mainline at that point is lacking [04:56] abentley, I see you're away and stuff... but I'll be in Toronto this weekend for OLF. We're going out for dinner on Friday if you're interested. [04:56] in little itty bitty type [04:56] * spiv takes some notes [04:56] (Everyone else is invited too... if you can make it up to Canada) [04:56] spiv: yeah, you know, like, say, `bzr viz` [04:56] aaaaaaaaaaa [04:57] * spiv nods [04:59] oh, that's brilliant... from that page, click on "view branch changes" which is http://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev/changes/4752.1.1?start_revid=4752.1.1 and then get another useless left hand edge history. Squint hard, and we'll see our revision at the top. [04:59] * emmajane chuckles. [04:59] spiv: so... here I am, having spent about 4 times longer on evaluating this than most people, [and lord knows I'm predisposed to at least try and figure it out] only to be frustrated, puzzled, and then ultimately profoundly depressed. [05:00] spiv: maybe this makes perfect sense to someone who understands the Zen Of LoggerHead [05:00] AfC: Thanks, this is useful feedback. [05:01] So, I think Loggerhead currently does a very good job with the left-hand history. [05:01] spiv: but I've got to admit as someone who has a reasonably sophisticated (if outsider) knowledge of Bazaar and it's culture [and more to the point, basis] that I have absolutely no idea what that tool is presenting, other than knowing that it's [05:01] not giving me anything I can readily show to a new developer saying "yeah, here! that's the code" [05:01] And a pretty weak job with the rest. [05:01] [and yes, I've tried this extensively on [mirrors of] my branches] [05:02] spiv: you would have received more points if you started that with, "so, on the one hand..." [05:02] spiv: which, actually, is my primary interest: people toddle along to one of my projects, ask a question, [05:02] spiv: and I want to show them a {file snippet | branch that is working on that feature} in as seemless and impressive a way as possible. [05:03] spiv: in order to suck them in, have them think that Bazaar is smoking hot & sexy cool [05:03] spiv: while being blown away and in need of CPR to get over how impressed they are at my code :) [05:03] So I think loggerhead does a pretty good job of that. Wanting to interrogate the non-lefthand history isn't usually something I'd want to do with a project I'm new to. [05:04] It would be good to make it easy to do so, of course. [05:04] spiv: in the projects I'm working on, the left hand edge is almost meaningless. It's the people who contributed the actual work in the [non merge] revisions & their commit messages that I'm interested in. That's where the credit needs to be focused. [05:04] spiv: and that's what the left hand edge bias comprehensively works against. [05:05] [as I write about frequently] [05:05] Sure. There are multiple use cases here. [05:05] spiv: (and, just to close the topic, annotate does NOT show left hand edges. It shows the revisions that change things. Merges are transparent there, as they should be) [05:06] And some of them aren't being well catered for. I just wanted to point out that some are, and I think actually fixing the presentation non-lefthand history is not fundamentally that hard. [05:06] ...and, to bring the conversation back to the start: I'd rather fix this in loggerhead than try to do it from scratch in some sort of minimal serve --http :) [05:07] spiv: do you have any good tips for running pdb inside a smart server process? [05:07] mwhudson: "import pdb; pdb.set_trace()" works well in a TCP server [05:07] Other than that, not really. [05:08] spiv: not sure; as I've just alluded to, those of you who work to the patch queue manager and have it committing your left hand edge seem awfully happy with that workflow, [05:08] hm, i can probably get a TCP server to work [05:08] spiv: but certainly no one else I know is using that model, and thus the culture expressed by the bzr tool (and its left hand edge loving ecosystem) doesn't seem to be that well suited to "their" needs. [using that sloppily, of course]... [05:08] spiv: and since I have a somewhat vested interest in Bazaar looking appealing to [new contributors] people, this is a very exposed issue for me. [05:08] spiv: back to start... fair enough [05:09] AfC: well, I think for heavy lifting you really want something richer than a web UI (which is not an argument for neglecting the web UI) [05:10] spiv: perhaps, but at this point anyone coming from another system has glorious [pun intended] web experiences, and we look lame & cumbersome in comparison. [05:10] AfC: but "when did this line of this file change", and "show me what's been happening lately" the sorts of things a casual users tend to want and loggerhead already caters for quite well. [05:10] huh, pushing to bzr://localhost/ says "bzr: ERROR: Unsupported protocol for url "bzr://localhost/~mark/+junk/bé"" [05:11] mwhudson: weird [05:12] AfC: I'll file some bugs with this feedback, it's good to have some concrete "user tried to do X, got lost" stories. [05:13] oh hang onnnnnnnnnnn [05:14] AfC: oh, and I'll note we keep getting git users in this channel wanting to rebase because they don't want to deal with non-linear history in any VCS ;) [05:14] the unicode characters in my test case are getting past the checks in get_transport because of the directory service? [05:14] well sort of [05:14] mwhudson: whee? [05:14] * spiv -> late lunch [05:14] the directory service is accidentally quoting them [05:15] 'accidentally' ? [05:16] well maybe not that [05:16] but it is [05:16] spiv: yeah, well, there is that :) [05:17] spiv: I have a suspicion that if we did a concerted push on making the workflow [that I don't have a cunning handle for, but that John blogged about at http://jam-bazaar.blogspot.com/2009/10/refactoring-work-for-review-and-keep.html ] [05:17] spiv: be *ultra* smooth and sexy [05:17] lifeless: basically you can say bzr push lp: and it will go off and talk to the server [05:17] spiv: [ie, the use of revert there, and the need to not unrevert a second time] [05:17] lifeless: but the client will barf on bzr push sftp:// [05:18] (actually you can't say the former, the directory service will oops) [05:18] [when "revert" as in blow away is NOT what you're actually doing overall, even if in that branch at that instantaneous moment it is indeed the operation you are performing] [05:18] spiv: cross product [05:18] spiv: somehow making the `bzr diff -r submit:` UI a bit more first class [05:19] would suddenly make the outward goal that people are trying to achieve ["here's my patch, here are the revisions (sic) that led to it" be über clean] [05:19] and suddenly merge vs rebase would go away entirely (with bzr winning, because the workflow would be easy, and the history would be preserved... TRANSPARENTLY [05:21] anyway, that's what I'm ultimately after. There's no doubt in my mind that Bazaar's infrastructure is a better foundation, but equally the ... effect ... that people are presently rebasing to achieve isn't going to go away. [05:21] It is, indeed, [IMHO] the primary open source workflow, and we don't support it very well. [05:22] ... which was the point that Havoc & Martin made all those years ago when contemplating what a next gen distributed version control system ought to be if it was going to be of value to open source communities. [05:27] Ohh! I left out my name in the contributor agreement email. Oops. [05:35] lifeless: fwiw, i think i found the (or a, at least) problem in codehosting: in say def get(relpath) going self.base + relpath isn't valid [05:35] because the escaping is different on the two sides [05:37] mwhudson: thats correct [05:37] mwhudson: don't you wish we used haskell/erlang/ocaml? [05:37] lifeless: heck, python3k would be a lot better for this [05:38] mwhudson: I don't think it would catch this as they are both going to be bytestrings [05:38] unless relpath is unicode, in which case your caller is broken [05:38] lifeless: although launchpad implemented in haskell would be an interesting idea [05:38] lifeless: yeah, true in this case, but it would be better for other things [06:00] moin [06:01] hi jelmer [06:03] lifeless: writing post commit stuff is kinda hard for a sysadmin not familiar with the bazaar codebase [06:04] jdub: I'd like to have a library of common needs [06:04] jdub: the svn stuff is also strange [06:04] lifeless: ever thought of a runparts adapter? [06:04] jdub: mmmm, not having stuff on disk ... [06:05] lifeless: hmm? [06:05] I may be confused [06:07] lifeless: i was just thinking of a bazaar plugin which let you throw shell scripts into runparts style directories [06:08] and passed useful parameters [06:08] jdub: see jelmers shell hooks plugin [06:08] * jdub currently trying to figure out params, as passed to post_change_branch_tip [06:08] lifeless: ooer, wher eis this? [06:08] jdub: somewhere around [06:09] anyhow, write the hook, and import pdb;pdb.set_trace() as teh first line of it [06:09] you can explore very effectively [06:09] what do you want your hook to check [06:09] first thing appears to be "is this the branch i should be running this hook on?" [06:10] ahr: http://people.samba.org/bzr/jelmer/bzr-shell-hooks/trunk [06:10] right, you can use the branch.get_config() to read a config key [06:10] johnf has done some stuff for finding the public url too, for similar reasons [06:11] emmajane: I'm rock-climbing on Friday after work, but maybe I can meet up later? [06:11] oooooo [06:11] jealous [06:11] I havne't been climbing in ages. [06:11] jdub: http://doc.bazaar-vcs.org/latest/en/user-reference/index.html#post-change-branch-tip http://starship.python.net/crew/mwh/bzrlibapi/bzrlib.branch.ChangeBranchTipParams.html [06:11] abentley, we'll be up at the end of the world for the pre-party. it'd be great if you could make it. [06:12] spiv: aha, it's that second url i have been looking for -- thanks! [06:13] hrm, suspect i can't really use the shell hooks stuff... not sure i want something in .bzr/branch/branch.conf -> i only want server-side hooks [06:13] jdub: that should be referenced (as ChangeBranchTipParams) from the hook docs [06:13] and pydoc bzrlib.branch.ChangeBranchTipParams [06:13] will work [06:13] emmajane: Sure, can you mail me details? aaron@aaronbentley.com [06:13] abentley, sure. [06:13] jdub: .bzr/branch/branch.conf is fine for configuring a plugin that is only installed on the server :) [06:14] jdub: as for the shell hooks - yes, security and containment are big reasons we didn't include them in core [06:14] lifeless: but if someone has the plugin on their client, won't it attempt to run the shell script? [06:14] "jdub: as for the shell hooks - yes, security and containment are big reasons we didn't include them in core" [06:14] :P [06:15] heh [06:16] lifeless: pdb during commit = win ;) [06:16] well [06:16] post commit ;) [06:18] james_w: please upgrade bzr-builder to 2a [06:45] hi bzr universe [07:01] can't quite seem to get loggerhead to run a commit hook plugin [07:01] i've got a py file in /var/lib/loggerhead/plugins [07:01] set the BZR_PLUGIN_PATH env var in the init script (both exported and ahead of the daemon just in case) [07:02] BZR_PLUGIN_PATH=/var/lib/loggerhead/plugins bzr plugins [07:02] lists the plugin [07:02] it's world readable [07:03] i've set up a non-interactive way to see if it runs [07:03] (touch /tmp/touchable ;) [07:03] jdub: your plugin touches when loaded, or when the hook is run? [07:04] spiv: oh, within the hook [07:04] spiv: good point, check if it's loaded at all [07:04] Yeah [07:07] aha [07:07] It might be nice if loggerhead had an option to turn on a magic diagnostic URL, e.g. /plugins to list plugins. [07:07] loaded and running [07:07] maybe one of my checks is bad... [07:07] (also, must remember to restart loggerhead on plugin changes) [07:17] hi all [07:18] spiv: revno 4762 put babune in the red, 16 errors about TypeError: __init__() takes exactly 5 arguments (4 given) [07:18] hi vila [07:18] hi bialix ! [07:18] :-) [07:19] babune -- what is funny name. what it means? a monkey? [07:19] spiv: certainly trivial, but I'm worried that PQM let it pass... [07:21] spiv: http://paste.ubuntu.com/298840/ [07:21] spiv: I need to apply updates all over the place so babune (and I :) may well be unreachable in the coming hour, see the paste above for the various call sites [07:22] spiv: *lightbulb* ... plugins run in bzr serve's handy chroot [07:23] jdub: :) [07:23] spiv: well, no, more that branch locations have special chroot names [07:23] (params.branch.base) [07:24] this is why I mentioned johnf's work [07:24] hi vila, bialix [07:24] hi igc [07:25] * igc back online after a day nursing my 6 year old [07:30] igc: you've started lactating?! [07:31] mneptok: no, that's well beyond my talents! [07:31] igc: damn. it's always been a secret desire of mine, and i was going to ask about your current pharmaceutical regimen. [07:32] mneptok: :-) [07:43] mneptok: I hear simple stimulation can be enough [07:47] * spiv puzzles over the test failures that PQM didn't catch [07:47] lifeless: Oh!! [07:48] lifeless: selftest --subunit gives exit code 0 even when a test fails. [07:48] * spiv fixes the immediate failures first. === mthaddon` is now known as mthaddon [08:05] lifeless: if you're going to be at UDS, i'll take you up on that offer [08:07] * vila back after rebootS [08:08] spiv: ping [08:09] vila: so [08:09] vila: 1) fix for the test failures is with PQM [08:10] vila: 2) selftest --subunit has exit code of 0 even when test fail [08:10] argh, I ws so afraid about 2) :-( [08:10] spiv: is that related to the progress reportting ? [08:11] vila: well, in bzr.dev make check uses --subunit now [08:11] To give the progress reporting [08:11] But it looks like subunit's TestProtocolClient has a bug in wasSuccessful [08:11] In certainly doesn't have a unit test for it... [08:11] spiv: ok, thanks for checking that so quickly [08:12] vila: this explains both recent cases of buildbot breakage I think [08:12] I was about to say that :) [08:12] It certainly sounds like jam's breakage that we attributed to some extension building related problem wasn't related to extensions :) [08:13] It's a good thing I don't use 'make check' in babune (as I considered at one point, but I think lifeless disagree :) [08:13] disagreed [08:14] spiv: subunit command gives non-0 though [08:14] spiv: oh, you've found the bug? [08:14] lifeless: yes [08:15] cool [08:15] lifeless: here's a failing unit test for you http://pastebin.com/m72a5a3bf [08:16] lifeless: feel like writing the fix? :) [08:16] lifeless: (I need to go to the shops and grab some dinner stuff) [08:16] spiv: not tnoight; can you file a bug with that? [08:17] lifeless: sure [08:23] lifeless: https://bugs.edge.launchpad.net/bzr/+bug/457952 [08:23] Launchpad bug 457952 in bzr "TestProtocolClient.wasSuccessful is always True" [Critical,Confirmed] [08:23] Pfft, I filed that on subunit originally, but somehow the bzr task seems to have taken precedence. [08:24] Anyway, food. [08:29] Crapcrapcrap, jailbreak errors. [08:31] Ah, I accidentally reverted the fix. [08:36] spiv: thats not the bug [08:46] Hi bialix [08:47] I don't often get annoyed, but I'm realy piss now... [08:48] Hi Gary [08:48] garyvdm: I don't understand [08:48] am I say something wrong (again)? [08:49] No not you === weigon_ is now known as jan [08:49] Craig [08:49] garyvdm: me ? I said nothing ! Maybe I should have ? :-D === jan is now known as Guest67699 [08:50] lol [08:50] * vila is always happy when he can make an angry people laughs :) [08:51] garyvdm: that custom rendering was always issue for me [08:52] garyvdm: take easy, Craig is not python developer as I know [08:52] bialix: Me to. The qt api is not very good, it that it does not allow you to reuses the bits that you need. [08:53] heh === Guest67699 is now known as weigon [09:00] jam: ping [09:00] Peng_: Don't wake up the beast yet... [09:01] Peng: it's 3:00AM in Chicago... [09:01] vila: A real beast never sleeps anyway! [09:01] Peng: oh, you're talking about fullermd now... [09:02] jam: There's a little oddness in StaticTuple_New: if (size < 0), it throws a TypeError with PyErr_BadInternalCall(). Then it has a check, if (size < 0 || size > 255), it throws a ValueError. [09:03] I should probably file a bug or something instead of IRC-poking. [09:03] Peng: exactly, throw a mail to the ML or better, file a bug [09:04] vila: Then I have to think of a title and stuff. I hate that. :P [09:05] (Will do.) [09:05] Peng: title == 'little oddness in StaticTuple_New' [09:07] vila: I hate undescriptive bug tiles like that, or "bzr crash" or whatever. [09:07] lifeless: oh? [09:08] lifeless: hmm [09:08] lifeless: so, in that case, I still think you want a test for the behaviour of wasSuccessful :) [09:08] Peng: that one should be short-lived so it doesn't matter that much, what you want is catch jam attention, if you don't want to file a bug, send a mail :) [09:12] vila & jam: Well, I filed https://bugs.edge.launchpad.net/bzr/+bug/457979 about it. [09:12] Error: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/457979) [09:12] C'mon, ubottu, you can do it! ...Darn. [09:13] Peng: hmm, looks like today will be a good day for you :) [09:14] I just edited the bug description right after filing it. I *always* do that. [09:35] vila: do you have time today to look at the review queue? There's a few small changes there from community folk that I'd like to get a second reviewer on [09:35] igc: not really, but I'm tweaking the terminal_width one right now [09:36] igc: also I'd really like if we can do *something* about the dwim revspec one to get it moving forward [09:42] lifeless: would you be really sad if we land it as is ? I agree we want *something* to be done for svn:, git:, thread:, etc, but we don't have that today so I think it's not a valid reason to block the landing... thoughts ? [09:44] spiv: babune starting its comeback in green (jaunty almost there, I'll start the others now), thanks [09:50] vila: ok. Thanks for working on the terminal width one. I think we need to help pilot a few of these patches through rather than let them sit there in semi-limbo for weeks/months [09:50] igc: you're preaching the choir :) [09:51] vila: ? as in you agree? [09:51] igc: as in: I fully agree for years :-D [09:52] igc: as in: I'm a dog more than a owl (at least that's what everybody is telling me :) bark bark [09:53] vila: I've been flat out on 2.0-related stuff like packaging and docs for a few months now but ... [09:53] vila: I'd *love* to get back to the BundleBuggy days of just a few patches in the queue - not 20 [09:54] igc: sure, I think we have more submissions right now though... [09:55] vila: we probably do. It will only increase though if we're successful :-) [09:55] igc: hehe, I think the actual increase *is* already a sign of success :) [09:56] vila: and I want the community folk to enjoy the experience of submitting patches (again) rather than being frustrated as some have been lately [09:57] vila: anyhow, enough philosophy. Here are the simple patches I'm looking for a reviewer on ... [09:57] https://code.edge.launchpad.net/~mathepic/bzr/mkdir-recursive/+merge/13380 [09:57] https://code.edge.launchpad.net/~mathepic/bzr/remove-tree-multi/+merge/13451 [09:58] plus the terminal one [09:59] vila: I think that landing the proposed patch makes things less clear/obvious for someone wanting to work inthat area [09:59] vila: that fails the 'dont make things worse' tenant [09:59] bah, spelling. [10:00] vila: I'm not -1 on it, but I'm certainly not for it. [10:03] lifeless: worse ? It *adds* new semantics for unqualified rev specs. It *doesn't* provides an easy way to add *more* dwim semantics, but there wasn't any before that. What is worse ? [10:05] lifeless: I'm really trying to understand here, I've looked at addressing [y]our concerns but didn't find a trivial way in less than an hour, hence my desire to land as is [10:07] I'm inclined to agree with vila. I haven't looked at the patch closely, but I don't see that adding that extensibility later is going to be hard enough that it justifies landing the incremental improvement. It doesn't feel like a step backwards to me. [10:07] Er, [10:07] That is justifies *not* landing. [10:08] memo to self: long run on sentences with double negatives on irc are a bad idea :) [10:12] * igc dinner [10:15] suppose I bugger up a commit without noticing and want to fix it. is the best thing to branch at that point, fix and merge? === loxs_wrk is now known as loxs [10:15] I have commited since the change in question [10:16] Kamping_Kaiser: Daggy Fixes are really cool (IMO), but not necessary. You can just "bzr commit" a fix. [10:16] Kamping_Kaiser: Daggy Fixes are useful if you want to do something like merge it into a release branch, though. [10:17] Peng_: ok, thanks. === davidstrauss_ is now known as davidstrauss [11:33] spiv: vila: it adds a long case statement which needs to be teased apart and put back into the existing registry [11:38] lifeless: right, looking at the code, I think we don't want to inherit from RevisionSpec but put the code back into a static method, and from there, right (apart from rewriting the tests), there should be a way to come back to a registry but I'm not sure we want to reuse the existing one or create a new one [11:39] but that isn't indeed trivial [11:41] pff, not even ! the dwim revspec is used to delay the _match_on call so that the actual revspec can be created lazily from the dwim_revspec created in from_string :-/ === deryck is now known as deryck[afk] [11:54] hmm, jam just walked on his laptop that he mistakenly left near his bed... === mrevell is now known as mrevell-lunch [12:59] Is there a way to unmerge an ancient merge? === mrevell-lunch is now known as mrevell === vila is now known as vila-afk [13:42] Any opions on Bug 444862? [13:42] Launchpad bug 444862 in qbzr ""bzr qlog" displays revision when searching in revids, but not when searching in messages" [Undecided,New] https://launchpad.net/bugs/444862 === weigon_ is now known as weigon === vila-afk is now known as vila [14:15] garyvdm: you mean apart from the fact that 52 clicks is too much ? :) [14:16] garyvdm: oh wait, you ask that question before guilhem replied tight ? [14:16] vila: garyvdm: [14:17] hello, yes I just replied, and it has to do with 52 clicks indeed (more details in my reply). [14:17] and I attached a screenshot to clarify more. [14:20] guilhembi: Ok - so you want it to expand to the found revision. [14:20] *revisions [14:21] garyvdm: yes, 52 clicks is tedious. On the other hand, there is not one found revision, all found revisions are interesting, [14:21] so I guess it could expand to all found revisions. On the yet other hand, if the search found 10000 revisions, [14:21] this expanding will kill qlog I guess. [14:22] Which is why I thought - don't expand, but offer an "expand all" button (if user sees 1000 unexpanded revisions he may not click on the button). Just an idea. [14:22] Yes - if you start typing 'apple' and you just get to 'a' - it will show lots. [14:23] hmm - intresting problem === deryck[afk] is now known as deryck [15:09] night === MTecknology is now known as MTeck-ricer [16:04] night igc [16:04] morning vila, did you see my response to your 'isatty' change [16:04] I think you 'broke' the original intent with your update [16:05] jam: not yet, :-/ [16:05] jam: morning [16:06] basically, you now set the terminal width based on whether there is an 'isatty' attribute [16:06] rather than whether isatty() returns True/False [16:06] and doing "bzr log | less" has an object with 'isatty' but it returns False [16:08] oh, I see, you mean I should *add* 'and not sys.stdout.isatty()' ? [16:09] rhaaaa 'or not sys.stdout.isatty()' [16:10] jam: ^ [16:18] jam: ok, found your mail finally, I agree (as said above...) and will fix [16:22] jam: did you read the IRC logs, especially the part about PQM not failing on errors ? (for bzr.dev, not 2.0.x) === GaryvdM_ is now known as GaryvdM === beuno is now known as beuno-lunch [16:38] vila: I did not see the irc logs, I did see Andrew's post about it. [16:42] jam: good, I didn;t see your comment on the bug until now [16:43] Peng_: btw, I replied to the bug and the merge proposal [16:45] wow GaryvdM is going banaza on the bugtracker... [16:58] vila: I warned you that registrifying the DWIM wasn't trivial :p [16:59] fullermd: I have a working patch except it fails one test that seems so unrelated I'm a bit puzzled... [16:59] 's either a lot of grumpy hand-fitting so it works with The Way Things Are, or a lot of grumpy work changing The Way Things Are... [16:59] fullermd: not that much, let me push that so you can see [17:00] Oh, my eyes won't help you. I hit my capability limit just writing it as-is. [17:00] fullermd: pff :) [17:00] And I'm in crunch, so I won't have time to do more than glance at much for weeks... [17:04] And actually, if the concensus is toward stopping on non-revno revno-looking things, that adds more magic in registrification, unless that check is left out of the reg, and... [17:04] igc: Hi! What's your initial reaction to the idea of having bzr-fastimport store git refs as bzr branch nicks? [17:04] fullermd: look at lp:~bzr/bzr/revspec-dwim if/when you can [17:04] fullermd: that's not as bad as many tought [17:06] vila: What's with the pulling of wants_revision_history in 4586? [17:06] fullermd: nobody uses that since we create new revspecs objects [17:07] Are you sure? I needed it so that it didn't try to build the history when it looked into revnos, but DID for other stuff. [17:07] fullermd: no I'm not sure :) [17:08] i have created a project for wich i am the maintainer on launchpad. but i dont understand how to upload my code there? [17:08] (and without at least setting it False, it ended up building the history just for revnos, which is a big regression) [17:09] fullermd: you rock ! [17:09] setting to false is enough [17:09] Indeed, I deleted that after running only -s bt.test_revisio, but the failing one was not there... [17:10] I need to EOD just now, but I'll update the submission probably later tonight ~21h00 my time (it's 18h10) [17:11] I recall that I needed to reset it for later because something failed if I didn't, but that may be faulty memory. [17:19] larsemil: you may want to create a group for the project [17:19] otherwise just "bzr push lp:~USERNAME/PROJECT/trunk" or some similar branch name. [17:19] you can then edit your project settings to declare that location as the 'development focus' [17:20] so that people doing "bzr branch lp:PROJECT" will get the code from that branch. [17:21] Peng_: if you could help me understand the issue with 'merge' it would be appreciated [17:21] testing it locally doesn't seem to trigger the problem [17:22] so now the project came under USERNAME/PROJECT so noone else will be able to commit to it+ [17:23] larsemil: so anyone can push their own branch to "~myuser/project/branch-name", however yes, if you don't create a group for the project [17:23] only you will be able to push to the trunk branch [17:23] note that you can create a group later [17:23] and move the development focus to that branch later, etc. [17:24] jam: i did a push but still it says no revision? [17:24] jam: and with group you mean team= [17:24] ? [17:25] larsemil: yeah, probably team [17:26] thanks [17:26] larsemil: did you commit locally before pushing? [17:26] jam maybe not? [17:26] before pushing i did bzr init [17:29] larsemil: 'bzr init; bzr add; bzr commit; bzr push' is the general steps === beuno-lunch is now known as beuno [17:29] note that you may want "bzr init; bzr st; bzr ignore; bzr add" etc [17:32] jam: thanks i got the files now [17:38] Peng_: for example, are you sure that you recompiled all extensions before doing the 'bzr merge' ? [18:48] I want your feedback about the following workflow. I have trunk and feature branches. I focus on testing all of them together, so I have a branch all-features that basically is a merge of trunk and the otehr branches. [19:01] Hi. [19:01] I want your feedback about the following workflow. I have trunk and feature branches. I focus on testing all of them together, so I have a branch all-features that basically is a merge of trunk and the other branches. [19:01] RenatoSilva: why do you do that? [19:49] hey. I was hoping someone could help me. I need to import the files from just the latest revision of an svn repo into a newly created bzr branch. I don't need any of the revision information, just the files themselves. how do i do this? [19:56] fullermd: so, we were both half-right, wants_revision_history should be set to False at the class level BUT there is no need to set it to True after that. [19:57] fullermd: presumably you needed it in some intermediate implementation ? [19:57] Possible. [19:57] Remember, I don't know python or bzrlib, so my patches are all just shotgunned until they work :p [19:58] You can def. see the performance impact of not False'ifying it. === Adys is now known as Cogwillie [19:58] break_: svn export, then bzr add? [19:59] fullermd: EPARSE(can def. see) [19:59] Goes from ~.21s to ~.60s for 'stat -c-1' without it, since it builds the full tree before it gets to trying the revno. === Cogwillie is now known as Adys [19:59] "can definitely see" [19:59] ha, funny you say that, the failing tests was a effort one :-) [20:00] bzrlib.tests.blackbox.test_pull.TestPull.test_pull_smart_stacked_streaming_acceptance [20:00] * fullermd blinks. [20:00] Wow, that must be some WEIRD indirect kinda effect :p [20:00] But I guess it did its job, in a roundabout way. [20:01] the test checks how many calls are done to the remote server, getting the rev history add calls [20:01] I can only imagine the performance impact it would have on trees with more history than bzr.dev, but I knew if I submitted a patch that made -r123 more expensive, I'd get lynched... [20:01] the good thing is that the test was well tought and caught a related bug, the bad thing is that it was the only test to catch it [20:02] Yeah, but who expects something like that to be doing a -rSOMETHING? Wacky. [20:02] fullermd: look at it now that you know it fails and why, you'll see it's obivous [20:02] even more when knowing that replacing '-r 1' by '-r revno:1' made it pass [20:02] Probably. I never looked at it before I kniew it failed :p [20:03] ('cuz it never failed for ME. I can't help it if YOU break my perfect code ;) [20:03] Is there any sane documentation for scmproj? The official docs are thoroughly confusing [20:03] fullermd: me neither, but it prompted me to ask for your fresh eye 5 mins before my EOD :) [20:04] sjamaan: your input will certainly help, the main autho native language is not english [20:04] s/autho/author/ [20:04] Tak: thank you, that looks like just what i need [20:04] vila: sure, but in order to be able to provide input I have to understand it first :) [20:05] I was able to initialize a project, but I can't find docs on how to actually start adding subprojects to the project [20:06] I don't use it myself so I can't answer that [20:08] fullermd: so, should I propose merging lp:~bzr/bzr/revspec-dwim or do you want to pull that in your branch and press the resubmit button ? [20:08] I think the later will provide a better tracking,,, [20:09] Either way. [20:12] then pull/push/resubmit , I'll aprove, add some comments [20:12] s/approve,/approve and/ [20:13] fullermd: the 'resubmit proposal' button is in the upper right area [20:15] * fullermd waits in LP to update it. [20:15] ok [20:16] I don't see a... oh, on the merge page, not the branch. [20:20] 'k, wending its way around. [20:21] fullermd: did you explicitly request reviews from Ian and Robert or did lp did that on its own ? [20:21] I didn't do anything to add them, so I guess LP slapped 'em on. [20:22] wow, I thought I approved that one.... but I'm not even in the comments 8-) [20:22] You answered the email I sent on to the list, not the MP mail. [20:22] * fullermd goes on another epic bitch session about the two being divorced. [20:23] hmm, yeah, both arrive in the same mailbox here so I may have been confused, especially if you used the same subject... [20:23] jelmer and spiv also commented, but on the list, so they didn't make it into the tracker either. [20:24] I think we are progressing anyway :-) [20:25] Hi all, Im new on Bazaar... Long time SVK / SVN user, but since SVK effectively is dead, I need to switch to something new.. Could anybody here tell me if bazaar has these options? - Offline working, automated merges (not needed to track which changes where, etc, just plain merge and it works)... [20:25] We have nearly all the needed pieces in place: 1) You put an url to the merge proposal in the commit mesage when you land on trunk, 2) You put url to the mailing list archive in your merge proposal, 3) You teach qbzr/bzr-gtk to open urls in commit messages.... [20:26] phoenixz: Both of those are pretty much inherent qualities in DVCS's, so bzr does them naturally. [20:26] fullermd: well, I'd think so too, but AFAIK, SVN doesn't.. :) which was the reason for me to use SVK, which does.. [20:27] That's 'cuz SVN isn't a _D_VCS ;) [20:27] fullermd: sounds good.. is it possible to for BZR to connect to an SVN repository? [20:27] hi [20:27] fullermd: Just for the record, I'm just walking out on SVK / SVN here.. :) I know VCS, but what is a DVCS? [20:27] phoenixz: Yes, there's a bzr-svn plugin for that. [20:28] I notice branching from svn (via bzr-svn plugin) is awfully slow. is this because of the branching or because of the svn->bzr conversion? [20:28] phoenixz: 'Distributed' [20:28] phoenixz: yes, i use bzr with several svn repos [20:28] I guess it's downloading the whole thing? [20:28] * fullermd has to dash off and take care of some things. [20:28] phoenixz: I hear it can even read SVK merge data but I haven't tried that :) [20:28] nyu: yes, the first time it has to download the whole thing [20:29] dash: so it makes a complete local mirror of a repository, like SVK does? [20:29] right [20:29] dash: once I created the first branch, will I be able to create further branches from it quickly? [20:29] yes [20:29] I mean, remotely [20:29] a shared repo can also help with that [20:29] fullermd: another question.. svn has the very FRIGGIN nasty habbit of dumping .svn directories all over the place.. bzr doesnt do this either? [20:29] phoenixz: nope, just one .bzr dir at the top level of your branch [20:30] dash: so even if the repo is huge, I can branch a remote bzr URL into another remote bzr URL with small cost? [20:30] dash: mmm, I think I can live with that.. [20:30] i.e. without downloading the whole thing [20:30] nyu: right, because it will use the revisions stored locally before downloading any [20:31] if you use a shared repo then the branches will use it for the revisions they have in common [20:31] in that case I guess I should setup a bzr mirror of svn trunk, then branch off it, rather than branching directly from svn? [20:31] I need branching to be cheap [20:31] nyu: that's what we did [20:31] ok, thanks [20:32] fullermd: so, it also tracks all changes and merges? So, say if I have tree B, with subdirectory lib in there.. I copy tree A to B, I make changes in some files in A/lib and some changes in similar and other files in B/lib.. then can I easily merge the changes from A/lib to B/lib and also vice-versa? [20:32] fullermd: I realize, I may be asking if ice is cold here, but with SVK.. well, it worked, but thats about all.. I have a migraine from using it and I need something that just plainly works.. [20:32] phoenixz: Sorta. There'll be some realigning of your thinking to fit with bzr, though. [20:33] fullermd: howso? [20:33] phoenixz: You don't work with repositories in bzr, you don't work with branches. And they're real branches, not 'copies'. [20:33] fullermd: okay.. trying to fit that in... [20:34] phoenixz: And revisions are the first-class entities you ship around. So when you merge, you're merging one set of revisions with another. Your history has all the revisions you've ever pulled in, so it tracks based on that. [20:34] phoenixz: I really need to run off right now, but I'll be back in an hour or so. Or somebody else can help you fill that in. [20:34] fullermd: Is there a way to fetch an entire repository with bzr? Or can you only fetch branches? [20:35] sjamaan: Only branches, currently. There may never be a way to fetch a _repository_ per se, but there will probably be ways to fetch a _group of branches_. [20:35] (I'm a little concerned that if I have two very big branches and I clone both, they won't share data on my machine) [20:36] fullermd: okay, thanks for all the info anyway! Im going to give this one a good try [20:36] Having repositories be second-class citizens as it were, you undermine the distributed nature of bzr, no? [20:36] sjamaan: create a repo, fetch branches into it, they'll share revisions [20:36] dash: Ah, that works? [20:36] sjamaan: yep [20:36] cool! [20:37] I take it it picks up the sha1 hashes and uses that to determine two files are the same? [20:37] sjamaan: this is why they're second class citizens, they're mostly an optimization rather than something affecting the contents of your branch :) [20:37] sjamaan: revision IDs [20:37] Ah, I understand now [20:37] It does make sense [20:38] how can i configure bzr branches so that noone can push merges that make the bzr revision move backward? [20:38] Is there a way to create repositories later on, after you checked out a branch? [20:38] (say I have branch a as a regular branch, but then decide I also want branch b, and want them to share data) [20:38] sjamaan: sure. just do the same thing :) [20:38] create a repo, create a branch in it from your existing non-repo branch [20:38] I need to re-clone the branch? [20:39] Or can I just move the existing branch into the repo dir? [20:39] the former [20:39] * sjamaan nods [20:40] I could probably clone it locally and then make it point at the original upstream branch, right? [20:40] (to avoid downloading a lot of data) [20:42] asac: bzr help configuration, look for append_only [20:54] moin [21:04] Where can I find more info on nested branches? [21:04] dash: uhm, the "bzr push" part of the mirroring just takes 5 steps in progress bar, is this normal? [21:05] it looks scaringly fast in comparison ;-) [21:05] I hope it *does* indeed upload the whole thing [21:21] is there an easy-to-read guide to using bzr in emacs? [21:22] Solarion: well, both vc (builtin to emacs) and DVC (available separately) support it [21:22] DVC does more [21:22] dvc is fancy [21:23] yeah and its bzr support is pretty good these days [21:23] vc is (hopefully) fine for now [21:23] Solarion: well, i'd just look at the manual for that [21:24] I may be stupid, but I'm having trouble figuring out how to do a basic pull and update the buffers [21:24] vc doesn't support pull [21:24] ah, well, that'd explain it. :) [21:24] vc was written when CVS was the hot new thing :) [21:25] yeah [21:25] it seems to quasi-support bzr, though, so it had me fooled [21:25] is there an ubuntu package? [21:25] sure [21:25] Solarion: I guess it would work if you only use bound branches? [21:25] the operations that vc _does_ support, it supports on bzr [21:25] (where they make sense) [21:25] (ie "centralised mode") [21:26] sjamaan: I don't think so [21:26] maybe I fail to distinguish between bound and checkout [21:26] no, that's the same [21:26] then no. :) [21:26] at least, not that I can tell [21:27] clone creates an unbound copy, checkout creates a bound copy of a branch [21:27] VC has all the main concepts then, no? commit, update, log [21:27] Those work when operating on a bound branch [21:28] (not that I've tried this though :) ) [21:28] C-x v m? [21:28] to just "Picku p any recent changes from the repository without trying to commit your own chagnes" [21:29] "Sorry, merge-news is not implemented on Bzr" [21:31] ic [21:31] Well, too bad :) [21:31] y8eah [21:32] DVC it is [21:32] * Solarion doesn't want to manually update all the buffers [21:33] yeah, that sucks too [21:33] is it possible to organize repositories using a directory structure? [21:33] I always hated that about vc-mode [21:33] bzr seems to want them all in the top dir [21:33] Even with svn I use psvn or dsvn [21:33] (but vc-mode is a nice way to do a "quick commit") [21:34] (and then afterwards finding out you forgot to commit the other file and need to do it all again) [21:34] :P [21:34] nyu: euh? you can use directory hierarchies just fine [21:35] it complains that "parent of foo does not exist". and --create-prefix doesn't seem to be accepted in branch command [21:36] maybe I should branch locally, then push with --create-prefix ? [21:36] what is it you are trying to do? [21:36] or perhaps just create the directory by hand [21:36] LarstiQ: branch from . to a remote location [21:37] . is a pull from svn, which I just pushed [21:37] (to a remote bzr location) [21:38] nyu: `bzr push --create-prefix remote/location` [21:38] LarstiQ: but then it's not a branch? [21:38] or is it [21:39] it is [21:40] * LarstiQ goes to bed [21:40] but this uploads the whole thing? [21:41] if the branch is new, yes [21:41] but I'm branching from something which is already in the server [21:41] server? [21:42] I guess "branch " is what I'd like to do, but it complains about missing directory [21:42] may I create that dir by hand? [21:43] nyu: is this an svn server? [21:43] or a bzr server? [21:43] * lifeless is totally without context [21:44] bzr [21:44] then branching locally and push --overwrite newoath is equivalent [21:44] uhm [21:45] if you're worried that it will upload a lot of data - it won't (unless you don't have a shared repo) [21:45] and if you don't have a shared repo, branching on the server would still have to do the same amount of work [21:45] I was using the local tree I use for the svn->bzr transition, is that ok? [21:45] thats fine [21:45] do I have a shared repo? ;-) [21:46] do you have any branches on the server yet? [21:46] well, I'm trying to create the first one. then I interrupted it mid-way because it seemed like it was uploading the whole thing [21:47] it has to :) [21:47] but why? [21:47] it's already there [21:48] you just said you don't have any branches on the server... [21:48] oh, sorry [21:48] I have something I would've called a 'trunk' [21:48] and its a bzr branch ? [21:48] it's the result of bzr pull from svn && bzr push to bzr [21:48] ok [21:49] 'bzr info ' [21:49] pastebin that somewhere, and I can show you if you have a shared repo [21:50] it says that's the "branch root". svn one is in "related branches" [21:51] It should have provided several lines of output [21:52] you can anonymise the urls if you like, but I need to see the otuput [21:52] nah, just these two [21:53] wait [21:53] lifeless: http://pastebin.com/m3a9c5661 [21:54] Hi, just started to test a little with BZR.. made a project, pushed it to a remote place, branched it to another computer.. Now I have the same project on 2 locations, I made changes on both places, now I want to merge the changes from both locations so that both locations have the same changes but how do I do that? bzr send seems to support only email?! cant I send the changes directly? [22:12] phoenixz: bzr merge OTHER_URL; bzr commit [22:13] nyu: 'Standalone branch ' is the bit that matters [22:13] nyu: it means you don't have a shared repo [22:13] nyu: if you do this: [22:13] 'bzr init-repo --rich-root-pack sftp://robertmh@bzr.savannah.gnu.org/srv/bzr/grub/trunk' [22:14] then you'll have a shared repo [22:14] you'll need to push up the contents once more, because the previous push is in a standalone branhc [22:14] so [22:14] bzr push sftp://robertmh@bzr.savannah.gnu.org/srv/bzr/grub/temp [22:15] and after that pushing new branches will be fast [22:15] You probably don't want to actually init-repo at trunk/... [22:16] oh yes, bad cp [22:16] 'bzr init-repo --rich-root-pack sftp://robertmh@bzr.savannah.gnu.org/srv/bzr/grub' [22:16] I'll note that sftp is fairly slow compared to our dedicated server, but savannah still see to be confused/limited [22:16] kfogel: ^ [22:17] thx [22:17] lifeless: ok, now I need to push again? the old tree is still there [22:18] lifeless: reding [22:18] lifeless: savannah problem? [22:19] nyu: you need to push to a branch that isn't trunk, within the shared repo, to seed it with the content. [22:20] kfogel: last I heard they only support sftp for bzr [22:20] kfogel: which is really really inefficient compared to a client-server protocol [22:21] lifeless: ok. how do I replace the old trunk afterwards? [22:21] delete it, e.g. with lftp [22:21] then push to it again [22:22] ah. can't I just delete trunk already? [22:22] sure [22:22] lifeless: https://savannah.gnu.org/support/?106612#comment10 indicates they have smart server [22:22] they need a root signed ssl cert too [22:22] or we should ship their root cert [22:22] lifeless: btw, when setting up a svn mirror, am I supposed to checkout or branch from it? [22:23] I guess commits aren't going to be pushed back, so branch would be the way? [22:23] nyu: its up to you [22:23] nyu: if you want a mirror, I'd use checkout + update myself [22:23] as you shouldn't be committing in a mirror [22:24] kfogel: "Using the latest version of bzr with a ssh + smart server access requires a change in the current installation and a migration of existing bzr projects. This looks like the way to go in the long run but this will take more time than using the existing infrastructure. " [22:24] kfogel: I think you got the sense inverted [22:25] lifeless: yeah, I don't want anyone to commit in the mirror. they should branch instead [22:25] lifeless: oh, no I just read the first line. but they are doing commit emails with inotify [22:25] nyu: exactly [22:25] nyu: what I'd do is maintaint he mirror as a checkout+update; and branch from the mirror to do work [22:28] bzr does not support file copy? [22:28] phoenixz: Not as something that makes any notations in history, no. [22:29] fullermd: so basically, a copied file is just a new file, as far as bzr is concerned? [22:29] Right. [22:31] fullermd: okay... and just so that I get it.. I created tree A, added some files and dirs, committed, then pushed that to another server.. on the same computer in another directory, I bzr branch "serverpushurl", and had a branch of A, which I called B.. so far, so good, right? [22:31] fullermd: then I made changes in A and in B, and to merge them, I basically would have to do cd A, merge ../B, correct? [22:31] Right. So now you [technically] have 3 branches; one at A, one at B, one at SERVER. [22:31] and then cd ../B, bzr merge ../A [22:32] fullermd: ah, so bzr push also branches? [22:32] (note that you could have done 'cd .. ; bzr branch A B' instead of routing through SERVER there too) [22:32] fullermd: but so, technically, how could I merge my changes back to the pushed branch? because that didnt work, somehow.. [22:32] Well, you'll have to quantify "didn't work" a little more ;) [22:33] Because that looks reasonably correct. [22:34] fullermd: heheh, well, so I had A, pushed it to server (which is branching too, right?), lets call that C, then I bzr branch C on another location in my laptop, called that B [22:34] * fullermd glares at his ringing phone. [22:34] fullermd: so I have A, B and C (on the server) [22:34] lifeless: btw, the example in http://doc.bazaar-vcs.org/latest/en/user-guide/svn_plugin.html recommends --default-rich-root rather than --rich-root-pack. I guess it needs updating? [22:34] nyu: no [22:35] yeah, take that call :) I'll keep on writing.. [22:35] nyu: you did the conversion with an older bzr [22:35] lifeless: ah, ok [22:35] fullermd: now, I make changes to A and B.. I can merge changes from A to B and from B to A.. but how do I send those changes to C?? [22:35] nyu: I used the exact matching format that 'bzr info' told me you have your trunk in [22:35] lifeless++ [22:35] nyu: otherwise bzr would have had to do data conversion - and while converting to 2a (which is what default-rich-root is now) is a good thing, I sense you're just getting started [22:36] pretty obvious that I am ;-) [22:39] phoenixz: 'k, sorry. You'd use 'push' to push them up. [22:39] push is almost the complement to pull, except that (as in your first steps) push also creates the target branch if it doesn't already exist. [22:40] fullermd: and if I Im in B and I send changes from A to C and I want to receive those changes in B.. ? how would I do that then? [22:40] vila: jam: spiv: - on tripit? [22:40] fullermd: sorry for all the bothering :) just trying to gettit [22:42] phoenixz: Grr. You people are going to make me actually dig all that up... [22:43] phoenixz: Lemme dig through my logs. I had a long discussion about roughly that with another guy some weeks ago... I've been threatening to put it up somewhere for reference. [22:43] fullermd: Hehehe, sorry.. Its just that bzr does seem to do things a bit different than SVN.. its not hard to grasp, its hard to change learnt stuff... [22:43] Yeah, the basic units you work with are a bit different. [22:44] fullermd: exactly, thats my difficulty now, Im looking though pink svn glasses... [22:48] phoenixz: Editing... will take me some minutes. [22:48] fullermd: sure, thanks! [23:03] phoenixz: http://bazaar-vcs.org/MatthewFuller/AboutPushPullMerge [23:09] phoenixz: There was followup discussion to that about Repositories. I'm editing that now. [23:15] lifeless: ok, finished with the re-push. still complains about non-existant parent dir though [23:15] I guess I can mkdir it by hand? [23:15] (within the shared-repo directory, of course) [23:19] fullermd: thanks for the document, reading it now! [23:19] fullermd: sorry for the late reply, had some network problems here [23:20] Hey! No nick changing on me! 10 minutes in the penalty box! [23:22] my question : http://pastie.org/665423 [23:23] sorry http://pastie.org/665941 [23:25] fullermd: just a question... the .bzr directory basically is the repository? and then the files along side it the working tree? [23:26] The .bzr/ directory is all the bzr meta-data. Any given .bzr/ dir may have a Repository, or a Branch, or [the internal tracking files for] a Working Tree. [23:26] Or any combination of the above. [23:26] In SVN terms, it can be the repo, or the equivalent of the stuff in .svn/ dirs in a checkout, or both. [23:26] fullermd: gottit.. [23:27] fullermd: other question.. [23:28] fullermd: There is A, pushed to B, branched to C [23:28] fullermd: So I could say.. B is the trunk, A is my working copy, C is working copy for person C.. [23:28] now, A makes changes, C makes changes.. [23:28] fullermd: to move those changes to B, A does bzr push [23:29] When C does a push, A's changes will NOT be overwritten, right? [23:29] sven_oostenbrink, no. In fact, C can't commit unless they are up to date. [23:30] fullermd: thats to say... when I push to a location, All revisions (each revision being a collection of changes) will be pushed to that location.. If that location contains nothing yet, it will practically be a copy of my local stuff, right? [23:30] rockstar: No, they're branches, not checkouts. [23:30] sven_oostenbrink: When C tries to push, it will tell him he's out of date. And he'd have to merge before he could push. [23:30] fullermd, yeah, I think there's some confusion there. [23:31] fullermd: so C first would have to do a pull, right? [23:31] (this also then leads into a discussion about how you'd actually probably NOT wnat to work that way, since it destroys the mainline. But let me edit ONE big thread at once!) [23:31] fullermd, sven_oostenbrink, he won't be able to just push if A has pushed already. [23:31] fullermd: C would have to do bzr pull or bzr merge? [23:31] He'll have to do a merge -> push, because the branches are diverged. [23:31] sven_oostenbrink: No, he'd have to merge. He couldn't pull since he has changes the far side doesn't. See the merge discussion about halfway down that page. [23:31] You can imagine that instead of that guy working on both Linux and Windows, there are just two people, one on each. [23:32] fullermd: so if C would do either push or pull, he'd get a message he'd have to merge first.. [23:32] sven_oostenbrink, yes. [23:33] ok, perfect.. [23:34] fullermd: rockstar: another question.. I did a push to another server over sftp:// I checked the destination, and it was a directory with a .bzr directory in it. This means that, bzr push basically sends all revisions to the remote location that the remote location doesn't have yet, and if the remote location has nothing yet, it will just send all revisions I have.. is this correct? [23:35] sven_oostenbrink, correct. [23:35] ok, and when I have changes to merge, I can also send them by email (bzr send) and then another person receiving htat mail, can apply then with bzr patch ? [23:36] 'bzr merge' more like. [23:36] You could also just put your branch somewhere they can see, and they can merge directly from it. [23:37] ah, gottit.. [23:39] fullermd: now just one other thing.. What, in bzr, is the difference between a checkout and a branch? I mean, in SVN / SVK, a branch basically is a copy. period. A checkout is creating a working tree.. but here, I bzr branch or bzr checkout, both create a WT.. [23:39] fullermd: if I get it correctly [23:40] fullermd: then if I have A in bzr, I push that to B.. Then if I work on location C, if I bzr branch it, I have branch C.. if I just checkout it, I will be on location C but working on branch B... ? irght? [23:40] argh [23:40] sven_oostenbrink: the difference is just that a checkout is bound to a remote branch [23:40] sven_oostenbrink: Roughly the same, actually. Just think of 'branch' as making a branch and then checking it out. [23:40] lifeless: hi [23:40] * fullermd stabs dash until he stops saying 'bound branch'. [23:40] sven_oostenbrink: meaning that checkins will first make sure the changes can be applied to the remote branch before applying them locally [23:41] fullermd: I didn't say "bound branch"! [23:41] You said half of it. That's at least 75% as bad :p [23:41] fullermd: understood.. but then, if I checkout from a branch on another computer.. when committing, I then MUST have network access to that computer, no? while bzr branch would just place everything locally on my computer.. right? [23:42] sven_oostenbrink: if you don't have network access you can do 'bzr commit --local' [23:42] Right. [23:42] and then push/merge later [23:42] And never commit --local. 'cuz then we'll have another giant fooforah when it screws you. [23:42] fullermd: What [23:42] fullermd: Where is this documented [23:43] * sven_oostenbrink hates deez pink SVN glasses.. its easy, but so hard to get it.. [23:43] sven_oostenbrink: the third mode is a lightweight checkout, you get one via "bzr co --lightweight" [23:44] sven_oostenbrink: this doesn't store any local revisions, it's like an svn checkout in that regard [23:44] dash: In a whole lot of mailing list threads and long IRC discussions. [23:44] fullermd: so what's wrong with it [23:44] dash: Id prefer just bzr branch.. just work on my own branch, all alone, nobody bothering me.. when I'm finished, I merge my changes to a trunk [23:45] sven_oostenbrink: that works [23:45] For one thing, various bugs cause it to totally hork you when you have local commits and uncommited changes and update. [23:45] sven_oostenbrink: It's very common to use checkouts for the trunk. [23:45] fullermd: Oh. :( [23:45] yeah I switched to a checkout for my local copy of trunk [23:45] In a broader sense, local commits in a _checkout_ make no sense. That's more a 'bound branch' thing. [23:45] fullermd: what's the difference [23:45] I never knew those were distinct [23:45] sven_oostenbrink: So instead of merging trunk and pushing your branch over, you merge your branch into trunk and commit. That way you don't disturb the mainline. [23:46] Well, they're not, in bzr. That's kinda the problem :p [23:46] fullermd: I am utterly confused [23:46] fullermd: what is the problem? [23:46] The difference is that in a _checkout_, you have one branch, and a WT for it. In a _bound branch_, you have TWO branches, that you generally want to keep in sync. [23:46] Er [23:46] The desired semantics of the two cases are subtly different in many ways. [23:46] i thought that's what a lightweight checkout was? [23:46] fullermd: sorry, didn't get that last one.. merging trunk and pushing branch over, or merge branch into trunk.. whats the difference? [23:46] Right now, bzr has _neither_. It has a chimera that's some of both. [23:47] Okay [23:47] fullermd: probably totally logical, but not seeing it for a second here.. :) [23:47] sven_oostenbrink: It has to do with the way revisions are arranged in history. Ask me later. [23:47] ok [23:47] I think I'm going to stop thinking about this and go back to being ignorant [23:47] * sven_oostenbrink welcomes dash... [23:47] Light and heavy checkouts _should_ act exactly the same, just with heavies having a local cache. Bound branches should act differently from either. [23:48] But as-is, we have heavy checkouts sometimes acting like bound branches (and sometimes acting in ways more like a checkout) [23:48] The two cases are so MUCH alike, that it's easy and natural (and what happened) to conflate them. But it's troublesome because they're not really the same thing. [23:48] nyu: push --create-prefix [23:48] mwhudson: hi [23:48] mwhudson: are you on tripit? [23:49] lifeless: i don't think i know what tripit is, so probably not [23:49] mwhudson: social flight tracking [23:50] lifeless: I'm not on it [23:50] * mwhudson is once again horrifically confused by non-ascii characters in urls [23:51] spiv: does your -suffix@puzzling.org work dynamically? [23:51] or do you need to set them up? [23:51] dash: another one, does bzr also do binary files, like (small) images [23:51] ? [23:51] sven_oostenbrink: http://bazaar-vcs.org/MatthewFuller/AboutUsingRepositories is a followon to that previous discussion, talking about using shared repos (and some other stuff mixed in I didn't bother cleaning out) [23:51] sven_oostenbrink: sure, files are files :) [23:51] It's hard to get a diff of them, of course ;) [23:52] fullermd: I don't really get the differences you postulate for bound/heave [23:52] lifeless: Yeah, I'm gonna make a wiki page of it in, like, 20 years when I recover from making them today :p [23:53] spiv: mwhudson: you should both have tripit invites [23:53] it seems if i do bzr push bzr://localhost/b%C3%A9 the server raises an exception and the client blows up translating it :( [23:54] mwhudson: would you like to go through whats happening in more detail? [23:54] lifeless: Bound branches can have different nicks, checkouts can't (doesn't make sense). Bound branches can diverge, checkouts can't (doesn't make sense). Checkouts should be sync'd to the remote with update, bound branches should use pull. etc etc etc. [23:54] fullermd: are you listing bugs or conceptual expectations? [23:55] Well, the latter, which means them showing up is the former ;) [23:55] fullermd: I wouldn't expect pull on a bound branch to sync it to the master [23:55] fullermd: I'd expect that to change the master [23:56] oops, now i have two tripit accounts it seems... [23:56] mwhudson: heh, you can combine them I think [23:56] yeah, i'm sure [23:56] sven_oostenbrink: (that discussion of usage of repositories may be good for you coming from svn) [23:56] lifeless: yes i would like to talk about what's going on, but first i think i'm going to have lunch [23:56] lifeless: talk to you in a bit? [23:57] lifeless: yes, the suffix is automatic, although I prefer @bemusement.org these days. [23:57] lifeless: Maybe. But 'update' shouldn't updating the local branch to the other branch. Update is for WT<-Branch, not Branch<-OtherBranch. [23:58] mwhudson: ok [23:58] spiv: puzzling/bemusement :P [23:59] fullermd: as the author of update, I take some exception to your definition