=== BasicOSX [n=BasicOSX@216.243.156.81.real-time.com] has joined #bzr === jelmer_ [n=jelmer@157pc196.sshunet.nl] has joined #bzr === jelmer_ is now known as jelmer === poolie [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr [12:29] hello === BasicOSX [n=BasicOSX@warden.real-time.com] has joined #bzr === ipkiss [i=ipkiss@nat/ecp/x-de0f73d1ca537c0b] has joined #bzr === keir [n=keir@206-248-134-7.dsl.teksavvy.com] has joined #bzr === fo2 [n=fog@213-140-22-78.fastres.net] has joined #bzr [12:59] morning [01:01] when I bzr push a branch to my webserver with bzr+ssh://, how can I tell it to create an up-to-date working tree as well? === cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr [01:02] mgedmin, hi, [01:03] i'm not 100% sure this will work, but have you tried running 'bzr checkout' on that location? === mgedmin finds a description in 'bzr help working-trees' [01:03] yes, bzr checkout . works, but bzr's help tells me I will have to manually ssh into the server and run bzr update in that directory after every push [01:03] (or look for some plugins to automate that) === jml [n=jml@dsl-210-15-197-192-static.TAS.netspace.net.au] has joined #bzr === pete__c [n=pete@032-463-246.area7.spcsdns.net] has joined #bzr === fo2 [n=fog@213-140-22-78.fastres.net] has left #bzr [] [01:28] bbiab [01:44] mgedmin: there is a plugin that will invoke update for you on the remote server === cprov is now known as cprov-afk [01:52] spiv, do you see the new bug about ^c in the smartserver? === spiv looks [02:07] lifeless: Assuming packs contain plain knits, how often are we expecting to be joining a plain knit source to an annotated knit target? === n2diy [n=darryl@wlk-barre-208-103-148-58.dynamic-dialup.coretel.net] has joined #bzr [02:19] igc: when we export a pack branch for a knit user [02:20] igc: its ok for it to be slow if thats your concern [02:20] yes it was [02:20] so command wise, we're talking pull or branch right? [02:20] push [02:20] and pull [02:20] and in rare cases upgrade [02:21] thanks [02:21] its not ideal for it to be slow, but its tolerable [02:21] New bug: #144627 in bzr "TooManyConcurrentRequests raised when bzr+ssh push is interrupted" [Undecided,New] https://launchpad.net/bugs/144627 [02:21] do you see why your logic was flawed ? [02:21] yes [02:21] cool === AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr === jml_ [n=jml@ppp108-61.static.internode.on.net] has joined #bzr === jml_ is now known as jml [02:57] jelmer: oh btw, did you want to use the bzr pqm? pqm is totally happy to have multiple projects... [02:59] poolie: the index change in your branch - shoot that to bzr.dev directly please [02:59] lifeless, the docstrings? i thought i did [02:59] the __repr__ [03:00] I'm just checking for performance regressions in your patch [unlikely but needs to be done] [03:00] New bug: #144633 in bzr "KeyError for BzrCheckError.message" [Medium,In progress] https://launchpad.net/bugs/144633 [03:08] lifeless, cherrypicking addition of a repr is not going to be very high on my list [03:09] unless you particularly want it in main [03:11] I'll do it then [03:11] I want nothing in my branch [03:11] thats where I'm heading, and thats clearly 'done' as a piece of code, so no reason not to get it into bzr.dev [03:16] ok its on its way [03:23] poolie: your patch is about 1/2 second slower consistently [03:23] poolie: I haven't tracked it down yet [03:23] which one? === herzel [i=herzel@gateway/tor/x-7a7ae9847258843d] has joined #bzr [03:24] I just merged from pack-repository === jamesh [n=james@canonical/launchpad/jamesh] has joined #bzr [03:32] i'm glad you checked then === poolie reads bialix's second win32 patch [03:37] poolie: did you find all tests passing ? === metze_away is now known as metze [03:46] poolie: one thing I'm having some trouble telling with your patch is if it causes more index instances to be created [03:47] I think it doesn't === jml_ [n=jml@ppp108-61.static.internode.on.net] has joined #bzr === NamNguyen [n=namnt@203.162.163.50] has joined #bzr [04:00] will just finish this review then look [04:01] spiv, rise and shine :) [04:01] poolie: I'm here :P [04:04] :) === jml__ [n=jml@ppp108-61.static.internode.on.net] has joined #bzr === jml [n=jml@ppp108-61.static.internode.on.net] has joined #bzr === metze [n=metze@ip-217-172-181-76.mx-netz.de] has joined #bzr === Verterok [n=ggonzale@75-108-235-201.fibertel.com.ar] has joined #bzr [04:47] moin [04:49] Verterok, hi [04:49] lifeless, so do you know if there's a problem with that patch, or do you want me to look at it? [04:50] poolie: I've merged it [04:50] there's no performance problem? [04:50] its within the noise factor [04:51] it looked 1/2 sec higher, but its possibly just noise [04:52] there *may* be an issue with new indices being made when we should use existing ones, but its not showing up on incremental commit, and I alread knew of latent issues there === herzel [i=herzel@gateway/tor/x-ab92dd9f8374c7b4] has joined #bzr === marianom [n=marianom@ubuntu/member/marianom] has left #bzr [] [05:01] I hate the way everyone just assumes everything's on Launchpad. [05:02] Today I found out that people have been filing bugs on my branch of trac+bzr for months now. [05:02] With no one bothering to tell me about it. [05:03] igc: ping [05:04] hi lifeless [05:04] abentley: there is a flag to tell lp if it should consider itself to be the bug tracker [05:04] abentley: or not. Is that set for bzr-trac ? [05:04] How was I supposed to know trac+bzr was even in Launchpad? [05:04] igc: I replied to your review of moving weave code out; did you re-reply ? [05:05] abentley: oh hmm, thats a tougher one to answer :) [05:05] abentley, that is a good question === igc checks [05:05] however, it's supposed to make it hard for people to file bugs if it's not approved by the owner [05:05] if someone else claimed to be the owner though... [05:06] igc: cause I'd like to merge it :) [05:06] I'm yet to reply ... [05:07] we can cover it now if you like (i.e. here) [05:07] please [05:07] assume the first issue isn't ... [05:08] i.e. the duplication is ok [05:08] Looks like Yann Houdique registered it way back when. [05:09] I'd like the get_revision_graph API back there with just a docstring ... [05:09] relying just on interface tests feels ... [05:09] a bit of a stretch :-) === igc looks ar 2nd issue again === mlh_ [n=mlh@c211-30-211-232.belrs1.nsw.optusnet.com.au] has joined #bzr [05:11] lifeless: I'm ok with the 2nd explanations as well, altohugh it might to good to put a comment in to that effect in the ... [05:11] _get_revisions() method for weaves say. [05:11] that's it ... [05:11] igc: there is a comment there. [05:11] igc: that was my point on the second one :) [05:11] do you want an email summarising that? [05:12] igc: AIUI its 'put a stub NotImplemented get_revision_graph method on the base class' [05:12] yep [05:12] igc: I think I can get by without a mail :) [05:15] lifeless: that comment I was asking for ... [05:16] looking again, putting it in _get_revisions in repository.py would be good because ... [05:16] right now, the docstring says "without sanity checks" and ... [05:16] you then proceed to do some I think? [05:17] igc: mmm [05:17] its checked for being a revision id or not [05:17] but the results are not checked for sanity === mlh_ [n=mlh@c211-30-211-232.belrs1.nsw.optusnet.com.au] has joined #bzr [05:24] abentley, i suggest what you do now, if you haven't already, is claim the project and then tell it bugs are not tracked in lp [05:24] unless in fact you do want to track them there [05:24] Yeah, I might track it there. [05:26] But in fact, I wasn't aware that anyone even cared about trac+bzr [05:28] abentley: its one of the first questions people at conferences put to me [05:28] 'its written in python, cool. Does it integrate with trac?' [05:29] Well, my answer would be "Kinda. For it to integrate properly, either Trac or Bazaar would have to change architectures" [05:30] thats true [05:31] I usually just say 'there is a plugin for trac, but I don't have personal experience with it' [05:37] i'm going to take a lunch break [05:37] biab [05:37] good idea [05:47] I installed trac+bzr at one point out of curiosity. What sort of differences are you saying are really irreconcilable? [05:48] They want to know what was the last-modifying revision of a directory, even for directories that aren't even branches. [05:49] That's the sort of thing. [05:50] Oh cool. It's an abentley and he's talking trac+bzr stuff ;-) [05:51] Yeah, that sort of thing doesn't really bother me, either because I expect it could be reasonably easily made optional in trac or omitted/lied about by trac+bzr when it's difficult/impossible to get. [05:53] Yeah, but people bitch about the lie. [05:53] :) [05:53] lifeless: Yes, it would be very nice if we could use the bzr pqm. [05:54] Seriously. Look in Launchpad, and you'll see people filing bugs about the null: and current: revisions, even though they're documented in the README. [05:55] jelmer: Cool. Can you mail me a list of initial committers, and the build rule you want executed, plus where the writable location for the main trunk is (we could put that on bazaar-vcs.org if you like, I don't think poolie would object) [05:55] heh, abentley I commented on that bug and added a patch to make them slightly better. [05:56] abadger1999: if you look at the scrollback, you'll see that I was not aware that any launchpad activity was taking place. [05:56] Yep. I saw that. [05:56] lifeless, np here [05:56] I was looking for you earlier to ping you about it. === igc food [05:57] abadger1999: Sorry, I've been busy. [05:57] lifeless: ok [05:57] No problems, I fugred you were. [05:57] So what did you want me to look at? [05:58] with the current: and null: changesets, I had two issues. [05:58] the important one is that they're messing up the trac timeline RSS feed. [05:59] Since it uses time.time() as its timestamp, everytime an RSS reader looks at it, it thinks there's a new entry when it's just current: re-occurring. [05:59] I added a patch to the lp bug to have it use the same timestamp as the last revision. [06:00] That's bogus. This is why Atom has unique identifiers for postings. [06:01] Why not go the whole way and use the last revision instead of current:? And how much performance degradation did you see? [06:02] I'm subscrbing to the feed via mugshot. [06:03] So all the fedora developers were getting popups saying that there was new activity every time mugshot polled the RSS feed for the timeline. [06:05] Well, if RSS has unique IDS, that's bogus. If it doesn't, you should be using Atom. But my main concern about getting rid of current is the performance cost of determining the last-modified revision. [06:05] we could build a cache [06:06] Looking at the RSS feed, I don't see any ID :-( [06:06] annotate each dir by whether paths under it changed [06:07] Do you know how to get trac to serve atom? ?format=atom doesn't do it. [06:07] build a dict {revid:{dirid:changed_revision}} [06:07] Sure, but then you've got to do invalidation and stuff. [06:08] Which seems just as espensive as not having a cache. [06:08] abentley: no invalidation really, its static for a given revision [06:08] abentley: I was not proposing this for bzr itself btw [06:08] Hmm? I see a guid, but it looks like it has a timestamp on the end... [06:08] I'm talking about running trac against a repository with hundreds of branches. [06:08] abentley: long term we should make answering the question cheaper; this is a proposal for the trac plugin to work with [06:09] I'm not talking about the issue of last-modified-revision for versioned directories. [06:09] oh, perhaps I am confused [06:09] I'm talking about last-modified-revision for unversioned directories. [06:09] cory: Right [06:10] abentley: *blink*, is there such a thing? [06:10] For Trac's benefit, we pretend there is. [06:10] so any dir whether it exists or not ? [06:11] Not "whether it exists or not"-- whether it exists as part of a versioned tree, or is used for layout in the repository. [06:13] ah I get you [06:13] so reporoot [06:13] reporoot/project [06:13] reporoot/project/branch1 [06:13] noth reporoot and reporoot/project are given a 'last modified' [06:13] s/noth/both/ [06:13] Given the path a/b/c, 'a' may be a plain directory. Its last-revision is 'current:' 'b' is a branch directory. Its last revision can be the branch last revision. 'c' is a versioned directory, and is not physically present in the repo, just referred to by 'b' [06:14] lifeless: Right. [06:14] so the 'corect' last modification needs to move forward when any branch under an unversioned dir has its tip change [06:15] Yes, you could do it that way in theory. [06:15] fraught with holes doing it on push etc === jml_ [n=jml@ppp108-61.static.internode.on.net] has joined #bzr [06:15] just trying to understand the 'definition' [06:16] I see what you mean about the model mismatch [06:16] Yeah. [06:16] So now we have to define 'latest'. [06:17] We can't use the ancestry, because the branches may be unrelated. Do we use the revision timestamp? The time the tip was modified? [06:18] what about stat of the dir ? [06:21] This is vaguely relevant: http://trac.edgewall.org/wiki/VcRefactoring#SupportforMultipleRepositories [06:23] At least just as confirmation that they might work on refactoring things for things structured like bzr. [06:23] lifeless: I don't think that helps. [06:23] Because if we're trying to find the latest revision, we must examine branches, not the directories containing them. [06:25] if we accept that there is no well defined value [06:26] then we can just show a fake commit, no message other than 'last modified on xxx' etc [06:28] Right. I don't mind the lie, I just want the lie to remain the same between real commits. [06:28] Because trac does recursive comparisons, I don't know if that would work. [06:29] using the dir stat would mean that adding a new branch or removing one would change the date [06:29] It could make the directory look like its contained directories weren't changing. [06:29] (except when branches were added or deleted) [06:29] a commit id of date:secondssinceepoch [06:29] might be a half-decent way to represent this === BasicOSX [n=BasicOSX@warden.real-time.com] has joined #bzr [06:31] abadger1999: I think it could be harmful if the lie *didn't* change when commits happened. Which is I believe what lifeless is proposing. [06:32] That would be more confusing than now, true. [06:44] abentley: Is the current ancestry of current: to be trusted? ie: bzr_repo.previous_rev('current:') [06:45] I believe so. [06:45] Been months since I looked at the code though. [06:46] lifeless: a question about converting deltas between annotated and plain knits ... [06:46] sure [06:46] abentley: k. My patch takes the timestamp of that rev and applies it to current: [06:46] parse_linedelta returns something different to what ... [06:47] lower_line_delta accepts ... [06:47] it's works within ann-to-ann or plain-to-plain but ... [06:47] not across the two [06:47] ah yes [06:47] thats my fault, I specialised it somewhat [06:47] I'm concerned about ... [06:47] changing that because it will impact ... [06:48] perforamnce undoubtedly [06:48] should I change it? [06:48] so don't change it [06:48] abadger1999: So that means you potentially have multiple timestamps for current [06:48] write a converter [06:48] Actually, no, I guess not. [06:48] sure [06:49] You just don't have per-directory accuracy on that timestamp. [06:49] Yeah. It's definitely a lie. [06:52] bbiab [06:52] igc: ring me if you need more info/discussion - going for lunch [06:52] ok === orospakr [n=orospakr@bas4-ottawa23-1167863943.dsl.bell.ca] has joined #bzr [06:53] abadger1999: So the problem is that bzr_repo.previous_rev('current:') can be quite expensive. [06:53] Theoretically less so for branch format 6. [06:53] (aka dirstate-tags) [06:57] abentley: hmmm.... is bzr_repo.previous_rev() expensive in general or only when finding for 'current:'? [06:58] It's certainly more expensive for current:. It might not be cheap normally, either. [07:00] For current, it means scanning every branch in the repository. [07:00] I'm off to bed. [07:01] 'night. [07:02] Interesting. I think previous_rev() loads the history for the entire repo whenever it's called (unless history has previously been cached) [07:12] abadger1999: knits have no partial index facility [07:12] abadger1999: so accessing one revision loads the index of all revisions [07:13] Ah. === sevrin [n=sevrin@ns1.clipsalportal.com] has joined #bzr === liw [n=liw@a91-154-119-10.elisa-laajakaista.fi] has joined #bzr === arjenAU [n=arjen@ppp215-29.static.internode.on.net] has joined #bzr [07:59] igc: I've reinstated the stat cache on packs [07:59] igc: 4 second hit on initial commit (for now), but 10 second win on incremental commit [07:59] awesome! [07:59] I'll take the 10 sec win on incremental :-) [08:00] pfft [08:00] I figure that we don't need the stat cache when the fileid is new [08:00] so I'm going to add a special case for no_parents, passed into path_content_summary [08:00] sounds good [08:01] should take it back to 1m20 [08:01] and keep the 10 second win === liw [n=liw@a91-154-119-10.elisa-laajakaista.fi] has left #bzr ["It's] [08:01] so I now have 5 patches send in today [08:01] *sent* [08:01] (and not reviewed) [08:02] I'm getting there - just sending mine to the ML now [08:02] sent [08:02] I intent to review the transport put related one [08:02] I'll swap you - one review for >1 reviews :-) [08:02] and hi all [08:02] hi vila === jml_ is now known as jml [08:03] igc: np, if you take in your swap the project delivery I must do today ;P [08:03] igc: 1:M [08:05] about pycurl/urllib, what about making urllib the default for http and pycurl the default for https ? [08:05] I'm a bit hesitant about it for coherence reasons, but on the other hand, we had many reports recently where pycurl failed were urllib worked... [08:06] and I don't like dropping cretificate verification for https [08:06] cretans eh? [08:07] lol [08:07] yeah, better than greeks :) [08:10] lifeless: I'll do the path_content_summary review now unless you want a different one done 1st [08:10] any order is fine [08:15] igc: reviewed [08:16] thanks [08:16] igc: basically good; but you missed a large body of duplicate code in the tests [08:16] ok [08:17] if you move the assertions into your helper and rename it, you'll be good to go [08:17] np === pmezard [n=pmezard@nor75-4-81-56-59-92.fbx.proxad.net] has joined #bzr [08:21] igc: I've mailed you my current uncommitted-cause-its-experimental changes [08:21] if you want to see how it performs on real hardware [08:21] got those [08:21] bbiab === hdima [n=hdima@idealer.cust.smartspb.net] has joined #bzr === AfC [i=andrew@office.syd.operationaldynamics.com] has joined #bzr === matkor [n=matkor@EUROCZESCI.wbs.ssh.gliwice.pl] has joined #bzr === Lo-lan-do [n=roland@mirexpress.internal.placard.fr.eu.org] has joined #bzr [08:58] thanks for the review [09:06] me? [09:09] lifeless, poolie: looks like I'm 7 hours late to review the transport.put_file patch :-) [09:09] vila: is it ok? [09:09] is there a problem with it? [09:09] vila: or would you like it changed? [09:09] lifeless, yes, you [09:10] lifeless: no, at first read it's ok, it will break webdav again, but it's mentionned in NEWS (for other transport implementors) and land sufficiently early to be taken into account === Stevage [n=chatzill@mail.pfxcorp.com] has joined #bzr [09:14] hello [09:14] can anyone help me get TortoiseBZR to work? [09:14] It compiles, but it doesn't seem to create any icons [09:15] it does create shell extensions though - but they don't do much, and the 'diff' command seems broken [09:21] Stevage: pls fill bug report [09:23] but I have not seen much work recently in that area ... [09:24] hmm [09:24] pity [09:24] I'd love to have tortoisebzr going === pmezard [n=pmezard@dhcp26-226.enst.fr] has joined #bzr [09:26] so fill bugreport and keep presure on developers ;) [09:27] Stevage, alexander haro is the developer [09:27] lifeless: ping [09:27] yeah just reading the README [09:27] I don't see that I installed it wrong, so I don't get it [09:28] suggest you cc him on your mail to get his attention [09:28] also I think most of the shell extensions didn't appear [09:28] what's his email? [09:30] amduser29 at gmail [09:31] ta [09:44] hmm [09:44] it seems to be trying to find some method called CommitCommand === alla [n=alla@soy.cyber.com.au] has joined #bzr [09:45] which doesn't exist in bzr.dev/bzrlib === n2diy [n=darryl@wlk-barre-208-103-148-58.dynamic-dialup.coretel.net] has joined #bzr === lifeless [n=robertc@ppp245-86.static.internode.on.net] has joined #bzr === james_w [i=jw2328@jameswestby.net] has joined #bzr === jeremyb [n=jeremy@unaffiliated/jeremyb] has joined #bzr === meuh [n=meuh@pdpc/supporter/active/meuh] has joined #bzr === LarstiQ [n=larstiq@cust.7.157.adsl.cistron.nl] has joined #bzr [09:45] has bzr been radically reorganised recently? [09:45] no [09:46] perhaps that's a method in a plugin? [09:46] oh no, maybe I'm just confused [09:46] yeah it is [09:46] there's a CommitCommand.py [09:46] I don't know why it can't find it [09:46] :-) [09:46] (I don't really speak python) [09:46] command_mod = __import__('commands', globals(), locals(), [command_filename] ) [09:46] command_mod = getattr(command_mod, command_filename) [09:46] command_class = getattr(command_mod, command_filename) [09:46] one of those is failing [09:47] command_filename is "CommitCommand" [09:47] that seems a bit strange... [09:47] can you put the traceback in a pastebin? [09:48] ok it's the first line [09:48] there's no traceback [09:48] it's just an exception [09:48] um [09:48] maybe that's nonsensical [09:50] igc: yo [09:50] I don't know how to get debugging output from it [09:50] in the tests, where does the size "22" come from? [09:51] those three lines of code above look pretty weird to me though [09:51] especially #2 and #3 [09:56] igc: which test [09:56] test_file_content_summary_executable [09:57] oh, thats the number of bytes in the file [09:57] the content is generated by build tree - 'contents of path\n' IIRC [09:57] ok - thanks [09:58] not that easy to follow that in the code [10:00] got it now === mvo [n=egon@p54A67BA0.dip.t-dialin.net] has joined #bzr === mrevell [n=matthew@canonical/launchpad/mrevell] has joined #bzr [10:06] New bug: #144693 in bzr "remove {Branch,Tree}.print_file" [Low,Confirmed] https://launchpad.net/bugs/144693 [10:08] Hmpf. === Lo-lan-do gets bitten again [10:08] Is there a way of having "bzr status" display paths relative to the current directory? [10:08] What is network usage in bzr over sftp comparing to rsync over ssh ? More or less ? [10:09] It currently shows, f'rinstance, "foo/bar.txt" even when I'm in foo/ === fog [n=fog@debian/developer/fog] has joined #bzr [10:09] I mean doing rsync local remote vs bzr commit local, bzr push remote ? [10:09] So "bzr add foo/bar.txt" (cut and paste) fails [10:12] lifeless: that review sent to the list now fyi === poolie_ [n=mbp@ppp112-44.static.internode.on.net] has joined #bzr [10:14] that knit join patch merged to bzr.dev now too [10:20] I have org-branch and branched from it modified-branch... now I want cherrypick some changes from modified-branch (I know which revisions) back to org-branch, what is easies way to do it ? === pbor [n=urk@host126-78-dynamic.5-87-r.retail.telecomitalia.it] has joined #bzr === allenap [i=allenap@nat/canonical/x-edc4d411a31e49a6] has joined #bzr [10:25] hi [10:25] not sure if it is on topic here, but if I branch from a launchpad import, will I be able to then push to the upstream svn repo with bzr-svn? === pbor tried to to a local branch directly from the svn repo but it totally killed my machine... it required 1,5 gigs of mem === igc food [10:32] mmm... I now realize that launchpad import is totatlly stale anyway, so nothing useful :/ [10:38] igc: thanks [10:43] pbor: no, launchpad imports are different from bzr-svn imports [10:44] pbor: which import is it? i can try to find out why it's stale [10:45] mwh: gedit === asabil [n=asabil@62.70.2.252] has joined #bzr [10:46] oh oops, that's still importing from anoncvs.gnome.org [10:50] mwh: just out of curiosity, how do launchpad imports and bzr-svn imports differ? [10:51] well, the glib answer is that they are created by different pieces of software :) [10:51] (launchpad imports are done by cscvs) [10:51] more technically, launchpad imports have random revids and bzr-svn imports have deterministic ones [10:51] okay [10:52] so if you run a cscvs import twice you'll get (as far as bazaar can tell) different histories [10:52] there are different trade offs [10:52] (roughtly speaking what bzr-svn does is harder and much more of a commitment in some ways) === gabe [n=gabriel@91.84.56.254] has joined #bzr === gabe [n=gabriel@91.84.56.254] has joined #bzr [10:59] mwh: btw, looks like this is my problem with yesterday's import https://bugs.launchpad.net/bzr-svn/+bug/54253 [10:59] Launchpad bug 54253 in bzr-svn "Excessive memory usage in bzr-svn" [Undecided,Confirmed] [11:01] you can often get away with killing the process and having it resume from some point [11:01] current thinking on that bug is that it's a problem in the python-svn bindings i think [11:01] mwh: how do I resume? [11:02] what stage had it got to when you killed it? [11:02] no idea, I had to hard reboot :/ [11:02] ugh [11:02] pbor: rather than doing bzr branch, do 'bzr init --dirstate-with-subtree', then do 'bzr pull svn://'... [11:03] lifeless: what does that give me? [11:04] if you hit ctrl-c [11:04] just do 'bzr pull svn://' again [11:05] and it will resume [11:05] ah === bigdo2 [n=scmikes@72-197-8-8-arpa.cust.cinci.current.net] has joined #bzr === Mez [n=Mez@ubuntu/member/mez] has joined #bzr [11:24] mwh: you might like to start dogfooding packs for codeview; we're closing in on a first release of it in the next week or two === asabil [n=asabil@62.70.2.252] has joined #bzr [11:24] mwh: if it sucks for you, *now* is the time to hear. [11:24] lifeless: what's the status of packs? [11:25] mwh: there's two known issues may affect you; annotations will be no longer cheap in the first release (plain-knits always, and no cache implemented yet). Secondly partial index reading has not landed yet. [11:25] jrydberg_: good. [11:25] jrydberg_: initial commit is nice and fast :) [11:25] lifeless: what about push and pull? [11:26] initial push runs about 20% slower than rsync [11:26] ditto pull [11:26] needless to say this is hugely faster than knits. [11:26] how about incrimental updates? [11:27] they are ok, but not great because the text indices are read entirely still, and they are much larger than the individual indices that knit repos have [11:27] so we're reading more index data [11:27] though there is plenty of room to optimise that even before partial index reads come in [11:28] we don't do ghost filling automatically in packs [11:28] so we can examine just incremental data, and thats in the most recent (and smallest) packs, so checking them first for content will usually be a win [11:28] lifeless: makes sense [11:28] lifeless: i see [11:28] lifeless: can i get a bzr.dev [11:29] lifeless: can i get bzr.dev in packs somewhere? [11:29] fwiw, by nice and fast on initial commit, its 1m30 wall clock for me in my latest not-quite-committed stuff; thats the same as hg on this machine (well actually a little faster) [11:29] mwh: yes; see my dogfooding emails to the list [11:31] lifeless: subject? === Mez [n=mez@ubuntu/member/mez] has joined #bzr [11:32] lifeless: why do we have so large indexes then? can't we have a pack-index, and then have per-pack indeces (either as a separate file, or in the pack header) ? === sverrej [n=sverrej@pat-tdc.opera.com] has joined #bzr [11:34] jrydberg_: thats what we have [11:34] jrydberg_: its just that rather than N knit indices [11:34] where N is the number of file ids [11:34] lifeless: well, the pack index doens't have to be that big, does it? [11:34] pack: [11:34] we have one text index per pack, which has the data for all N fileids-versions in that pack [11:35] jrydberg_: we limit the number of packs to prevent latency explosion due to one pack per commit, which would be going back to the arch days [11:36] so you're doing auto repacking, is what you're saying? [11:36] yes [11:37] so the text index size is not excessive, its smaller than the combined .kndx files [11:37] its just that we're reading more than we need to [11:37] when i was experimenting with a blob-like format, i did the repacking on incrimental updates (push or pull) [11:38] how far did you get; what conclusions did you draw? [11:40] the only conclusion i came to was that it was often smarter to fetch a bit more data, if the data is grouped in a fetch-frendly way, than to do all kind of smart stuff on the client side to minimize the amout of data to fetch [11:40] but that isn't really rocket science [11:40] yeah [11:40] latency hurts [11:41] small reads often increase latency [11:41] i also experimented with using already defined container formats [11:41] such as each blob being a .zip [11:41] but the zip-format is kinda borked === arjenAU [n=arjen@ppp215-29.static.internode.on.net] has joined #bzr === zyga [n=zyga@ubuntu/member/zyga] has joined #bzr [11:42] jrydberg_: 7z might have been reasonable [11:43] jrydberg_: but being able to controll index locality of reference seemed quite important to me [11:43] to make client reads more effective without insanely complex logic on the read size === asabil [n=asabil@62.70.2.252] has joined #bzr === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr [11:45] mmm === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr [11:47] jrydberg_: the current index doesn't do this, but the one in development by keir does [11:47] it groups nodes by the graph, giving graph walking with less roundtrips (and roundtrips are our biggest problem) [11:48] jrydberg_: packs are still knit delta based [11:48] jrydberg_: please, dogfood :) [11:48] hehe [11:49] how many files are fetched before the actual pack-data is started to be brought in? [11:50] jrydberg_: well, theres .bzr/format, .bzr/repository/format [11:50] jrydberg_: then .bzr/repository/pack-names (the index of packs) === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr [11:52] jrydberg_: I'm out for the night I think [11:52] you need to figure out the head of the branch too? === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr [11:52] jrydberg_: well depends on the operation you're doing; if you need a branch info its .bzr/branch/format and .bzr/branch/somethingorother [11:52] ciao [11:53] hm [11:53] ../bzr/pack-repository.knits/bzr get http://people.ubuntu.com/~robertc/baz2.0/repository [11:53] seems to be doing an awful lot of nothing [11:53] mwh: I've just updated the pack-repository.knits branch FWIW [11:53] mwh: there is no progress bar at the moment [11:54] lifeless: oh [11:54] that was probably it then [11:55] ciao, for real === lapthrick [n=mathrick@users.kollegienet.dk] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr === Mez_ [n=Mez@ubuntu/member/mez] has joined #bzr [12:19] does keir irc? === asabil [n=asabil@62.70.2.252] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr === Mez [n=mez@ubuntu/member/mez] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr === sabdfl [i=sabdfl@nat/canonical/x-ca265d16ed22ff60] has joined #bzr === bac_afk is now known as bac === asabil [n=asabil@62.70.2.252] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr [01:04] hey revisionistas [01:05] Good morning! === Peng goes to bed. [01:05] night pe [01:05] ng [01:05] :D === asabil [n=asabil@62.70.2.252] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr === schierbeck [n=daniel@dasch.egmont-kol.dk] has joined #bzr === Zindar [n=erik@stockholm.ardendo.se] has joined #bzr === ignas [n=ignas@office.pov.lt] has joined #bzr [01:27] hi [01:27] is there a way to make bzr display relative paths for bzr st? [01:27] not at the moment [01:32] How bzr handles soft links ? /branch-root/link-to-dir-out-of-branch ? Will link-to-dir-out-of-branch be threated as subdir and versioned ? === asabil [n=asabil@62.70.2.252] has joined #bzr [01:40] the symlink will be versioned === asabil [n=asabil@62.70.2.252] has joined #bzr === mrevell is now known as mrevell-lunch [01:46] mwh: No way to force bzr to version contents of symlink not symlink itself ? [01:46] not that i know of === asabil [n=asabil@62.70.2.252] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr [02:02] AfC: hi, are you involved in the gnome-java bindings? [02:07] matkor: we do version the contents - the thing pointed at [02:07] matkor: I think you'd need to give us some use cases, help us design what you'r interested in bzr doing, for us to help you get bzr to do it [02:08] mwh: ping [02:08] lifeless: hi there [02:08] did you get a pack error ? [02:08] lifeless: yes i dud [02:08] did [02:08] with the latest branch ? [02:09] yes [02:09] ok [02:09] try this [02:09] bzr init --experimental [02:09] bzr pull /path/to/your/knit/based/bzr.dev === cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr [02:09] bzr push ../newpath [02:09] (this should make a fresh packs repo locally and clone it to a second fresh packs repo [02:10] 'bzr' here being my pack-repository.knits tip ? [02:10] yes [02:10] ok [02:10] revno 2783 [02:10] that's what i have [02:12] yay [02:12] ok, it's running [02:12] igc's patch has landed, time for the next pack format change tomorrow [02:13] if this works I probably have something weird in my repo [02:13] would not surprise me :) === asabil [n=asabil@62.70.2.252] has joined #bzr [02:15] how did it go ? [02:15] Hey, when the going gets weird, the weird turn pro. === marianom [n=marianom@ubuntu/member/marianom] has joined #bzr [02:15] abentley: :) [02:15] abentley: Are you comfortable with packs being cached-annotation-less in their first iteration ? [02:16] I am, though more from necessity than desire. [02:16] lifeless: first pull completed [02:16] mwh: ok, you now should have a .bzr/packs/* [02:16] mwh: with one pack in it [02:16] (i'm on my powerbook this week, slooooow) === asabil [n=asabil@62.70.2.252] has joined #bzr [02:17] lifeless: .bzr/repository/packs ? [02:17] yes [02:17] ok, then yes [02:17] I am asleep [02:17] this is a ghost typing [02:17] noted [02:17] mwh: so, try a push [02:17] trying [02:18] it should be a) successful, and b) pleasantly faster [02:18] lifeless: As something we release? Seems like they couldn't be default if they had a performance regression like that. But an optional format for those who understood the tradeoffs would be okay. [02:18] abentley: I am comfortable with that. [02:18] abentley: I think it gives us something to talk to the mozillas of the world with [02:19] Sure. [02:19] abentley: btw, I have incremental commits in the moz tree down to 24 seconds === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr [02:19] and a fairly good idea of where I'm going to drop the next 10 seconds off [02:20] abentley: which *should* drop off on initial commit too [02:21] mwh: has it finished? [02:21] lifeless: no [02:21] mwh: is it showing aprogress bar ? [02:21] no [02:21] is your cpu locked at max? [02:21] yes, pretty much [02:22] if your disk is ticking over, not idle but not busy, you are cpu bottlenecked [02:23] certainly seems that way [02:23] you can see how much data has been copied by looking in .bzr/repository/uploads [02:23] seems like it's about 1/3 done [02:25] lifeless: the push failed in the same way [02:25] so, you are probably locked in gunzipping the knit segments. [02:25] next = self.get_parents(cursor)[0] [02:25] IndexError: tuple index out of range [02:26] mwh: ah, its the old issue I mentioned in my how to dogfood notes. [02:26] bzr has an unreferenced text [02:26] look in .bzr/repository/packs [02:26] in the new repo, is it empty? [02:27] no, it has a 54 meg file [02:27] good [02:28] I know what the problem is; its bad data in bzr.dev that knit based repos tolerate [02:28] ok [02:28] (bad data == an index that is not quite right) [02:28] your bzr.dev in pack format will work fine [02:28] it just can't be cloned by bzr because bzr will not copy quite enough data [02:29] ok, i'll play with pointing loggerhead at that in a bit [02:29] there is a patch to run on the knit format repo to fix this; its been written by Aaron, and tweaked by spiv [02:29] ok, i saw those mails go by [02:29] not *quite* up for using it yet, when we do what I asked you to do will work [02:29] right, please let me know how loggerhead plays with packs. [02:30] first: lunch [02:30] :) [02:33] night [02:33] *yawn* === asabil [n=asabil@62.70.2.252] has joined #bzr === mw [n=mw@189.146.13.202] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr [02:42] mwh: loggerhead's loggerhead seems very much dead [02:42] at http://www.lag.net/branches/loggerhead/loggerhead_dev/ [02:45] mwh: pong, yes [02:45] AfC: and you use bzr already for all the java-gnome development? [02:45] "already"? [02:46] ehm ;) [02:46] We've been using Bazaar since ... === AfC does bzr log -r 0..1 [02:46] lapthrick: that's nothing to do with launchpad [02:46] lapthrick: launchpad's is at urls like http://codebrowse.launchpad.net/~mwhudson/loggerhead/production/changes [02:47] mwh: I never said it had anything to do with launchpad, I was just pointing out in the hope you'd be more able to fix it === mrevell-lunch is now known as mrevell [02:47] lapthrick: oh, sorry, misread [02:47] mwh: well, since the beginning. First commits (which imported a huge whack of stuff) were Oct '06 [02:47] lapthrick: not my site [02:47] AfC: cool [02:49] 829 revisions, 14 committers. I suppose that's starting to edge out of small [02:49] AfC: I still don't understand how you can put up with that ugly lump of a language :) [02:50] Python? That's why we ditched it :) === herzel [i=herzel@gateway/tor/x-c1bf8afd4dde4d29] has joined #bzr === allenap [i=allenap@nat/canonical/x-7309a8c9293a563b] has joined #bzr === grimeboy [n=grimboy@85-211-244-198.dsl.pipex.com] has joined #bzr [03:17] lifeless: I am now trying your suggestion of using bzr init --dirstate-with-subtree', then do 'bzr pull svn://', but it doesn't seem to help much: [03:17] lifeless: resume works but ends up using the same amount of memory [03:19] (incidentally, resume is really slow, unless it's the progress indicator that it is not clear) [03:19] abadger1999: I'm having a bit o' trouble building a rpm for bzr-0.17; could you perhaps lend a bit of a hand ? [03:20] pbor: how much revisions are you trying to pull? [03:22] jelmer: 5923 [03:23] jelmer: I am not interested in the whole history... can I tell it to start from a revision? (I recall git-svn doing something similar, but I am not sure if it makes sense for bzr) [03:23] pbor: no, that's not possible in bzr yet (requires a feature called historyhorizon) [03:24] pbor, you can fetch sets of 500 revisions for example, by running 'bzr pull -r500', 'bzr pull -r1000', etc [03:24] jelmer: will that help keeping the memory usage under control? === ignas [n=ignas@office.pov.lt] has left #bzr ["Download] [03:26] pbor: yes, it will free the memory after each set of revisions [03:26] jelmer: ok, thanks for the suggestion.. /me tries [03:27] jelmer: any chance to implement the same workaround of hg? Or will the python-svn bug be resolved soon? [03:27] pbor:it's not just the memory usage of svn.ra.get_log() that's a problem [03:29] pbor: subversion seems to've fixed a bunch of memory problems in 1.5 [03:29] jelmer: ok... though if that workaround at least makes hg usable I hoped the same could work for bzr [03:30] jelmer: btw, it seems the -r trick is working very well [03:30] jelmer: I am already up to -r 3000 [03:31] jelmer: maybe for now the conversion could be batched in blocks of 1000 revisions [03:31] or something like that [03:31] I think I saw something ot that effect in a NEWS file recently :-) === vila [n=vila@lec67-4-82-230-53-244.fbx.proxad.net] has joined #bzr [03:32] pbor: that's a very large amount of work I'm afraid [03:33] Isn't that what revno. 711 was about? [03:34] jelmer: okay, so maybe this trick should be at least documented... one could whip up a quick shell script to parse svn info and then run bzr pull -r$i+500 until it recahes head :) === sii [n=sii@tranquillity.sii.se] has joined #bzr === BasicOSX [n=BasicOSX@216.243.156.81] has joined #bzr === fog [n=fog@debian/developer/fog] has left #bzr [] === p4tux [n=p4tux@189.169.63.63] has joined #bzr === bigdog [n=scmikes@72-197-8-8-arpa.cust.cinci.current.net] has joined #bzr === orospakr [n=orospakr@132.213.238.4] has joined #bzr === Mez_ [n=Mez@ubuntu/member/mez] has joined #bzr === niemeyer [n=niemeyer@200.140.230.150] has joined #bzr [04:36] corporate_cookie: What's the error? [04:36] abadger1999: i've got it : ) [04:36] but thanks for the responce [04:37] Cool :-) [04:37] im still a little green ...but i'm figuring stuff out === corporate_cookie [n=richie@seraphim.asbury.edu] has joined #bzr === BasicOSX [n=BasicOSX@errant.real-time.com] has joined #bzr === hexmode [n=user@24.115.83.248.res-cmts.eph.ptd.net] has joined #bzr === zyga [n=zyga@ubuntu/member/zyga] has joined #bzr === sabdfl [i=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr === bigdo1 [n=scmikes@72-197-8-8-arpa.cust.cinci.current.net] has joined #bzr === RichardL is now known as rml === niemeyer [n=niemeyer@200.140.230.150] has joined #bzr === Mez_ [n=Mez@ubuntu/member/mez] has joined #bzr === cprov is now known as cprov-lunch [05:39] jelmer: I let the pull from svn run with a script that pulled 100 revisions at a time but now it errors out in a somewhat surprising way: [05:39] bzr: ERROR: Requested revision: u'4900' does not exist in branch: SvnBranch('svn+ssh://pborelli@svn.gnome.org/svn/gedit/trunk') [05:39] but... [05:39] pbor: bzr revno's are per-branch [05:39] URL: svn+ssh://pborelli@svn.gnome.org/svn/gedit/trunk [05:39] Repository Root: svn+ssh://pborelli@svn.gnome.org/svn/gedit [05:39] Repository UUID: 553ab114-d825-0410-8aca-8eebfce848a2 [05:39] Revision: 5923 [05:40] the svn revno is per-repository [05:40] jelmer: mmm, so is it normal? [05:40] ah, so it discarded all revisions that didn't affect trunk? [05:40] well, didn't fetch them at all [05:41] neat! [05:41] so one more pull and I am done! [05:41] :) [05:41] this sort of stuff (memory issue as well) is documented in bzr-svn trunk, and will be in 0.4.4 [05:42] jelmer: great, thanks a lot for your help (and for bzr-svn!) [05:42] now I just need to figure out a patch to test my new toy [05:44] but first of all I'll push the import to a remote ssh, so that if I screw up I can just branch that === BasicOSX [n=BasicOSX@errant.real-time.com] has joined #bzr === michelp [n=michelp@69-30-72-119.dq1sf.easystreet.com] has joined #bzr === zyga [n=zyga@ubuntu/member/zyga] has joined #bzr === kiko is now known as kiko-fud === jrydberg [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr === rml [n=Skippy@78.32.35.169] has joined #bzr === dpm [n=dpm@p54A135ED.dip0.t-ipconnect.de] has joined #bzr === asak [n=alexis@201-27-61-62.dsl.telesp.net.br] has joined #bzr === cprov [n=cprov@canonical/launchpad/cprov] has joined #bzr === bac is now known as bac_afk === quicksilver [n=jules@212.69.38.59] has joined #bzr === EdwinGrubbs [n=edwin@cpe-66-25-92-150.satx.res.rr.com] has joined #bzr === asabil [n=asabil@62.70.2.252] has joined #bzr === rml [n=Skippy@78.32.35.169] has joined #bzr === marianom [n=marianom@ubuntu/member/marianom] has left #bzr [] === zyga [n=zyga@ubuntu/member/zyga] has joined #bzr === jrydberg__ [n=Johan@c80-216-246-123.bredband.comhem.se] has joined #bzr === GaryvdM [n=chatzill@mtngprs2.mtn.co.za] has joined #bzr [08:10] if I do bzr log | less and then ctrl+C before it's finished bzr gives a traceback... [08:10] which is a bit annoying since it triggers ubuntu bug reporting tool [08:11] yeah, that seems to be new behavior [08:11] or reintroduced behavior [08:11] ('q' instead of ctrl+C reproduces it just as well) [08:12] I think reintroduced as well. [08:13] is it a pipe error? (I can't remember the name) === cprov is now known as cprov-afk [08:13] yep, IOError: [Errno 32] Broken pipe === fkumro [n=fkumro@pool-71-186-136-74.bflony.east.verizon.net] has joined #bzr [08:26] I'm just reading through the docs but I cannot find out what the command would be to revert a file to before a commit [08:26] bzr revert [08:27] heh I feel foolish [08:27] :-) [08:28] how would I use it ? Specify the file and revno ? bzr revert file? === herzel [i=herzel@gateway/tor/x-795fa8905baac061] has joined #bzr [08:29] fkumro: bzr revert -r revno file [08:29] thanks again [08:29] fkumro: if you don't pass "-r", it just reverts to the latest version (i.e. throwing out all changes only made in the working tree) [08:29] see bzr revert -h for more details [08:30] good to know that about the -r flag === pmezard [n=pmezard@nor75-4-81-56-59-92.fbx.proxad.net] has joined #bzr === cprov-afk is now known as cprov === Mez_ [n=Mez@ubuntu/member/mez] has joined #bzr === asabil [n=asabil@ti0035a340-0469.bb.online.no] has joined #bzr === bac_afk is now known as bac === joseo [n=user@84.123.19.235.dyn.user.ono.com] has joined #bzr [09:09] hi [09:10] anybody knows if its possible to rename .bzr to something else like _bzr [09:11] I'm having problems with ftp uploaded and I think are related to this [09:14] so quiet here :) [09:15] Hi - sorry - don't know [09:15] I would help but I just started using bzr for my projects today heh [09:15] What are your problems? [09:16] Steps to reproduce? [09:17] joseo: no way apart from patching the source. [09:17] Me too I'm starting today [09:17] or trying [09:17] :) [09:17] james_w:okay, I see [09:18] It's a pitty === herzel [i=herzel@gateway/tor/x-c1976f286381567c] has joined #bzr [09:18] joseo: What problems are you having? [09:20] GaryvdM: this -> bzr: ERROR: Generic path error: '/.bzr': error w/ stat: 550 CWD command failed. "/.bzr": Permission denied.) [09:20] [09:21] What did you do to get there? [09:21] e.g. what command? [09:22] bzr push ftp://user:pwdf@ftp.drivehq.com --use-existing-dir [09:22] joseo: that will push to the root of the server, you probably want to push to a subdir. [09:23] I know [09:23] bzr push ftp://user:pwd@ftp.../home/user/bzr/ or similar [09:23] but no difference [09:23] jelmer: hoho, you have fixed that push bug I see? [09:24] bzr push ftp://joorce:gandalf@ftp.drivehq.com/PublicFolder/CocoaNotepad --use-existing-dir [09:25] this the desired command but no way [09:25] joseo: have you tried using another ftp client to see if you have permission to write there with another file? [09:26] is there something like bzr missing, but for checkouts? [09:26] as in, I want to know how out-of-date my checkout is [09:26] I was wondering about that, and didn't find anything. [09:27] Lo-lan-do: bueh :\ [09:27] it'd be a good tool for those of us who only follow someone else's branches [09:27] Yeah. I turned my checkout into a branch for precisely that reason. [09:28] GaryvdM: Have to go, thanks for the help [09:28] can you bzr missing ? [09:28] ok - np [09:28] james_w: are you asking me? === Lo-lan-do tries [09:30] mathrick@hatsumi:~/.bazaar/plugins/svn$ bzr missing http://people.samba.org/bzr/jelmer/bzr-svn/0.4/ [09:30] Branches are up to date. [09:30] I guess not [09:30] ah, no it will compare the branch to itself I guess. [09:30] Lo-lan-do: but branches are a huge waste of space if you don't intend to hack the code, just follow it [09:30] what would be cleanest, a flag to checkout, a flag to update, or a new command? [09:31] lapthrick: I know, I know, but in the case of bzr-svn, it's not much space anyway, I guess. [09:31] 5 MB instead of 800 KB I can afford that. [09:31] yeah, I guess [09:32] but there were biggest checkouts I did [09:32] james_w: how about bzr status? [09:32] I think it'd make sense to have it there [09:32] status could be good too. [09:32] james_w: are you gonna hack it in? :) [09:33] (go james_w!) === pbor still has problems with bzr-svn... I am not able to push to the svn repo [09:33] Then make it "status -u", please, in order not to *require* net connection [09:33] pbor: You're not alone :-) [09:33] paolo@murdock:~/bzr/gedit-dev$ bzr merge svn+ssh://pborelli@svn.gnome.org/svn/gedit/trunk [09:33] Nothing to do. [09:33] paolo@murdock:~/bzr/gedit-dev$ bzr push svn+ssh://pborelli@svn.gnome.org/svn/gedit/trunk [09:33] bzr: ERROR: These branches have diverged. Try using "merge" and then "push". [09:34] it refuses to commit because there is stuff to merge but it refuses to merge because there is nothing to merge [09:34] Lo-lan-do: -u? [09:34] lapthrick: Like in svn [09:34] Lo-lan-do: also, I'd make -u *not* check that, and do otherwise [09:34] Or --somethingelse, I don't care [09:34] so -u would be "unconnected" [09:35] "svn status -u" means check for remote changes too, so I don't think it would be a good idea to reuse the same option with an opposite meaning [09:35] Lo-lan-do: then --offline [09:36] I personally think it's a good default to do it [09:37] Hm. The default for status in branches is to work offline, so I'd rather have the same behaviour in checkouts. [09:37] does status in branches ever result in network connections? [09:37] after i create a personal branch (bzr branch), edit a file, commit it, do I need to use bzr merge to get the file to the server or push? [09:37] lapthrick: No [09:37] fkumro: push [09:37] thanks [09:38] fkumro: though a merge could be also needed before you can push, if the upstream has done something you didn't merge yet [09:38] Lo-lan-do: but then, checkouts pretty much by definition are networked whilst branches aren't [09:39] very true, I'll have to remember to do that so I dont run into issues. [09:39] I think it makes perfect sense to include that for checkouts [09:39] fkumro: it will tell you when you do :) [09:39] pbor: try to pull ? [09:39] lapthrick: when I try to push and it needs to merge it will tell me that? Seems too easy :-P [09:39] asabil: but it's still very odd that bzr merge won't do anything [09:40] bzr status doesn't check for missing changes. bzr missing does. Please don't change the behaviour of bzr status. [09:40] fkumro: yeah, it won't let you push to a diverged branch [09:41] Lo-lan-do: but bzr missing ./mycheckout will check missing for the branch it's a checkout for, not for checkout itself, so you can't overload it to check for checkout's status too [09:41] Lo-lan-do: I really don't see anything bad about defaulting to networked ops for checkouts, they do that already anyway [09:42] asabil: do you mean pull from the svn repo? shouldn't merge imply that? (trying anyway in the mean time) [09:42] one more question for everyone. I'm only playing around with simple directory layouts but I have my levels of directories on my projects at home. If I go into the root and execute "bzr init ." then "bzr add" and then commit will bzr recursively add all the directories below root? [09:43] pbor: pull and merge are slightly different, but still your case seems really weird [09:43] asabil: didn't help... [09:43] :( [09:44] fkumro: yes [09:44] pbor: which version of bzr ? [09:44] asabil: I just pulled from svn, made a change, committed it and now I want to push it... it's not like I was doing some crazy stuff [09:45] fkumro: if you want to keep different things in separate branches, you might consider making it a repository (though it mostly makes sense when there are branches that would be able to share stuff, as repos make them able to reuse identical data) [09:45] asabil: 0.90.0 [09:46] hmm, really weird [09:46] lapthrick: That's something I have to read into more tonight before moving my code over. I will probably be back here asking more questions about that exact topic. [09:47] asabil: do you successfully use bzr with a gnome svn module? [09:48] pbor: https://lists.ubuntu.com/archives/bazaar/2007q2/026497.html [09:48] pbor: I don't have a gnome svn account, so I cannoy push [09:48] I pulled already without any problem [09:49] asabil: yeah, that message looks like the same issue [09:49] pulling works [09:49] looks like a bug to me [09:50] yeah... /me digs in launchpad [09:50] moin [09:51] Hello lifeless [09:51] hi lifeless [09:51] pbor: can you try the latest bzr and bzr-svn ? === sverrej [n=sverrej@ti0125a340-0748.bb.online.no] has joined #bzr [09:52] asabil: well, I hoped that gutsy had stuff recent enough :) [09:52] asabil: but ok, I'll try latest and greatest [09:52] lifeless: Do you know a easy way to run a lsprof on olive-gtk? [09:52] 0.91 is not in gutsy I guess [09:53] 0.91 is out? [09:53] asabil: bzr-svn 0.4.2 is a more significant change than bzr 0.91. [09:53] candidate [09:53] Lo-lan-do: not as yet I believe. [09:53] Oh. Right. [09:53] james_w: bzr-svn 0.4.2 works with 0.90 ? [09:54] pbor: try to update only bzr-svn then === sverrej [n=sverrej@ti0125a340-0748.bb.online.no] has joined #bzr [09:54] GaryvdM: hmm [09:54] GaryvdM: if the --lsprof command doesn't work well [09:54] GaryvdM: then I'd use the bzrlib.lsprof module directly around the function to profile [09:55] asabil: mmm... how do I install bzr-svn without changing bzr? [09:55] system wide ? or for the user only ? === rml [n=Skippy@78.32.35.169] has joined #bzr === Mez_ [n=Mez@ubuntu/member/mez] has joined #bzr [09:56] lifeless: I was thinking, maybe I could make olive-gtk a plugin command.... [09:56] asabil: well, if possible I'd like to test it locally [09:56] Would that work> [09:56] s/>/? [09:57] GaryvdM: I'd guess so; bzr viz already is [09:57] Cool [09:57] GaryvdM: so you could try 'bzr --lsprof viz' and see how well it works [09:57] I've been useing that lots... [09:58] pbor: then download the latest release from http://samba.org/~jelmer/bzr/bzr-svn-0.4.3.tar.gz and untar it to ~/.bazaar/plugins [09:58] I've managed to get bzr viz bzr.dev from 30 sec to 2.5 sec [09:58] Lots and lots of profiling [09:58] cool === sabdfl [n=sabdfl@ubuntu/member/pdpc.silver.sabdfl] has joined #bzr [09:59] Now I want to look at Bug 70463 [09:59] Launchpad bug 70463 in bzr-gtk "olive slow when used in bound branch" [Medium,Confirmed] https://launchpad.net/bugs/70463 [09:59] pbor: after untarring it, you would probably want to rename the folder to svn (so that it is a valid python package) [09:59] also don't forget to uninstall the installed system wide bzr-svn just in case [10:00] mwh: so how did it look ? [10:06] pbor: how did it go ? === kiko-fud is now known as kiko [10:06] asabil: trying... the push seems to be going through, albeit slowly [10:07] yeah, bzr-svn is quite slow unfortunately :/ [10:07] UGH [10:07] http://svn.gnome.org/viewcvs/gedit/trunk/ [10:08] it touched *every* file [10:08] :/ [10:09] Probably only the properties [10:10] 5900 revisions ... did you manage to check it out without eating 4 Gb of memory ? [10:10] Lo-lan-do: does that mean that it may have screwed up all svn properties? [10:10] lifeless: not great :/ [10:10] I don't think so, it probably just added bzr:* revisions [10:10] Er, properties [10:11] asabil: heh... that was a pain, thanks to jelmer suggestions we figured it out: [10:11] r=$1 [10:11] while [ $r -ne $2 ] ; do [10:11] bzr pull -r$r svn+ssh://pborelli@svn.gnome.org/svn/gedit/trunk [10:11] r=$(( $r + 100 )) [10:11] done [10:11] lifeless: most of the "getting data out of bzrlib" steps took 1.5-2x as long on the packs repo [10:11] so not hideous, but not very good either [10:12] asabil: and yes, it took a looooong time :) === mwh --> pub [10:12] pbor: it's a memory leak in python-svn :/ not really bzr's fault [10:13] asabil: yeah, I know [10:13] asabil: that's why I had to do it 100 revisions at a time [10:13] that's a smart trick :) [10:13] asabil: however it's not the only thing that is slow... [10:14] yep, bzr-svn needs some profiling I guess [10:14] asabil: I am trying to push a copy of the repo to my gnome.org ~ dir and it is taking forever [10:14] I can branch ~4800 revisions from the Gforge svn without such a trick, but it does take some time. [10:14] Lo-lan-do: how many gigs of memory do you have :) [10:14] 1 [10:15] But I expect gforge may be smaller than gedit === jkakar [n=jkakar@204-174-36-45.dhcp802.dsl.ucc-net.ca] has joined #bzr [10:15] asabil: the push I am tryng to do is with sftp... [10:15] 44 MB [10:15] Lo-lan-do: 5900 revisions here [10:16] Ah, no, not even that, 37 MB [10:16] 126M gedit-dev/ [10:16] I think that's where you beat me :-) [10:16] mmm... wait that is with built stuff [10:17] clean 87M [10:20] is there a way to compress all local commits in a single revision for svn? [10:21] e.g: I hack on feature X do 10 small commits and fixups in my branch [10:21] but then I just want to push it as a single patch for the 'upstream' repo [10:22] Maybe doing it in another branch, then merging to your gateway branch, then pushing that gw branch to svn [10:22] (Not tried myself, since bzr-svn still doesn't want to let me push to svn) [10:23] Lo-lan-do: did you update to the latest bzr-svn? that did the trick for me [10:23] I run on the latest, but I have another bug. [10:24] pbor: You can uncommit x n and then commit [10:25] Ah - uncommit has -r so you can uncommit -r (starting revision) and then commit [10:25] GaryvdM: ugh, sounds ugly :) [10:26] pbor: why collapse the commits ? [10:26] Please do it in a branch.... [10:26] you lose the ability to make quite orthogonal commits [10:26] argh [10:26] now that jelmer fixed that push but, I'm running into branches diverged thing myself [10:26] *bug [10:27] pbor: can I get you to give bzr record a try ? [10:27] pbor: you say bzr pull fixed it for you? [10:27] mwh: ok, can you give me some timings and operations you were testing with [10:27] mine says no revisions to pull [10:28] asabil: because with a local repo I commit very often but that makes the history hard to follow... if I hack, commit, fix a typo that prevents compilation fix it, commit, there is no use for that to go in the public history [10:28] lifeless: is there some way I can make bzr bail out on errors? [10:28] lapthrick: using the latest bzr-svn fixed it [10:28] pbor: I thought I was using the latest :( [10:28] pbor: then you can think about writing a bzr plugin ? [10:29] asabil: what is bzr record? [10:29] mathrick@hatsumi:~/.bazaar/plugins/svn$ bzr update [10:29] Tree is up to date at revision 718. [10:29] pbor: what branch do you pull from, 0.4 or trunk? [10:30] pbor: a plugin I wrote to create orthogonal patches from a bzr tree :D [10:30] lapthrick: I used the last released tarball 0.4.3 [10:30] asabil: sounds nice! [10:30] pbor: you can grab it from the bzr plugins page [10:31] ok [10:31] pbor: bummer, that I can't use because I rely on fixes from r716 [10:31] asabil: ooh, sounds nice [10:31] lapthrick: yay, for bleeding edge software :P [10:31] that's really useful for pushing upstream [10:32] lapthrick: we do bail on errors [10:32] lifeless: err, yes, bad phrasing, I'd like it to bail when it says branches have diverged [10:32] lapthrick: it is still very sketchy, I wrote it because we use bzr at work and we need to submit patches upstream [10:33] lapthrick: what do you mean precisely; do you mean a different return value to the shell ? [10:33] asabil: add a --bugzilla option that attaches the patches in bugzilla and I am sold :) [10:33] lapthrick: and from what command === LeoNerd [n=leo@cel.leonerd.org.uk] has joined #bzr [10:34] pbor: that would be easy to do, but what I want is a --interactive to the commit commands [10:34] so that you can select exactly which hunks to commit [10:34] (yes I used darcs before ...) [10:35] lifeless: I would like something I can break on in PDB or similar [10:35] bzr bzr-pokersource:2902/> push svn+https://beta.aimido.de/svn/src2/branches/mathrick/pokersource [10:35] These branches have diverged. Try using "merge" and then "push". [10:35] lifeless: I mean I'd like to catch the moment when it decides they have diverged === pbor wonders if bzr squash to merge commits in just one commit would doable as a plugin === Gwaihir [n=Gwaihir@ubuntu/member/gwaihir] has joined #bzr [10:37] lapthrick: oh hmm, edit bzrlib/builtins.py perhaps ? [10:37] lapthrick: or have you not tried 'BZR_PDB=1 bzr push' === jkakar [n=jkakar@204-174-36-45.dhcp802.dsl.ucc-net.ca] has joined #bzr [10:37] nope [10:39] hmm, that doesn't really tell me which part of bzr-svn decides they have diverged === marianom [n=marianom@ubuntu/member/marianom] has joined #bzr === cprov is now known as cprov-afk === pbor keeps on asking since it worked out well so far... [10:53] can I make bzr-svn do not commit .bzrignore files in svn? === Demitar [n=demitar@c-212-031-182-147.cust.broadway.se] has joined #bzr === Mez_ is now known as Mez [10:54] add .bzrignore to .bzrignore and remove from tree [10:55] GaryvdM: but if I remove it from the tree, then when branching with bzr it will not be pulled right? === Mez_ [n=mez@ubuntu/member/mez] has joined #bzr [10:56] Yhea [10:56] I wonder if bzr-svn could special case that [10:56] lapthrick: ah, so now we get closer:) [10:56] lapthrick: bzr-svn exposes the regular bzr api [10:57] lifeless: yeah, I even for it to stop in branch.py [10:57] lapthrick: which pull can use [10:57] s/for/got/ [10:57] are you using svn-push? I think you are meant to [10:57] lifeless: no, svn-push is only meant to be used if you need to create a new branch on the svn side [10:58] oh [10:58] It would be cool if bzr-svn could translate betweem bzr ignore and svn ignore... [10:58] are you sure ? :) [10:58] lifeless: that's what all the docs say, so pretty sure, yes [10:58] ok [10:59] so anyhow, the decision about variance is quite simple [10:59] given a graph for the left branch and for the right branch [10:59] either the tip of the left branch is in the right branch's graph, or its not [10:59] if it is, the right branch can be pushed onto the left branch [10:59] if it is not, it errors [10:59] so in bzrlib api terms [11:00] yeah, I can see the line where it raises DivergedBranches [11:00] I just need to understand what exactly it checks [11:00] bzrlib.branch.Branch.open('svn://...').last_revision() in bzrlib.branch.Branch.open('.').repository.get_ancestry([bzrlib.branch.Branch.open('.').last_revision()] ) [11:00] IIRC [11:01] possibly get_ancestry takes a revid not a list of revids [11:01] if not other.repository.get_graph().is_ancestor(self.last_revision(), [11:01] stop_revision): [11:01] if self.repository.get_graph().is_ancestor(stop_revision, [11:01] self.last_revision()): [11:01] return [11:01] raise DivergedBranches(self, other) [11:01] bah [11:01] not pretty [11:03] so the inner if there checks for 'this branch has already been pushed here' [11:03] the outer checks for 'someone else has pushed here before you and you should merge from them before pushing' [11:04] http://codebrowse.launchpad.net/~jelmer/bzr-svn/0.4/annotate/jelmer%40samba.org-20070925134348-1bsc948sqqmevhvh?file_id=svnbranch.py-20051017135706-11c749eb0dab04a7#L343 [11:04] here it is a bit nicer [11:04] lifeless: I see [11:05] lifeless: so foo.is_ancestor(bar) checks if bar is ancestor of of foo? [11:06] or the other way around? [11:06] graph.is_ancestor(foo, bar) is True if bar is reachable from foo in graph [11:07] that is, if foo is an ancestor of bar === asak [n=alexis@201-13-27-139.dsl.telesp.net.br] has joined #bzr === schierbeck [n=daniel@disko.egmont-kol.dk] has joined #bzr