=== tommieb is now known as t0mm13b [00:38] spiv: I cheated, I submitted each one as being proposed to the previous one, rather than bzr.dev [00:46] jam, good point about testing the readdir change [00:46] i had not yet done it [01:49] poolie, jam: http://bazaar-vcs.org/Benchmarks [01:49] lifeless, spiv, vila: ^^^ [01:52] igc: the numbers for samba are pretty weird! [01:53] spiv: very. fastimport does an implicit pack at the end so maybe there's an obscure bug in that [01:54] spiv: or maybe samba's trunk is very dull vs other branches? [01:54] Also that the fully packed size is an order of magnitude smaller that git, unlike in the other tests. [01:56] igc, i saw that earlier [01:56] maybe before your changes [01:56] poolie: yep, new figures [01:56] http://bazaarvcs.wordpress.com/2009/10/08/bzr-size-benchmarks/ [01:56] are they pretty figures ? [01:58] poolie: the early hg figures were 'du -sb' instead of 'du -sh' - we're even more impressive now! [02:03] ? [02:03] oh, ignoring gas at the end of the files [02:03] yeah, real vs apparent size [02:04] actual size taken on disk is more meaningful IMO [02:04] yes [02:04] not just your opinion! [02:05] in actual practice, too! [02:13] wow yeah, those samba numbers are cracful === abentley1 is now known as abentley [02:57] poolie: hai [02:59] igc: interesting [02:59] hi lifeless [02:59] igc: its not clear to me what the 'bzr branch' column means [02:59] lifeless: see 'how we tested' [03:00] I have [03:00] lifeless: maybe it needs a different column heading? [03:00] so it's what a user gets when they grab just the trunk [03:00] step four in the process looks like one command [03:01] 'bzr trunk only' [03:01] or something, would be clearer [03:01] ok [03:01] it would be good to have a comparison figure for that too with hg/git [03:01] I realise that that is trickier to accomplish in git/hg [03:02] so I wouldn't suggestspending mondo time on it [03:02] ayhow, those numbers are very encouraging; the samba project figure is a bit disappointing [03:02] I presume that fast-import is cleaning obslete now? [03:02] lifeless: I'm wondering if it's a bug in fast-import? or pack? [03:03] yep [03:03] lifeless: it does a pack at the end and then deletes the obsolete packs [03:03] igc: repository-details may help diagnose [03:33] lifeless: figure out that group-pack problem re large binary files ? [03:33] / else. or should i file a bug. [03:37] Is losing secondary comments the only disadvantage of bzr revert --forget-merges when merging branches? [03:42] Is there a magic way to use meld when going through a conflicting file? [03:43] I realize that `bzr diff --using meld` does just that, but in the case of a conflict I'm trying to figure out if there's a better way to use it than manually doing [03:43] $ meld src/bindings/org/gnome/gtk/LinkButton.java.THIS src/bindings/org/gnome/gtk/LinkButton.java.OTHER [03:43] as I just did [03:51] d1b: the one where I explained bzr is operating as designed ? [03:51] d1b: you can file a wishlist bug on that if you like [03:56] lifeless: what is that, no deltas between pack files? [03:56] hey igc, the numbers look interesting. very good except for samba looking a bit crazy [03:57] jam: yeah. I was hoping you'd get curious and tell me why :-) [03:57] igc: I'd need the source data [03:58] I thought there was something about samba copying a bunch of v3 or v4 stuff into another tree [03:58] it may be that we end up tracking those separately [03:58] and not getting the right cross-file compression [03:59] igc: is the data accessible somewhere? [03:59] jam: no, N identical parallel files [03:59] jelmer: ^^ can you comment about the shape of the samba tree? [03:59] jam: I'll push the imported repo somewhere and email you the location [04:00] RenatoSilva: out of interest, why? [04:00] jam: also http://bazaar-vcs.org/BzrPopularity is interesting [04:02] bob2: because I want to use it :) [04:02] lifeless: you're talking about d1b's issue, right? (or samba?) [04:03] bob2: but I wonder if I'm doing WOP [04:03] jam: both possibly [04:03] jam: but intending to speak on dib's [04:04] RenatoSilva: don't know what that means [04:04] lifeless: so the idea is that multiple identical files aren't getting fully de-duped? [04:04] igc: i agree. Interesting that we are above hg, and the 39k there is close to the 36.7k that downloaded bzr-setup 1.13 [04:05] bob2: http://uncyclopedia.wikia.com/wiki/Workaround_Oriented_Programming [04:05] RenatoSilva: what are you working around? [04:05] ja 80MB images/movies [04:06] jam: 80MB movie files; separate file ids [04:06] bob2: I don't know, that's why I wonder :) [04:06] jam: right: the 39k is the combination of the different Windows installers [04:06] roughly [04:06] RenatoSilva: why are you reverting the merge metadata to begin with? [04:06] lifeless: yeah, and we explicitly cap a group based on file-id [04:06] bob2: the Portuguese version is so much better description :) http://desciclo.pedia.ws/wiki/Programa%C3%A7%C3%A3o_Orientada_a_Gambiarras [04:07] igc: I mean that popcon says 39k for installs, and we have ~39k downloads [04:07] jam: we did use too much memory though [04:07] lifeless: how much? [04:07] I would expect at least 160MB [04:07] since they aren't likely to zlib well [04:07] Note that popcon isn't reliable at all. [04:08] wgrant: as in a margin of error of 100%, or 20% [04:08] jam: Potentially thousands of percent. [04:08] I have no idea why you are counting downloads. I mean, other distros? People who don't have popcon installed? [04:08] I was mostly commenting about how close the numbers were [04:09] jam: It's optional, and well hidden in the installer. [04:09] AfC: number of downloads of the windows installer is probably pretty accurate, since there is one "canonical" source [04:09] jam: So not only will most people not have it turned on, those that do will be a very skewed sample. [04:09] bob2: I'm not reverting, but since I knew about --forget-merges, I thought it was nice when the merge commit can summarize all the work done during the secondary branch [04:10] RenatoSilva: that's what happens when you don't --forget-merges [04:10] jam: intwo swap n a 2400MB vm or something like that [04:10] lifeless: would it be a repack? [04:10] jam: no, single commit [04:11] hmm... something funny then [04:11] sorry, that was a 400MB vm I meant to type, damn hotel latency [04:11] I did quite a bit of testing w/ a 120MB text file [04:11] though that zlib'd very well [04:11] jam: well, I can tell you that one of the biggest reasons that Sun screwed up Java was that they restricted mirroring *specifically* so that they could count downloads. That alone probably cost them the existence of .Net. [04:11] jam: But in Open Source we don't count users because we *cannot*. ~10 distros with significant user bases, all of which have broad mirror networks. Corporate installations with no outside connectivity. [04:11] you know all that of course [04:12] which is why I was *flabbergasted* to see Emma mention that was on your website. [04:12] AfC: we phone home :) [04:12] wait... no we don't [04:13] Hi, new bzr user here (Windows) [04:13] A quick question about .bzrignore, if I may. [04:14] shoot [04:14] aglauser: sure [04:14] I can't seem to work out the syntax for ignoring an entire subdirectory, with out ignoring other directories with the same name [04:14] aglauser: ./path/to/subdir [04:14] needs a '/' [04:14] you can use './foo' to get one at the top level [04:15] bob2: as I said, I'm not reverting. But it seems to me that the only diff is that I lose the secondary revision info. That is, it's just like the diffs introduced by the merge were made directly in trunk [04:15] Does the /**/ glob still work, or was that only older versions? I'm at 2.x [04:15] RenatoSilva: No, you ARE reverting. You're just not reverting the _files_. All you're doing is building up hurt against future merges. [04:15] RenatoSilva: it is unclear to me why you're doing this, but ok [04:15] aglauser: ** should work [04:15] I mean, if you don't want to track merges, you can just use CVS :p [04:16] RenatoSilva: new versions of bzr already hide the merged revisions in log output, if that is your concern [04:16] bob2: and that seems nice to me when e.g. your secondary branch has only one commit or all the changes can be summarized on a single commit comment [04:16] fullermd: huh??? [04:16] RenatoSilva: which is what bzr does already [04:16] RenatoSilva: 'bzr log' on 1.18+ iirc [04:16] fullermd: I'm NOT reverting. I'm writing on IRC. I'm talking about an idea. I'm not even running bzr. So huh? [04:17] Well, I'm not putting 2 level teaspoons of arsenic in my coffee either, but I wouldn't expect people on IRC to tell me it's a good idea if I suggested it :p [04:17] ... well, OK, maybe they would... [04:18] fullermd: tell me who so I can avoid them! [04:18] Thanks, it seems I've got the right pattern now. I think the ./ was the key [04:19] bob2: ok, but I want to know of any other problems IF I use --forget-merges [04:19] RenatoSilva: you lose all the merge metadata [04:19] RenatoSilva: I don't understand why you would do it at all [04:20] RenatoSilva: you lose bzr's record that those revisions are already merged. So it's no better than applying a diff with patch. bzr uses the revision history to calculate merges, so if you forget that data then bzr can't calculate merges as usefully... which means you will get unnecessary conflicts. [04:21] Because the next time you merge that branch, or another branch that does incorporate those revisions, bzr will think it needs to reapply those changes, because it has no record of them being merged. [04:22] bob2: bob2: my main, current reason is that I have branches with a single commmit. When I merge them I think the merge look in qlog is useless. It's a single commit and would be cleaner to have it only in the trunk line, just like I never had used another branch, but committed directly into trunk. The secondary branch was just a sandbox. [04:23] RenatoSilva: You could use "pull" instead of "merge", I suppose. [04:23] So use pull, or even "bzr merge --pull". [04:23] or fix qlog to work like log [04:24] bob2: that would hardly be a fix! [04:24] Actually, qlog already IS collapsed by default... [04:24] Right, there's no reason why qlog couldn't have a heuristic to hide single-revision branches from the mainline by default (I'm surprised it doesn't already). [04:25] spiv: it defaults to hiding everything until you click the twisty [04:25] But if the concern is literally "I want the new revision to be directly on the end of the existing history", then that's what pull is for, so I'd say use that. [04:25] spiv: those conficts only if I try to merge the updated secondary branch again, right? But in my case I'd delete the branch right after merging. But ok, it's the same as diff + patch, which seems easier btw :) [04:25] I happen to disagree with RenatoSilva's analysis that it is "worthless" [04:25] but perhaps.. [04:25] Peng_: I use pull when I can, but sometimes I need merge [04:26] RenatoSilva: I think you should do this if it makes you happy. [04:26] RenatoSilva: understand that *if* you have other people building on the source branch, you will be creating future conflicts when you do this. [04:26] bob2: and the branches with a single commit, well when I change them I tend to uncommit and commit again... [04:26] bob2: Peng_: fullermd: spiv: This is a great example of one of the use cases in my history-edting manfesto [04:27] lifeless: *nod* [04:27] jam: what's worthless? [04:31] lifeless: I'm curious if you saw http://jam-bazaar.blogspot.com/2009/10/refactoring-work-for-review-and-keep.html from today [04:31] its what I did to get the static-tuple stuff up for review [04:31] breaks the changes into diffs post-facto, *and* preserves annotations [04:31] * RenatoSilva gave up of using rebase, ihrc the timeline becomes unordered (the rebased revision is greater in number, but older in date o.O ) [04:32] * RenatoSilva suffers the uncommit syndrome [04:32] * RenatoSilva starts to realize that he just can't fight against the merge fact [04:32] jam: and interestingly they still appear on https://code.edge.launchpad.net/bzr/+activereviews [04:33] spiv: they are on the bzr project, and I requested bzr-core review them [04:33] jam: although it's a shame that the ordering isn't dead-obvious, but it's not hard to discover. [04:33] spiv: yeah, I submitted them "in order" [04:33] so if you go by the "22 hours ago" vs "10 hours ago" you can use that as a guide :) [04:34] also it is sorted correctly in my view, but I see them in the "I am waiting on" section. [04:35] jam: I hadn't no [04:35] not much time to read during sprints [04:35] jam: you also get forward and back links, of a sort, on the individual branch pages. [04:35] spiv: ah sure, because I requested to merge it into the other branch [04:36] it is unfortunate I'll probably have to do the "merged" manually [04:36] jam: "proposal or merging into X", and "N branches proposed for merging into this one" [04:36] but that is worth having small diffs for review [04:36] jam: thats what I want loom to manage [04:37] lifeless: the main thing is doing it at the *end* after I've done all the work in a dogpile [04:37] jam: yes [04:37] especially when exploring, it is hard to figure out what your separations are going to be (at least for me) [04:37] also, it allows avoiding the "spurious merges" between the loom threads [04:38] jam: I'm saying loom should support post hoc separation [04:38] lifeless: sure [04:39] I think the main difference is that loom would probably want to start from the 'upstream' thread, and I was more branching from downstream [04:39] I think 'up' does basically what I was doing with my merges [04:39] jam: I don't see why it would :) [04:40] are plugins written to 1.x fully compatible with bzr 2.0? [04:40] RenatoSilva: depends [04:41] RenatoSilva: many, but I wouldn't say all [04:41] but mostly they can be easily made to work [04:41] if they worked for a recent 1.x [04:43] 1.18 vs 2.0 is "as big" of a difference as 1.17 vs 1.18 [04:43] interestingly enough 2.0 vs 2.1 will be a bigger difference [04:43] but we are changing numbering systems [04:43] jam: iirc I use xmloutput and bzr-email only [04:43] so it is actually 2.0.0 vs 2.1.0 [04:43] jam: will wait a bit more then :) [04:43] RenatoSilva: bzr-email works fine [04:44] xmloutput... I know we bundle it with the windows installer [04:44] so there should be *a* version that just works [04:44] RenatoSilva: move to 2.0.0 as soon as you can ;) [04:44] * igc lunch [04:46] jam: with the windows installer? not in 1.x right? Can't remember of it being listed there [04:47] jam: I submitted some fixes to xmloutput that were merged but not release,d it is still in 0.8.3. So either you have a modified version in 2.0 or the 0.8.3 or trunk has no need to change in 0.8.3 right [04:47] RenatoSilva: I think we started with 2.0 [04:47] RenatoSilva: we packaged "bzr-xmloutput-release = 0.8.5" [04:47] not sure what makes you say it is still at 0.8.3, but there is a tag in the branch @ 0.8.5 [04:48] jam: you're from canonical right? it would be nice if you release your private, improved version of bzr-email. The one currently there is a bit simple [04:48] RenatoSilva: I don't know of a "private, improved version" [04:48] I use the stock version from "bzr branch lp:bzr-email" [04:48] jam: release 0.8.5???? let me check that, I thought I was subscribed to the branch.... [04:48] but yes, I' min canonical [04:49] jam: e.g. public bzr-email does not have html, and does not allow customization of body/subject, and does not work for me without a patch [04:50] RenatoSilva: I thought I saw something about html being mentioned on the mailing list, but I've never used it or seen it [04:50] RenatoSilva: "doesn't work for you" ? [04:50] have you proposed the patch? [04:50] jam: the emails sent by LP when you change branches are done by something similar to bzr-email, but not released to the public [04:51] RenatoSilva: LP's code is public [04:51] RenatoSilva: its not a bzr plugin though [04:51] jam: something about TLS [04:51] RenatoSilva: grab the latest from the bzr-email branch [04:51] I'm pretty sure that is fixed [04:51] may not be in a tarball, etc [04:51] though it is packaged for Karmic ( I checked with james_w just a couple weeks ago) [04:52] jam: this is the patch to make it work: https://code.launchpad.net/~renatosilva/bzr-email/ignore-tls [04:53] jam: I don't know if you mean what's done here [04:54] http://bazaar.launchpad.net/~renatosilva/bzr-email/ignore-tls/revision/40 [04:54] though you build on top of that, so obviously something is different in your situation [04:59] jam: see bug https://bugs.launchpad.net/bzr-email/+bug/388723 [04:59] Launchpad bug 388723 in bzr-email "SSL error on starttls()" [Undecided,New] [05:01] jam: it's a hand shake error, maybe and likely server problem, but I thought it would be nice to allow users not being affected by such broken servers [05:01] jam: so I created the disabling option, it's working fine with me now. [05:13] latest version of bzr-xmloutput is 0.8.4, from where did you get 0.8.5 to pack together with 2.0? [05:13] https://launchpad.net/bzr-xmloutput [05:19] poolie: gnight; we can try to hook up sunday avo or something [05:19] poolie: or perhaps my morning (7hr from now) [05:28] lifeless: you're not in AUS/NZ? [05:42] ok [05:42] thanks all [05:43] wow nice work igc [05:43] you should send that to the bazaar list too [05:53] poolie: which bit? [05:53] the benchmarks and the mail about them [05:54] ok [05:54] if you want to [05:54] hi spiv [05:55] poolie: good afternoon [05:55] how's stuff? what are you up to? [05:56] I'm reading through jam's patch flood. [05:56] I'm greatly looking forward to cutting our memory consumption! [05:57] spiv: me too! I was hoping you'd choose to review those patches (with your Python internals knowledge) [05:58] Also used -Drelock to squash a simple (and probably not very wasteful in practice) relock in cmd_missing, mainly to see what it feels like. I'm going to leave -Drelock on in my bazaar.conf for a while and see if that encourages me to squash some easy bugs. [05:58] It's a bit depressing that almost every command trips it, though. [05:59] I'm particularly wondering about extending the -Drelock thing to allow writing test assertions about it. [06:00] I don't know that we really want to explicitly add "assertNoRelockingHappened" or whatever to lots of individual tests, but it would be nice to find and easy-yet-firm way to drive it towards zero instances. [06:01] But maybe blackbox tests could test for that by default, and then individual tests or test cases could opt out? [06:03] Oh, and I spent some time (re)reading the summary of the London meeting. [06:21] lifeless: no. [06:22] the one where it took 11 minutes to commit the large files into the bzr repo. [06:22] also most 4 times longer than the time to copy the files. [06:23] however, i am tempted to go and have a look at the code, and submit a patch for where a file is sufficiently large to store and make comparisons against a sha1 or similar hash of the file. [06:23] spiv, could you review jam's cix patch, if you didn't alread? [06:24] that obviously will require other changes to ensure that the binary files are kept avilable for the various locations in the repository (if one changes the others shouldn't etc.). [06:24] d1b, you're committing a rename of a large file? [06:24] poolie: it was a worst case senario i ran bzr 2 against, 5 167mb video files. [06:25] the files were identical [06:25] under different names? [06:25] poolie: yes. [06:25] k [06:26] probably best to start by profiling it and looking at the developer docs on profiling [06:26] poolie: lifeless already has a kcachegrind / valgrind dump thingy. [06:27] poolie: a workaround would be to not try to group-compress large binary files. [06:36] poolie: ok [06:38] cool [06:51] spiv: what's .bzr/upload for? any ideas? why would there be a xxxxxx.reconcile file in there? [06:52] poolie: ^^^ [06:58] igc: do you mean .bzr/repository/upload ? [06:59] igc: it's where pack files are created initially. Once all the content has been added and the pack file finished, then they are moved from upload/ to packs/ and then added to pack-names. [07:00] igc: similarly indices. [07:00] spiv: thanks [07:00] igc: the name they are given in upload/ has a suffix that varies depending on which code path created it. *.reconcile is made by the ReconcilePacker (or the GC variant, etc) [07:01] spiv: right. so a crash of reconcile leaves a xxx.reconcile file there. It makes sense now [07:01] igc: which is a long-winded way of saying "you probably hit ^C or similar during a 'bzr reconcile' at some time :)" [07:01] spiv: nah, reconcile is falling over for keybuk [07:01] Ah, right. [07:02] Yes, that'd do it. [07:02] i can reproduce it [07:03] lifeless: i am going to kick you later for being too smart a nerd. [07:05] lifeless: ok so skipping the nistallation bit... how do I actually use the bzr-hg tool. commands, syntax on bzr branch, whatever?? [07:21] hi all [07:44] bbiab [08:00] nice post there [08:00] arjenAU: basically you can just urls to hg repositories [08:00] there are no new commands [08:14] poolie: ok so back one step. how do I install the sucker [08:14] poolie: all these plugins are lacking in docs. I'm not a python person [08:14] are you on ubuntu? [08:14] i think it's in the ppa? [08:15] hmm didn't show up in synaptic. I am on the PPA [08:15] no, it's not [08:15] I grabbed the tarball and did python thingie build and then install. no worky [08:15] hello all [08:15] igc: what is scary numbers for Samba import? [08:16] bialix, this one i think: https://launchpadlibrarian.net/21176883/gwibber.64x64.png [08:16] blah [08:16] http://bazaar-vcs.org/Benchmarks [08:16] yes, benchmarks [08:16] and why Firefox trunk bigger than import? [08:16] questions, questions... [08:16] different packing maybe? [08:17] or trunk is branch + tree? [08:17] and import is treeless? [08:17] somebody should explain [08:18] really guys [08:18] well, reply to ian and ask [08:19] if it's even for me wtf -- then you can expect many gibes from outside [08:19] there is a page of details but it doesn't say what trunk only is [08:19] * poolie burned out [08:19] good night [08:19] night [08:27] Why does the bzr home page now say "rockin'" and give a nonsensical user count? [08:29] where? [08:30] Near the bottom, just above the anonymous logos. [08:30] ah see [08:30] I recognise them, but I imagine most will not... [08:31] * bialix don't know what is purple cog icon means [08:31] * bialix as well as globe [08:32] I dunno, emmajane and igc constantly improving this page [08:32] there is branch with page source [08:35] The purple thing is GNOME Do, the globe is Gwibber. [08:35] clearly Gnome/Ubuntu centric point of view [08:36] * bialix goes away for my work on windows xp [08:36] :-P [08:38] bialix: do you know of any Windows software projects using bzr? if so, suggest they be added. [08:43] hi bialix [08:44] bialix: I just run the commands. Exactly what pack does under the covers is outside my depth of knowledge [08:45] bialix: but fast-import imports a whole repository while 'branch' just grabs the revisions referenced by trunk [08:45] mneptok: it should be a BIG project right? no I don't know [08:46] bialix: not necessarily. but something at least noteworthy. [08:46] igc: I suppose Bazaar Import size is the size of treeless shared repo? and trunk is the sizer branch with tree? [08:46] mneptok: oh, I know many. QBzr per example. It will count? [08:47] PhotoBatch, Leo editor [08:47] there is page with links to these projects [08:47] bialix: ask emmajane or igc :) [08:47] bialix: import size is just repo size - see "how we measured" link [08:48] du -sh? [08:48] bialix: branch size is still just the .bzr size - there's no point comparing the working tree as it's the same across each tool [08:48] that's nice that I know what du is [08:48] but this is not windows utility [08:49] h=human readable [08:49] s=summary (don't show each subdirectory) [08:49] will be much simpler if you just wrote in plain english [08:50] the plain english bit is the directories being compared :-) [08:50] mneptok: http://bazaar-vcs.org/WhoUsesBzr [08:51] igc: then I'm bad in english today. Sorry and nm [08:55] bzr qlog is amazing, but its revision sorting algorithm is a bit suboptimal. It seems to optimize keeping the trunk revisions consecutively displayed, at the cost of vastly increasing the horizontal space used for the graph [08:56] maxb: this is because in bzr mainline is special [08:57] igc: also I think 36K windows downloads is extreme. [08:57] igc: for most releases this number is order of magnitude smaller [08:57] I dunno why 1.13.1 so big, but it seems pretty wrong for me [08:57] Attempting to put correct numbers there is an exercise in foolishness. [08:58] I agree [08:58] I dunno why there is need numbers [08:58] foolishness is good word [08:58] * wgrant should probably check the list for similar complaints. [08:59] recent thread is 42,000 too much [09:02] Hello [09:02] I've a big problem [09:02] I cannot create repository on my http server anymore [09:02] I receive : [09:02] bzr: ERROR: Server sent an unexpected error: ('error', "An attempt to access a url outside the server jail was made: 'chroot-3102421996:///'.") [09:07] bialix: would your company be interested in putting your logo on our home page? [09:11] ploum: there's a bug about that, with a workaround: [09:11] ploum: https://bugs.edge.launchpad.net/bzr/+bug/348308 and the workaround is in comment #8 [09:11] Launchpad bug 348308 in bzr "Smart server jail breaks bzr+http with shared repos" [High,Triaged] [09:12] funny, I was already subscribed to this bug but it was so old [09:12] thanks for the info [09:15] igc: unlikely :-) [09:15] we are very small company working in narrow niche [09:16] bialix: we're happy to promote companies and projects using Bazaar there [09:16] bialix: but QBzr is probably too close to Bazaar itself sorry [09:17] bialix: i.e. users won't see it as a separate project to Bazaar [09:17] bialix: by user, I mean typical home page visitor [09:21] igc> bialix: but QBzr is probably too close to Bazaar itself sorry -- I know, it was joke [09:21] igc: for my company the problem is we made embedded systems not software per se [09:21] so we have hardware which you can take in hands [09:22] software is just companion [09:22] bialix: ah - ok [09:24] night all - have a good weekend [09:24] bye [09:26] igc: g'night [09:27] night spiv === JaredWigmore is now known as JaredW [10:34] can anybody help me understand the difference between bzr checkout svn+ssh://foo.com/foo vs bzr svn-import svn+ssh:///foo.com/foo? [10:35] the main reason for my question is that I've tried the former approach twice on a history-rich svn repo and I've gotten failures both times, so I'm considering trying the other approach. [10:36] but I don't understand the example at on using svn-import [10:42] hi all [10:42] hi [10:42] faldridge: can you tried to simply `bzr branch svn+ssh://foo.com/foo`? [10:43] faldridge: the main author of bzr-svn is jelmer [10:43] faldridge: always when I need a copy of svn repo of upstream I'm just running bzr branch [10:44] bialix: I have not tried that; it wasn't listed on the bzr-svn plugin doc. What does that do differently than bzr checkout? [10:44] bzr branch will create bzr mirror of svn repo [10:44] I think it's similar to svn-import [10:45] what is the product of bzr checkout I really don;t know [10:45] can you show me the output of bzr info -v in the your checkout? [10:45] pastebin? [10:46] bialix: I can't right now; the bz checkout svn+ssh method is also reaaaaaaally slow, and I'm in the middle of trying to grab a different history rich svn repo right now.... [10:46] ah [10:46] bialix: is the bzr branch method faster? I could always kill the process and try it [10:47] I dunno, really [10:47] I don't expert in bzr-svn [10:47] in theory branch and checkout should be the same speed [10:48] bialix: ok, but do you know if doing bzr branch on an svn repo is significantly slower than bzr branch on a bzr repo? [10:48] yes [10:48] because it converts from svn to bzr format on the fly [10:48] right, thought so. [10:49] history horizon is strongly required by bzr-svn users. [10:49] history horizon? [10:50] I really want to manage my local branches of svn-based projects with bzr, but the slowness and erratic failing may be a deal-breaker. [10:50] bzr use single connection. svn use a connection per revision. [10:50] it's not implemented yet [10:51] So bzr branch from remote svn comsumes long time. [10:52] faldridge: try to catch jelmer later (after several hours) [10:52] bialix: will do, thanks [10:52] naoki: is there a reason bzr doesn't use multiple connections? [10:55] I don't know. [10:56] possibly because it doesn't need them unless pulling from an svn repo [11:01] i have a quick question if anyone is around [11:02] shout [11:02] i was wondering if it was possible to create a centralized model using my web page on godaddy as a server with bazaar [11:03] and if so if there was any information i could read about how to go about setting it up [11:03] that anyone knew of [11:03] what is godaddy? [11:03] bialix: a popular web host [11:03] oh sorry, i mean to say my web host [11:04] what access do you have to it? [11:04] full as far as i know [11:04] http/ftp/sft/ssh? [11:04] lemme see [11:05] http/ftp/ssl/ssh? [11:05] can you install bzr there? [11:05] it uses MySQL databases [11:05] bzr don't use MySQL [11:06] there is 2 modes to access bzr branches: over dumb transport (http/ftp) and over smart server (bzr/bzr+ssh/bzr+hhtp) [11:06] the latter require bzr installed on your host [11:06] the former does not [11:07] if you have ssh then you have sftp IMO, sftp is also dumb transport [11:07] dumb trabsport access is usually slower as you understand [11:08] dumb transport access is usually slower as you understand [11:08] is one dumb transport better over another? [11:08] http is read-only [11:08] ftp is not really recommended [11:08] sftp is good enough because it's based on SSH connections [11:09] I'd say sftp for write access, and http for read-only [11:10] sounds do able [11:11] ftp is often works but sometimes there is quircks with different ftp servers implementations [11:12] looks to me like using SSH requires me to move my website to a new server and update site code / hurt my brain [11:12] jackalborn: just remember there is no special ACL support [11:12] so everything exposed via public_html will be readable by anyone, usually [11:12] i'm sorry i dont even know what ACL is :/ [11:13] ah got it [11:14] so the other option is setting up a machine at home and putting bzr on it and having it act as a central server? [11:14] ACL == access control list [11:15] I'm not sure what is central server for you [11:15] i see [11:15] how many people will work with it? [11:15] i've only ever used CVS and a little SVN so this is kinda new to me [11:15] 5 or less i'm suspecting [11:15] probably 3 for now [11:17] it should be private repo? [11:17] well i dont want just anyone coming along and walking off with our assets or code [11:17] if thats what you mean [11:17] there is bzr_access script to setup restricted access to smart server [11:18] jackalborn: so you need restricted access for your team [11:18] either via sftp and don't expose it via http [11:18] or via bzr+ssh [11:19] in any case sftp/ssh [11:19] gotcha [11:19] I've used ftp in the past [11:19] to communicate with autsourcers [11:19] but straigh ftp is no dice right? [11:19] it works good enough [11:19] it depends [11:19] how good is your ftp server [11:20] bzr require append access [11:20] or this is called feature? [11:20] i dont realy know honestly [11:20] raname support and so on [11:20] *rename [11:20] it will be easier for you to just try [11:20] yeah [11:20] bzr init ftp://... [11:20] bzr push ftp://... [11:21] i'll have to go about setting it up then [11:21] with any small history [11:21] so really its just making a folder on the ftp and having bzr access it? [11:21] yep [11:21] wowo [11:21] will that should be an eaasy test then [11:21] you can even setup password for ftp access in authentication.conf config file [11:22] so you don't need to type it everytime [11:23] sounds good [11:23] thank you very much for your help [11:23] always happy to help (tm) [11:24] i look forward to testing this out when i get the guts to once again wade into the horrors that is working with my web server. first thing in the morning :) [11:24] thanks bialix, have a good night [11:24] bye, it's a still day for me [11:42] how should I proceed if I need a branch inside a branch? [11:42] just branch and all [11:46] bialix: what I have now is one branch containing everything, I use split to move a directory from that branch to a separate branch. can I just run pull in the subbranch and then commit in the main branch? [11:47] are you asking about Nested Trees support? [11:47] bialix: I guess so :) [11:47] it's not implemented yet [11:47] there is plugin that emulates it [11:47] ok, interesting [11:50] scmproj, right? can this be used in prod? [11:50] I'm the author and use it in production [11:50] there is many rough edges [11:50] but you can pull in subbranch and then commit [11:50] it's far from ideal [11:51] honestly [11:51] it's more like meccano [11:51] but it really works [11:52] ghehe :) i like meccano [11:53] Someone here tries to do this with split and join... I guess these are more configuration tools, and not the way to do Nested right? [11:54] split and join is the part of Nested Trees [11:54] scmproj is indifferent to split and join [11:55] scmproj works on the set of branches [11:55] you can define how you want to lay out your branches and then run some commands for all your branches in one go [11:56] you can "construct" your own command [11:56] it's a bit similar to how git works with submodules [11:57] do you define a sort of recipe? [11:57] no [11:57] there is generic command project-command or pcmd [11:58] you supply one or several bzr commands to it, using some templates and then it runs your commands for each branch [11:58] sounds good [11:58] e.g. to get bzr status for all branches you run: bzr pcmd st [11:58] to get latest log message: bzr pcmd "log -r-1 --short" [11:58] and so on [11:59] under the hood scmproj just cd to each branch and run the command there [11:59] so you get N separtate results for N branches, not 1 integrated result [11:59] this is major limitation [12:00] Nested Tress should work seemless [12:00] Nested Tress should work seamless [12:00] ok, sounds workable though [12:01] one my working project consist 3 branches [12:01] 1 main branch [12:01] 1 library [12:01] 1 interface headers to communicate with another program [12:02] if your branches is more or less separate, then you don't have much troubles [12:03] ok, ive got one repo, pulled 2 branches in [12:03] now what? :) [12:03] bzr pcmd st gives, error: not a branch [12:03] to start with scmproj: first you need to initialize configuration [12:04] bzr pinit PATH [12:04] it will create .scmproj directory with branch inside it [12:04] there is project.cfg [12:04] you need to describe your components in project.cfg [12:04] at least you should specify RELPATH for each component [12:05] ok, that's the source? [12:05] source? [12:06] what do you mean? [12:06] where you are branching from [12:06] BRANCH_URL is source [12:06] ok, what is RELPATH? [12:06] local relative path of each branch root [12:06] relative to directory where .scmproj resides [12:07] ofcourse, thnx :) [12:08] So RELPATH is mandatory, I guess BRANCH_URL can come from bzr info? [12:08] sender: http://pastebin.com/d42cfdd5f [12:08] RELPATH is mandatory for all local operations [12:09] BRANCH_URL is mandatory to clone existing project, update it or push it back [12:09] ok, got it right now [12:09] you can have one branch right in the root of your project with RELPATH = . [12:10] I find this handy [12:10] that's great [12:10] this has so much potential [12:10] it's easy as lego [12:10] meccano, lego ;) [12:10] and somewhat limited as I said [12:10] right [12:11] you saw logo? [12:11] logo writer? [12:11] bzr pcmb st now gives me # Done. [12:11] no, picture of scmproj: https://launchpad.net/bzr-scmproj [12:11] let's try pull [12:11] ghehe :) [12:12] bzr pcmb st now gives me # Done. <-- so there is no components defined [12:12] oh :/ [12:13] edit project.cfg [12:13] this is first thing you need to do to setup project as a whole [12:13] http://pastebin.com/d6221495 [12:14] it should be http://pastebin.com/d32e2e632 [12:14] component is mandatory keyword [12:14] ok [12:15] hello all. I'd like to setup a hook on my bzr server to forbid pushes by commiter with a badly set email address. What hook should i use ? the doc is very scarce... [12:15] easy fix... bzr pcmd st now shows me clear output about my branches [12:16] sender: good [12:16] bialix, missing works fine, now pull [12:16] moin [12:17] works great, awesome! [12:17] flo_hns: pre_change_branch_tip I suppose [12:17] hi lifeless [12:18] sender: cool [12:18] * bialix goes for lunch [12:18] bialix: ok thanks, I'll try it. and how can I cancel a push ? possibly with an error message ? shoud I return false, or call something ... ? [12:18] arjenAU: ? [12:18] bialix: thanx a lot! [12:19] mneptok: Montreal [12:20] flo_hns: ask lifeless, he is guru [12:21] lifeless: for a non-python person, installing a plugin is a non-trivial process. I do it once in many months and thus I have absolutely no idea what to do. and then there's no docs on what I get. plus it didn't actually install afaics (jaunty from lp dl of hg-bzr). [12:22] lifeless: hello. I'd like to add a hook to my server, to forbid pushes by commiters who have a badly set email. which hook should I override, and how can I cancel a push from there ? [12:22] lifeless: the README does not tell me anything. [12:22] lifeless: but you're a nice guy and you do great work. but please bridge the gap to lesser gods ;-) [12:24] sender: bzr pci will commit entire project + .scmproj config [12:25] arjenAU: hmm I try to write docs about it in plugins :) - which plugin was this that didn't ell you anything? [12:25] flo_hns: bzr help hooks | grep pre_tip_change [12:26] flo_hns: there are docs there [12:27] lifeless: hg-bzr. just the README of the tarball saying what to do to get it installed would be fab. I think it's about 2 lines. except it didn't work on my jaunty. the install phase did not install anything in the bzrlib/plugins dir. [12:27] lifeless: indeed :) thanks! [12:27] lifeless: I did sudo python setup.py install or whatever the py was [12:27] arjenAU: ah; well please file ugs, thoug jelmer is really the dude for bzr-hg these days; I last touched it years ago [12:27] s/ugs/bugs [12:28] lifeless: hum. the amount of effort involved in filing a bug for this kind of basic stuff.... yes I know i'm spending time on the whinge also [12:29] arjenAU: use the email interface :) [12:29] subject: <> [12:29] to: new@bugs.launchpad.net [12:29] affects bzr-email [12:29] done [12:29] lifeless: that's intersting. so how does it know which project [12:29] blah blah blah [12:30] lifeless: ah. that makes it more handy === mrevell is now known as mrevell-lunch [13:40] hi, im trying to install 2.0 on xubuntu 8.10, but when i add the repo and apt-get update, it says "Ign https://launchpad.net intrepid Release" [13:40] any idea why? [13:44] if i use synaptic, i get "GPG error: https://launchpad.net intrepid Release: The following signatures were invalid: NODATA 2Failed to fetch https://launchpad.net/~bzr/+archive/dists/intrepid/main/i18n/Translation-en_US.bz2" === mrevell-lunch is now known as mrevell [14:11] bzr: ERROR: KnitPackRepository('file:///home/mez/development/bzr/io/mobilefun/projects/.bzr/repository/') [14:11] is not compatible with [14:11] KnitPackRepository('file:///home/mez/development/bzr/io/mobilefun/projects/trunk/.bzr/repository/') [14:11] different rich-root support [14:11] Can someone explain? [14:11] (this is me trying to branch something. [14:12] Mez, sure [14:12] you'the branch you're trying to get is a newer format [14:13] and you have a local shared repository with an older format [14:14] coool. bzr upgrade on the repo seems to have worked. [14:14] :) [14:15] or not ... [14:15] * Mez upgrades trunk too [14:15] [##############- ] Copying content into repository.:Transferring revisions 0/668 [14:15] stuck :( [14:16] Mez, what does .bzr.log say about it? [14:16] 83.758 Resizing the inventory entry cache from 23074 to 50752 [14:17] grrr [14:17] 11.620 creating repository in file:///home/mez/development/bzr/io/mobilefun/projects/trunk/.bzr/. [14:17] 16.626 Resizing the inventory entry cache from 10240 to 23074 [14:17] Mez: be patient [14:17] 83.758 Resizing the inventory entry cache from 23074 to 50752 [14:17] lifeless, hi! [14:17] Mez: it will ive an update only at 100 rev s [14:18] lifeless, do you know if we already have a bug about bzr not inviting you to upgrade when it you try to interact with 2a? [14:18] beuno: do you mean 'bzr should invite' ? [14:18] * beuno has +filebug open, and is not afraid to use it [14:18] lifeless, well, something better than: [14:19] 08:11 < Mez> bzr: ERROR: KnitPackRepository('file:///home/mez/development/bzr/io/mobilefun/projects/.bzr/repository/') [14:19] 08:11 < Mez> is not compatible with [14:19] 08:11 < Mez> KnitPackRepository('file:///home/mez/development/bzr/io/mobilefun/projects/trunk/.bzr/repository/') [14:19] 08:11 < Mez> different rich-root support [14:19] beuno: I don't think we do [14:19] * beuno files it [14:20] is there any situation when upgrading would be bad? [14:20] (at the point when that error is encountered) [14:21] Tak, well, maybe you end up upgrading trunk, and other users with older versions of bzr can't access it anymore [14:21] but, well, this becomes a chicken and egg problem at some point [14:21] right - if you can't pull from your other branch, *something* has to happen [14:22] I'm wondering if bzr should just go ahead and do the upgrade [14:22] lifeless, maybe bug 53271 represents it? [14:22] Launchpad bug 53271 in bzr "Should suggest 'bzr upgrade' when giving error about unsupported format" [Medium,Confirmed] https://launchpad.net/bugs/53271 [14:26] lifeless: It just feels like it's taking WAYYYYY too long. [14:28] Mez, how big is the branch? [14:28] beuno: no, I don't think it does [14:28] Mez: strace it; don't interrupt :) [14:29] 931M ... :( [14:30] Mez, relax, it will take a while [14:30] hasn't taken this long to branch before though.... [14:31] and strace isn't giving ANY output [14:31] tell a lie, now it does. [14:32] Mez, the new format needs to do a few extra things [14:32] it's *much* faster and smaller, but it needs to do a lot of heavy lifting to convert [14:32] beuno: so it's going to take this long every time I branch ? [14:33] Mez, no, the upgrade is a one-off thing [14:33] Mez, what version of bzr are you using? [14:33] beuno: 2.0.0. [14:34] It's more that it has to extract and decompress all the data from the old format, and the old format is a bit slow. Normally when you branch bzr can just copy rather than extracting then recompressing, but obviously it can't do a straight copy when converting formats. [14:34] Mez, great, so you just need to bite the bullet this time, then it should be much faster than before [14:35] beuno: though if I don't upgrade trunk it'll do this every time? I cna't upgrade te trunk branch until everyone's moved to new bzr. [14:35] Mez, no, if you have you're local repository upgraded, you can interact with older formats [14:36] Hello [14:38] Mez: once you upgrade, everyone else has to [14:38] Mez: its in the docs;) [14:40] I tried to upload my code to a branch in Launchpad, but bzr returned an error: "bzr: ERROR: These branches have diverged. ". What does it mean? [14:40] lifeless: so I'm about to fuck over the other devs? [14:40] because I'm using karmic and they're not ? [14:40] Mez: if they don't have 1.16, yes. [14:41] Mez, you're just upgrading locally though, no? [14:41] Mez: 2a requires rich-root repositories to push into, it can downgrade seamlessly with any -rich-root format. [14:41] * Mez shrugs [14:41] Mez: if they don't have -rich-root then you're doing a one-way transition [14:41] they seem to have 2.0.0 themselves :D [14:41] liel_, that you need to bring in changes made remotely with "bzr merge REMOTE_BRACH" [14:41] Mez: you don't have to upgrade to the 2.0.0 format [14:41] beuno: a local upgrade past the -rich-root transition means 'cannot push to the network without upgradingg it too' [14:42] beuno: you will want to memorise that :) [14:42] lifeless, I thought the case was the other way around [14:42] james_w: I recived: "bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified" [14:42] local in 0.92, remote in 2a [14:43] beuno: local 0.92, remote 2a, you can push, can't pull. [14:44] What this message mean? my English is weak so it is hard for me to understand this message [14:45] in loggerhead I'm finding that shared branches don [14:46] I'll try again - in loggerhead branches from a shared repo can't be checked out [14:46] is that a known limitation? [14:46] muffinresearch, you're using loggerhead to serve branches? [14:48] in as far as it is displaying a message with the command for checking out branches over http [14:48] muffinresearch, it is not a known bug, but I have my suspicions of why that is... [14:48] beuno - it works for me with standalone branches but not for ones that are in a shared repo [14:49] muffinresearch, could you file a bug for it? [14:49] sure will do [14:49] thanks [14:59] The bzr-svn how-tos tell me to start with "bzr init-repo --default-rich-root reponame", but bzr 1.5 on Debian is giving me "ERROR: no such option: --default-rich-root" [15:03] spiffyte1h: 1.5 is pretty old; I suspect it would support --rich-root-pack [15:03] spiffyte1h: but I would also recommend installing a newer version of bzr and bzr-svn [15:04] Ah, but that would be too easy! It's much more fun working within the ancient confines of Debian Stable on your company's dev server :) [15:06] beuno https://bugs.edge.launchpad.net/loggerhead/+bug/447229 [15:07] Launchpad bug 447229 in loggerhead "Checking out branches from a shared repo results in 'No repository present' error" [Undecided,New] [15:08] jelmer: --rich-root-pack worked fine, thanks! [15:08] muffinresearch, thanks [15:28] i <3 bzr [15:28] it's the greatest thing since cvs [15:34] jelmer: could you explain the difference between just doing a bzr branch, doing bzr checkout on an svn repo, and using bzr svn-import on an svn repo? [15:34] s/bzr branch/bzr branch on an svn repo/ [15:37] faldridge: 'bzr branch' clones a single branch in the repository [15:37] faldridge: 'svn-import' imports multiple branches in the repository [15:37] faldridge: 'bzr checkout' clones a single branch and binds to it [15:38] faldridge: (if you commit to a bound branch, your local changes automatically end up in that branch too) [15:38] ah, so for the initial pull, bzr branch and bzr checkout would produce nearly the same results? [15:38] faldridge: yes [15:39] The end result of "bzr svn-import" is no different than manually running "bzr branch" once for each branch. Right? [15:39] jelmer: what I'm seeing and I'm guessing it's unavoidable is that doing a bzr checkout on a history-rich svn repo takes forever in some cases and fails altogether in one other case. [15:39] and from your answer that svn-import would just take even longer [15:39] Peng_: yes (preceded by the initialisation of a shared repo) [15:39] s/answer/answer it seems/ [15:39] faldridge: yes, copying history in svn is slow [15:40] faldridge: In the case where it fails altogether, how does it fail? [15:40] jelmer: Err, right. Oops. [15:40] two different errors messages in two tries. Let me try again now and I'll let you know (it might be a little while) [15:40] hmm api confusion here... i have an instance of a branch i just sprouted, and i'd like to push to the default location [15:40] new_branch.push(new_branch.get_push_location()) [15:40] i'm missing a step there [15:41] phinze: you need to push to a Branch instance (push location is a string) [15:41] phinze: perhaps something like: [15:41] new_branch.push(Branch.open(new_branch.get_push_location())) ? [15:41] there it is, thanks jelmer :) [15:42] jelmer: would not having commit access hinder my ability to do a binding pull on an svn repo? [15:42] hmm, not quite: "NotBranchError: Not a Branch: (url of remote push location)" [15:42] this is a new push branch location [15:42] faldridge: if you're pulling into a branch that's bound to a svn repo that you don't have access to, that would be a problem (since you can't upload new revisions) [15:43] phinze: ah [15:43] phinze: In that case you might need branch.bzrdir.sprout() IIRC [15:43] jelmer: ok, I'm trying the bzr branch method. [15:43] jelmer: ok will try that [15:44] phinze: assuming the target exists as a directory: [15:45] push_location is "bzr+ssh://..." style [15:45] phinze: t = get_transport(new_branch.get_push_location()); new_branch.bzrdir.create_clone_on_transport(t) [15:52] heyo, that worked... new_branch.create_clone_on_transport(get_transport(new_branch.get_push_location()) [15:52] such a big API, i get lost easily, thanks jelmer :D [15:56] jelmer: using bzr branch to produce an unbound mirror worked. The curious thing to me, though, is that I don't have commit access on the repos in which I was able to produce a bound mirror [15:58] faldridge: If you would commit in a bound branch bzr would attempt to put your commits in the original svn repository as well [15:58] faldridge: and that would fail, since you don't have commit access [15:59] jelmer: what if I made a local branch of the bound branch and committed on it? Would that fail as well? [16:02] faldridge: no, that would succeed - since it wouldn't try to push the data to the svn branch [16:02] faldridge: alternatively, you can also unbind the bound branch [16:03] faldridge: "bzr unbind" [16:03] great, thanks! [16:03] thanks so much for your help. I really, really hate svn's branching/merging syntax so you've been a lifesaver! [16:30] can somebody tell me which project management tool has bazaar support? I've found some few month ago, but now I couldn't find any of them .. [16:31] project management tool? [16:32] hmm, don't know how I should describe it in another way. Are there any webapps out there that support bazaar? (I remember a name like track, but seems to be wrong) [16:33] loggerhead [16:34] ah ok [16:34] is that the only one? [16:35] launchpad? [16:35] launchpad is open source now... run LP. [16:36] ?? [16:36] so you can install launchpad on your own server? [16:37] oh yeah, trac has a bzr plugin as well, right? [16:38] ah that's the one I found ^^ [16:38] Tak: thank you [16:38] project management ^^ [16:38] launchpad is probably better integrated with bzr [16:39] Redmine supports bzr. [16:39] is there a way to list the diff being stored on a shelf? bzr unshelve --dry-run just shows me the modified files like `bzr st` which isn't very useful [16:39] hey - the pydoctor doc link has disappeared from http://bazaar-vcs.org/Documentation [16:41] aha appears there is a bug regarding this: https://bugs.launchpad.net/bzr/+bug/317896 [16:41] Launchpad bug 317896 in bzr "bzr unshelve --dry-run should produce a diff" [Undecided,Confirmed] [16:41] Tak: but launchpad seems to be a bit overloaded for my needs ^^ [16:42] ok [16:43] any experiences with redmine? [16:43] or is it possible to use only a few features from launchpad? [16:44] e. g. source browser and issue tracking [16:44] NEBAP|work: use redmine+bzr heavily where i work [16:45] phinze: so? Can you recommend it? [16:45] seems to work out ok, the source browser sort of sucks -- we use loggerhead separately for that [16:46] ok ^^ [16:46] the only limitation that gets me is the fact that you have to link one branch to one project to integrate commit messages with issue updates [16:46] then it seems to better make a small bug tracker and use loggerhead as the source browser is the most important feature for me .. [16:47] so when i commit to the project foo branch and have a message like "hey i'm done, closes #1234"... it has to be an issue that exists in project foo [16:47] so depending on how many projects you're dealing with you may run into that [16:47] k [16:47] thank you :) [16:47] np [16:48] if you end up trying it and have questions, feel free to ping me [16:49] thank you :D [16:51] does launchpad use loggerhead? [16:52] Yes. [16:53] k [16:53] phinze: does the redmine source browser support syntax highlighting? Sadly the online demo isn't available .. [16:54] Loggerhead supports syntax highlighting. :D [16:54] does loggerheads rpc support mean we can use bzr+http with http://b.l.n [16:54] (That is, Loggerhead has 30 lines of code to run stuff through Pygments if it's available.) [16:55] k [16:55] NEBAP|work: i believe redmine source browser can run stuff through coderay... but like i say, it's not the best thing in the world, which is why we use a separate instance of loggerhead [16:55] couldn't find any screenshots of loggerhead, but I'll check loggerhead at first [16:56] NEBAP|work: You can play around with Launchpad's instance: http://bazaar.launchpad.net/~loggerhead-team/loggerhead/trunk-rich/ [16:56] phinze: ok thanky you :D [16:57] lifeless: b.l.n doesn't support it. [16:57] k, will check that at first :D [16:57] does it need additional apps, or will it run in any python environment? [16:58] NEBAP|work: It requires some Python libraries. [16:58] * Peng_ points at the README [16:58] k thanks, hopefully I can get it running on my webspace .. [16:59] Peng_: thanks [17:00] lifeless: Loggerhead itself supports it, though. Seems to be broken in trunk, hmm. [17:01] hey guys... made a mistake, was trying to ignore a set of log files, but not the containing directory,, but ended up removing the directory, then re-adding it,, then committing and pushing up to another laptop... now on that other laptop,, i have a lot of var.moved logs.moved and cache.moved files.. want to get rid of them ... easy way? [17:03] b.l.n handles .bzr through Apache. I guess nobody thought of pointing .bzr/smart over to Loggerhead. [17:03] Peng_: I'm not sure we should willy nilly ;) [17:04] Peng_: but I'd love it if you were to file a bug saying we should consider it [17:07] lifeless: I'm busy right this second, but sure. === beuno is now known as beuno-lunch === deryck is now known as deryck[lunch] [17:30] (FYI, it was only broken when using "bzr serve --http", and I just fixed it.) [17:36] lifeless: I'll add a comment to bug #165087. [17:36] Launchpad bug 165087 in launchpad-code "Cannot branch from bzr+http URLs" [Low,Triaged] https://launchpad.net/bugs/165087 [17:44] thanks! [18:08] jelmer: updated 342065 with a new backtrace === sidnei_ is now known as sidnei === deryck[lunch] is now known as deryck [18:34] Greetings! [18:34] Congrats on 2.0! [18:35] Was just looking at the upgrade procedures, and was wondering about something regarding migration of Launchpad branches [18:36] Is it the case that ~team/project/trunk cannot be used anymore? [18:36] Assuming that this was the place the old branch was held [18:42] I believe so, but someone else will be able to confirm [18:43] niemeyer: so you *can* upgrade in place, but it often causes more headaches than downloading, upgrading locally, unsetting the dev focus, pushing a new trunk, and setting the new branch as the dev focus [18:46] doesn't upgrading in place break branches that are stacked on the focus? [18:53] james_w: IIRC it means they must be upgrade, but lifeless claims you can upgrade them once the dev focus has been upgraded [18:53] ah, ok [18:58] vila: ping [18:59] bialix: vila generally has stopped working about 2hrs ago [18:59] hello jam [18:59] ok [19:07] lifeless: any plans for US travel? [19:09] jam: I see, thanks [19:09] lifeless: So is that the case? Can they be upgraded in place after the stacking base has been upgraded? [19:11] mneptok: well, he was in Canada this week... but I believe he explicitly avoids the US. Doesn't like being fingerprinted, etc. === beuno-lunch is now known as beuno [19:12] heh [19:17] niemeyer: yes you can upgrade after [19:17] mneptok: no, back homeward bound in 2 ours [19:17] *hours* [19:17] mneptok: where are you at the moment ? [19:20] lifeless: That's awesome! [19:22] yay [19:23] fast-export | fast-import will work to create a new branch out of a borked branch [19:23] (bortked -> ghosts and sha1 mismatches) [19:24] Oh, cool. [19:24] jfroy: of course, it will have no relation to the previous branch ... [19:25] SamB_XP: which is fine [19:25] (in this case0 [19:25] *) [19:26] just pointing out the obvious in case it had escaped anyone's thinking somehow [19:29] 'twould be a harsh truth to realize a day or so later ;-) [19:29] yeah [19:30] My goal at this point is only to un-borked the main development branch of the project, ditch every other branch and go from there. [19:31] hmm ... it would be kind of cool if fast-export could do several branches at once ... [19:31] ... or can it ? [19:56] lifeless: Albuquerque, New Mexico [20:06] lifeless, he's as far away from snow as possible. === mnepton is now known as mneptok === tro|| is now known as tro === JaredWigmore is now known as JaredW [20:46] actually, albuquerque is up in the mountains, isn't it? [20:52] I asked this yesterday but nobody had a solution [20:52] I'm trying to use colordiff as a bzr diff backend [20:52] But I'm on windows with cygwin [20:52] so it doesn't seem to recognize it (colordiff is not an executable) [20:55] you'll need to either use bzr from cygwin [20:55] or have a batch /command script that runs colordiff [20:56] Running it from cygwin doesn't solve the problem [20:57] $ bzr diff --using colordiff === modified file 'Makefile' bzr: ERROR: colordiff could not be found on this machine [20:58] Can't post multiple lines very well [20:58] I opened up colordiff with emacs [20:58] it is a perl script [20:58] mathepic: running from cygwin won't help: [20:59] you need a *cygwin version* of bzr [20:59] Oh [20:59] normal bzr uses win32 python that uses CreateProcess [20:59] Will that have any significant drawbacks on performance? [20:59] *cygwin* bzr uses cygwin python which uses fork/exec [20:59] Tak: it is. ABQ is at ~5.5feet elevation [20:59] mathepic: I'm not sure of the performance implications; jam, who has signed off, may know. [21:00] *10^3? [21:00] mathepic: but you can create a .cmd script to run colordiff [21:01] I hate windows so much... [21:01] * Tak at literally 5.5ft [21:02] What would the batch script contain [21:03] Since I can't access colordiff unless I'm in cygwin [21:04] I guess I can just run "bzr diff | colordiff", but I was hoping to get an alias that would achieve the same thing [21:06] what about bzr cdiff? [21:06] bzr diff --using "perl /bin/colordiff" doesn't work with colors [21:06] nor does bzr cdiff [21:06] ah [21:06] I'm thinking cdiff isn't compatible with windows [21:10] Is there any alternative to "colordiff" for colorize diff [21:10] under cygwin [21:25] mathepic: I repeat, you'll need a command script [21:25] crate one and it should be fine [21:25] as to what it contains, 'perl.exe colordiff $1 $2' or something like that [21:26] I have to go, got a plane to catch. [21:26] hi, I'm attempting to use smart server support in loggerhead with a repository. `bzr info` on the repository is fine, but on the branch it gives me "No repository present: chroot://[something]". I'm kind of at a loss as to how to debug this. [21:26] or "bash -c colordiff" [21:29] malept: its a bug, it was discussed earlier today with someone else; I don't remember more sorry [21:29] lifeless: discussed in here? [21:30] yes [21:30] ciao [21:30] lifeless: have a good flight [21:30] zsquareplusc, that almost worked but colordiff starts wanting me to input text [21:31] mathepic: yes, and does piping not work? "|"? [21:31] Yeah the piping will work, I'm just trying to get an alias [21:32] malept: I don't know what's going on there. I'd expect you to hit bug #348308, but this is something different. [21:32] Launchpad bug 348308 in bzr "Smart server jail breaks bzr+http with shared repos" [High,Triaged] https://launchpad.net/bugs/348308 [21:32] * zsquareplusc has not yet used aliases [21:34] malept: Do you mind filing a bug? https://bugs.edge.launchpad.net/loggerhead [21:34] malept: Oh, you/someone did. https://bugs.edge.launchpad.net/loggerhead/+bug/447229 [21:34] Launchpad bug 447229 in loggerhead "Checking out branches from a shared repo results in 'No repository present' error" [Low,Triaged] [21:35] Peng_: yeah, just found it in the irc logs from today [21:36] Ah. I didn't see the discussion; when was it? [21:36] Never mind, grepped. [21:36] What unit testing framework does bzr use? [21:36] :) [21:37] lifeless: ^^ you would know :-) [21:37] Peng_: I had already patched my fastcgi loggerhead script to deal with the smart server jail bug (using your monkeypatch) [21:38] malept: Ah. [21:39] davidstrauss: Bazaar uses Python's unittest, plus (optionally) subunit and/or testtools. [21:39] Peng_: speaking of my fastcgi script, would it be useful if it was distributed with loggerhead? [21:39] Peng_: Is that built into Python? [21:40] davidstrauss: unittest is, for sure [21:40] ok, cool [21:40] * davidstrauss is about to force unit testing on bcfg2. [21:40] subunit & testtools are not. [21:41] malept: Waitwait. A FastCGI script? Neat! Can I see it? :D [21:41] davidstrauss: and convenience classes/methods built on top of unittest [21:41] Peng_: sure, mind if I PM you the link? [21:43] malept: ok [21:59] Hi. Would someone be able to guide me to an example of using bzrlib to get a list of all rev-ids in a branch? [22:03] Or alternatively, what is the best way whether to check whether rev-id is contained within the history of a branch [22:12] I don't suppose anyone here is familiar with where in the qbzr code the algorithm for ordering revisions in qlog lives? [22:14] maxb: there was a bug about how to check whether a revision is in the history of a given branch ... [22:14] ... it has the word "predicate" in the title, I believe [22:16] maxb: regarding the list of all revision-ids: branch.repository.get_ancestry(branch.last_revision()) [22:17] Ah - I found branch.get_revision_id_to_revno_map() and was attempting that [22:18] It seems rather sloooow though [22:18] it would be, yes [22:19] and the revisions in qlog are topologically sorted [22:19] which is in bzrlib.tsort [22:19] (unless you mean the actual graph layout, not just the ordering) [22:20] luks: perhaps he was hoping to stick something in to order by commit date when possible ;-) [22:27] SamB_XP: exactly :-/ [22:28] I guessed this because I have often wished that bzr viz had such an option [22:28] toposort with a preference for commit date where feasible would make the history much more readable in many cases [22:29] So, on the "is it in the history" question, basically I've discovered bzr fastimport has a bug where it discards tags which aren't on the left-hand history [22:29] well, sorting by date would require making the graph flat [22:29] So I'm trying to rewrite its "is this tag in this branch" logic to respect all the history, not just the left-hand [22:29] luks: "flat" ? [22:30] a simple list [22:30] I don't require that it be completely date-ordered. [22:30] otherwise you would need arrows on the lines, because they could be directed both up and down [22:30] how would it work? [22:31] I just want it to be date-ordered where topological constraints do not dictate otherwise [22:32] the only point where you possibly chance choose the ordering is a merge point (node with multiple parents) [22:32] er, have a chance [22:32] to [22:33] but of course that would break the mainline concept [22:35] ? [22:36] It's perhaps worth noting that this comes into its own and is only really relevant when viewing the graph of a repository - i.e. many heads to the graph