[00:00] just to mention, it seems to say that it needs "libsvn" but that isn't going to be installed [00:00] So perhaps it doesn't install dependencies of Build-Deps ? [00:00] So you have to explicitly enumerate all of them? [00:00] ah lpia [00:01] I don't quite understand why it wouldn't complain on ~hardy, but maybe the packages already exist there? [00:01] subversion hasn't built on lpia in Intrepid [00:01] james_w: well, it also failed for amd64 [00:01] so it can't install the packages [00:01] with the same error? [00:01] but it could be the same reason [00:01] james_w: essentially [00:01] http://launchpadlibrarian.net/17103816/buildlog_ubuntu-intrepid-amd64.bzr-svn_0.4.11-1%7Ebazaar1%7Eintrepid_FAILEDTOBUILD.txt.gz [00:01] the packages are there for amd64, so it shouldn't be the same [00:03] james_w: well, it did fail, but I see what you mean from "rmadison" the packages *are* available for amd64 [00:03] strange it has built on lpia, but rmadison doesn't list them [00:03] and it built ages ago, so it shouldn't be archive skwq [00:03] skew even [00:05] I prefer skwq [00:05] I think that is the root cause [00:05] vreixo: regarding signing commits -- you can find information here: http://bazaar-vcs.org/ConfiguringBzr [00:06] heh :-) [00:06] does anybody know of any docs on how one might use looms with packaging? [00:06] LaserJock: I don't think there are any yet [00:06] jonnyde1: The main doubt I have is how to choose the key used to sign [00:06] LaserJock: the NoMoreSourcePackages page gives an idea [00:07] it is chosen by your configured bazaar identity [00:07] sure? and it takes the email into account? [00:07] it must be exactly the same as used in your key [00:07] yes, AFAIK [00:08] I've tried bzr sign-my-revisions and it uses a different key [00:08] my identity is bzr whoami, no? [00:08] yes, it is [00:08] it uses your default key I thought [00:08] I think there was a bug opened on this the other day [00:09] james_w: hmm yes, that does have some ideas on workflow. It seems a bit complicated though [00:09] maybe it's the default key... but I think I've read somewhere that you should have the right whoami [00:09] in fact, I'm doing it like this and it works.... [00:10] but try to set it as the default key in your keystore [00:11] ok [00:12] LaserJock: complicated where? perhaps we can do better? [00:12] or just overall? [00:13] vreixo: make sure you've set the whoami identity like: "Your Name " [00:13] jonnyde1: I have [00:13] I had [00:14] ok [00:14] jonnyde1: $ gpg --list-keys [00:14] pub 1024D/1635CB33 2008-02-20 [00:14] uid Vreixo Formoso [00:14] ... [00:14] pub 1024D/66A4028A 2008-08-16 [00:14] uid Vreixo Formoso [00:14] james_w: maybe complicated isn't quite the right word [00:15] $ bzr whoami [00:15] Vreixo Formoso [00:15] but it uses the other key! [00:15] james_w: maybe it's not very "packaging-like" but more "vcs-like" [00:15] so maybe it's indeed an issue with the default key.... [00:17] LaserJock: yeah, I guess. Does that apply to the "wrapped" command set outlined as well, i.e. "new-patch fix-2345" or whatever it is called? [00:18] james_w: I don't think that's on NoMoreSourcePackage, but that might help [00:19] vreixo: in your ~/.bazaar/bazaar.conf you should find your identity set by whoami, I think... [00:19] LaserJock: ah in the HCT stuff, so it's not quite the same thing [00:19]  jonnyde1: it is right [00:20] LaserJock: at the moment we are trying to build a set of VCS "primitives" that will allow us to model the workflow, and then we can evolve a set of tools on top that are more task-oriented for packaging. [00:20] LaserJock: or, that's my hope anyway :-) [00:20] mhm, makes sense [00:21] so loom does this quite well I think [00:21] vreixo: sorry, but that's the only advice I can give you... for me it worked right from the start... [00:21] perhaps topgit is better, but I think it's too complicated, and the task-oriented stuff will be harder === mario_ is now known as pygi [00:22] jonnyde1: tanks anyway, I will try with the deafult key idea [00:22] james_w: do you know of any efforts for sort of an inbetween flow, between no VCS and NoMoreSourcePackages? [00:22] james_w: it seems like such a huge jump [00:22] good luck! :) [00:23] LaserJock: well, NoMoreSourcePackages is kind of two things, there's the "No more source packages" part, which I hope we will reach by getting to a point where we don't want them in our workflow as they are more hassle than they are worth [00:24] LaserJock: for the command set parts it will be an evolution to get those commands (possibly there will be several tools along the way), so it won't be an instant thing [00:24] james_w: right, at some point we just replace, debuild -S && dput *_source.changes, with bzr push [00:24] LaserJock: and in the mean-time you can avoid loom and use bzr if you like, handling .diff.gz as the diff between two branches, which is much the same as you have now. [00:25] LaserJock: I hope so [00:26] james_w: one of the parts that's kind of making me wonder is that, in Ubuntu at least, many developers only upload a package once or twice [00:27] so I wonder what advantage all this workflow/vcs work is to them [00:28] I'm not sure [00:28] in essence, many developer may not care at all about history, feature branches, tracking patches, etc. [00:28] but if it makes their work easier and more efficient they will "care" [00:28] which makes NoSourcePackages possibly turn into a burden [00:29] well, that's the part that I'm trying to get my head around [00:29] how would it make their work easier and more efficient? [00:29] so an example from an hour or so ago [00:30] I had a sponsorship request open on lvm2 for a while, and in the meantime there were uploads to Ubuntu [00:30] I had the packages in bzr from dogfooding my work, so I spent a couple of minutes importing the new uploads (which no-one else will have to do) [00:31] I ran bzr merge, and got everything merged, with a couple of merge conflicts [00:31] then committed and regenerated the request [00:32] ok, so in that the advantage was bzr's merging abilities [00:32] so, I noticed the problem and ran one command to merge the work. It was done using history, not 2-way, I got easier to deal with conflicts (in my opinion), and had the history there in e.g. annotate to work out what to do. [00:33] if I hadn't I would have had to have download the new packages, generate a diff, apply that, got .rej files, worked out what had gone on from reading changelogs [00:33] *I* think that is so much easier [00:34] I know that I'm very comfortable with bzr though [00:34] it is, although i'm not sure how often we get conflicts [00:34] most of the time it's just download new package, re-apply patch, re-debdiff [00:35] but when it's not it's much harder [00:35] for sure [00:35] we have e.g MoM to automate this for merges [00:36] hmm, MoM-as-bzr would be interesting [00:36] we could build similar tools for all of the cases where things fall down, like the above case of the archive moving underneath you, or we could build on top of a framework that allows to more easily do it for anything [00:36] if we could just grab current Debian version, branch from MoM and work on the merge all in a bzr repo that'd be pretty sweet [00:36] and gives the same benefits whether we are in the easy case or the hard case [00:36] jam: did you want a standup? [00:37] in phase 2 we will have Debian in bzr, so it would be simply "bzr merge lp:debian/unstable/gcc" or something [00:37] and MoM can do dry runs and publish results in the same way as now [00:39] james_w: sound quite interesting [00:39] can bzr make "quiltable" patch series? not sure if my terminology is quite right there, I don't use quilt [00:39] we need to do better at explaining these benefits, as I don't think many people see where we can go with this [00:40] yeah, it could, there's a couple of ways [00:40] it may be a good way to go. [00:40] I wonder how good collaboration with Debian would go [00:40] one problem at the moment that merging debian/patches/* really screws you up, we need to improve that somehow. [00:40] so converting to bzr on the way in, and then converting back when building the source package would be one way [00:41] I'm kinda getting to the point where perhaps just sharing patches rather than debdiffs or DVCSs is the way to go [00:42] so something we can easily do is provide easy ways to spit out various sorts of patches, so you would fix something in bzr, and then spit out e.g. a dpatch to forward to Debian. We can then improve on that [00:42] thought generating plain patches is good for 90% of cases or more [00:43] hmm, yeah [00:44] if I were to be able to look at what the Debian maintainer is using (say dpatch) and then run something like gen-patch --dpatch that'd be really cool [00:45] if you use looms to manage the Ubuntu branch, thats totally doable [00:45] probably 20 lines of python to add a command to do that to loom [00:45] rockin' [00:46] james_w: so the gtk one, what do you need from me? I can't upload to main.. [00:47] is -gtk main? [00:47] nope, universe [00:47] oh huh universe [00:47] can't you upload it then ? :) [00:47] nope [00:47] hmm, syncs are meant to be done by archive anyhow [00:48] lifeless: yeah, but I needed a sponsor to ACK it for the archive admins to look at it [00:48] well, confirm it and subscribe ubuntu-archive [00:48] I've commented on both [00:48] hmm, am I still in sponsors [00:49] you don't need to be in the team as far as I know [00:49] I'm in ubuntu-{universe,main}-sponsors if you need anything [00:49] thanks LaserJock [00:49] LaserJock: if you could process https://bugs.edge.launchpad.net/ubuntu/+source/bzr-svn/+bug/261653 [00:49] Launchpad bug 261653 in bzr-svn "Please sync bzr-svn 0.4.11 (universe) from Debian experimental (main)" [Wishlist,New] [00:49] https://bugs.edge.launchpad.net/ubuntu/+source/bzr-gtk/+bug/261645 [00:49] Launchpad bug 261645 in bzr-gtk "Please merge bzr-gtk 0.95.0-1 (universe) from Debian experimental (main)" [Wishlist,Confirmed] [00:49] LaserJock: would you be willing to ack a couple of main sync requests as well then please? [00:49] I don't do enough syncs to keep it all paged in, I was just checking the current procecss [00:50] james_w: where is the bzr 1.6 sync request? [00:50] james_w: depends on how many ;-) [00:50] lifeless: bug 261636 [00:50] Launchpad bug 261636 in bzr "Please sync bzr 1.6-1 (main) from Debian experimental (main)" [Wishlist,New] https://launchpad.net/bugs/261636 [00:50] LaserJock: 3 [00:50] LaserJock: I think thats all [00:50] LaserJock: that one, and bug 261644 to go with it [00:50] Launchpad bug 261644 in bzrtools "Please sync bzrtools 1.6.0-1 (main) from Debian experimental (main)" [Wishlist,New] https://launchpad.net/bugs/261644 [00:51] 4 [00:51] :P [00:51] then bzr-svn sync for universe, and bzr-gtk merge [00:51] ok, so bzr-* ? :-) [00:52] jelmer has already done all the lesser plugins and got acks, so with these four we get most-recent everything, with everything compatible [00:52] jam: ping [00:52] lifeless, if you feel like uploading bzr-search, maybe that can make it into intrepid as well [00:52] almost made it earlier but got rejected because of incorrect debian/copyright [00:53] jelmer: garh [00:53] jelmer: url me up I guess [00:53] packaging is so 1960's though [00:54] lifeless, http://mentors.debian.net/cgi-bin/maintainer-packages?action=details;package=bzr-search [00:54] lifeless, are you calling me oldfashioned? :-P [00:54] damn thats a fugly url [00:54] * jelmer gives lifeless a gentoo ebuild [00:54] shudder [00:55] jelmer: don't you want sponsor-packages? [00:55] jelmer: is the package anywhere that doesn't suck arse? [00:55] lifeless, try http://mentors.debian.net/debian/pool/main/b/bzr-search/ instead [00:55] jelmer: cause that site wants me to log in 'first'. IDIOTS [00:56] yeah, sorry, I gave the link inside the login area [00:56] hmmm, I'm not in the most forgiving-of-the-universe modd today [00:56] lifeless, http://mentors.debian.net/debian/pool/main/b/bzr-search/ should work better [00:56] oh yay [00:56] now what ? :_) [00:56] stupid robots.txt defeats wget [00:57] manually copying urls now [00:57] *this* is why I don't sponsor much [00:57] its about 4 billion times harder than it should be [00:57] well, at least you *can* sponsor [00:57] * jelmer just lost another application manager [00:58] ! [00:58] are you a MOTU yet? [00:58] no - I don't do much Ubuntu stuff, I always work in Debian and then request syncs [00:58] jelmer: because its so much easier, apparently ? :) [00:59] it is, once the initial package is in. I probably wouldn't be using or developing for Debian if that hadn't made it [00:59] if you've got packages that can be just synced it's nice to just maintain in Debian [01:01] jelmer: there will be a delay [01:02] I need to update my sid [01:02] oh [01:02] crud, other machine [01:02] ETOOHARD [01:03] the packaging looks ok, though the reference export command is stale [01:04] bzr done [01:05] lifeless: It's mainly there to make ftp-master happy, I'll add a get-orig-source target later [01:05] jelmer: also it looks like you've got a bzr 1.5 deps, but it requires 1.6 [01:05] Build-Depends-Indep: bzr (>= 1.5~) [01:05] lifeless, it only build-depends on 1.5, the actual dependency is on 1.6 [01:06] I'll fix the build-dep, it should be harmless though [01:06] That needs a comment if its deliberate, or not to be different [01:06] well, the sid chroot is updating [01:06] lifeless: Yeah, I'm fixing it here; it's cosmetic though [01:06] be quite a while [01:08] lifeless, thanks for looking into this [01:11] jelmer: I'm about given up on it; another headache and it will be ETOOHARD - too much to do [01:15] lifeless: :-( [01:16] there is _so_ much beauracracy involved its insane [01:16] you'll still have to wait for NEW [01:17] please don't get me started [01:17] we practice crunchy shell security as far as copyright honoring goes [01:17] NEW's been pretty quick in the last few weeks [01:17] it may catch a bunch of stuff; but as all debian/copyright does is duplicate whats in the package already, it doesn't help anything [01:18] ... and if a new upstream release adds weird stuff, there's no review at all from ftp-master [01:18] thats what I mean by crunchy shell [01:18] ah [01:18] once you're in, you're in. [01:18] When I think of shell, I think of "shell script" [01:19] its a standard description of certain risk management techniques [01:22] ah [01:22] well, nothing's perfect, but it can indeed be pretty frustrating at times.. [01:23] lifeless, any luck getting it to build? [01:24] chroot still updating [01:35] bzrtools done [01:38] bzr-svn done [01:40] jelmer: sorry, I'm going to have to leave bzr-search [01:41] lifeless, :-( [01:42] beuno, ping [01:42] the reason I do nearly everything I do do for ubuntu is source uploads [01:42] james_w: you need to remember to update the Maintainer field in debian/control :-) [01:43] only takes a few minutes fighting pbuilder + debbuild & deps etc and my tolerance for incoherent toolchains is exceeded [01:43] LaserJock: damn, thanks for catching it. [01:43] LaserJock: I presume you don't need a new debdiff? [01:43] james_w: no, I just run update-maintainer [01:44] cool, thanks [01:44] however, it does dep on the newer bzr [01:44] so I'm not sure if I should upload until that's sync'd [01:45] I guess I could just let it fail and then somebody can hit the retry button :-) [01:48] lifeless, I can provide you with a pre-built package... :-) [01:48] jam1: are you back ? [01:48] jelmer: I can't upload that [01:48] siretart: Could you perhaps sponsor bzr-search? [01:49] lifeless: Why not? [01:49] jelmer: thou shalt not upload binaries thou didst not build thyself [01:49] LaserJock: it should just auto-depwait shouldn't it? [01:50] james_w: well, one would hope but I'm not 100% positive [01:50] or at least manual depwait [01:50] lifeless: Why? Yes, I could've tampered with the binary but once the package is in sid, I can upload newer versions without intervention. [01:51] I'd suggest just getting it in, and then fixing if we need to, but you're the sponsor [01:51] jelmer: its part of the stuff I agreed to when I became a DD [01:51] lifeless: hmm, ok [01:52] james_w: uploaded [01:52] LaserJock: great, thanks a lot [01:52] james_w: though I sort of disagree with the "no longer uses a patch system" part. It still build-depends on dpatch even though it's not using it ;-) [01:52] true, I saw that afterwards [01:53] it's already committed upstream though, so it's not a long-term problem [01:53] but without a patches/ it's just an extra dep [01:53] yup [01:54] anywhere, there's a complete bzr set [01:54] which makes me happy, i got to do more than complain about things being out of sync :-) [01:54] perfect, that puts Intrepid in good shape [02:00] well, the packaging spree was nice while it lasted [02:01] uni starts again on friday, so I guess I'll changing the remaining ones back to RFPs for now [02:01] I think I'm suffering branch overload. One of my working trees is 4 branches away from its ultimate upstream... [02:01] markh: you might like looms [02:01] jelmer: how far did bzr-git get? [02:02] I'm not sure I need *more* bzr workflow options at this point... ;) [02:02] lifeless: I ended up working mostly on fixing bugs in bzr-svn [02:02] I only just use shelve for the first time the other day - wonderful :) [02:02] lifeless: bzr-git can now do clone/pull from git -> bzr [02:02] cool [02:03] does git keep a hot refcount for each hash? [02:03] or is gc a global operation ? [02:03] lifeless: also, tags can be set, info works and log works again [02:03] afaik its global but I'd have to check to be sure [02:04] you mean does it walk the heads to find unreferenced objects? [02:09] james_w: if it has a list of heads that is always accurate and race free, then it has a hot refcount for objects with refcount 0 [02:09] james_w: doing race free with loose objects will be quite a challenge though [02:09] ah, I see [02:10] I think [02:10] I don't know how it does that [02:39] May I make the suggestion for more user-friendly release notes? [02:39] I think users are interested in something more readable than the release notes format, which seems to appeal to developers of bzr more. [02:40] I'm thinking something in the form of Ubuntu's tours would cater better to end users (highlighting major improvements, new features, etc) [02:41] would you like to help write something like that? That would be really nice [02:42] I'd certainly be glad to contribute to such an effort [02:43] I think we'd be happy to have release notes in such a form, as long as its contributed :) [02:44] :) [03:12] jam1: ping [03:48] jelmer: Why did handle-patch stop being a command? [03:48] jelmer: And have you noticed it's full of tabs? [04:00] Howdy [04:03] Anyone around who can answer a quick question? [04:06] go for it [04:06] Cool [04:06] So, I discovered Bazaar through a friend, and was thinking about moving my development/playtesting team to it. [04:06] (Mod team) [04:07] I tried installing 1.6, and everything I can find says TortoiseBZR comes with the windows install. [04:07] However, I don't see the TortoiseBZR shell integration, even after a reboot. [04:07] Is there anything special I have to do to get it working? [04:09] Ahhh, I think I found my answer. I'm using XP 64, and an included sub-readme says that the 64 doesn't work due to packaging issues. I guess that's my problem. [04:09] Takes asking it before you figure it out I guess, heheh. [04:12] http://bazaar-vcs.org/WindowsDownloads doesn't seem to mention tortoisebzr, though [04:13] markh: what's needed for win64? [04:13] py2.6 on windows [04:13] apart from that, not much ;) [04:13] bashing the required extension modules into shape [04:13] is py 2.6 not on windows yet ? [04:13] pywin32 is already there [04:14] earlier py versions use MS compilers with sucky/no support for 64bits [04:14] py2.6 is using the latest MSVC and makes life easy [04:14] py2.5 on windows is at the same place on windows as any other os roughly... [04:15] 2.6 [04:15] stable in my experience [04:16] FWIW, a 64bit native exectable can often see 15%ish perf improvement over running a 32bit version of the exe on the 64bit os. [04:17] frikazoyd: ah, sorry, I didn't see your comments. Yes, 64bit toirtoise will need to wait a little while [04:18] there is a hacky work-around [04:18] Ok [04:18] Well I don't mind running the 32 bit [04:18] to be honest [04:18] but the 32 bit installer didn't install tortoise bzr [04:18] IIRC, executing "\windows\syswow64\explorer.exe /separate" should start a new 32bit version of explorer that works with toirtoise [04:18] for some reason [04:18] or it just isn't showing up [04:18] didn't install, or didn't register? [04:18] Ah, ok [04:18] right - it registered as a 32bit extension [04:19] Well it said it registered tortoise in the installer [04:19] AAAhhhhhh [04:19] only 32bit executables will see it [04:19] gotta love that old MS style [04:19] and my explorer is 32 bit [04:20] hrmph [04:20] thunk layers? We're tired of that, WoW blew chunks, lets not do that again [04:20] Yeah, I'm not a fan. However, my hands are tied since I'm a Source modder [04:20] frikazoyd: oh cool. [04:20] windows supports 32bit processes via a "wow" (windows on windows) layer, which is basically a thunking playground. It *does* support loading 32bit binaries into 64bit executables [04:20] which is what COM and shell extensions are all about [04:21] Hm [04:21] bugger [04:21] markh: yes, YHBTHANDHTH [04:21] s/*does*/*does not*/ [04:21] Hrm, the workaround didn't let me see the shell extension [04:21] ah well, I don't mind using command line [04:21] markh: the 16-32 bit wow did allow OLE to work across boundaries IIRC [04:21] the bottom line is I have a ton of playtesters who will complain about using a command line, but if they can use the extension in 32 bit windows I can just write a batch script for the ones that run 64 bit. [04:21] markh: which is what my mini-troll was about [04:22] lifeless: yess, out-of-process COM can be marshalled [04:22] we are inproc [04:22] markh: can't you just set an oop registration anyway? [04:22] :) [04:23] frikazoyd: I admit I've never tried that workaround on 64bits - I will before the next release though. This whole problem will go away once we move the shell extension code to c++ anyway [04:23] Okay [04:23] lifeless: shell extensions only work in-proc unfortunately [04:23] Well I've played with installers quite a bit, so if you need a hand let me know. But I'm not much of a windows programmer, so I don't know how much help I'd be in general. [04:24] Though I'm not bad with C++ itself [04:24] a .msi would be good :) [04:24] but we need to sort out other internal packaging issues before we take on a different installer [04:24] ok [04:24] man [04:25] I so love how COM is inconsistent [04:25] 'its totally generic' -> except that its not [04:25] heh - for sure. Plenty of scope for tuning etc. [04:26] but the rate of calls made to shell extensions and the blobs passed around would make an out-of-proc system struggle [04:26] markh: thats no reason not to -permit- it [04:26] markh: (also, they could fix the interface to do less work more sanely) [04:26] All the interfaces would need custom marshallers iiuc [04:26] and there are *lots* of them [04:27] all the interfaces are defined in terms of c++ structs, not nice little COM variants etc [04:27] its really just using COM as a "plugin" mechanism in some ways :) [04:27] I'm not defending things, just trying to add perspective ;) [04:30] markh: remember, I'm an ex-cygwin-core dev :P [04:30] lifeless: ahh, never knew that :) [04:30] search for robert collins cygwin :) [04:32] * markh wonders what else has can come up with by putting various words after "robert collins"... [04:32] beware my evil clones [04:32] theres a rc writes for dr dobbs journal [04:33] and another in a uk python-using research job [04:33] oh - another as a porn star I see! ;) [04:33] oh really? cool [04:33] now I can get a real hackergotchi [04:33] :P [04:35] They're everywhere these days. I think there's one stealing my name too. [04:35] good morning [04:37] cant donwload openerp's source by running 'python bzr_set.py', [04:37] wait long time and no file is downloaded [04:37] last time i can download all files [04:38] but this time after installed symlink plugin, it become calm down very much [04:39] seems that python run into a dead loop or no connection for ever [04:39] it do create a directory, but no files [04:39] what is bzr_set.py? [04:39] bob2, it is from lp:openerp [04:40] the 'openerp's default branch on launchpad doesn't contain openerp? [04:41] do you means the trunk? [04:41] yes [04:41] yes, it contains only two files [04:41] one is bzr_set.py, other is a readme [04:42] bizarre [04:42] readme file say need run bzr_set.py to fetch source [04:42] bob2, what? [04:46] that's a bit baroque [04:48] bob2, do you have advice to detect where it go wrong? [04:48] well, it will take a while [04:48] you could just try checking out the code manually [04:49] how to do manually? [04:49] look in the file, bzr_repository lists the urls it is fetching [04:49] just "bzr branch" them [04:53] .bzr\repos...\upload have a big file sized of 27M, is it ok? === jam1 is now known as jam [04:56] lifeless: pong [05:00] jam: hey [05:00] jam: trade you a review of log [rather than a comment] for a review of btree ? :) [05:01] sure [05:06] i report a bug justnow, dont know if it is a bug: Bug 261733 [05:06] Launchpad bug 261733 in bzr "crashed after i intall symlink" [Undecided,New] https://launchpad.net/bugs/261733 [05:17] lifeless: btw, you asked for me to factor out the common code, but the loops really aren't the same. [05:17] I'm I misunderstanding what you are asking me to refactor? [05:19] oh [05:19] the add_node method looked like a extract from the base class, verbatim [05:20] lifeless: no, self._nodes contains different things in each [05:20] BTree doesn't need to track absent nodes [05:20] ok [05:20] have a look, see if there is enough to do something common [05:20] otherwise ok [05:21] I could probably extract the "_check_node" into a helper [05:31] until now, the source is downloaded but not over, why so slowly, my adsl bandwidth is 2mbps [05:34] em1: what url is the source coming from? [05:36] that is lp:openerp [05:37] http://bazaar.launchpad.net/%7Eopenerp/openerp/package-script/annotate/9?file_id=bzr_set.py-20080708192342-trihj558tjhh9549-2, line 22 [05:37] (lp) [05:39] have you logged into launchpad? [05:39] in bzr [05:42] me? [05:42] yes [05:43] no, i dont know how to log into lp [05:43] ok, then it will be doing http requests [05:43] it should stream fast [05:44] if its not, its likely a ISP problem; e.g. a broken intercepting proxy [05:44] i try bzr antherproj, it finished quickly [05:45] all project do host on the same computer? [05:45] yes [05:45] maybe because of openerp have very much codes to download [05:46] for nearly 2 hours, it still not finish downloading [05:46] not wonder there is a virus somewhere [05:48] Well, http://bazaar.launchpad.net/~openerp/openerp/package-script/.bzr/repository/packs/ [05:48] is only a few K [05:48] but that is just the packaging? [05:49] yeah, it then scripts branching 5 other ones [06:03] jam: just sent you a toy [06:32] didn't know that python is considering bzr..today on reddit http://pyside.blogspot.com/2008/08/quick-hgbzr-timings.html [06:33] is this another 'apples & oranges' benchmark? [06:35] I wonder why 1.6 is often slower than 1.5 [06:35] although the branch time looks like a big improvement [06:38] jml: Oooh. Is bzr upgrade over bzr+ssh substantially faster than sftp? [06:38] clone time is showstopper, at least, it was for ghc evaluation [06:39] Really? It's essentially a one-off time, though. [06:39] RAOF: I don't have any data on that. My guess is "yes". [06:39] RAOF: because there should be fewer roundtrips and much less data being transferred. [06:39] LaserJock: memory [06:39] theres a peak memory use bug in 1.6 [06:40] RAOF: yeah, it is, but although having many advantages over candidates, it was ruled out due to speed - mostly based on 'clone' [06:40] upgrade over either will be the same [06:40] my understanding of clone time is that 'time to branch' and 'time to build working tree' should be measured separately. [06:40] jml: Given bzr+ssh requires a server-side copy of bzr (IIUC), theoretical maximum performance would seem likely to be very fast. [06:40] lifeless: it just uses vfs methods? [06:40] jml: right [06:41] yes [07:01] jam: I'm already working on it, but thanks for the reminder [08:02] * jml types 'bzr record "hello robert"' [08:08] hello jml [08:08] :) [08:09] apparently the command is useful for something [08:11] jamesh: why 4 the troll? [08:12] lifeless: I see value in recording the thread name -> revid state at a point in time, but the current plugin doesn't really do much with those records [08:13] jamesh: thats true [08:13] jamesh: really need 'merge' implemented [08:13] and I guess it'd be nice if it happened automatically at relevant points in time [08:14] I'm less sure about that; 'bzr push' doesn't do an implicit commit [08:14] I think it would weird people out majorly if it did :) [08:14] perhaps committing to the top thread would be worth recording [08:14] I'd like to have merge working robustly before looking at that sort of automation [08:15] or recording every commit [08:15] (that is slightly dubious, due to possible conflicts in higher threads) [08:15] right [08:15] or in lower threads for that matter [08:20] so I guess my complaints are (1) it is one more thing to remember to do during development and (2) it provides no obvious benefit right now. [08:27] jamesh: I agree with both [08:27] but trolling doesn't get merge written [08:27] there are benefits right now, in that is does allow revert-loom [08:27] but its not a great benefit [08:38] and it's made less by the fact that the only time I remember to do a record is when I'm about to push. [08:39] which basically means "before meals". [08:41] jelmer: bzr-search uploaded, but I wasn't able to commit my changes: http://paste.debian.net/15695/ - what's going on here? [08:41] Does bzr support branching from subtrees of original repository or I always need to copy whole directory tree when branching? [08:41] thumper: always full tree [08:41] jelmer: and I uploaded to experimental, since it seems to depend on bzr 1.6, which is not available in unstable [08:41] techtonik: ^ [08:42] lifeless: morning [08:45] lifeless: Thanks for quick reply. But if the whole tree is too big to copy and I need only a small part (plugin) to work on - what should I do? [08:45] siretart: you would need a --rich-root-pack repo for the local checkout of bzr-search, as the alioth repo is in a rich-root format [08:46] siretart: would you be available for an upload of builddeb later today? [08:46] techtonik: you can skip copying all the deep history by using branch --stacked, or checkout --lightweight; if the current tree is simply too big; well buy a new hard disk? [08:46] techtonik: we have a planned feature to help, but its planned not implemented [08:46] hi thumper [08:49] ok, bzr-search rockage :) [08:49] robertc@lifeless-64:~/source/baz/log$ time ./bzr log ../bzr.dev -m "robert" > /dev/null [08:49] real 0m12.357s [08:49] robertc@lifeless-64:~/source/baz/log$ time ./bzr log ../bzr.dev -m "\brobert\b" > /dev/null [08:49] real 0m4.706s [08:51] james_w: sure [08:51] siretart: great, thanks [08:51] lifeless: The current tree is about 900Mb (lp:codeblocks) - not much for an HDD, but too much for my internet limits. [08:52] 900MB for the working tree? or the full history? [08:53] Working tree only/ [08:53] they eclipsed eclipse! [08:53] jeepers [08:53] thats...insane [08:53] Actually 450 Mb as it is SVN checkout, but still too much. [08:54] how on earth is it all in one branch? [08:54] the full linux binaries are 20MB [08:54] james_w: just tell me what is the up-to-date branch I should upload. and do you want it for unstable or experimental? [08:55] SVN import - that is. [08:55] siretart: experimental and intrepid, if you don't mind, to save a sync delay. [08:55] siretart: I don't have a branch yet though, I still have some work to do. [08:56] james_w: ah, okay. [08:56] UFO:AI repository with media files takes even more than 1Gb [08:58] I've got a problem with bzr merging. Since I didn't want to copy whole repository I just recreated directory structure, manually copied files for the plugin from the main trunk and started my own branch. [08:59] Now I can't merge changes from the main trunk into my branch, because they do not have any common ancestors in bzr. [09:05] When I supply some "-r BASE..LAST" revision argument to merge, then bzr comes up with a lot of conflicts. http://pastebin.com/m75a6caa6 [09:06] I wonder how can I resolve them? The ones about unversioned directories, for example. [09:07] well, you could start over and re-add everything with the same id's as are used in the trunk [09:07] but that's not a huge amount of use [09:13] Does that mean I will lose all the history? [09:14] which history? [09:14] well, yes, either way [09:36] Ok, I suppose it is the only way. So, how can I add everything with different id's so that the subsequent merge will be successfull and will not pull all other files from main trunk into my subtree? [09:37] jelmer: done a 1.6 bzr search release [09:55] abentley, was required to be able to register it as a mime type handler [09:55] siretart, thanks! [09:55] lifeless, ok [10:09] So, Bazaar doesn't have partial checkouts? =/ [10:09] the answer hasn't changed from earlier :) [10:10] its planned [10:10] not implemented [10:10] ls [10:10] Oops [10:10] ['.', '..'] [10:11] Is there a plugin that will snapshot a workspace of multiple trees so you can check out the same thing elsewhere? [10:11] multiple trees? [10:11] Multiple branches or checkouts [10:11] like nested, or same project or ...? [10:12] Say - an eclipse workspace containing multiple branches [10:12] The workspace is not a branch, but the projects inside are [10:13] awilkins: check 'config-manager' [10:13] I knew I'd seen something [10:15] Isn't that your project, lifeless? [10:18] yes [10:18] but its about trees, not branches :P [10:31] awilkins: probably needs some love to do what you want, but yeah config manager is what you'd want for N branches of the same project [10:32] It's more 1 branches of N projects [10:32] that sounds more like nested trees to me then [10:32] Not in the same tree [10:32] cm still applicable [10:32] Siblings in a container [10:33] Like an eclipse PSF file [10:33] psf == cm recipe [10:33] Is it just a straight file? [10:34] Or is it versioned so you can do things like merge it from other workstations? [10:34] cm doesn't care [10:34] you can version if if you want :P [10:34] Would it handle switches? [10:35] e.g. you switch the branch on your workstation, you sync cm recipe on laptop, cm switches to same branch ? [10:38] it has a switch command [10:38] its not well maintained cause I've been putting it of for nested trees [10:38] Fair enough [10:38] but I may need to give it some love [10:38] anyhow, yeah poke at it [10:47] beuno: Shouldn't Loggerhead's /static/ URLs generate Expires headers and stuff? [10:48] Peng_, maybe. I don't know that much about http voodoo [10:50] Peng_: they all should; mwhudson is working on it [10:50] lifeless: Yeah, I just saw that bug. Maybe I should add a comment to remind him about the static stuff? [10:51] sure [11:03] Wow, changing that is actually a one-line patch. [11:20] Is there any point to GPG-signing a very trivial email, with an untrusted key? :) [11:37] erm i have an issue where bzr doesn't seem to be recognising 2 new files that have been created [11:38] which command specifically? [11:38] when i commit it says there are no changes [11:38] when there clearly are [11:38] and diff shows changes? [11:38] or status [11:38] diff shows no changes [11:38] er, wait [11:39] maybe they're ignored? [11:39] they are new files, did you add them? [11:39] `bzr add` [11:39] nope they were created by a web application [11:39] then you need to add them first [11:39] expression engine saves new templates as templates [11:39] bzr add path/to/file [11:40] i thought it did that automatically though? [11:40] It does not [11:40] no, it doesn't [11:40] bzr status should also tell you about unknown files in the working tree [11:41] thanks i can see the file now [11:41] can you set it up to automatically add new files? [11:41] I think there was a patch to add an option to bzr commit to do that, but it was rejected [11:42] that seems v.odd that it isn't there [11:42] i presumed it did that automatically [11:42] in a project files are always being added... [11:42] I don't know about others, but I usually have files in the working tree I don't want to version [11:42] so I have to manually add all new files? [11:42] you can just run 'bzr add' [11:43] it will add all unknown files [11:43] ah ok thanks luks [11:43] excellent thanks for the concise information :) [11:45] http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/45138 is the ML thread, btw [11:48] thanks a lot :) === gour is now known as gour|lunch [12:29] If I can't make a partial ceckout, can I download a part of a tree without version history? [12:30] I think my patch allowing 'export target branch/subdir' is in 1.6 [12:32] doesn't seem so [12:33] bzr export xxx http://bazaar.launchpad.net/~vcs-imports/codeblocks/trunk [12:33] bzr export xxx http://bazaar.launchpad.net/~vcs-imports/codeblocks/trunk/src [12:33] bzr: ERROR: Not a branch: "http://bazaar.launchpad.net/~vcs-imports/codeblocks/trunk/src/". [12:33] Bazaar (bzr) 1.6 [12:44] lifeless: Is there other way to get some subdir (which is not branch) from repository without redownloading whole repo or manually downloading separate files one by one from web interdace? [12:45] techtonik: well, bzr.dev should do bzr export xxx http://bazaar.launchpad.net/~vcs-imports/codeblocks/trunk/src [12:46] and there will a new loggerhead sometime soon that can export subdirs [12:46] techtonik: is it really a problem to download ~60MB of data? [12:55] luks: Yep. 1.5$ for every 60Mb is too much if you are on ADSL and 3.5 hours is too long if you are using Dial Up or GPRS modem [12:55] ouch :( [12:56] and I thought my connection was expensive === gour|lunch is now known as gour [13:06] vila: Just to make sure, Robert is discussing a "trie" not specifically a "tree". http://en.wikipedia.org/wiki/Trie [13:06] I haven't gotten through all of your email yet, though. [13:09] jam: hmm, did I missed the *whole* picture again ? AIUI he want to use hash tries or B+ trees, but in both cases the inventory is still represented as some sort of tree, so I think hash trees (as I called them) are still more or less in the subject even indirectly [13:09] wtf ? plugin.gtk.test prompting me during selftest ??? [13:16] (55, 'select/poll returned error') now, some have decided to die *today* :) [13:16] s/some/some bugs/ [13:21] vila: a trie is a radix tree [13:21] vila: Just to discuss my understanding of his proposal... lifeless proposes that you can use "apply_delta" to update a hash trie without needing to look at the whole tree [13:21] So if you already have one built [13:21] vila: a hash trie is variation of a trie [13:21] you can build the next without doing O(tree) [13:22] lifeless: are you even really proposing a "hash trie" ? I thought it was just a trie using paths and file_ids as the keys [13:22] not the hashes of those [13:23] yet the proposal want to address some performance issues for operation that are O(tree) instead of O(changes) which, has we discussed in London can be addressed with hash trees (as *I* called them). [13:23] If I'm wrong on that point, then forget the related remarks in my review :) [13:23] jam: I'm investigating the properties of several designs [13:24] jam: one is a radix tree of the hashes of the file ids [13:25] one is a plain radix tree [13:25] on the full paths of the entries [13:26] another is directory based, with large directory decomposed into internal trees [13:30] vila: I think what you call "hash tree" lifeless calls "recursive validators" which he plans for any of them [13:30] CHK == content hash key [13:30] So the individual pages are referenced [13:30] based on their content hash [13:31] lifeless: so why use hash(file_id) just to get a more even distribution? [13:31] jam, lifeless: CHK haaa, then the document needs to define the term [13:31] vila: "validator(x)" is generally just secure_hash(x) [13:31] he mentioned it earlier [13:31] I don't know if it missed the last draft [13:32] Who just built and uploaded the windows installers? [13:33] Did Markh do it overnight? [13:33] not over my night ;) [13:33] I just see "TommiVainikainen" updating the wiki, which isn't a name I recognize [13:33] over my day tho, yeah [13:33] thanks markh [13:33] Just make sure to make a note of it :) [13:33] I did rc5 and noone complained it didn't work for them, so I figured it was good to go! [13:34] where? :) [13:34] hehe :) [13:34] I'm afraid noone pointed out a process I should follow - martin just said "upload it there" :) [13:34] hi LarstiQ! [13:35] heya markh [13:35] markh: well, sending an email to the list is reasonable, updating http://bazaar-vcs.org/Download and WindowsDownload [13:35] markh: I've still got to figure out that list of music for you, it's pending, sorry :/ [13:35] also, I linked a bug to you yesterday [13:35] someone filed a complaint that the installers took longer than a day to build... [13:35] what? [13:35] as in, start the build, and wait for a day? [13:36] Or are they complaining the installers are uploaded a day after the release? [13:36] If so, pssh. [13:36] bug #261614 [13:36] Launchpad bug 261614 in bzr "Stand-Alone version for 1.6 for Windows" [Undecided,New] https://launchpad.net/bugs/261614 [13:37] jam: hashes give a homogenous fan out, which is good [13:37] not sure whether to mark it Invalid because it isn't a bug, or Fix Released because we have the installers [13:37] I went with Invalid for now [13:37] jam: so I'm in trouble for not doing it fast enough, or not waiting long enough to follow the correct processes? ;) [13:37] markh: well, I feel like reporting a bug for it, versus just an email/request is a bit ... excessive [13:38] markh: I just didn't have anything alerting me that it happened [13:38] jam: right, yeah, I agree - but you know users - we have nothing better to do than serve them :) [13:38] yeah - we probably need a slightly more formal process, and I'd be happy to follow it [13:40] I wasn't sure exactly when you "turned the crank" for the release etc. For the sake of a day or so, we could probably coordinate more closely next time [13:40] markh: Well "doc/developers/releasing.txt" is my checklist for tarballs, and ".../ppa.txt" is what I use to make debs [13:40] markh: I'm fine with a 1-2 day turnaround [13:40] jam: also, it caps the depth of the keys, tries have a property of O(1) for a given key set - its a high, but constant number of steps (read every bit in the key) [13:40] We could certainly create a "windows_installer.txt" file and put it in there [13:41] so capping the key length reduces the constant [13:41] lifeless: It would be interesting to do comparisons between hash(file_id) and file_id [13:41] as one allows a bit of grouping [13:41] Which may or may not give locality of reference [13:42] also, bzr's default algorithm for file ids is [13:42] NAME-DATE-RANDOM-COUNTER, where DATE-RANDOM is fixed for everything during one "bzr add" [13:42] which probably means you just end up with a long string that doesn't help, because NAME has already messed up your common prefix [13:45] jam: right [13:45] jam: thats one reason I am looking at hashed file ids as keys [13:46] Yeah, I wonder if the 1/256 fan-out is going to be optimal in all cases [13:46] a CHK pointer [13:48] a kind [13:48] say another 4 bytes [13:48] so 45-50 bytes per pointer [13:49] would you use binary/hex/base64 for the serialized key? [13:49] for now, lets say yes [13:49] :) [13:51] add benchmarking of different trie-types, and will have lots of fun benchmarking a billion different combinations :p [13:51] jam: say 50bytes per ref [13:52] lifeless: and 256 refs per node? [13:52] 256 way fan - 12K [13:53] lifeless: 256-way fan out... gives 16.7M in 3 levels [13:53] its what we saw with b-trees [13:53] jam: yes [13:53] it takes a *lot* of keys to hit a 3rd level [13:53] which is fine [13:53] (and there it is more like 100-way) [13:53] because we don't need 256 way fan out [13:53] where there are no children, we trim [13:53] a wider prefix in a node - less fan out (counter-intuitive, but true) [13:53] lifeless: Sure, but I wonder if hash() is going to tend to enforce it [13:54] jelmer: I don't understand why the shell script I provided wasn't sufficient to register it as a mime type handler. [13:54] only the very root nodes will be so dense; and it may be we want to optimise for a smaller root page size [13:55] it makes me *wonder* if we would rather have a node pointer for [a-c] => THIS_PAGE [13:55] but then it isn't strictly a radix tree [13:55] OTOH 12K per commit isn't impossible to handle with, if we also are compressing those nodes [13:55] jam: we need a well defined canonical form [13:56] jam: well, look closely at the fan out rules; I think we cam make the description more clear with a bit of effort [13:57] I think the current rules may be very pleasantly surprising [13:59] also, give that toy I sent you a spin [14:02] will do [14:02] how does one upgrade a remote branch, specifically one on launchpad? I've tried all the URL variants I can think of, lp:, bzr+ssh://bazaar.launchpad.net, etc. to no avail [14:03] Ng: with 1.6 or bzr.dev, lp: or bzr+ssh: should work (earlier ones you need to use sftp://bazaar.l.n) [14:03] However, once you've upgraded it leaves a 'backup.bzr' directory [14:03] which may be in the way for another upload [14:03] s/upload/upgrade [14:03] jam: is that roughly a suggestion that I not do it? ;) [14:04] Ng: well, you have to delete the backup.bzr directory, and LP doesn't give you an easy way to do it [14:04] You can use an sftp program that lets you do recursive delete [14:04] Ng: I highly recommend that you do, just letting you know where it may fail [14:04] rather than telling you "do X" and having you come back with "X failed" [14:05] jam: fair enough, thanks :) [14:05] hitchhiker will let you delete it now [14:06] as the launchpad sftp server doesn't work with lftp recursive delete [14:07] hitchhiker? [14:07] yes [14:08] Ng: it is a program written by abentley to act like an "sftp/bzr+ssh/etc" client by using the bzrlib Transport code [14:08] ah [14:08] not a particularly *good* ftp/sftp client, but the *best* bzr+ssh:// client available :) [14:09] jam: :-) [14:10] abentley: wasn't that even your tag line [14:10] abentley: does hitchhiker use get_transport() such that "lp:foo" should work, as well as ":parent" ? [14:10] jam: Okay... [14:10] abentley: :-) [14:11] jam: Yes, lp: specs and all plugins should work. [14:19] hmm, bitten by bug #225020, hard. Even bzr.dev exhibits the bug [14:19] Launchpad bug 225020 in bzr "pycurl reports "select/poll returned error"" [High,Confirmed] https://launchpad.net/bugs/225020 [14:19] vila: bite back [14:19] or apt-get remove pycurl [14:19] I've been happily using your urllib code for a long time now [14:20] I intend too, this bug seems hard to reproduce and pycurl have been removed from pqm for lack of reproducing and fixing it [14:20] s/too/to/ [14:20] well, IIRC spiv could reliably reproduce it just by installing pycurl [14:21] Regarding urllib/pycurl I doubt we can just drop https certificate validation [14:22] depending on the branch I run selftest the first failing test is different... [14:23] and of course running the tests alone make them pass [14:29] vila: well, I would just create a http stress test [14:30] just GET the same URL repeatedly [14:30] (It certainly sounds like a plain bug in pycurl) [14:30] vila: though it may be a POST issue [14:31] that or leaked sockets [14:31] well, all of the reported bugs are about POST [14:31] And I could imagine that POST code gets less testing than GET code [14:32] You might also consider that these may be a 404 on POST [14:36] as a side question, if you have a DFA, do you usually represent that as a 2D table in memory? Or do you collapse it somehow [14:37] jam: is that for me ? what is a DFA ? [14:37] Deterministic Finite Automata [14:37] or automaton [14:37] I was reading about Trie's and they link over to DFA's [14:38] http://en.wikipedia.org/wiki/Deterministic_finite_automaton [14:38] I've heard about them before, but never dug deep into them. [14:40] uhm [14:40] there are a bunch of DFA representations [14:41] in parsing its often a graph [14:41] Well, on my last project I write an automaton generator for simple ones so we went for a 2D table in flash memory (read-only) but when automaton grow you need to compress the table (which is most of the time very sparse) [14:42] otherwise most of the time I use them through scanner and parser generator which compress the tables heavily [14:43] vila: used antlr? [14:44] lifeless: never had the occasion but it was on my radar :-) I used [f]lex/yacc/bison heavily though and a bit of perl Parse:RecDescent module in the end [14:45] I even port lex/yacc sources on DOS and Mac OS 7 (or 6 ?) :D [14:45] I've written a dirstate antlr3 grammar [14:45] well, most of [14:47] lifeless: and your feedback is ? [14:48] mmmm [14:48] C runtime is immature [14:48] rest is out on judgement still [14:48] oh, and I hate lexers [14:48] lexers are the universes way of punishing us for parses that are too slow [14:49] lifeless: so, of course, you need to answer the question... is it *faster* ? [14:49] Hmm, I've seen parsers suffer really badly from bad scanners, but that's more the exception than the rule IME [14:51] of course it depends of the tool chain but the one I used the most (C/C++ by Flex) were ok (including parsers for > 1M files) [14:51] i.e the parsing itself was in the noise compared to the associated semantics [14:51] vila: my point is I don't like writing scanners [14:51] '0-9' for instance can match far to much [14:52] foo01 [14:52] valid path [14:52] lifeless: ok, that's different then, but years of perl experience tend to help here too :) [14:52] also matches 01 if you don't force a whitespace in the scanner [14:53] worse, consider whole numbers vs ints [14:55] I'm having trouble checking out an lp branch, could someone help me out please? bzr branch lp:ubuntu-dev-tools gives http://ryanak.ca/~ryan/bzr-error ... Someone gave me a fix to this a few months ago, but I never jotted it down :/ [14:59] ryanakca: you have bzr-svn installed, and a containing .svn directory [14:59] vila: I'll reply tomorrow [14:59] so the branch command seems to be trying to re-use it [15:00] lifeless: are you still in AU, your hours seems unusal ? [15:00] But there is something odd in that bzr-svn is actually unable to open your .svn directory [15:00] jam: svn: warning: '.' is not a working copy [15:00] ryanakca: short answer, disable bzr-svn [15:00] longer answer [15:01] jam: how can I disable plugins during a command ? [15:01] bzr branch --no-plugins bzr+ssh://bazaar.launchpad.net/~ubuntu-dev ... [15:01] (the problem is the 'lp:' prefix is a plugin as well) [15:02] ryanakca: I would also try to figure out why we can't open "/home/ryan" as an SVN working directory, as then you won't have to workaround this all the time. [15:02] jam: ah. ok, thanks. But why would it try to open /home/ryan if I'm trying to branch in /home/ryan/work/ ? [15:03] ryanakca: We search for a possible shared repository in containing directories [15:03] you could do "bzr init-repo ~/work" and then we would find that one instead [15:03] hm, is 1.6-rich-root supposed to be more bloaty than rich-root-pack? [15:03] (or just bzr init there if you didn't actually want to shared downloaded data) [15:03] jam: thanks [15:03] Freaky: I'm pretty sure the stored form is supposed to be the same. [15:04] It is more of a config flag [15:05] I'm doing a bzr upgrade, the original .bzr is 211MB, the new one is 259MB and still growing after 85 minutes [15:06] it's creating a new pack file for your upgrade [15:06] you can delete the old files afterwards [15:06] so the growth is just temporary [15:07] ah, repository is 48MB, repository.backup is 210MB [15:07] and it should grow to be roughly the same? [15:08] who knows? [15:08] Freaky: Probably. Wait and see. :) [15:09] be waiting a long time then ;) [15:37] bzr-svn-0.4.11 is released? [15:37] gour: yes, it should be in the ppa [15:38] I don't think jelmer gave an official announcement [15:38] but he created the tag and published it to debian [15:38] and had me publish it to bzr-ppa [15:40] * gour is on archlinux [15:40] great...no more svn :-) [15:40] there should be a tarball somewhere [15:41] i got it. ta [15:41] it's here http://samba.org/~jelmer/bzr/bzr-svn-0.4.11.tar.gz [15:55] here's a question, is it safe to create a rich root repo on one box, do a bzr-svn co of a remote svn url beneath that repo, and then copy that repo to some other machine and use it there? [15:56] rocky: I _think_ so, but I haven't tried it. [15:57] it's perfectly safe, people are using even repositories on usb sticks and more them between computers [15:57] *move [15:57] oh yeah? now that's interesting [16:13] jelmer: thank you for 0.4.11 [16:14] * gour is doing his first fetch of svn repo via bzr-svn [16:15] hmm bzr crashed - http://rafb.net/p/dkYRIG77.html [16:16] am i doing something wrong? [16:17] gour: no, that should work fine [16:18] gour: did this work previously? [16:19] jelmer: dunno. my first fetch from the repo and first use of bzr-svn plugin [16:20] gour: please file a bug [16:20] jelmer: for bzr? [16:20] gour: bzr-svn [16:20] ok [16:21] gour: it could be a serverside thing as well, google's svn may not like how we're using it [16:22] This just happened to me; wondering if it's worth worrying about: [16:23] BZR 1.5: Repo created in Unix, checkout in Windows. One file name ends with a space! (It came from a cab file!) [16:23] ok? [16:23] It works in Unix, but in Windows, you can't check out properly: there's always a "Remove file" in bzr diff. You can't merge into it because it's an unresolvable uncommitted change. [16:24] I think Windows ignores the trailing space on file creation. Interestingly, bzr diff shows "remove file" but no diff contents. [16:24] If you actually remove the file, you get the listing of contents per usual. [16:24] jelmer: https://bugs.launchpad.net/bzr-svn/+bug/261878 [16:25] Launchpad bug 261878 in bzr-svn "bzrlib.plugins.svn.core.SubversionException" [Undecided,New] [16:25] Theory: This means Windows matches the file during that process too; it just can't make the name match. [16:26] gour: thanks [16:27] I'm guessing bzr could ignore the trailing space in the repo name and make everything work on Windows, but I may not know what I'm saying. :) [16:28] dlee: you should be able to just remove the trailing whitespace in unix [16:28] dlee: commit then and then update in windows [16:29] dlee: I think bzr should be refusing to check out files with trailing whitespace in their name on Windows, just like it should refuse to check out files with certain other characters in their names [16:29] True, but the file set is auto-generated (and regenerated) by a process. Basically I'm using Bazaar to version-control the contents of a set of files (including cab file contents) produced by someone else. [16:30] But yes, I can write a sort of post-processor that de-spaces the nasty filename before commit. It's a cab, for Windows anyway, so no one will care. :) Let me know if you want a bug filed on this or if it's just too obscure to worry about though. [16:30] dlee: please file a bug [16:31] will do. [16:31] dlee: We do plan on warning when you add a file that can't be checked out properly on other platforms === rocky1 is now known as rocky [16:32] jelmer: We don't deliberately refuse to check out any files on Windows, and I don't think we should. [16:33] abentley: some files simply can't be checked out on Windows because of their name [16:33] jelmer: I think we should handle it as a conflict. [16:33] abentley: that's an interesting thought [16:33] jelmer: So we check them out with a different name, and tell the user what we did. [16:34] jelmer: That way, Windows users (who are the only ones likely to care) can fix such problems themselves. [16:34] abentley: yeah, that's nicer indeed than having to go back to unix to fix it there.. [16:35] jelmer: as you might imagine, bzr-svn over dial-up is useless ;) [16:36] that is, push commits and the like to the remote svn using bzr-svn over dial-up is useless ;) [16:36] As a rule (and with CVS, Svn, and Bzr all three), I find the process of juggling between Unix and Windows in a single project to be loaded with problems. In Bazaar, files and folders get .moved mostly. But I use Bazaar for a few irregular purposes, like backing up/post-versioning web sites... [16:37] abentley: I would really like to see a warning system on unix rather than forbidding certain characters [16:37] jelmer: I'd like that, too. [16:38] rocky: yeah, I wouldn't attempt to do that (yet) [16:39] rocky: what will help is having only one svn repo per project [16:39] there was a time when you couldn't even make a branch of something that had a revision with 'con.txt' in the inventory [16:39] LarstiQ: ah, the good old days [16:39] yes, very fun. [16:39] jelmer: well ... that's mostly what i do, but that "project" sometimes has several sub-projects [16:39] rocky: yeah, the subprojects is what I mean [16:39] abentley: excellent idea on the conflict for such a situation btw [16:40] jelmer: having to create a separate svn repo for each subproject is a bit overkill on these projects i'm working on ;) [16:40] abentley: oh btw [16:40] abentley: bzr-handle-patch.sh relied on something being in "/home/abentley" [16:41] abentley: so instead of fixing the shell script I just changed it to use python directly [16:42] jelmer: Removing a command seems like a rather extreme way to fix that. [16:43] abentley: wasn't the command just for internal use (by mime-type handlers and the like) anyway? [16:44] abentley: If it's not, I misunderstood and we should look at reintroducing it. [16:44] It's not just for internal use. === lamont` is now known as lamont [16:45] abentley: Sorry [16:45] * gour is fetching from another svn repo [16:45] gour: works better this time 'round? [16:46] jelmer: what happens if i bzr co a remote svn folder into my bzr 1.6 rich root repo ... and then *check out* that same folder from the bzr rich root repo into some local place? i mean, what happens when i committ locally? [16:46] rocky: afaik bzr won't let you create a checkout of a checkout, but I'm not entirely sure [16:46] it will. [16:46] It was meant to be a regular Bazaar command. With a wrapper because mime-type mechanisms are so primitive. [16:47] jelmer: it is still copying...unfortunately, i've cinelerra's rendering job in the background, that's why it's going slower [16:47] hello. as far as I see from the docs, bzr uses only one .bazaar config directory per project. Does this mean that I cannot use only a part of the repository (let's say only the trunk/)? [16:48] loxs: part of repo or one branch? [16:49] LarstiQ: what will it do when you commit though? [16:50] gour, I want to co and up only the trunk (the main branch) on my server, so that it is always up to date. But I don't want the document root there... only the trunc/myapp/ directory, because that must be in the python path [16:51] loxs: ah, you mean partial checkouts [16:51] loxs: (in bzr terminology) [16:51] yes jelmer, that's very easy with svn [16:51] loxs: they're planned but not implemented yet [16:52] loxs: see http://bazaar-vcs.org/SharedRepositoryLayouts?highlight=(layouts) as well [16:55] nah, gour, you say I need a different philosopy ;) i like this kind of answers :) [16:56] don't suppose anyone has a script lying around that will produce a commit msg that includes a listing of all the merged rev msgs that you're about to commit? [16:57] loxs: sure, every tool has its own recommended workflow. i came from darcs and cannot expect bzr to work in the same way :-) that's why i 'm adjusting to bzr. same with different programming languages...it is nnot smart to write C in Python, nor Haskell in Python, but use Python idioms in Python [16:58] rocky: The log contains that information anyway, why do you noe extract it the other way (iterate the sub-revisions of your merge revision) [16:58] jelmer: Filing as a comment to bug 3918 [16:58] Launchpad bug 3918 in bzr "bzr can be caused to error with filenames containing newlines" [High,Confirmed] https://launchpad.net/bugs/3918 [16:59] dlee: thanks! [16:59] awilkins: well, this is merging using bzr-svn which i don't think will track that info in the svn log [16:59] rocky: Fair do's [16:59] rocky: if you have svn 1.5, bzr-svn will store the merge info [17:00] rocky: that should allow svn ("svn log -g" I think) to display what revisions were merged [17:01] jelmer: i had to revert to svn 1.4 unfortunately ... mostly because of setuptools inability to deal with svn 1.5 properly [17:01] hm, gour, you say it's possible to have project root being my python package root, and have the branches as directories? o_O... that's new :) [17:01] rocky: how do you mean? [17:01] rocky: setup.py in bzr-svn? [17:02] jelmer: no... i'm a python coder by trade ... and i use setuptools to manage all of my own projects... well setuptools cannot deal with svn 1.5 checkouts properly with any release version of setuptools [17:02] loxs: i wasn't speak about python projects, but in general considering how svn projects are laid out [17:03] rocky: ahh, ok [17:03] several bugs [17:03] jelmer: and stuff where setuptools will inspect files and auto-include them with "setup.py sdist" fails with svn 1.5 checkouts [17:03] * Odd_Bloke is getting http://paste.ubuntu.com/40944/ when trying to run bzr-svn trunk with bzr.dev. [17:04] Anyone know what's going on? [17:04] so, i've reverted back to svn 1.4.6 since i have no good reason to upgrade to 1.5 anyways [17:04] Odd_Bloke: you need to build bzr-svn [17:05] back in ~30min [17:05] jelmer: Anything more than 'make'? Because I've done that. [17:08] jelmer: NM, there were a number of weird interactions going on. [17:08] Fixed now. :) [17:54] I read quite a lot and I still wonder is it a good idea if my working tree root and my python package root are the same directory.... and then put branches in subdirectories? [17:55] perhaps a terminology issue, but by 'working tree' you mean a bzr working tree? [17:55] sure, luks [17:56] well, technically you can't put branches inside branches, but I don't think it's a good idea [17:56] er, can, not can't [17:57] if this is a single package, it should be a single branch, IMO [17:57] well, the reason I want this thing is because of the lack of partial checkouts in bzr [17:57] and normally you put the package into a directory, not to the root [17:58] and I want to update my server from the repository [17:58] loxs: but then you lose the ability to checkout the whole package [17:58] if it's split into several branches [17:58] I dont' get what you mean [17:59] let's say you have myproject/trunk and myproject/trunk/subpackage where both trunk and trunk/subpackage are separate branch [18:00] no, i don't want that [18:00] then by running "bzr branch myproject/trunk" you will not get myproject/trunk/subpackage [18:00] oh [18:00] I mean the following: [18:00] I want project/ to be the trunk/ [18:00] and a project/branches/ subdirectory to hold the branches [18:02] ah, that's not a problem [18:02] i mean, that when my server checkouts the repository, it goes straight into the python path... and it works out of the box, because I co it in the python path [18:02] if there is project/trunk, then trunk is no more accessible as a python package [18:03] I meant that project/trunk/ is a branch [18:03] not that you have a branch project/ with a directory trunk/ in it [18:03] I will not have a trunk/ directory at all... the root of the project will be the trunk [18:03] is it ok? [18:04] yes, location of branches usually doesn't matter in bzr === toytoy_ is now known as toytoy [18:06] and do you think it is a good practice luks? [18:08] loxs: well, I personally wouldn't put the package root to a root of a branch [18:08] are there any other deployments for bundle buggy out there other than the bzr one at aaronbentley.com [18:08] because then it's harder for me to do setup.py and other things [18:09] (if by package you meant a python package) [18:09] ah, yes [18:09] you say you would prefer to use setup.py and install from the repository instead of using the program from the repository directly? [18:10] depends on the situation, but I prefer all python packaged to have setup.py [18:10] it's a django site [18:10] if you want to use the working tree for deployment, I'd probably just symlink it [18:10] hm, yes, it's probably a good idea too... [18:11] I don't know what's the usual layout of django projects [18:11] but I would be surprised if they had python files in the root directory [18:12] the thing there is that there are quite a lot of non-python files that have to be used... html, css etc. [18:12] there must be templates, some static files, maybe some unrelated data files and scripts [18:12] exactly [18:12] but the main part is a python package [18:12] that must be on the python path [18:12] is this for develoment or production deployment? [18:13] deployment [18:13] for development there is a dev server that does'nt care where it is... it is run via a script from the project [18:14] but for deployment the project is called via mod_python and it must be in the python path [18:14] you can modify sys.path from mod_python [18:14] so I'd point it to the working tree [18:14] I know, but I sill prefer to have my project in site-packages [18:15] and I planned to have a cron job to sync the repository there === gour is now known as gour|dinner [18:15] then a symlink, I don't like the idea of mixing python code with data files in the same directory [18:15] yes, I'll probably go with a simlink [18:16] thank you for the conversation :) [18:16] np, I like having these kind of conversations :) [18:17] and what is your personal preference for a repository layout? [18:17] i read this http://bazaar-vcs.org/SharedRepositoryLayouts?highlight=(layouts) and can't choose :) [18:18] I like a flat list of branches in the repository [18:18] so repo/trunk/ repo/branch1/ etc. [18:18] and separate repositories for separate projects [18:18] you mean the good old svn style? :) [18:19] no, svn does repo/trunk/ repo/branches/branch1/ [18:19] I don't like the branches/ directory [18:19] aha, I see [18:19] doesn't it get quite cluttered then? [18:20] I delete branches after they are merged, so it doesn't [18:21] I need some place where inexperienced "wannabeadeveloper"s make their own little chaos :) [18:21] so probably I'll go with something like developer/whatever he chooses/ [18:40] luks, where do you put tags then? [18:40] jelmer: bzr tag :) [18:41] luks, ah, I thought you were talking about your preferences for svn (-: [18:42] I wouldn't dare to delete svn branches [18:42] even with the 1.5 merge tracking [18:43] Heeeeeeelp ... I tried to upgrade my remote repository, but it hung because of bug 256757. Now that the remote server is updated to bzr 1.6, I've tried "bzr upgrade" again, but it reports "The branch format Bazaar-NG meta directory, format 1 is already at the most recent format", when I know it's not. [18:43] Launchpad bug 256757 in bzr "upgrade from to the newest format eats all my ram" [Critical,Fix committed] https://launchpad.net/bugs/256757 [18:44] mpt: which branch [18:44] (After the previous failed attempt I replaced .bzr with the backup.bzr it had made when it started.) [18:44] jam, no branch in particular, this is at the project level [18:45] Do I need to do it for each branch separately? [18:45] mpt: sure, I was just hoping to poke at it and make sure [18:45] is it somewhere I could get to it? [18:50] jam, any chance you can comment on https://lists.ubuntu.com/archives/bazaar/2008q3/046309.html ? [18:51] It doesn't seem like enough of anything to really comment on [18:54] jam: Ok, no objections to it though? [18:54] No specific objections, though your VCSMapping object is just information about the mapping, it doesn't do any actual mapping [18:56] <_stink_> i'm trying to do 'bzr branch lp:sendoff', and getting an error: http://paste.ubuntu.com/40966/ This is with bzr 1.5. Is there some kind of config problem that could cause this, or should I go to 1.6? [18:58] jam: That's all implementation-specific, this is just infrastructure shared between bzr-git and bzr-svn [18:59] _stink_: well, it looks like the ssh connection is failing. you could try: bzr branch lp:sendoff -Derror === mw is now known as mw|food [18:59] which gives a full traceback [18:59] I wanted to check before I did any more work on this, since I was a bit surprised when my VirtualSignatureTexts patch was vetoed [18:59] jelmer: well VST was an inversion of layering [18:59] which was a bit odd [19:00] For your Mapping stuff, it doesn't seem like a problem, but it also doesn't seem to provide much yet [19:00] so perhaps at least a little discussion about why you want to use it, and how [19:00] thanks muchly for your help, jam [19:00] np mpt [19:00] happy to help [19:00] <_stink_> jam: http://paste.ubuntu.com/40968/ for output with -Derror [19:01] _stink_: what hapens if you do: "sftp bazaar.launchpad.net" ? [19:01] (It at least seems like a ssh connection error) [19:01] you just have to use sftp because launchpad only allows bzr+ssh or sftp [19:03] <_stink_> jam: http://paste.ubuntu.com/40969/ still publickey connection error. [19:04] _stink_: you should be able to do "sftp -v" [19:05] It sounds like something between you and LP is preventing you from connecting === gour|dinner is now known as gour [19:06] <_stink_> jam: ah, i think i know. just realized i had uploaded a separate ssh key for LP, and i'm not telling it which one to use. i did this when i was just playing around. i think i can fix it now. thanks [19:15] if I have a branch on a server and I create a new branch from it. Then I make a change to the new branch and "push" to the old branch can I assume that the old branch will be a copy of the new branch? [19:15] I'm not sure if that is an acceptable thing to do [19:15] yes, it will be [19:16] and if there is a reason why it can't be, bzr will complain [19:16] (complain and not perform the push) [19:16] that's cool [19:16] I would like to think that it would work that way, but not all software "just works" === tchan1 is now known as tchan [19:28] jam: query window... === emgent` is now known as emgent [19:36] Would I be right in thinking that bzr bundle is the same as bzr send without the mail client integration? [19:40] pickscrape: yes, you would [19:40] james_w: thanks, it's just what I'm after :) [19:41] I don't think it is [20:05] pickscrape: bzr bundle is a hidden command and may be removed at a later date. "bzr send -o" is *also* the same a bzr send without the mail client integration. [20:15] james_w: Please encourage people to use bzr send. There's nothing bundle can do that send cannot. [20:20] abentley: ooh, I had actually looked for such an option in bzr send but for some reason completely missed that one... Thanks! [20:21] pickscrape: no problem. === mw|food is now known as mw [20:47] abentley, do you have any idea what could be causing bug 203376 ? [20:47] Launchpad bug 203376 in bzr "traceback when merging an svn repo with a 'bzr join'ed branch" [Medium,Triaged] https://launchpad.net/bugs/203376 [20:48] jelmer: Which bzr version did you confirm it on? [20:48] current bzr.dev and bzr 1.6 [20:49] Good point, I'll put it in the bugreport [20:50] jelmer: So, I would guess that two codepaths are causing the creation to be cancelled, but a creation can only be cancelled once. [20:51] abentley: What could cause that though? [20:51] abentley, the actual join worked fine and committing it also worked fine [20:51] the first merge of the joined branch after that fails [20:51] the merge would only change a file text, nothing else [20:52] abentley, why would it need to call fix_root() in this case? [20:52] jelmer: look, it's a bug. If I'd expected it to happen, I'd have fixed it too. [20:52] jelmer: We always call fix_root, for regularity's sake. [20:53] If there's any Fedora users here that would like to become Fedora packagers for parts of the bzr stack, I'll be happy to sponsor you and help to review your packages :-) [20:53] abentley: I'm just trying to understand what's happening since I'm not very familiar with this code [20:53] abentley: ah, ok [20:54] fix_root should only have an effect when you've got a tree with two roots. [20:54] Join shouldn't give you a tree with two roots, it should make one tree's root into a subdir of the other. [20:55] I suppose you could do conflicting joins. [20:55] abentley: Thanks, that helps [20:56] abentley: The problem is somewhere in fix_root, skipping it fixes the problem [20:56] So that one tree claims that x is a subdir of y, and another tree claims x is a subdir of z. [20:56] abadger1999: I'd suggest mentioning this on-list, if you haven't already. [20:56] That would cause merge to give you a tree with two roots. [20:57] But it's actually intended for the case where you're merging two unrelated trees. [20:57] abentley: the problem appears to be that merging another branch whose root is not the root of the tree we're merging into breaks things [20:58] not the root of the tree we're merging into, but present as regular directory in that tree [20:58] Odd_Bloke: I'll do that eventually. It's much easier to mentor someone to be a good packager if they're active on IRC, though. [20:59] So I thought I'd start here. [20:59] abentley: I think I know enough now anyhow to try and get this fixed [20:59] abentley, thanks! [21:01] jelmer: You're welcome. [21:16] jelmer: hey, did you send me your merge-upstream changes? [21:16] james_w, No, I requested merges in lp [21:17] james_w, I'm happy to send them to you as well if you prefer [21:17] ah, I'm obviously not subscribed [21:17] I can look [21:17] I've just completely re-written the code though, sorry [21:17] james_w, where's your code these days? [21:18] Last change I see here is from quite a while ago [21:18] yeah, it's been in flux for a long while [21:18] bzr+ssh://bzr.debian.org/bzr/pkg-bazaar/bzr-builddeb/2.0 [21:19] your change will still apply, but have no effect, I haven't deleted the unused code yet [21:19] wow, you have been busy [21:22] so, you want it to degenerate to "bzr merge" sensibly, but do some other things as well? [21:22] yeah, with all that packaging I did I used bzr-builddeb a lot :-) [21:22] james_w: Yeah, basically "bzr merge" and figure out the new Debian upstream version string [21:23] I'd like to leave these out of this release [21:23] it's already huge, and I need to get it done in the next hour or two [21:23] I can merge then straight after though [21:24] well, not *straight* after, I'd like some sleep :-) [21:24] james_w: No problem [21:24] james_w: Are you interested in conflict-free versions of these branches? [21:24] no, that's fine [21:24] it will be far more work for you to understand the new code than for me to make your changes to it [21:25] I would love it if you could test that branch for a few of your usual operations though. [21:25] the 2.0 branch I mean [21:27] sure [21:27] Any commands in particular? [21:27] builddeb has changed a couple of default locations [21:27] i.e. .. instead of ../tarballs and the results end up in .. as well [21:28] but it should fall back for the first, and not break too much for the second [21:28] merge-upstream and import-dsc have been completely re-written, so anything you can do with them would be great. [21:29] builddeb itself is still doing the right things wrt paths [21:31] good [21:32] these changes set us up much better for the future. [21:32] siretart: hi, sorry it's late, are you still around? [21:35] james_w, I can't find anything otherwise wrong doing some simple tests [21:36] I want to push a bzr branch into an SVN repo using the space currently occupied by an empty directory. Am I best off removing that directory and pushing the branch in, or is there some way I can avoid that? [21:36] jelmer: good to know, thanks. The test coverage has dropped a bit recently, so there could have been holes. [21:36] Odd_Bloke, yes, you'll have to remove that directory and push using svn-push [21:37] jelmer: Thanks. :) [21:45] folks, is there a way to make bzr write some "standard stuff" in the beginning of all of my files? [21:46] loxs: keyword expansion I suppose? [21:47] LarstiQ, i have no idea what is this, where is it in the docs? [21:48] i found it, thank you [21:48] james_w, one comment [21:49] james_w, any chance target_distribution and version can be options rather than arguments to merge-upstream? [21:49] why's that? [21:49] james_w, That makes it a lot easier to make either optional [21:49] ah, for the later work? [21:49] yeah, if it ends up in a release now it's going to hurt more people if it's changed later [21:50] yeah [21:50] they are at the end, so you can drop them off without breaking things [21:50] though they are probably the wrong way round for that [21:51] doing it now [21:51] james_w, yeah, though I can also imagine target_distribution being optional (perhaps default to the distro the user is running?) [21:52] perhaps [22:07] how can i pull a single revision from one branch into another for merging? [22:07] ronny: 'bzr merge -c ' [22:14] when using bzr in command line on mac am getting this error for every command i type in.. "bzr: warning: unknown encoding . Continuing with ascii encoding." is there anything i can do to fix this? [22:14] acemo: is LANG/LC_CTYPE one of such set to something the system doesn't have? [22:14] acemo: see `locale` output [22:15] its UTF-8 [22:17] acemo: that should be fine [22:17] * LarstiQ falls asleep [22:17] acemo: you could look at ~/.bzr.log [22:18] hmm, why cant i just pull revs from other branches into a branch ? [22:19] LarstiQ: http://rafb.net/p/gWsCmO64.html heres my ~/.bzr.log [22:27] LarstiQ: re: bug #31059 it will be a while before i can get back to it [22:27] Launchpad bug 31059 in malone "Empty comments and empty emails generated" [Medium,Confirmed] https://launchpad.net/bugs/31059 [22:27] LarstiQ: er bug #30159 [22:27] Launchpad bug 30159 in bzr "paths are always from root of branch" [Low,Confirmed] https://launchpad.net/bugs/30159 [22:30] whats the name of the extension for graphical logs? [22:30] ronny: Because Bazaar uses a Directed Acyclic Graph model ; to pull revs from other branches, you have to have the same ancestry. You can merge revs (if you don't have their ancestors, it's cherry picking though) [22:31] ronny: qbzr and bzr-gtk both provide graphic logs [22:31] ronny: qbzr has the superior log view in most people opinions [22:32] awilkins: in my case they have the same ancestery, but bzr just errors telling me to use merge instead [22:33] ronny: Have you committed revisions that the merge source does not have? [22:33] yeah [22:34] ronny: If you don't want to merge, rebase is your option (but I've yet to see a genuine reason to use it) [22:34] i dotn see what should prevent a pull tho, it would just add a new head [22:35] Rebase would be what you are aiming at ;; "just insert the revisions from the other branch before my new ones" [22:35] Not a good idea if you've pushed it elsewhere though [22:35] but i just want to do get the revs into my branch, ONLY that [22:35] ronny: You want to get rid of your new revisions? [22:35] no [22:36] Then you merge, or you rebase [22:36] Merge does only merge the revisions you need [22:36] ronny: Are you an existing SVN user? [22:36] no [22:36] monotone, git, mercurial [22:36] is bzr 1.6 on mac still having the problems with utf-8? [22:37] they all allow me to do what the heck i want, bzr is the only one getting into my way [22:38] james_w, --snapshot went away? [22:39] jelmer: yeah [22:39] it was completely broken by snapshot.debian.net dying [22:39] and I hadn't ported it to the new code, and it didn't seem worth it when there was nothing to get the packages from [22:39] it will come back when there is a new service [22:40] ah, ok [22:40] pity, I didn't know snapshot.debian.net had died [22:40] I never used --snapshot, just noticed that the arguments list had gotten shorter :-) [22:40] yeah, apparently they ran out of diskspace [22:40] it's going to become an official debian service [22:41] and hopefully that will still have all the history [22:45] ronny: Er, AFAIK, both git and hg will have the same behavior as bzr (though commands may be named differently). [22:46] ronny: mtn is the only one of the four that allows branches to have multiple heads. [22:46] (well, there's that half-multi-head, half-named-branch, half-whatever thing that hg half does, but I don't know much about it) [22:47] fullermd: hg allows me to have as many heads as i wanat in the same branch, git just needs different refs to them, but in general they wont force a merge on pull ever [22:47] Yes, but if they're different refs, they're not in the branch. They're different branches (or pseudo-branches) [22:48] in hg its valid in the same branch [22:48] fullermd, ronny: I think the confusion is that hg/git use "pull" to just mean "fetch" but have no statement about actually doing anything with the revisions [22:48] which causes multi-heads in hg [22:48] and another branch pointer in git [22:48] in bzr terms [22:48] it would be "bzr branch other" into a shared repository [22:48] to get the same behavior [22:49] for me thats just an unacceptable workflow enforcement [22:58] [22:58] [22:58] [22:58] [22:58] [22:58] clemente: I see blank lines [22:59] lifeless: sorry, problems with my client. Hopefully I didn't send hundreds of lines a moment ago [22:59] only 5 :) [23:01] Ok, so if you paste hundreds of lines, apparently you get kicked by the server :-) [23:01] -!- clemente [n=Daniel@89.6.42.98] has quit [Excess Flood] [23:02] I won't do it again [23:03] is there any way to go to a previous version? [23:04] ronny: Read "bzr help revert" [23:05] uws: that doesnt exactly look like "go back to rev x" [23:06] Your question is vague [23:06] ronny: do you want your tree reverted to x, or your branch ? [23:06] the tree [23:06] bzr revert -r123 [23:06] then revert is what you want; it changes the tree and leaves the branch untouched [23:06] That does EXACTLY look like "go back to rev x" [23:11] ronny: give it a go, tell us if its what you're looking for [23:11] ronny: then, if it is, I'd like to understand why you felt it wouldn't be [23:12] works [23:12] (and if it isn't, well, we can talk about what you really want) [23:12] <[cliff]> hi all [23:13] <[cliff]> is there any progress on nested tree support? [23:13] not that I know of [23:13] Short answer ; no [23:14] lifeless: looks weird, first if all i expect a revert only to change my workdir (not alter its parents or anything else) [23:14] ronny: The command is global to your tree by default ; try bzr revert . -r X instead [23:14] second i skiped to the long text, it just talks about reseting files to the orginal stuff, and how to get rid of stuff using merge [23:15] ronny: well, it hasn't changed parents [23:15] <[cliff]> one more question: what is configmanager? how does it work? the page is kind of vague: http://bazaar-vcs.org/ConfigManager [23:15] lifeless: I think he means `pwd` not `branch tree` [23:15] oh, it really didnt [23:15] sorry there [23:16] [cliff]: its a script I wrote quite some time ago ;) - it takes a list of relative-path:branchurl mappings, and then branches then for you, or updates them [23:16] so there is bascially nothing like the stuff for git/hg/monotone that allow to go back to a previous rev and commit based on it other than a new branch ? [23:17] ronny: oh, so you *do* want to change the branch :) [23:17] ok, dammit, yet another set of terms [23:17] git/hg/monotone are making a new branch, they are just doing it implicitly and are able to because they either store branches in a DB or in their repository folder [23:17] ronny: there shouldn't be any new terms here. But for clarity, let me lay them out: [23:17] <[cliff]> lifeless, hmmmm I'm checking the sample config, looks useful for deployments. can I tell it to grab a specific revision/tag? [23:18] repository - could of history data [23:18] [cliff]: it needs some love for its bzr support, 'probably' is the best answer offhand [23:18] repository - cloud of history data (same meaning as git/hg/monotone/svn/cvs/etc) [23:19] branch - a specific line of development in that cloud. its tip *may* be a head, or not. Same meaning as CVS/svn/git; same as hg named branches, not the same as monotone which is different to everything else [23:20] ronny: anyhow, 'commit' adds a new revision onto a branch, updating its tip in the process [23:20] hg named branches may have more than one head [23:20] ronny: can they? I misunderstood them then. garh, I'll go read the code later [23:20] anyhow, bzr branches are an explicit pointer to a revision id [23:21] to commit on a different revision than the branches tip, *either* change the tip first, *or* make a new branch with a different tip [23:21] to do the former : 'uncommit -r X' or 'pull --overwrite . -r X' will do what you want [23:22] to do the latter, 'bzr branch -r X . ../newbranch' [23:22] so i either kill later revs, or i need a new directory ? [23:22] be careful since "uncommit" may make you lose code [23:22] (and history) [23:23] ronny: You could put your branch in a repo and use switching [23:23] uws: no more than pull --overwrite [23:23] uws: and with latest bzr, 'uncommit' will tell you how to get your pointer back [23:23] uws: uncommit doesn't do an automatic gc [23:23] You still have to make new directories for branches, but you can keep one working folder [23:23] jam: well, pull implies there's some history elsewhere :) [23:23] jam, lifeless: ah ok. didn't about recent developments [23:23] uws: "bzr pull .- rXXX" [23:23] oh pain :( [23:24] ronny: uhm [23:24] jam: (oops, missed the . ) [23:24] ronny: I suspect we're seeing the tip of your needs [23:24] that basically killing most of my workflows [23:24] ronny: perhaps you could give us a quick brushstroke picture, and we can then point you at either a guide, or give you a quick sketch now [23:25] because I suspect we support your work flow just fine, but its spelt a little differently than you may be used to [23:25] * awilkins suspects it's similar to this : http://www.g2one.com/quickcasts/movies/gitGrailsScreencast_web_final_compressed.mov [23:26] awilkins: its similar to a proprietary format video? [23:26] Easy creation of multiple branches/heads on the fly is handy if you're doing a lot of DAGgy-fixes'ing. [23:26] THe video is one of some guy using git to rapidly switch between branches [23:26] so shared repo & switch, or loom [23:27] Someone posted it in here and I said the same thing [23:27] i dont just switch betwen branches rapidly, but also betwen different parts of the history [23:27] (apart from looms) [23:27] ronny: go on [23:28] i usualy pull from a few people at once, then just jump betwen the various revs and take a look on what to merge [23:29] so, I need to translate this into raw mechanics I think [23:29] you create a bunch of unmerged tips in your history store [23:29] and then examine each one to see if you want to merge it [23:29] and finally merge some onto your actual current branch tip ? [23:29] yeah [23:30] ok [23:30] I can tell you how I'd do this, which isn't the only way [23:30] let me just pastebin a small scenario [23:34] ronny: http://pastebin.com/d53f46e8 [23:34] ronny: this will be network and local space efficient [23:35] any way to turn a normal repo to something like that? [23:36] the easiest way is just to branch your current tree into a shared repo [23:36] but if its GB's in size and you need to avoid having two copies temporarily, I can tell you how to flick bits to do it by hand [23:39] nothing big here [23:40] guess i could just use that [23:40] still puts having tonns of dirs on me [23:40] Can't reconfigure do that? [23:40] fullermd: probably, I haven't internalised it enough [23:40] ronny: each branch dir is tiny [23:40] It's got a --use-shared and --standalone. [23:40] ronny: it doesn't have a checkout of your code; so its only got a pointer, and configuration data [23:41] lifeless: i know they are tiny [23:41] ronny: ok :) [23:41] ronny: uhm, is there some scaling issue with directories for you? Or its a taste thing? [23:42] the fact that branches ARE directory helps visibility [23:42] its still extra management (i hate having dozens of dirs) and selecting special versions (that arent any tip) is still odd [23:42] that helps a lot of users [23:43] ronny: ok, well, it sounds like dirs are more in your face than just names in a file? [23:45] yeah [23:46] all the branches and revisions are completely irelevant to me, till i actually want to take a look/merge [23:48] hmm, does bzr 1.5 choke on tailing whitespace conflicts ? [23:49] (appearantly someone left them, and someone else has an autofix for those in the editor) [23:50] oh [23:50] I don't think we have a special-case flag for whitespace [23:50] but if its a clean 3-way it wont' conflict anyhow [23:51] or you could use --lca which will likely do a better job [23:52] hmk [23:53] at least im done with that merge now === mario_ is now known as pygi [23:59] is there a way to improve usability of bzr between 2+ computers ? i mean, a user is working in a branch on computer A, then move (or commute) and wants to continue on computer B, but the last changes are not committed (not ready)