[00:00] jelmer: I'm happy to put the effort in but I need clarity [00:00] lifeless, not sure I follow [00:00] rousskov: good luck! I'll check backlog tomorrow to see how it played out for you. And hire a lawyer ;) [00:00] I am looking at http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#bzr-svn and http://bazaar-vcs.org/BzrForeignBranches/Subversion but am either not seeing it or I have a client or svn problem [00:00] lifeless, there can very well be a bug that's causing bzr-rebase to skip some merges unnecessarily [00:00] * LarstiQ goes to bed [00:00] FYI. I have to leave in 20 minutes. but I will be back. [00:00] jelmer: rousskov tried rebase --always-rebase-merges --new-nick [00:00] jelmer: he says it stopped setting the nick, and still skipped the merges [00:01] I can't see why it would stop setting the nick [00:01] sevenseeker, not seeing what? [00:01] lifeless, Well, you're the author of --new-nick :-) [00:01] jelmer: thanks :P [00:02] how to use an existing working copy... the example creates a bzr repo first then checks out [00:02] rousskov: can you edit rebase.py (~/.bazaar/plugins/rebase/rebase.py) [00:02] Sure [00:02] sevenseeker, just run bzr in the working copy [00:03] lifeless, I'm happy to help wrt the merge bug though, but I think I'm not more qualified than you to say anything about --new-nick [00:03] --- rebase.py 2009-01-15 06:07:29 +0000 [00:03] +++ rebase.py 2009-01-16 00:02:38 +0000 [00:03] @@ -177,6 +177,7 @@ [00:03] oldparents = parent_map[oldrevid] [00:03] assert isinstance(oldparents, tuple), "not tuple: %r" % oldparents [00:03] if len(oldparents) > 1: [00:03] + import pdb;pdb.set_trace() [00:03] additional_parents = heads_cache.heads(oldparents[1:]) [00:04] rousskov: then run the process as previously described, with "--new-nick --always-rebase-merges" [00:05] OK. [00:05] it will drop into a debugger, similar to gdb [00:05] at the merge revisions [00:05] n will step a line [00:05] s [00:05] do you want me to create another fake_upstream? [00:05] s will step into [00:05] rousskov: no, the fake upstream is fine [00:06] just a new fresh-branch [00:06] OK [00:06] bt will get a backtrace [00:06] print EXPR will print the expression [00:07] jelmer: ok, so I want to not only use bzr on the checkout but in essence branch that workingcopy too, can I safely initialize a bzr repo on top of a svn working copy? [00:07] jelmer: btw, I appreciate your help and clues :) [00:07] rousskov: when it stops the first time, I'd like to identify if its one of the revisions that was being skipped [00:07] so 'p oldrevid' [00:08] sevenseeker, not sure I follow. You can create a bzr branch based on the working copy by running "bzr branch " [00:08] then in your BADBRANCH run bzr log --show-ids, and grep for the revid [00:09] Is it bzr branch $badly $fresh [00:09] yes [00:09] Or bzr branch -r $THATNUMBER $badly $fresh [00:09] the former [00:09] OK [00:10] bzr branch $badly $fresh [00:10] cd $fresh [00:10] bzr rebase --new-nick ../fake-upstream [00:10] except with --always-rebase-merges added [00:11] OK. I am in the debugger. [00:11] p oldrevid [00:12] OK. I did the grep in $badly. [00:13] Found parent and revision IDs [00:14] Found two matches: parent and revision-id [00:14] look at the revision with that revision id [00:14] jelmer: we use svn and I want to use bzr for local changes, but I want to branch our trunk... I am getting this http://paste.lisp.org/display/73676 [00:14] (if you didn't get context, you might prefer less and a search in the output) [00:14] when I run: bzr branch [00:14] or bzr log -r rev:$REVISIONID [00:14] sevenseeker, that's a bug fixed in the 0.5 unfortunately [00:14] oic === dereine is now known as dereine[OFF] [00:15] I have context. [00:15] is it one of the merges that were getting skipped? [00:15] sevenseeker, it should be possible to work around it by using "bzr branch " [00:16] would bzr URL be (since it is non existent on my box) something like file://foo/spam/eggs? [00:16] lifeless, no [00:16] It is a change on a $badly branch [00:16] sevenseeker, no, it can be a local path [00:16] awesome, thank you I will try that [00:16] rousskov: then you're looking at a child of the revision [00:17] rousskov: please do bzr log -r rev:$REVISIONID instead [00:17] You are right, sorry. [00:17] I looked at parent match, not revision-id [00:17] thats ok [00:18] The revision-id change was indeed skipped, I think. [00:18] ok good [00:18] It is a merge from a parent branch. [00:18] now we try to figure out why it is being skipped [00:18] what does 'p skip_full_merged' show [00:19] FYI. I only have a few minutes [00:19] ok [00:19] False [00:19] when you need to go, go. But this is stuf I can't reproduce [00:19] I understand. [00:19] ok [00:19] hit n ENTER [00:20] keep doing that until the line it shows is [00:20] -> parents = [new_parent] [00:20] if parent in additional_parents and parent not in parents: [00:20] -> if parent in additional_parents and parent not in parents: [00:20] jelmer: seems to have worked, I will be working on it tonight and see for sure... thank you very much [00:21] 'p parent' [00:21] 'pp additional parents' [00:21] 'p parents' [00:22] pastebin that if you can, it won't disclose the nick we're removing [00:22] go around the for parent in parents loop using 'n ENTER' [00:22] oh never mind [00:22] I see the bug [00:22] jelmer: bad code is bad :) [00:23] thats rousskov [00:23] * rousskov crosses fingers [00:23] jelmer: please look at the loop: summarised as 'for parent in parents: parents.append(parent)' [00:23] jelmer: shouldn't that be 'for parent in oldparents: parents.append(parent)' [00:26] lifeless, do you want me to make that change and retry? If yes, what do I do with the current debugging session? I do not want to corrupt repository by killing something in the middle of an update... [00:26] lifeless, I will try follow your future instructions in about an hour. Thank you. [00:28] lifeless: yeah, I think so [00:28] thumper: woo [00:28] let's go [00:30] poolie1: OK === kiko-phone is now known as kiko [00:35] rousskov: I will write a test case for this [00:36] rousskov: and if it fixes it you should be able to just pull in the changes [01:01] jelmer: whats the bug number I'm fixing? [01:08] thumper: https://bugs.edge.launchpad.net/bzr/+bugs?field.searchtext=upgrade&orderby=-importance&search=Search&field.status%3Alist=NEW&field.status%3Alist=INCOMPLETE_WITH_RESPONSE&field.status%3Alist=INCOMPLETE_WITHOUT_RESPONSE&field.status%3Alist=CONFIRMED&field.status%3Alist=TRIAGED&field.status%3Alist=INPROGRESS&field.status%3Alist=FIXCOMMITTED&field.assignee=&field.bug_reporter=&field.omit_dupes=on&field.has_patch=&field.has_no_package= [01:08] blaaaaah [01:11] jelmer: bug 266897 fixed [01:11] Launchpad bug 266897 in bzr-rebase "bzr-rebase loses merges" [High,Triaged] https://launchpad.net/bugs/266897 [01:11] lifeless, cool [01:11] rousskov: when you return, cd to ~/.bazaar/plugins/rebase, bzr revert, bzr pull [01:12] rousskov: then repeat the test - make a new fresh branch, cd to that, bzr rebase --new-nick ../fake-upstream [01:12] rousskov: you do *not* need --always-rebase-merges [01:12] jelmer: https://code.edge.launchpad.net/~lifeless/bzr-rebase/dev [01:13] jelmer: I'd really like to be able to rebase when there is nothing new to pull in [01:13] jelmer: to allow rebase to support just doing edits like this [01:13] lifeless, that should already be possible [01:13] jelmer: no, it complains/errors [01:13] jelmer: replay gave spurious conflicts [01:13] lifeless, if you are already up to date to master, it will just pull [01:14] jelmer: no, wrong graph case [01:14] jelmer: imagine that master hasn't changed [01:14] jelmer: and you object to the concept of rebase-to-do-a-pull because it turns tested code into untested code [01:15] :) [01:15] jelmer: anyhow, if master hasn't changed, but you want to cause a rebase to be executed, it refuses [01:15] lifeless, yes, why would you want to rebase in that case? [01:15] you have to do a commit to master - a no-change commit - to force it to rebase [01:15] jelmer: I have several use cases. This nick editing is one of them [01:15] lifeless, I don't think rebase should be a generic history patching tool [01:16] jelmer: another is to combine two revisions out of the set being rebased [01:16] jelmer: a third is to exclude a revision [01:16] jelmer: its all part of the overall rebase -i stuff [01:16] lifeless, That doesn't make any sense until -i is implemented [01:16] chicken and egg [01:16] right [01:17] so it makes sense now [01:17] its just that its not very useful until -i is implemented [01:17] sure [01:17] anyhow [01:17] I'm not asking that it rebase by default when there is nothing new on master [01:17] just that there be some way to say 'trust me and JFDI' [01:22] lifeless: Happy to merge a patch that implements a --force-rebase or something like that, although I don't see the point in just generating new revision ids [01:23] jelmer: sure, neither do I unless some other change is actually occuring [01:24] jelmer: I'm at a bit of a loss about how to make a --force-rebase option though [01:25] lifeless: I think it shouldn't be a separate option perhaps, but an implicit part of -i (which would need a separate generate_..._plan() function, etc) [01:27] je well it would have been useful for rousskov here [01:29] lifeless, ah, you mean for --new-nicks ? [01:29] yes [01:29] I see rebase mostly as a tool for shaping the graph, not one that changes the actual contents of revisions [01:30] which *is* implemented [01:30] not sure I follow? [01:30] what is implemented? [01:30] new-nick is implemented :) [01:30] anyhow, I think there is such overlap in shaping the graph and setting content that we shouldn't write two tools [01:31] I think the UI from rebase is confusing if people are using it for other things than rebasing on a master branch [01:32] If you want to fix up a couple of revisions, you don't need the concept of a master branch at all [01:32] well [01:32] we need these fixup capabilities [01:32] common requests: [01:32] edit revision metadata [01:32] delete badly added files [01:33] split out history when a project is factored out [01:33] I agree we need the fixup capabilities, I just don't think rebase should be the answer. [01:33] We need a separate tool that can apply specific modification commands to a range of revisions [01:34] why? [01:36] because rebase is aimed at rebasing revisions of one branch onto a master branch, it's UI has the notion of a current branch and an upstream branch on top of which everything is done. [01:36] well bzr has that concept itself [01:37] It's confusing that people would need two branches if they are just trying to fix a couple of branch nicks [01:37] I don't see it being an issue [01:37] Also, if we're going to end up making rebase the place to rewrite the contents of revisions, it will grow horribly complex (in code as well as UI) [01:37] anything that rewrites contents will contain all of rebase [01:38] except for [perhaps] some of the plan generation [01:39] lifeless: Executing the plan would be different [01:39] jelmer: not much [01:39] lifeless, since rebase can just do a merge, but in other situations (changing the conents of the revision) this is not sufficient [01:39] jelmer: I think you are 'borrowing trouble' [01:40] lifeless, I don't see there's a significant amount of code that can be shared between rebase and e.g. a tool that removes a directory from a range of revisions [01:41] lifeless, borrowing from where? [01:41] jelmer: they both need to plan out what will be done to allow recovery; they need to assign new revision ids, they need to preserve merges, they need to setup a working tree for each output revision and do a commit [01:41] jelmer: this is *identical* [01:42] jelmer: the only difference is that an edit needs to occur to the tree before the commit [01:43] lifeless: preserving merges isn't a problem if you're not changing the graph [01:43] lifeless, Setting up the working tree is trivial, it's a simple revert. [01:44] jelmer: look, if I put up a merge you object to, we can talk about it [01:44] right now we're arguing about whether it conceptually fits, and we clearly don't agree about what work the code has to do [01:44] I'm not working on arbitrary editing at the moment [01:44] so the only thing I care about right now is whether the new-nicks patch is acceptable [01:46] lifeless, I think the discussion about the concepts is important. I object to the new-nicks patch because it's changing the revision contents, not the graph shape. I really think that should be a separate command. [01:46] jelmer: ok; I'll fork rebase then I guess [01:46] jelmer: because I don't want to reinvent all the useful stuff in rebase [01:47] lifeless: Uhm, what about just adding a separate command provided by the rebase plugin? [01:47] jelmer: I don't understand, it would be a complete copy and paste [01:48] lifeless, 1 conflicts encountered. Should I resolve and continue-rebase? [01:48] jelmer: rebase already changes the contents of revisions - thats what it does because it pulls in changes at the middle of the graph [01:48] rousskov: yes please [01:49] rousskov: continue-rebase --new-nicks I think [01:49] rousskov: I deliberately avoided recording new-nicks in the plan, because I wanted to be minimal [01:50] Sigh. Too late. I ran rebase-continue without --new-nicks [01:50] * rousskov will redo. [01:51] rousskov: hmm, I need to add the option [01:51] one second [01:52] lifeless: it would just take a simple revision range, much like replay and not have any of the other arguments, not pull rather than rebase if master was an ancestor of the current tip, etc [01:53] jelmer: well I thought replay would be appropriate [01:53] jelmer: but it caused conflicts for rousskov; so I figured there was something wrong there [01:53] lifeless, but I see signs of progress: everything got merged and I have a mixture of old and new nicks, as expected. [01:54] well, rebase is causing conflicts now as well. [01:54] jelmer: I mean, rousskov's use case should just have been 'branch from the start point; replay --new-nick BADBRANCH' [01:54] jelmer: but it conflicted, which is weird [01:54] lifeless, I think replay would be much more appropriate than rebase [01:54] jelmer: I added new-nick to replay as well [01:55] jelmer: I don't see why it shouldn't be in rebase, its valid to want to new-nick *and* rebase-on-master at the same time [01:55] rousskov: pull again please, rev 117 should give you a continue-rebase supporting --new-nick [01:56] OK. Will redo, specifying --new-nick with continue-rebase. [01:56] jelmer: I also think there is some conflation in our discussion; I haven't been referring to the plugin throughout, not to the specific command [01:57] jelmer: except for about 3 statements [01:57] lifeless: Sure, and perhaps you might want to insert a new revision in between some of the revisions you're rebasing. That doesn't mean it has to be part of rebase. [01:57] lifeless: Your patch does add --new-nicks to the rebase command, so I think it's relevant. [01:57] especially since replay is hidden at the moment [01:58] jelmer: it does, because replay is [I assumed erroneously] conflicting; but as rousskov says now that rebase is handling merges correctly t is conflicting as well [02:00] lifeless: So it makes most sense to me to have a new command "bzr filter-revisions" or something that can take an awful lot of command-line options and will just apply them to each of the revisions specified. [02:01] jelmer: if you want me to remove --new-nick from cmd_rebase, I'll do that, but I think its unhelpful to do so because these transforms are not as separate as I think you think they are [02:01] . o O ( success! ) [02:01] rousskov: excellent [02:01] rousskov: sorry I didn't reply to your december mail : I was on leave then [02:01] and didn't see it till now [02:02] lifeless, not separate in what regard? Separate from graph changes? [02:02] yeah [02:02] lifeless, jelmer, Thanks for all the help. [02:02] I find users tend to want several different changes all at once [02:02] rousskov: no problem [02:03] lifeless, next time folks complain that bzr does not work well on Windows, I will skip a round. :-) [02:03] hah [02:04] So I now have about 10 useless branches. Is there a better strategy than "rm -rf" to get rid of them completely? [02:04] unless you plan to rsync the entire repo somewhere public, I suggest you just rm -rf and ignore them [02:05] they won't propogate unless they are referenced [02:05] Does not plan to rsync [02:05] and they will be nearly trivial in disk space [02:05] OK. I am not going to suggest that there should be a branch removal command :-). [02:06] we're going to add one, for remote server access [02:06] but it won't delete the content immediately [02:06] there is a plugin that can do that I think [02:06] resurrecting old content can be very useful [02:06] and the planned gc command will be a generic cleanup-my-repo tool [02:07] * rousskov nods. I am just thinking of folks committing really top-secret-stuff by mistake (I was not). [02:07] rousskov: yeah. Its because of that that unreferenced content is not propogated [02:08] How does repo know what is not referenced if I just rm -rf a checked out branch? [02:09] the branch has a pointer in it [02:09] the branch tip, and the tags, are refs into the repository [02:09] Sure, but I removed the branch. Is there a pointer from repo to the branch? [02:10] no [02:10] branch foo bar; rm -rf bar. [02:10] yup [02:10] How will repo know that bar is not referenced? [02:10] well, 'bar' had the same refs as 'foo', because you took no actions on the branch after making it [02:10] so there isn't anything that is not referenced [02:11] branch foo bar; bzr commit -m 'new' bar; rm -rf bar [02:11] OK. Let's assume I committed to bar before rm -rf. [02:11] that would create a new revision in the repo [02:11] How would repo know that this new revision is not referenced? [02:11] the repo can tell its not referenced by gathering all the refs, then walking the graph; anything in the repo not found by the walk is unreferenced [02:12] I still do not see how repo will distinguish between me running "rm -rf" and "echo rm -rf" in some random directory that it does not know about. [02:13] I guess my definition of "referenced" is wrong. [02:13] rousskov: perhaps [02:13] the branch has the reference [02:13] if the branch isn't there, there isn't a reference [02:13] But repo does not know that the branch is not there. [02:13] yes it does [02:14] the branch is contained within the repo if it is using it for history storage [02:14] Are you saying I should do rm -rf *in the repository*? [02:14] rousskov: no, just the branches you don't want [02:14] But in the repository? [02:14] rousskov: wherever the branches are [02:15] rousskov: I don't know where that is related to any repositories you may or may not have :) [02:15] Repo is in /home/rousskov/programs/bazaar/repos/squid/ [02:15] Branches are in /home/rousskov/Edit/squid3/ [02:16] All the commands you told me were executed in the second directory. [02:16] with that layout, you probably aren't using the repository for history storage at all :) [02:16] which is fine [02:16] But each branch command creates something in the repository. [02:16] rousskov: does it? [02:16] Should I rm -rf that something? [02:17] lifeless, it sure does! [02:17] rousskov: by something, do you mean a directory under /home/rousskov/programs/bazaar/repos/squid/ ? [02:17] One directory per branch [02:17] Yes [02:17] with the basename of the branch ? [02:17] Yes [02:17] ok, they are the branches [02:17] * rousskov ducks [02:18] you probably also had copies of the branches in Edit [02:18] So I should remove both with rm -rf, right? [02:18] yes [02:18] rm -rf anything with the name of the temp branches you were working with [02:18] Is my layout wrong? I thought I followed Squid3 instructions when setting this up. [02:19] I think its fine [02:19] its a little confusing when you use bzr's purest capabilities, because you're in the emulated cvs mode [02:20] Am I using bzr purest capabilities? [02:20] somewhat [02:20] Like --new-nick? [02:20] well new-nick was created for you :) [02:20] by purest I mean working in fully distributed mode [02:21] if there isn't an explicit repository bzr just creates one inline in the branch object [02:21] anyhow [02:21] And I am emulating CVS because I keep repo separate? [02:21] yes [02:21] I see. [02:22] it just means that how you see bzr work everyday isn't its default mode [02:22] its fully supported and I use it in that way for squid myself [02:22] (the way you do) [02:23] It also means I confuse bzr gurus when talking about branches that are actually branch copies. [02:24] or branch references [02:24] note that all the commands worked [02:24] the only confusion occured at the end when talking about cleaning things up:) [02:24] food time, bbs [02:25] Thanks again. [02:40] jelmer: I'm not against having a filtering specific command, but I think it really would just make rebase and replay into shims [02:40] there are other options already present on rebase that control what content changes happen [02:41] (always-rebase-merges is one) [05:01] jamesh: is that actually true that smtp through gmail doesn't file it as sent? [05:01] hrm [05:01] poolie1: I don't think it does. [05:02] iirc it is just an SMTP server [05:02] it is usually up to the MUA to store sent messages [05:02] yes, but this is magic [05:02] it does store it [05:03] i just tested [05:05] hmm. I'd tried this out in the past, so either I didn't notice it storing copies (as the MUA I used did so) or it has added the magic since then [05:05] it might be that if your mua also writes into Sent it de-dupes them [05:05] it does seem to do that pretty aggressively [05:06] also the sent message is marked as read [05:06] right. [05:06] so it's easy not to notice it [05:07] well, it was a pretty quick hack and does let you defer sending the message [05:07] yeah [05:07] it's very useful and a clever hack [05:08] but... Pedantical :-) [05:08] dot com === sdboyer__ is now known as sdboyer === thumper_laptop is now known as thumper [05:51] kfogel, poke [05:52] pygi: perk [05:52] kfogel, you have mailz! [05:52] probably not very useful atm, I'll make sure to write something more detailed tonight if it'll be of any use [05:53] pygi: see my response :-) [05:53] kfogel, afaik it'll be available as e-book, yes [05:54] kfogel, I could probably send you a TOC if you wish? [05:54] pygi: e-book under an open license (one that will permit us to remix, etc)? [05:54] That would be *terrific*. [05:54] kfogel, no :/ [05:54] pygi: who is publisher? [05:55] Packt Publishing [05:55] pygi: hmmm. Have you asked them about doing a CC-BY or CC-BY-SA license? [05:55] many publishers are willing these days [05:55] O'Reilly does it *all the time*, it doesn't seem to hurt sales. [05:56] (I think it probably increases sales, at least for some books, in fact.) [05:56] O'Reilly isn't interested in a bzr book tho :) [05:56] but that doesn't matter really :) [05:57] pygi: no, I just mean as a point to tell Packt. [05:57] kfogel, nop, we haven't asked them to publish the book under an open licence [05:57] pygi: are they not interested in printing one, or not interested in paying an advance for one? [05:58] jamesh, they're not interested in bzr right now, because DVCS is not that big of a market, and they're already covering git [05:58] pygi: what I'm getting at is that, for our purposes, a book will have zero impact on bzr adoption if it's not free online. Because for someone to buy a book, they've already made the decision -- they're making an investment in bzr. We need to provide materials to get people to that point, *before* they buy a book. One great way to do this is to have the book be open. Then they can poke around investment-free. [05:59] pygi: Would you like to ask them? Personally, I can tell you that making my book open (producingoss.com) was the best decision I ever made about that book. It has become much more popular than it ever could have been otherwise. Plus, I got free translations out of it! Some of which are now being published. [05:59] kfogel, I can understand that [06:00] kfogel, I'd need to talk (again) with Szi and Jon about that, but asking isn't a problem [06:00] pygi: I don't mean to be a downer, but: don't even think about royalties. You're not going to make any more than the advance on this book (you probably already know that). The benefit is really to your reputation. In which case... having it circulate more freely == more benefit. [06:00] kfogel, haha, no, I'm not thinking about royalties [06:00] they SHOULD make a bzr book :( bzr is so awesome [06:00] I suppose O'Reilly has all that web 2.0 money though, so doesn't need to make a profit from selling books any more [06:01] Toksyuryel, we're on it ;) [06:01] pygi: cool, talk w/ Szi and Jon and see what they think. If they'd like to talk to me about what it did for ProducingOSS, I'd be happy to talk about it. [06:01] pygi: but http://producingoss.com/translations.html will give you some idea :-). [06:01] kfogel, I've sent you a mail that has TOC btw [06:01] kfogel, hehe :) [06:01] yea, I have that book, google bought me one :p [06:02] pygi: oh, heh! Prolly has my signature in it, then. [06:02] aha [06:02] you would think that the official RCS of choice for the GNU project would catch the attention of the O'Reilly people [06:02] maybe it's too much of a moving target still though [06:03] Toksyuryel, its just that git is much more widely used [06:03] and linux kernel ofcourse is git [06:03] Toksyuryel: they didn't do a book about Arch either, when it was the official RCS of choice for GNU [06:03] I think Bazaar will have to work on its own merits [06:03] I thought Arch was a distro [06:03] and even the Git book isn't too big (I think 200 pages, I'd need to look) [06:03] Toksyuryel, arch linux is a distro :) [06:03] (and it shouldn't have any trouble there) [06:03] well, git NEEDS a book to even understand it [06:04] Toksyuryel: http://www.gnu.org/software/gnu-arch/ [06:04] it is written in some kind of goofy alien language [06:05] kfogel, if we end up actually doing that, I'll include you in conversation with Packt, if it'll be needed [06:06] I don't think "the linux kernel uses it" should be a metric really... they used bitkeeper for a while remember. plus I think linus is still anti-gpl3 [06:06] pygi: great. Note that I can be much more diplomatic and calm than I was here in IRC tonight (I figured with you I could just be very direct). [06:06] :-) [06:06] Toksyuryel, tons of projects adopting git is a metric tho :) [06:06] kfogel, haha :D [06:06] pygi: that makes me cry :( I really broke down in tears when I saw that perl had switched to git [06:06] Diploma... IRC... what? [06:07] fullermd, the cheese [06:07] Mmm, cheese. [06:07] we need better PR for bzr. gotta get more buzz out there [06:07] how to do that though? [06:07] Toksyuryel, just have patience :) [06:07] The early bird catches the worm, but the second mouse gets the cheese. [06:07] fullermd: that's a good quote [06:08] * Toksyuryel writes that one down [06:08] * fullermd can't even remember the first time he heard it. [06:08] The first step to better PR is to make every large project's first reaction not be "Holy crap, this is slow" [06:09] there is a limit to how much speed you can squeeze out of python. and last time I brought up the notion of switching to C there were a lot of groans :P [06:09] kfogel, ok, if you'll have any questions about TOC; please shout ... gotta do some work now :( [06:09] I have to say, I haven't experienced speed problems so far. [06:09] pygi: will do (haven't seen email yet, am working on something else) [06:09] True, but there's hg sitting right there laughing at the idea that C is needed to be $LOTS faster than bzr. [06:10] bzr's speed comes not from its code execution but from its ease of use [06:10] fullermd: I too am skeptical that C vs Python is a major factor here. [06:10] A lot of things are slower, but the network is what really kills you. [06:10] you spend a lot less time fumbling with it than you do with other rcs [06:10] Toksyuryel: a number of the places where bzr feels slow, the CPU isn't pegged [06:10] And really, bzr [last I looked, anyway] utterly creams hg and git over dumb servers. Neither of them seem to go for much more than "OK, works" in that case. [06:11] that can indicate that the interpreter speed isn't the issue [06:11] But they both have good smart servers. bzr... er... well, it HAS a smart server... [06:11] bzr's dumb server is as smart as its smart server :P [06:11] kfogel: We typically get a 30-60 percent time reduction when we pryex inner loops [06:12] The smart server has historically been a really GOOD dumb server. Actual smarts are slowly trickling in. [06:12] But still. I wish the VFS layer on it had never been written. [06:12] kfogel: I think we could get a further 50 percent redution on the output with real C and not refcounted memory-scattered structs [06:13] lifeless: wow. But the big question is, on what operations is this the case? [06:13] One way to look at it is that we're in a way better performance position than hg or git. [06:13] fullermd: ? [06:13] Because we have both there; we KNOW things can be radically faster. And we can even tear them apart and see how. [06:13] We don't have to look at things and think "Yeah, that sucks... but I don't know if it can really be made faster" [06:14] kfogel: status, sequence matching, local dirstate parsing, knit index parsing [obsoleted], B+Tree index parsing (in 1.9 and newer formats) [06:14] fullermd: mrm. I don't get the feeling that either git or hg developers ever say that to themselves :-). [06:14] Well, no. That's why we're in this position ;p [06:15] python is very fast at adhoc stuff, but C is maaaassively faster when used end to end [06:16] converting the codebase would take quite a while though [06:16] I get the feeling that bzr is still in something of an experimental phase where they are still trying features and looking for the best way to handle things [06:16] like the constantly changing index format [06:17] it is easy to quickly impliment that stuff for testing in python [06:17] Toksyuryel: there are no plans to convert all of the code base [06:17] once the codebase settles down, I think is when a potential conversion to C should pop up on the radar [06:18] Toksyuryel: there is significant community attraction to being python [06:18] it's a nice buzzword, sure [06:18] Toksyuryel: we already have C extensions for inner loops [06:18] Toksyuryel: its not a buzzword; I started a thread about this in uhm, september or october [06:19] we're experimental in the sense that we continually reevaluate what we have and look for improvements; there are some areas that are more in need of such improvements than others [06:20] lifeless: I am not suggesting that the experimental nature is a bad thing; it is one of the things I love about bzr [06:21] good! [06:21] but there is some confusion out there about what it means [06:22] Toksyuryel: so, code in C often runs faster than code in Python, but code in Python is usually easier to change. [06:22] if you know you've got the fastest possible algorithm and data structures, then converting to C might be a good idea if speed is a problem. [06:22] if you've using the wrong algorithm, fixing that problem can speed things up more than a Python->C conversion would [06:23] so starting from Python code is a plus there. [06:24] jamesh: that's my point [06:25] Toksyuryel: one problem is that it is difficult to tell whether you're code has settled into the best possible algorithms. [06:26] someone might come up with something faster, or external matters change requiring changes in the project [06:26] jamesh: well I can say with certainty that a new release every month is not "settled" :P [06:33] kfogel, wake up [06:33] pygi: ? [06:33] pygi: (just about to go to bed, actually) [06:33] kfogel, is the only reason you think it doesn't solve the problem its non-openess, or because it doesn't include what you imagined? [06:33] pygi: both, but mainly the latter. [06:34] kfogel, well, we can obviously fix that [06:34] but I'll let you go to bed I guess, so poke me when you want to talk [06:34] pygi: a bzr book is a great thing. But newcomers don't want a book (they just want to know that one exists!). What they want, when evaluating bzr, is something that says "Yes, you can accomplish your familiar task XYZ using bzr, and here's how." [06:35] pygi: if you tried to make the book solve this problem, that would only ruin the book :-). [06:35] :P [06:35] pygi: ok, good night for real. See you later! [06:35] kfogel, ok, ok [06:35] night [06:38] uisn't the cheatsheet that? [06:39] lifeless, obviously, not in a connected, workflow-like way? You'd have to ask kfogel :p [06:43] have a good weekend [06:44] thanks, the same :) === thumper_laptop is now known as thumper [07:06] min 0.00234603881836 [07:06] max 0.0709958076477 [07:06] avg 0.00280290386045 [07:06] times to extract a single inventory text with in-memory index and hot cache [07:11] min 0.00236701965332 [07:11] max 0.0570821762085 [07:11] avg 0.00280372190905 [07:11] dev 0.00103978222127 [07:11] std dev added [07:14] poolie1: ^ [07:33] hi all [07:40] lifeless: hi [07:50] $ bzr compressbench [07:50] Raw size 3461880213 [07:50] Compressed size 141152371 [07:50] durations: [07:50] min 0.00240206718445 [07:50] max 0.0537631511688 [07:50] avg 0.00287260593959 [07:50] dev 0.00104769617119 [07:50] per_k_times: [07:50] min 5.22243953561e-05 [07:50] max 0.00116888823111 [07:50] avg 6.24545846438e-05 [07:50] dev 2.27784216077e-05 [10:10] lifeless: how is the compression going? rob still swoons everytime he hears "group compress" === asac_ is now known as asac [11:45] I have branch foo (upstream code) and foo.deb (packaging for .deb); I had to do a bugfix release without doing a new upstream release, so I did bug fixes in foo.deb; what's the best way of merging only the changes that affect upstream to foo? [11:52] would merging the foo.deb branch into foo, but removing debian/* before committing work ok? [11:54] I believe so [11:55] hmm, if I do that, then merge into foo.deb again, debian/* gets removed, which is undesireable [11:56] but if you run "bzr revert debian" when merging back it should resurrect, no? [11:56] that might mean that it will try and add debian to foo again next time you merge [11:57] you know, it's really nice to be able to test these things without committing to a central repository and ruining everyone's day :) [11:57] ah, if you merge .deb to foo, rm debian, commit, merge back and "bzr revert ." then commit it may do the right thing [11:57] i.e. do a "null merge" back straight away [11:58] yeah, that seems to work [11:58] thanks! === kiko is now known as kiko-phone === kiko-phone is now known as kiko-fud [14:39] LarstiQ: ping [14:45] Jc2k: pong [14:47] LarstiQ: are you the one to speak to about bzr-hookless-email? [14:47] Jc2k: I mentioned it on the mailing list, so I guess so :) [14:47] Jc2k: I've only recently taken over maintenance, but shoot [14:48] LarstiQ: cool, i'm looking at making a more generic version and didnt want to turn up with it out of nowhere [14:49] Jc2k: what are you thinking of? [14:49] what i want to do is have post-commit and post-change-branch-tip hooks, but outside of the bzr instance that actually commits [14:50] right, that makes sense [14:51] i have a test script (with tests) that does this, but its seperate to bzr-hookless-email atm [14:52] there are some unanswered issues though - like i dont really want to use Branch.hooks[] because they would end up getting run by the bzr instance that lands the commits and by the script that is scanning [14:52] but at the same time, it would be nice if things like bzr-cia could 'just work' for both modes of operation.. [14:55] LarstiQ: and of course, bzr-hookless-email would then be the wrong name: it would be all about the hooks and it wouldnt just be about email :p [14:55] you could define a new hook point, and each plugin could register in both? [14:55] or you could extend the API somehow [14:56] james_w: the main problem with the 1st is each plugin would have to be aware of both entry points and have configuration foo to only fire from one of those [14:57] i had thought about new hook points that defaulted to firing from the existing hook points, but which could be fired externally 'after the fact' if you install this plugin [14:57] Jc2k: I'm willing to work on this [14:58] Jc2k: would you mind replying on the mailinglist stating your intention? [14:58] okie dokie. i'll push the play branch i have too. [14:59] cool === kiko-fud is now known as kiko-phone [15:29] is there a good doc somewhere for "how to land a feature branch" ? [15:31] http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#sending-changes <-- looking at that [15:32] LarstiQ: mail sent, with a stupid typo :( === tchan1 is now known as tchan [16:07] Jc2k: thanks === thekorn_ is now known as thekorn [16:48] here we go... http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#merging-a-feature-into-the-trunk === You're now known as ubuntulog === dereine[OFF] is now known as dereine === dereine is now known as dereine[OFF] [18:13] hi, I'm trying bazaar but it seems tortoisebzr does not work correctly on XP64. Not getting the add/diff/etc menus, works fine from the console. Is this a known problem? [18:13] delaney: I think that's supposed to be fixed in the latest version [18:14] 1.11? [18:14] rc [18:16] deepjoy, yeah === dereine[OFF] is now known as dereine [18:17] Well if I init from command line I can add etc, but if I init via tortoisebzr it does work [18:17] get bzr: ERROR: No WorkingTree exists for " [18:18] not sure then, sorry [18:18] heh, actually I'm getting it with a second right click... weird, that has to be a bug. [18:20] But still no option to add. [18:20] thanks anyways jelmer === dereine is now known as dereine[OFF] [19:24] I wanted to ask: there is a lot of progress on some features like stacked branches, views etc in recent bzr versions. But are there any plans to get bzr's speed closer to git? [19:26] mib_2nb27u: I regularly wonder about that too. Apparently the standard answer is that bzr is pretty fast already (and it keeps improving), *apart* from startup time. [19:26] And startup time seems to be mostly Python's fault. [19:27] Does it mean that hg is equally slow? [19:27] Various strategies are being tried to mitigate that. [19:27] No idea, I don't know hg :-) [19:27] I thought that hg is almost equal to git [19:28] (I hope I didn't talk too much rubbish) [19:31] Are there any known chunks of code in bzr that could be optimized to get better performance or bzr already hit maximum performance allowed by current on-disk format? [19:32] I don't know myself, but maybe others do. [19:33] Plenty probably. [19:34] It's just mostly not a matter of "rewrite this function so it's faster", so much as "redesign the numbers, responsibilities, and positionings of abstraction layers". [19:35] Anyone know if nested tree support will land this year? It's the only SVN feature that makes me jealous [19:35] so this speed problems is derived from design of bzr and to make it comparable to git, bzr must be rewritten? [19:36] Why then all this new features are being added into flawed codebase? [19:37] I guess it's because there are people adding features and others working on speed. It's not an either/or case. [19:37] it's now flawed, it's called extensible [19:37] kumi, the year is still young, all dreams are possible :-) [19:38] mib_max: welcome on the channel, we appreciate your enthusiasm [19:38] speed improvements aren't that visible (going from 100x times slower to 50x times slower than git is very good, but ...) [19:38] bzr is layered so that some features can be added while other layers are rewritten for better performances [19:39] s/added/& in some layers/ [19:39] vila, and are there any plans to stop adding new features and make previous usable performance-wise [19:40] Why stop adding features? [19:40] mib_max: no, that's more fun that way [19:41] Lo-lan-do, to make old features usable? [19:41] People who add features are not necessarily the ones able to improve performance anyway. Stopping them from adding useful code would be counterproductive, right? [19:41] seriously, this is a free software project, different people have different aims [19:41] Lo-lan-do: exactly [19:42] Many bzr users are perfectly happy with the actual performance [19:43] of course, but I though that bzr is Canonical sponsored project and there are some developers working on it from Canonical, right? [19:43] I personally have problems with performance for one project, but for most of my daily usage, performance is not a concern [19:43] mib_max: and Canonical also ask for features with priorioties higher than performance (AFAIK), so what ? [19:44] vila: It sometimes is, for me. Emacs has decided to ask bzr whether a file is up-to-date whenever I open it, which means a one-second delay everytime I open a file. It gets boring after a while. [19:44] Lo-lan-do: is that vc.el related ? === kiko-phone is now known as kiko-afk [19:45] vila, is it so? I thought their goal would be to make bzr use as wide as possible, but most projects switches to either hg or git, because they are much faster [19:45] vila: Possibly. How can I check? [19:46] mib_max: I don't know the internals of Canonical so I can't speak for them [19:46] vila, and another question: doing "bzr branch lp:bzr" is quite slow for me, I believe mostly it is because it is downloading 96Mb repository for 15Mb project [19:46] Lo-lan-do: I'm using emacs myself and I don't have the problem, what's your version ? [19:47] that big size of repository is because of a lot of changesets or what? [19:47] mib_max: the initial branch may be slow but you're asking for it so I think I don't understand your problem [19:47] vila: 22.2.1 from sid [19:48] Lo-lan-do: 22.1.1 here, so I will have to use my 8-ball [19:48] mib_max: Try a lightweight checkout if you don't want the full history, or a stacked branch. [19:48] Stacked branch is for pushing, why are your branching bzr mib_max ? [19:48] the problem for me that repository size is about 10x of source tree size [19:49] Is branching bzr forbidden operation in bzr? [19:50] i think the bzr repository is in an older format? [19:50] mib_max: cool down, I'm asking about your expected needs to give you an appropriate answer :) [19:50] 96 ~= 6 x 15... [19:50] So what ? [19:51] actually it is 12, not 15, I will convert it to git and see how it will perform [19:52] vila, no problem here, I just thought that bzr is incapable of branching such big changests, e.g. I wasn't able to branch lp:mysql, it tooked too long and made me bored [19:52] this looks like regular trolling to me :) [19:52] vila, I believe bzr branch definetly needs to output some more information about how much it is downloading instead of just rotating | [19:53] i think trunk bzr does. [19:53] mib_max: try bzr.dev [19:53] :) [19:53] ? [19:53] I tried [19:53] it shows some corruption [19:53] Wait ! It's not performance related ! It's a feature ! *You* don't want it. Isn't it ? [19:54] No revisions to pull.] Pull phase 0/2 [19:54] It is performance related [19:54] it is so slow, that it needs to show that it is still working and not frozen [19:54] You mean your internet connection ? [19:54] "No revisions to pull.] Pull phase 0/2 " - output from ./bzr pull on latest bzr.dev [19:55] maybe [19:55] Care to check your CPU usage and network usage ? [19:55] It would be much better if bzr will tell me that it is downlading at XXX Kbps [19:56] i think trunk bzr does. [19:56] mib_max: try bzr.dev [19:56] it is not providing it me for pull [19:56] Will try for branch [19:56] Oh wait ! No, I have to write that for http :-) [19:56] It works for sftp only so far [19:57] it provides something for branch that is major good step here) [19:57] but I think better will be not copied "records" but bytes [19:57] And of course pull operation needs it too [19:57] What lp:bzr uses? http or sftp or bzr? [19:58] I'm sure your patch will be much appreciated. [19:58] mib_max: when did you try bzr branch lp:mysql ? [19:58] I tried to found pull.py, just as log.py but it is not there, where is pull output in source tree? [19:59] vila, what do you mean "when" if you want I could do it now [19:59] mib_max: please do so [19:59] the new progress stuff is swweeet. [19:59] using bzr.dev or bzr 11_rc [19:59] bzr.dev [20:01] time ~/bzr/bzr branch lp:mysql-server ................. [20:04] what lp: is using? sftp, bzr or http? [20:04] all of them [20:04] And IPoAC [20:05] btw, bzr.dev does branch much better, now I have some moving numbers on screen :) [20:06] time -p bzr branch lp:mysql-server so-what [20:06] Branched 2710 revision(s). [20:06] real 211.17 [20:06] user 38.37 [20:06] sys 47.93 [20:07] That includes building the working tree on a NFS mounted file system [20:08] I am doing it still [20:08] what is your internet connection speed? [20:09] 22Mdown/1Mup [20:11] 4Mdown/0.7Mup, so I will do it about 5.5 times slower [20:11] what is the size of .bzr in mysql? [20:11] du -sk .bzr [20:11] 680332 .bzr [20:12] as far as I can see lp: = bzr+ssh://bazaar.launchpad.net/ [20:12] 680Megabytes?? oO [20:13] But I use a shared repository which contains many more than just lp:mysql-server, so I didn't just download that :-) [20:13] Because you already had that revisions? [20:14] Ok I will Ctrl-C it [20:15] I had to download an additional pack file of about 7M containing the revisions I didn't have === mvo__ is now known as mvo [20:20] Ok. Another thing. Could you explain me some statements on http://whygitisbetterthanx.com/#cheap-local-branching [20:21] Is it true that bzr can do thit as easy as git and author of site is incorrect? [20:24] mib_max: time -p bzr branch lp:mysql-server so-what [20:24] Branched 2710 revision(s). [20:24] real 211.17 [20:24] user 38.37 [20:24] sys 47.93 [20:25] Sounds pretty cheap to branch a ~130M tree to me [20:25] and will certainly be faster if I was using a local FS [20:25] It is your old results. You cheated, having most of revisions locally) [20:25] you can also have one working tree and use 'bzr switch' to connect it to different branches [20:26] mib_max: I think luks was right [20:26] Download speed meter and reporter in bzr.dev makes it more clear that in that case internet is bottleneck [20:26] what lucks said? [20:26] luks* [20:26] Am I loosing messages? [20:27] Either you're trolling or you don't understand what you're talking about, you asked about cheap branching, not initial branching [20:27] I don't thaught that this repository will be 600M in size, bzr didn't told me that and was just rotating [20:27] *rotating | [20:28] Now in bzr.dev it makes much more sense [20:30] Branching mysql into a clean shared repository just took me: [20:30] real 911.39 [20:30] user 231.38 [20:30] sys 9.57 [20:30] Creating a local branch of the branch I just created took: [20:30] real 35.62 [20:30] user 4.19 [20:30] sys 2.08 [20:30] From hd or internet? I realized that in my case internet was bottleneck, sorry for complaints. [20:31] My first branching was from launchpad. I didn't have any revisions previously downloaded. [20:31] you have pretty fast internet access to lauchpad :) [20:31] mib_max: if you were using a standard bazaar workflow (shared repository, branches with no trees and one working copy) then you could do 'bzr branch foo bar' and it would be instant. inside the working copy you could do 'bzr switch bar' - any commits there would now be recorded against the bar branch. [20:32] Verizon fios (15MB down) [20:32] mib_max: you could then bzr switch foo and be back on the first branch [20:34] Jc2k, is it answer for the question about whygitisbetter? I understand what you said, but statement on that site made me thought that my understanding is somewhere flawed ;) site should be updated. [20:34] mib_max: which is why I did the bzr branch above, not to cheat, but to show that things doesn't have to be slow with bzr just because everybody repeat the meme [20:35] This channel is more about answering questions about bzr than doing advocacy for or against it or any other DVCS (at least that's my impression after a couple of years) [20:36] Ok. Ok. I apologise for complaint about slow branching from lp. bzr wasn't showing me that it is my internet connection that sucks. Bzr.dev got this nearly fixed so no problem here for now. [20:38] what tool I should use to view docs in bzr.dev/docs/developers ? It contains some includes ... [20:40] make docs; use $your_favorite_browser doc/index,htlm [20:40] make docs; use $your_favorite_browser doc/index.html [20:40] emerge docutils did the magic for make docs [20:40] thanks) [20:44] is performance-roadmap document from that directory outdated? [20:54] Are there any ways to read what was written during my connection loss? [20:55] what connection loss ? Ctrl-c ? [20:55] adsl provider breaking connection every 24h to do accounting [20:57] Oh my... spiv ! Here is a use case to retry hpss requests ! [20:57] mib_max: I don't think so [20:57] :) [20:58] mib_max: there is no general answer, were you doing a bzr branch ? [20:58] I am about IRC :) [20:59] no disconnection msg appeared here [20:59] I am using mibbit.com to connect to IRC [20:59] maybe their server was connected all the time [20:59] I see [21:01] Are there any updated performance_*.txt from doc/developer as ones in that dir talks about changes planned to do after 0.16, about switching from knit repo etc [21:03] mib_max: unfortunately no, some of the ideas described here have been implemented, some are working on, certainly all of them will be addressed at one point, but the document itself hasn't been updated [21:03] s/working/worked/ [21:04] is it possible for mere mortal to understand that topic and try to contribute to performance optimization of bzr? Any easy starting points? [21:06] mib_max: you're welcome, my suggestion will be to start running 'bzr selftest' first [21:07] second, go to launchpad and search for bugs tagged 'easy' or 'trivial' [21:07] what is tradition? are all tests to pass? [21:07] All commit on bzr.dev pass all tests on our gate keeper (nick pqm) [21:08] All submissions should pass all tests [21:08] 14 errors so far [21:08] What os ? [21:08] for example [21:08] ERROR: blackbox.test_remove.TestRemove.test_remove_one_deleted_file exceptions must be strings, classes, or instances, not exceptions.OSError [21:08] linux gentoo [21:08] here you go :-) [21:09] patch welcome ! [21:09] so you say that on your gatekeeper all tests passes? [21:09] python version ? [21:09] 2.5.2 [21:09] wow [21:10] ? [21:10] 2208/15811 in 3m28s, 26 err, 4 missing [21:10] That's very very surprising [21:11] im seeing quite a few "run() got an unexpected keyword argument 'verbose' [21:11] If you do 'bzr log --short' in your bzr working tree you will see all commits done on the Patch Queue Manager [21:11] All of those commits were done after a 'make check' [21:12] maybe some problems are because of execution? I execute bzr in bzr.dev working tree [21:12] mib_max: that's what I do many times every day : './bzr selftest' [21:13] actualy am using PATH/bzr selftest [21:13] "~/bzr/bzr selftest" [21:13] selftest should report which bzrlib is used and which python version is used in the first output lines [21:13] im seeing lots of loom related errors [21:14] Jc2k: loom.... shouldn't fail more than ... oh wait... if they are stacked branch related, the bug is known [21:14] it is using 1.12dev [21:14] 44errs so far [21:14] make check failed too [21:14] I think it is some problems with pyx files [21:14] http://www.mibbit.com/pb/iZYhA6 [21:15] maybe I built pyrex libs in a bad way [21:16] mib_max: sounds like a probable cause or a bad version of pyrex (I think we blacklisted one version of pyrex) [21:16] deleted *.so from bzrlib [21:16] now things are going better [21:16] I am using pyrex 0.9.8.5 [21:16] is it bad? [21:16] I don't think so, I think 0.9.8.4 had problems [21:17] what is recommended version? [21:17] did you run a bare 'make' ? [21:17] yes [21:17] I don't know, jam should [21:17] branching large branches with --stacking is awesome. Why don't we advertise that more? [21:18] beuno: because you do that better than us ? :-) [21:18] pyrex modules are causing problems [21:18] vila, what version of pyrex are you using? [21:18] vila, heh, maybe, maybe. I guess I'll need to blog! [21:19] mib_max: I don't use any because I run from the same sources for several OSes [21:19] but I'm not a good example :) [21:19] vila, so you are running selftest using only python modules? [21:19] vila, btw, I'd like to have a (voice) chat with you at some point about a few ideas around bzr-upload [21:20] beuno: we should try that this week-end (where are you this week-end ? Argentina ?) [21:21] vila, sounds good. I am in Argentina. We can ping-pong and see when both of us are awake and lucid [21:21] vila, how long does it usually takes to run all tests? [21:21] mib_max: locally yes, but in some branches under some OSes (mainly Ubuntu) I build them sometimes [21:21] mib_max: ~10/15 minutes in my case [21:22] But once you work on specific problems you don't have to run the whole test suite every time [21:22] There are different ways to select a subset of the tests [21:23] is it ok: /home/max/bzr/bzrlib/lockable_files.py:116: UserWarning: LockableFiles() was gc'd while locked warnings.warn("%r was gc'd while locked" % self) [21:23] Lockable file was gc'd while locked [21:23] I don't like it but it's not a test failure, just noise [21:24] And it is ok to have XFAIL with bug # attached? (known bug) [21:24] XFAIL == expected failure [21:24] ok [21:24] That's how we track some problems that are known but not yet addressed [21:24] yes it is what I thought [21:25] beuno: sounds like a good plan [21:25] are there any ways to run tests in several threads? [21:26] nothing automatic yet, this is discussed from time to time but nobody never did it (which is an indication that nobody really needs it) [21:26] But the test framework itself doesn't forbid it either [21:27] will it be x time faster to run it across x cores? If runned on tmpfs it is cpubound, right? [21:27] Most of the test addicts prefer to run the "right" test for the part they are working on and that generally run in seconds [21:28] s/the right test/the right testS/ [21:28] i see [21:29] running the full test suite is for when you do a break or switch to another task :) [21:29] or before submission of course :) [21:30] vila, btw what's the point of running selftest if I have no changes now and they all will pass, won't they? :) [21:30] The point is to make sure they all pass so that you know which one you break :) [21:31] And you just ran into that don't you ? [21:31] into what? [21:31] Into breakage of tests by bad pyrex? [21:32] yup, I think we had a bug here on gentoo and it will be helpful if you could file it on launchpad [21:32] s/we/had/we *have/ [21:32] gee [21:32] s/we had/we *have*/ [21:32] :D [21:33] As far as I understand gentoo doesn't use pyrex to build its own bzrs, it uses .c provided by tarball [21:34] mib_max: pyrex 0.9.6.4-1ubuntu1 on hardy [21:34] synchronicity :-) I was wondering about that [21:35] it is because current stable pyrex in gentoo is older than one, needed to build bzr [21:35] mib_max: You'll have to find someone more knowledgeable about pyrex than me though [21:36] downgraded to 0.9.6.4 and problems are gone [21:36] or no [21:36] they are still here) [21:36] does pqm use pyrex? [21:36] mib_max: try jam if he come online later, I will leave shortly [21:36] pqm certainly uses pyrex but I don't know which version [21:37] ok thanks [21:38] * pickscrape runs selftest on gentoo too to see what happens... [21:38] mib_max: pyrex0.9.7-1 on intrepid, so this one should works too (I'm pretty sure some core devs run intrepid (or may be they are already on jaunty...))) [21:39] vila, pyrex 0.9.7 is not available in gentoo :( only 0.9.6 and then 0.9.8 [21:39] :-) [21:40] will leave it as it is for now [21:40] So far I just have an XFAIL [21:41] mib_max: how far in did you start getting errors? [21:41] pickscrape, are you using bzr from gentoo or from bzr.dev? have you built pyrex modules? [21:41] I'm sure a patch ensuring we're compatible with 0.9.8 will be warmly welcome, if you're interested in working on performance, ensuring the C extension works is definitely part of it [21:41] about 150-200 tests [21:41] Aha, I've got 4 now, but only after 1000 or so. [21:42] I get first near 150 [21:42] mib_max: I'm using a vanilla bzr.dev checkout with nothing made, but I just realised I ran bzr rather than ./bzr, so I'm starting again [21:42] you wont get problems because with make you won't use pyrex modules [21:43] ok, I just ran make and restarted [21:43] it worked? are you using pyrex from ~? [21:44] No, I'm getting errors [21:44] on stable pyrex it complains about some modules incompatible with such old version of pyrex [21:44] pyrex 0.9.4.1 [21:44] and in the begining of make you have complaint from bzr? [21:45] Ah yes, it did complain about that. [21:45] But the results I'm getting a different to those I got before running make. [21:45] :) [21:45] s/ a / are / [21:46] All of the errors so far are "exceptions must be strings, classes, or instances, not exceptions.OSError" [21:46] some here [21:46] Oh well :) [21:46] *same* [21:46] What information is stored about a merge when I commit it? Is there somewhere I can view it? I can't seem to find anything about it in bzr log, but I see Launchpad knows a merge occured. [21:48] gotgenes: log shows merges as indents [21:48] Is it possible to merge in zero revisions to merely establish a common ancestor? [21:48] hi [21:49] lifeless: Oh, it surely does. But I did bzr log -l 1 and it was only showing the commit message. [21:49] Is that a bug? [21:49] is there any way to get something like WorkingTree.list_files thats not recursive and pinned down to a specific dir/file [21:49] Shouldn't it show the associated commit message? [21:50] gotgenes: you asked it to show only one revision, which in your case was the merge revision [21:50] gotgenes: there is a discussion at the moment on the list about this; it is arguably a bug [21:51] gotgenes: but its arguably right too :P. We may add log -c, like diff -c, to show the log of everything from before:X to X [21:51] pickscrape: True; but I guess the commits from the branch I merged from are relevant to the commit of the merge. [21:52] gotgenes: that could be quite a large can of worms though :) [21:52] ronny: 'bzr ls' [21:52] lifeless: Ah okay. That seems a good compromise. [21:52] ronny: perhaps [21:52] lifeless: im in search of an api [21:52] gotgenes: you can simulate it today with bzr log -r before:foo..foo [21:53] ronny: cmd_ls in builtins.py then [21:53] ronny: sorry that I don't have more detail offhand [21:53] lifeless: Excellent tip! Many thanks. :-) [21:53] * ronny goes reading [21:53] Also, out of curiosity, is anyone here at all familiar with any efforts to integrate bzr into NetBeans? [21:55] lifeless: oh, seems like the ls command is just using the full recursive version and ignores parts of the resultset [21:55] ronny: do you need status like results? [21:55] ronny: e.g. do you need unversioned files as well as versioned? [21:56] lifeless: yup [21:56] lifeless: its for anyvc workdir status info [21:56] ronny: ah [21:56] ronny: then 'iter_changes' definitely [21:56] its the workhorse for status [21:56] does that give me unversioned/ignored= [21:56] if you ask it to [21:57] gotgenes: http://bazaar-vcs.org/IDEIntegration [21:58] is that api considered very stable? [21:59] cause i'll offload the actual implementation to javier ^^ [21:59] lifeless: Yeah, I see "We Need You" though I'm not a Java developer. [22:00] ronny: iter_changes is pretty stable yeah [22:01] sweet [22:01] its exposed in bzr-xmlrpc too [22:01] for eclipse and other VC's that want status information [22:02] lifeless: Is that a wiki (community editable) page? [22:02] well, in pida we "invented" anyvc for vcs abstraction [22:03] gotgenes: yes [22:04] and boy is abstracting branching patterns fun [22:05] lifeless: excellent. I'm looking for a way to actually edit it. I see Komodo supports Bazaar and would like to add it to that page. [22:05] Ah, okay [22:05] got it [22:12] garyvdm: ping [22:13] I see all the bzr code have unix style line endins. How is it kept that way? Is there a test for it or were we just lucky? [22:14] I ask because I'm about to add such a test as part of the trailing whitespace cleanup. and I'm just wondering. [22:16] I cant find any documentation about thit in HACKING either [22:16] so I'll add some [22:16] but not all text files in the bzr.dev has LF-only [22:17] have [22:17] amanica_, be aware that branches with styling cleanups are usually rejected because of all the spurios conflicts they cause [22:17] I know [22:17] poolie explicitly asked about this cleanup [22:17] yip [22:17] ah, cool [22:18] bialix I tried to find offending stuff, but could not [22:19] tools/win32 [22:19] but it's not py [22:19] ah, but at the moment its not checked [22:20] its not part of bzrlib so its not considered part of the code [22:20] so I guess the real answer on your initial question: because all bzr hackers are linux guys [22:20] contrib is also like this [22:20] :) [22:21] so I thought that while I'm at it, I can check for that too [22:24] * bialix wanna to say to garyvdm that we have the fix for gentle stop subprocess problem [22:24] "gentle stop" ? [22:25] yep [22:25] without using hammer and BFG [22:26] with "please" :-) [22:27] where can this happen? [22:27] it's for QBzr [22:39] * bialix mutters: why for initial push to lp told about using default stacking branch, if the push anyway send all the data? [22:44] * bialix waves bye [22:48] Jc2k: Some of the loom failures should be fixed in loom trunk [22:48] We updated "bzr status" to add another parameter [22:48] and loom "monkeypatches" "bzr status" and thus also needed to be updated [22:53] jam: ah cool === dereine[OFF] is now known as dereine