[00:07] strangely, using open_tree_or_branch to simultaneously do the opening doesn't seem to help, and _filter... seems to depend heavily on already knowing the revision id. it seems a lot easier to do this using pysvn, but i suppose that may be because pysvn is an extra abstraction layer.. (and that doesn't help me as i'm using bzr) [00:07] garyvdm: ^ [00:08] Yes [00:08] Give me a sec [00:08] no problem [00:19] awilkins: pong [00:26] tsmithe: http://pastebin.com/m4e620ab5 [00:38] garyvdm: thanks - that didn't work when (as i was doing) i was opening the tree/branch with path "..". however, when i changed to ".", your code worked - so thank you. but that made me wonder whether find_touching_revisions would work in ".". it did. curious. [01:27] Hmm, Loggerhead is using more RAM than usual. [01:36] What does '.. will create a repository within the new branch' mean? Aren't branches supposed to be stored IN repositories? [01:37] Peng_: well i don't think _i've_ committed any code for weeks :) [01:38] GungaJin: I think it means it will put the repository in the .bzr directory that is inside the branch's working directory [01:39] man... it's so confusing that each vcs uses slightly different meanings for the same term... [01:39] I'm not saying that that's the right way for it to say that ... [01:39] just that that's probably what was meant [01:40] GungaJin: if they didn't, they'd be the same vcs probably :) [01:40] well, it also says that 'bzr init' makes a directory a versioned branch... [01:40] dash - not necessarily :) [01:40] could make up new terms [01:41] or take them all from monty python and red dwarf [01:41] :) [01:42] are you storing your gumby in a shared grail? [01:52] You know what's smart? Walking thousands of directories, 3 times. :X [01:53] mwhudson: Yeah, you're probably right. :P Let's blame jelmer, since he's not here! :) [01:54] hello all [01:55] poolie: hello! [01:57] zzzz - time for bed [02:41] jml: re review mail, why not open a bug and post the link to the list [02:41] then maybe once you know, summarize what can be done [02:41] as a workaround, if anything [02:56] jml: Is 'launchpad' or 'launchpad-code' the right place to submit 'code review' bugs? [02:56] lp-code [02:56] morning poolie, jam, all [02:56] hi igc [02:56] morning lifeless, spiv [02:56] lifeless: k, launchpad has the tag 'code-review', but I can migrate my bugs as appropriate [02:57] morning igc [02:57] hi jam - really well done of the bencode stuff [02:57] igc: thanks. Now if I can just get the patch to land :) [02:58] Just silly things like having an old GPL header [02:58] or Revision.parent_ids wanting to be a 'list' rather than a 'tuple' [02:59] jam: :-) [03:00] jam: launchpad-code also has the tag code-review [03:01] jam: in any event, you can *always* file bugs on 'launchpad'. matsubara or Ursinha will look at it, triage it & assign to the right subproject. [03:01] hello igc! [03:01] hello lifeless [03:02] igc: Morning, I just reviewed your dirstate patch as it happens :) [03:02] hi spiv, just readng over your comments now [03:03] so spiv, a few things ... [03:04] I did really mean "is not False" - the attribute is tristate ... [03:04] where None means not yet set and False means "don't allow setting to True" [03:05] How can I list all revisions on a branch? [03:05] igc: hmm [03:05] spiv: and some low level dirstate tests do fail from memory if the limit is non-zero [03:05] igc: I get that it's a tristate, but in that case wouldn't "is None" fit better? [03:06] I think they make changes and explicitly go and read the file content, or something like that [03:06] igc: because setting to True when already True is pointless [03:06] spiv: thanks for all your reviews [03:06] spiv: is None would be better [03:07] If it wasn't used in so few places and in such performance critical code I would've suggested using more explicit symbols for the tristate enum... True/False/None isn't a great fit. [03:08] spiv: I did benchmark keeping the lines around at the beginning, at least in Python code (my pyrex sucks) [03:08] dirstate code is fixable now [03:08] as we have a C version and a python version [03:09] if something canbe cleaner, just make sure that part has a pyrex version, and make the python one as clean as you like [03:09] spiv: it's faster not to do anything unless it's really needed, i.e. leave the reading until we know we need to do it [03:09] jam: does your custom decoder try using a list rather than a dict? [03:09] and the pyrex version can be plan C [03:09] if you did, it'd be getting fairly close to the minimal bytes, i think [03:09] poolie: The format change I made uses a list [03:10] the custom decoder doesn't use either [03:10] it just sets attributes on self [03:10] and then passes those to a Revision object [03:10] spiv: so my plan was to left the reading until just before we know we're about to make a batch of changes, say [03:11] igc: fair enough (regarding keeping the lines), it might be worth a brief comment where you re-read them mentioning that, because it's a little counter-intuitive that repeating work is cheaper. [03:11] i meant a bencode list, like l12:mbp@sourcefrog23:mbp@123g131983712983719837e [03:11] The pyrex bencode just uses whatever you told it to. The "lp:~jameinel/bzr/revision_bencode_decoder" is a more stateful "if key == 'message': self.message = self._read_string()" sort of thing. [03:11] spiv: either way, the current patch is a pretty nice performance improvement and the other smarts can come when I tune commit and other operations later [03:11] spiv: yes, good pointy [03:12] s/pointy/point/ [03:12] poolie: Right, so the new disk format is a list of 2-entry lists [03:12] rather than a dict [03:12] how do I set the working tree of a branch (in my case a lightweight checkout of a local branch) to a specific revision? [03:12] jam: Of [['revid', 'foo@bar-123'], ['author', 'Joe Example <...>'], ...] ? [03:13] jfroy: bzr remove-tree; bzr co -r X ? [03:13] spiv: basically [03:13] jam: IIRC poolie's suggestion was to do away with the key-name elem entirely for the fields that are always present. [03:13] jam: what, you have top delete the tree? [03:13] there's no equivalent to svn up -r foo [03:13] *have to [03:13] jam: so ['foo@bzr-123', 'Joe Example <...>', ...] for that example [03:14] jfroy: https://code.edge.launchpad.net/~mhammond/bzr/update-r/+merge/6980 [03:14] jam: which makes sense to me; even though the repeated parts should compress wonderfully it's still less raw text to validate when decoding. [03:14] spiv, poolie: So I think we can consider it. [03:14] I kind of like self [03:14] self-describing disk formats [03:14] when possible [03:15] also, it gives me *some* flexibility to change the order if we find something better [03:15] without completely nuking the reader [03:15] though... if we consider the exact bytes to be sanctified, then we'd have to be careful [03:19] jam - your read vs readlines tests [03:19] jam: are they done on many small files, or one huge one? [03:19] lifeless: that test is on one huge one [03:19] the memory consumption is about how many X we are of the largest file [03:19] bahamut$ bzr co -r 769 --lightweight carrier/ carrier-769 [03:19] bahamut$ bzr revno carrier-769/ [03:19] 794 <-- :( [03:19] jam: I think that test is not representative then. Because we can't really scale up that way anyhow. [03:19] we are pretty good about not holding the content of all files the whole time during commit [03:20] I'm about to mail a large file support proposal to the list [03:20] would appreciate your critique of it [03:20] lifeless: well, *today* we have about 5x memory overhead for committing the content of a no-eol file [03:20] so a 100MB file => 500MB during commit [03:20] jam: yes [03:20] and your work is key to making that tolerable [03:20] jam: fixing that issue would be awesome [03:20] I think Loggerhead is leaking bzr-svn-related things. [03:21] I have a few branches that take GBs of real RAM to check out. [03:21] jfroy: I have 2 patches up, which bring it down to 2x for --dev6 formats [03:21] jfroy: checkout != commit [03:21] oh? revno gives the tip revno all the time? [03:21] jfroy: 'bzr revno' is the branch revno, IIRC [03:21] not the WT revno [03:22] that's correct :| [03:22] "This is equal to the number of revisions on this branch" [03:22] soooo [03:22] bzr st says 'working tree is out of date, run 'bzr update'' [03:22] bzr info says nothing [03:23] ahhh [03:23] Surely there's a better way to get a Revision from a revid than doing RevisionSpec.from_string('revid:' + revid), right? [03:23] version-info [03:23] completely unintuitive name [03:23] that command fails [03:23] I mean, it's name is a fail [03:24] fullermd: repo.get_revision(revid) [03:24] I can get the repo from a Branch object, right? [03:25] jfroy: How funny that you're grumpy about revno right at this moment... [03:25] branch_obj.repository, yeah :) [03:30] Oh, heck, it wants a RevisionSpec... [03:30] * fullermd gets grumpy. [03:32] Oh well. Silliness it is then. [03:38] Loading an 8 MB Dozer page is definitelt a good idea. [03:38] Such a good idea that I can't spell it! [03:39] fullermd: why not repository.get_revision(revid) [03:40] Because I need a RevisionSpec, not Revision. [03:40] * thumper sees spiv's response [03:40] fullermd: for what? [03:40] Bah, send -o doesn't expand ~. Hrmph. [03:41] fullermd: "bzr send -o ~foo" would be expanded by the shell, wouldn't it ? [03:41] Probably, but -o~foo isn't. [03:41] I suppose -o~foo might not [03:44] thumper: for https://lists.ubuntu.com/archives/bazaar/2009q2/059119.html [03:46] jfroy: See ^^ [03:47] fullermd: I wonder what happens if the current revid no longer exists on branch (e.g. make a lightweight checkout, then someone else uncommits the tip, then you try "bzr revno --tree" in the checkout)? [03:47] fullermd: eh [03:47] good enough [03:47] fullermd: you could add a "--both" flag [03:47] which would be suitable for an alias [03:48] like "revnoa" or whatever [03:48] (a -> all) [03:48] spiv: Not sure. revision-info blows up in such cases... [03:48] hello. If I've checked out a branch anonymously, what's the command to authenticate so I can check in? [03:48] jfroy: Well, _you_ could. I just blew my bzr time for the rest of the month on that :p [03:49] fullermd: I'm not surprised... [03:51] Presumably version-info should grow something similar too... [03:51] Actually, version-info probably should DEFAULT to the tree rev, considering its aim. [03:53] fullermd: makes sense to me, but I probably lean towards making revno and revision-info default to the tree rev too... [03:53] I wouldn't argue against that. [03:55] Having the option at least cuts down on my grumpiness a bit anyway. [04:04] * igc lunch [04:04] * spiv -> food, etc [04:04] * spiv hopes this vicious sore throat goes away soon [04:08] oh found it...bzr bind bzr+ssh://... [04:38] mwhudson: ping [04:39] Actually, I don't really need to ping you. [04:39] poolie: you available for a bzr related call? [04:46] Peng_: :) [04:48] mwhudson: Running Dozer is fun! Especially the 20 MB page listing all of the lists! :D [04:49] Loggerhead seems to be leaking some bzr-svn-related stuff. [04:49] From when it scans the directories for branches. [04:52] that sounds vaguely familiar [04:52] Yeah, it does. [04:52] also, i'm tempted to say, NFM [04:53] NMF [04:53] NMF? [04:53] Oh. [04:53] :D [04:53] If one of you enjoys looking at Dozer output for some strange reason, http://bzr.mattnordhoff.com/loggerhead/_dozer/index :D [05:00] A few hundred subversion-related things shouldn't account for much RAM, should it? [05:10] depends what the things are, but no, not really [05:10] Peng_: have you seen jam's py_mem_profile thingy? [05:12] mwhudson: SubversionAuthenticationConfig and SubversionException, FWIW. [05:13] Peng_: those sound small indeed [05:13] mwhudson: I might've read the email, but normally I'm not interested in memory profiling, so I don't remember it. [05:16] Eh, I think the garbage collector keeps doing its job, making it difficult to analyze this. :P [05:17] Anyway! [05:25] spiv: thanks! [05:25] jml: np [05:34] jml: (although I'm not sure if my commit rights are adequate to land something on bzr.1.15, but I guess we'll find out soon...) [05:34] :D [05:37] spiv, i think i asked spm to make access to all branches the same [05:37] at any rate i don't see much value in having different privilege levels [05:44] spiv: poolie: we have 2 groups: bzr and bzr-release-mgr. bzr can ci to trunk; release manager to the versioned branches. aiui, it's been that way for a long time. it may be worth collapsing those to a single group? and/or revisiting the membership? [05:46] spm: I think it's probably ok to let any committers commit to all branches, but poolie gets the final say. [05:47] spiv: given the trivial diff on those two groups? I'd agree; but as you say :-) [05:47] For me the convenience of allowing a dev to cherrypick and land their own fix probably outweighs the "only RMs are fully trustworthy" paranoia. [05:48] And yeah, given that most devs have also been RMs at some point I'd expect the difference between the two groups to be minimal (and confusing) [05:53] jml: (it looks like PQM likes me) [06:01] there are only two groups because when I asked martin 'who do you want to be able to commit to he named a subset [06:01] its trivial to make it just one group [06:04] spiv: :) [06:12] So...the bencode repo format had worse performance than RIO, right? Why was it chosen? [06:12] igc: your dirstate patch [06:13] hi lifeless [06:13] igc: does it actually make saving faster, or does it just save under less circumstances, or both ? [06:13] both [06:13] cool [06:13] did my suggestion make sense? [06:13] yes, I'd liked it and it would be enough for status [06:13] i.e. for faster status [06:14] now [06:14] I have a planned change to dirstate [06:14] for windows [06:14] that will interact, do you have a minute to chat regarding this [06:14] sure [06:15] so to meet the dual constraints of windows fs limitations and bisection (for insanely fast 'st foo') I've proposed removing the single dirstate file [06:15] instead have a current pointer [06:15] and a directory of dirstates [06:16] ok [06:16] so we'll write to a new file when we do an update [06:16] and then link it into current, try to remove the stale one and if that fails assume another process is currently using it [06:16] don't we write the lot out again anyhow now? [06:17] yes [06:17] a related but more complex change we could make [06:17] is to go to some sort of journalling system [06:17] I don't think we have the time to do that for 2.0 [06:18] but we do, if we focus, to do the simpler change of having a current pointer and many full dirstates [06:19] it may be that this doesn't really interact with your code at all; in which case cool [06:19] but I thought it was worth running it up the flagpole [06:20] lifeless: I think my change is independent and won't clash in any way [06:21] cool [06:29] * spiv -> giving up for the day. Have a good weekend everyone. I should be over ubuflu by next week :) [06:39] bah! [06:39] cherrypicking is maddening [06:39] is there a revspec to specify "revision xyz up to tip of target branch"? [06:39] -r xyz.. does... bad things [06:40] jfroy: that should work fine; can you expand on bad? [06:41] it goes crazy and conflicts to all hell [06:41] I just want to merge the last 2 revision of A into B (A was branched from B) [06:42] well, its possible that the conflicts are genuine [06:42] do you get them if you apply the revisions as plain patches, or something similar? [06:43] No, there's no way those 2 revisions would conflict. [06:43] And not in the manner it's doing. [06:43] I'm getting content conflicts, file deletes and renames. [06:43] Those 2 revisions are simple edits to a few files. [06:43] sounds like the files were added independently to A and B [06:44] so bzr thinks they are different files that happen to be at the same path [06:44] B was branched from A. [06:44] and has 5 revisions more than A. [06:44] I want to bring the last 2 into A. [06:44] (skipping over the first 3) [06:45] I get that from your prior explanation. However, if you are getting content conflicts it [insert my 'sounds like' above] [06:46] spiv: you should be able to use pqm with lp branches now [06:46] A quick way to verify that it's not the .. would be to cherrypick the revs individually and see what you end up with. [06:46] jfroy: you can use 'bzr inventory --show-ids' to debug this [06:46] I'm pretty sure I'm just being stupid [06:46] with the merge command [06:46] and not understanding revspecs :/ [06:47] jfroy: no, I think its something else. Humour me. [06:51] yeah, doing two merge with -c x and -c y worked fine [06:52] (where x < y and {x, y} are the last 2 revisions of the merged branch) [06:52] jfroy: ok, please file a bug [06:52] so, should merge -r x.. do the same merge> [06:52] *? [06:53] roughly [06:53] uhm, it won't include x [06:53] merge -r {x-1}.. [06:54] the range x-1..x == -c x [06:54] yeah, that has a completely different outcome [06:55] whoa [06:55] revision_id = _mod_revision.ensure_null(revision_id) [06:55] ... [06:55] thank you IRC [06:55] bzrlib/repository.py:2308: DeprecationWarning: NULL_REVISION should be used for the null revision instead of None, as of bzr 0.91. [06:55] revision_id = _mod_revision.ensure_null(revision_id) [06:55] the merge basically deletes most of the files in the branch [06:57] however, -r (x-1)..y works fine [06:58] jfroy: definitely file a bug [06:59] will do [07:19] poolie: so 2.0 [07:19] poolie: I agree we need eye on the prize; heck I've been chanting that mantra [07:19] hi all [07:19] poolie: but the total lockdown on formats (thanks jml btw, I hear thats your idea) means there will be an awful long time before things we fix shortly after are made available to users. [07:20] hello vila! [07:21] lifeless: let's not overcatastrophize the format thing [07:21] hi vila [07:21] it's been a mess, it needs to be better, but we don't need to do anything stupid to just have less active formats [07:21] poolie: I don't mean to. Its unclear what we're signing up for is all; I know I'm not alone expressing concerns here. [07:22] ok [07:22] noted [07:22] i have a sinking feeling about answering that mail on the list because it may cause a lot of partly-constructive chatter about the best way to develop software in general [07:22] igc: I have some troubles with usertest: 1) selftest is not passing, 2) I get http://paste.ubuntu.com/188798/ [07:23] Obviously, the best way to develop software in general is to use bzr 8-} [07:23] actually, ignore my concerns here. Mark asked for one format in 3.0 [07:24] poolie: and sure, we need to batch things up into larger amounts, get more network independence etc. [07:25] ok, I'm going to halt() now [07:25] i guess briefly i see it as being a lot like an individual release [07:25] still somewhat sinusy but nearly well [07:25] i'd desperately like to fix all the things you name [07:26] but should we slip 1.16 til they're done? probably not, there's good stuff to get out [07:26] poolie: marks mail, april 16th or so 'scoping the ui...' talks about 3.x [07:26] poolie: I had confabulated that to be 2.x in my head [07:26] in 2.x we should do better than we have with plethora-of-formats [07:26] i said the same thing to him, that though i'd love to do them we need to get 2.0 out [07:26] in 3x we're being asked to have one format for the life of the 3.x series [07:27] Just killing off poor roots takes care of probably 75% of that right there... [07:27] the main point is: there should be a clear moment at which we have a new format and migrate people on to it [07:28] we should not do it every two months, but if it turns out that by the end of 2009 say we have great new work that requires a new format i'm happy to call that 3.0 [07:28] i guess the secondary point is: somewhat larger steps, rather than dribs and drabs [07:28] but that can be guided by experience [07:29] Hey, what should I use to provide public access to my bzr+ssh repos? For our svn repos we used the subversion apache module. Is there one for bzr, too? [07:30] poolie: which is the whole point IMHO. That mail doesn't seem to take into account many decisions, already agreed upon by the team, but maybe not visible enough yet. [07:31] i.e. we don't want to get into rich-root/non-rich-root divergence ever again [07:31] for example [07:31] poolie: so what I'm saying is broadly 'yes', but that 3.x should be more guided by 'we think we have a of breathing room', and that during 2.x we can issue new formats still [07:31] poolie: [if we feel the tradeoffs are worth making] [07:31] lifeless: +1 [07:32] forbiding experiments is definitely counter-productive (as long as they don't make our users cry) [07:33] vila: I don't think anyone is suggesting forbidding experiments [07:33] a single dev format may restrict them a lot [07:34] vila: I don't think so; we should do them outside of core until we are fairly convinced, then roll them into the dev format. [07:34] vila: this is a constraint for 3.x; so we should get comfortable with it during 2.x [07:35] lifeless: outside of core as much as possible, I agree with that, I'm not sure *what* territory is covered by that though [07:35] vila: My feeling is that its tied to the size and scope of the change. [07:35] tweaking an API - short lived branch. === thekorn_ is now known as thekorn [07:37] changing how big files are stored - plugin or long lived loom with the bits that we're sure of merged [07:38] I'm thinking about ubuntu as a branch and all installed packages as subtrees. status (implicit or explicit) may become to slow if recursion is on by default. That kind of problem is likely to have a lot of deep implications, to the point we may want to introduce some index (a la git), [07:39] now, we can introduce hooks where needed and still be able to do that from a plugin, but I don't think that will make it easier [07:39] s/to slow/too slow/ of course [07:41] lifeless: Did you read my post to the list about pbranches style branch management? Do you think it's feasible? [07:41] vila: so I think there are two things there; I've argued for a long time that working from '.' by default would be better. Anyhow if you have ubuntu in a single huge tree, status from . would be doable quickly via dirstate bisection [07:42] vila: separately, there is 'what is involved in doing status across subtrees'. [07:43] I was thinking about scanning the whole tree to update the dirstate with a tree that will trash the cache [07:43] vila: bzr status main/coreutils would only scan main/coreutils in the cache [07:43] and probably not pass the threshold to trigger a save [07:43] vila: and with subtrees coreutils would be a separate tree anyhow [07:44] vila: so there are two separate places we'd be listing all the subtrees: [07:44] a) dirstate [07:44] b) repository [07:44] they have different IO/compression needs. But nevertheless, what do you think we'd need to index? [07:45] awilkins: I saw it, haven't absorbed it. I think loom is not finished. [07:45] awilkins: and that many issues related to it are due to it not being finished, not due to the design. [07:45] awilkins: and further to that, that the design likely needs improving. [07:46] We tend to encourage a model where the user relies on bzr to check that it doesn't forget a modification when committing. So at some points, scanning the whole tree is required. We may transfer part of that check responsability to the user so that he decides to avoid scanning the subtrees [07:46] awilkins: I'm not at all convinced that heuristic full-topological support is good or needed. I think its hugely complex. [07:46] vila: abentley describes this as 'recursing upwards' in the nested tree docs. [07:47] vila: deciding whether in coreutils needs to go upwards *could* be policy. Or it could just never do it. [07:47] recursing upwards sounds evil to me, but I see where it can help here... [07:47] vila: so to commit a snapshot of all of ubuntu you'd explicitly cd to the root and commit [07:47] lifeless: got it [07:59] vila: [oh, and commit --norecurse or whatever would then just grab the last revid from subtrees rather than tryin to commit in them] [08:00] * lifeless halts() for real [08:01] lifeless: that's evil too :-) [08:03] but a strange idea just came up: I think file system should handled a 'last modification date' for the tree (as opposed to the dir), but I don't hold my breath about that. Yet, that's basically what we need, so how about creating/deleting a file in the top level directory when we update the dirstate and use that as an hint ? [08:04] That's not perfect, but that will curely covers many needs... [08:33] i really want to talk about the format thing but my batteries are going flat [08:38] poolie: plug yourself ! Enjoy your week-end :) [08:38] btw, [08:38] some people were asking a while ago about how to tell Launchpad to mirror a branch right away [08:38] http://paste.ubuntu.com/188831/ sketches out how to do that. [08:39] If you stay half-asleep all the time, is that like float-charging your batteries? [08:39] it relies on a branch of launchpadlib that I've written. [08:40] fullermd: staying half-awake all the time is very bad for battery life, go get some sleep :-) [08:41] I can't! All the Canonical people are still oversleeping from ubuflu, so I'm stuck on short-time to keep the balance :( [08:42] fullermd: it's ok, I catched up from ubuflu, I'll take care of the balance :) [08:42] ubuflu? Sounds like a disease that afflicts the dog that appeared at the end of the A-Team [08:42] "Sit Ubu, sit!" [08:42] I pity the flu. [08:44] night all [09:25] night all [09:25] igc: Good night. [10:20] * fullermd thinks that's quite enough hackage for one night... [10:27] Hm. I have selftest failures... [10:28] test_two_files_different_versions_no_inconsistencies_bug_165071 fails for me on RepositoryFormat's 5, 6, and 7. [10:59] Hi, can I checkout all branches in a repo easily? [10:59] not really [11:01] wam: You mean all branches in a code.launchpad.net team's page? [11:01] so if you have a repo with several branches and want them all on your local dev folder too, do you just create a folder and co all branches seperately or do you bzr init-repo instead of mkdir? [11:01] jpds: don't know - I just have a repo with some branches and would like to checkout them all [11:02] You should init-repo [11:02] ok [11:02] Otherwise you will waste a lot of bandwidth === arjenAU2 is now known as arjenAU [11:02] if they are related [11:02] (as in branches of each other) [11:02] awilkins: ack === Kissaki^0ff is now known as Kissaki === Kissaki is now known as Kissaki^0ff === statik` is now known as statik [12:38] jelmer: I've done svn-import on the svn repository on the server now, but it is complaining that what it got is not a branch: http://paste.pocoo.org/show/121138/ === mrevell is now known as mrevell-lunch [12:45] Hi :) [12:45] vadi2: That's right, it would have imported several branches [12:45] vadi2: they're subdirectories of yorba4/ [12:45] ah. [12:46] Would there be a way to set the "ancestor" of a branch, in order to do some later merges ? [12:47] My problem is somewhat similar to http://fourkitchens.com/blog/2009/01/19/creating-common-branch-ancestry-hard-problem [12:48] I'm pretty new to bzr but I'm trying to manually rebuild a project history from { CVS, then BZR }, to BZR. [12:48] I finished the CVS part, in a new project, call it B, at rev 10. [12:48] The project contents at B rev 10 is identical to initial commit of project A. [12:48] I pushed a copy of previous branches, in project A into project B, branch B.A . [12:48] Now the problem is that I can't merge any revision of B.A into B.trunk, bzr tells me: ERROR: Branches have no common ancestor, and no merge base revision was specified. [12:48] I could do "bzr merge -r 1..2 lp:branchB.A" [12:48] there were conflicts, but I could resolve and commit. [12:48] but the problem remains for later merges, the branches are still not linked. [12:49] RockyRoad: I think you'd want -r0..2 [12:49] what you were diong was a cherrypick, and bzr doesn't track cherrypicks yet, only "full" merges [12:50] jelmer: thanks, I didn't try that yet [12:50] 0..1 would work also ? [12:52] mmm there's something strange with revert [12:52] it modifies the files, and lets the revno unchanged [12:52] then a commit increases revno [12:52] RockyRoad: yes, that's intentional [12:52] jelmer: thank you! [12:54] jelmer: no way to go back ( I've pushed it to lp also :( ) [12:54] ? [12:56] I tried uncommit earlier, and it doesn't work [12:56] jelmer: ping [12:57] Peng_: pong [12:58] RockyRoad: uncommit should take you back [12:58] jelmer: Hi. :) Um, I'm kind of sleepy, but earlier I noticed that Loggerhead is leaking SubversionException and SubversionAuthenticationConfig/ [12:58] sorry to bother you with what you probably think basic [12:59] jelmer: (Seemingly from the code that scans directories for branches.) [12:59] Or something. [13:01] oh ... that's a "bzr revert" I need after uncommit ! [13:01] Peng_: please file a bug [13:02] Peng_: leaking in what sense, btw ? [13:02] jelmer: Against which project? [13:02] the bzr pull "tip" confused me .... [13:02] jelmer: In the sense that it's the only suspicious thing I found in Dozer. [13:03] Peng_: depends, what sort of leaking is happening? [13:04] jelmer: I don't know. I'm dumb. But an ever-increasing number of them, currently 652, can't be good. [13:04] Hmm, I think it was 673 earlier. [13:04] Peng_: how are you seeing this? [13:05] jelmer: Dozer. [13:05] Oh, 832. [13:05] jelmer: http://bzr.mattnordhoff.com/loggerhead/_dozer/index [13:07] to resolve conflicts I need to specify each filename, is it normal ? [13:07] http://bzr.mattnordhoff.com/loggerhead/_dozer/trace/bzrlib.plugins.svn.auth.SubversionAuthenticationConfig http://bzr.mattnordhoff.com/loggerhead/_dozer/trace/subvertpy.SubversionException [13:10] RockyRoad: you can also use "bzr resolved --all" [13:10] I thought --all was the default. [13:10] ah ... thanks again jelmer [13:19] jelmer: I'm not sure I "resolved" the conflicts the right way: current status shows all files renamed to *.moved, and the working files added [13:22] would the link between branches be lost if I cancelled this rename operation ? [13:23] * Peng_ leaves. [13:31] hiya, vcs-import issues .... [13:31] https://code.edge.launchpad.net/~vcs-imports/qemu/qemu-kvm [13:31] wgrant pointed me here :-) [13:31] right [13:31] * LarstiQ frowns at wgrant ;) [13:32] heh [13:32] LarstiQ: It's clearly a bzr-git issue, though. [13:32] kirkland: in this specific case, you don't want to ask about your vcs import [13:32] wgrant: yes, gimme a sec :P [13:32] LarstiQ: okay, i won't ask about my vcs import [13:32] kirkland: you want to ask jelmer about the bzr-git issue displayed [13:32] jelmer, Were you able to fix my bzr-git issue yet? ;] [13:32] kirkland: the bzr-git author can't jiggle the vcs-import, but he _can_ fix the upstream bzr-git problem [13:33] LarstiQ: cool, thanks. [13:33] jelmer: issues bzr-git importing qemu-kvm :-) [13:33] kirkland: I think that one is actually fixed but waiting for launchpad to upgrade to a newer bzr-git [13:33] cody-somerville: not yet, sorry [13:33] jelmer: cool, thanks [13:33] LarstiQ: back at you :-) [13:34] kirkland: my work is done I think, back to wgrant ;) [13:34] LarstiQ: heh [13:34] jelmer, Is there any way I can bribe you to fix it sooner? ;] [13:34] kirkland: or well, someone from lp vcs-imports, mwhudson maybe [13:34] * wgrant is tempted to bounce it to CHR :P [13:36] LarstiQ: thanks; and that goes in #launchpad or #bzr ? [13:36] #launchpad [13:36] vcs-imports is a Launchpad thing. It just happens to use bzr. === Kissaki^0ff is now known as Kissaki [13:42] cody-somerville: can you donate me some spare time ? ;-) [13:42] jelmer, That I don't have any of [13:56] RockyRoad: the link would not be lost, but the branches don't know that they are talking of the same files. When your resolve a name conflict (the ones that produce the .moved files), you're telling bzr which file you keep. === mrevell-lunch is now known as mrevell [13:58] s/talking of/talking about/ [13:58] vila: I could not revert renaming ... not sure now when [13:59] hi folks, how are you doing? [13:59] RockyRoad: to track renames, bzr gives a file-id to each file when it first encounters it [13:59] I checked that there was no diff between .moved and main [13:59] RockyRoad: since you created your two branches indenpendently, the files are different as far as bzr is concerned [14:00] so what should I have done ? [14:00] if you intend to continue using the two branches, you'd better recreate the smaller one from the bigger one [14:01] why ? === cprov1 is now known as cprov [14:01] oh sorry [14:01] did read correctly [14:02] didn't * [14:02] :D [14:02] RockyRoad: because further merges will respect your conflict resolution so the only changes that will be taken into account will be the ones to the file you kept (but some changes may lead to the same kind of conflict) [14:04] * RockyRoad needs to read that a couple of times ... [14:05] RockyRoad: even better, try it with dummy branches [14:07] vila: I'm a bit lost. Did you read above what I'm trying to do (11:46 GMT) ? [14:08] * vila re-reading that and the blog post you refer to [14:09] the blog talks about file-ids, doesn't give a solution [14:10] RockyRoad: well, in the general case, file-ids (in addition to tracking renames) guard against two people creating the same file for different purposes, clearly a conflict [14:11] then how do I tell bzr that 2 files are the same [14:11] ? [14:11] ( they are indeed ) [14:12] you can't :-/ [14:12] and the merge generated conflicts [14:12] So I couldn't have avoided the renames ? [14:13] The result is not bad however, according to bzr viz [14:14] the old branch revisions show up with a 0. prefix [14:14] actually, there are very good reasons that you cannot track renames, do merging and tell a vcs that two files created independently are the same. [14:14] and connected to whole history :) [14:14] RockyRoad: you could have avoided the renames by using the same file-id at 'bzr add' time by using the --file-ids-from [14:15] occasionally, you brash dvcs developper think they can solve the problem, and they body is usually found deep in a jungle of corner cases, their body devoured by cannibals. [14:15] s/you brash/a young branch/ [14:15] s/young branch/young brash/ [14:16] however, there's one thing that should be possible [14:17] RockyRoad: I realize that sounds a bit un-natural, but building history backwards is certainly not dvcs strong point (for any value of dvcs except darcs :-) [14:17] yep I thought it would be easier when I started ;) [14:17] which is define equivalence classes between files, to avoid repeated merge conflicts, but that would still lose a lot of annotate and log information. [14:18] vila: I'd be curious to learn something about the darcs2 model. I heard that they backtracked on most of the patch algebra magic kool-aid. [14:19] but it's kinda hard to come up with good "explanation for dvcs geeks" type of documentation for anything [14:19] ddaa: all my darcs knowledge is by darcs users, I've yet to encounter a darcs2 user :-) [14:20] vila: I never used bzr add in that case. The merge command caused it, with the renames. [14:20] RockyRoad: I understand that, but the '--file-ids-from' option exists only for bzr add :-) It would be highly non-trivial to add it to merge :) [14:21] s/highly non-trivial/so complex that nobody could even tell whether it's correct/ [14:22] oh so your answer was more general than my case ... [14:22] RockyRoad: it's the closest I could think about avoiding creating two file-ids for the "same" file [14:23] It's very interesting. [14:23] Adding the option to fast-import may be easier and more useful though [14:24] My main point was to link the branches. It succeeded. Avoiding renames was more a theorical question [14:24] It may still need some help from the user if the file has been renamed since it enters bzr, but that may be manageable for small to medium sized project [14:25] RockyRoad: Oh yes ! You don't intend to update the old branches anymore ! [14:25] no [14:25] it's more "memory" [14:25] s/more/for/ [14:25] So have a look at 'bzr annotate' for the conflicted files, you may have lost some per-file history even if you still have a complete tree history [14:26] lost being too strong here, disconnected is closer [14:27] * RockyRoad never used annotated yet [14:27] RockyRoad: did you merge the "old" into the "new" or the opposite ? [14:27] the old into the new [14:28] RockyRoad: Right, so if you're happy with what 'bzr qlog' or 'bzr viz' show, it's the best you can achieve [14:28] but new=B , which has history before the new ... quite complicated ;) [14:29] Well, it means the "old" history (with the 0. prefix) now appears as merged recently instead of preceding revision 1 [14:30] yes [14:30] And that's exactly what you did (from bzr point of view) even if it's not exactly what happened [14:31] the newly created project then only described revisions actually older than the 0. branch [14:32] I'll add newer revisions after [14:38] bzr rocks :) [14:38] It sure does! [14:38] :-) [14:43] RockyRoad: hint, try typing "bzr rocks" in a terminal. [14:43] Now next step should be fun: in project A the main branch had been itself split in two, each one doing some merges from the other ... [14:44] :) [14:44] beuno, get out of RockyRoad computer will you... [14:45] I wondered if he was a bot :D [14:45] jelmer: your 'Fix version in dev7 string' bundle is an empty patch [14:45] vila: yeah, Aaron already mentioned that as well [14:45] vila: I'm going to send an updated bundle soon [14:45] jelmer: sorry for the noise then [14:46] RockyRoad: the day bots are as full of life as beuno I buy one just for fun :) [14:46] a bot, not a beuno [14:46] lol [14:47] * beuno for sale, only $699! [14:50] beuno-like-bots, the anti-HG2-Marvin :) [15:01] hello [15:23] Anyone can point me to the part of the documentation that explains how to set up rule-based default push locations? [15:28] http://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html#configuration-settings [15:29] the ref manual is great, but it's hard to browse and not very link-friendly [15:42] I want to use bzr to track binary large files with rare changes. Which repository format do you suggest? [15:43] gioele: possibly brisbane core, as it'll be the only one supported in 2.0 as stable? [15:44] pygi: I don't see brisbane-core as a good choice until 2.0 is released [15:55] ddaa: you should use locations.conf and the magic bit is push_location:policy = appendpath [15:55] Yep, I figured it all out. Thanks. [15:56] I was mostly complaining at how hard it is to locate this piece of information. [15:56] Although it's a bit of major bzr coolness. [15:57] gioele: if you prefer to stick with default formats, just use the default format. brisbane-core will help a bit, but large binary files with few changes are still not optimally handled anyway [15:57] ddaa: patches welcome ! :-) [15:57] jam: ping [15:57] hey vila, I'm going to be afk for about an hour [15:57] anything i can help you with quickly? [15:57] vila: maybe one day the formatting of the documentation will cross my itching threshold and I'll get the source and fix the stylesheet. [15:58] vila: I suspect large binary files are not a priority, even for 2.0. Isn't it. It is understandable [15:58] jam: lol, right, so I'll call you next week [15:58] :) [15:58] yeah, we should get another phone call in. Want to say this time Monday? [15:58] (I could even go ~1 hr earlier if that works better for you) [15:59] jam: could that be one hour earlier... I hate it when you read what I typing before receiving it :-) [15:59] jam: I'll call you directly Monday then [16:00] k === zirpu2 is now known as zirpu [16:32] good morning [16:33] i'm getting an exciting error from bzr svn-import [16:33] (which Twisted uses to mirror its svn repo into bzr branches) [16:33] http://pastebin.com/m7d105357 [16:33] think updating to the latest version will be enough to remedy this? [16:36] dash: not sure [16:36] dash: could be [16:37] i suspect the culprit here is that I resurrected a deleted branch [16:37] at least, that's the only unusual thing I can think of here [16:38] Hi. I having a problem renaming a file that is shown as removed. It complains that the original is not versioned. http://pastebin.com/m1712a43e [16:38] Any ideas? [16:40] hmm. seems to give the same error on 1.15 and 0.6.1 [16:43] would it help or hurt to use 'bzr branch' to import that branch into the repo? [16:43] dash: please file a bug [16:44] alrighty [16:51] Am I missing something really simple here? [16:52] VSpike: I think you need "bzr rename --after" or something like that [16:54] jelmer: #383980 === Isaiah1 is now known as Isaiah [17:08] jelmer: bzr rename is a synonym for "mv" and "move". Also, if the old file is missing and the new file exists, it assumes --after [17:08] jelmer: that said, I've tried mv and rename, both with and without --after [17:08] jelmer: I did a whole set of them and that is the only one that failed [17:11] hm [17:11] looks like explicitly grabbing that branch made it work again [17:13] Ooooh [17:13] Now bzr log --line automatically add the [merge] tags [17:13] that I used to put in my commit logs for merge ever since... gnu arch... [17:16] * ddaa claims fatherhood of this idea [17:20] * mneptok files for child support [17:21] Come on, you could not tell a dvcs from a pot bong at the time! [17:22] is the "dd" in your nick for "Deadbeat Dad?" [17:24] * ddaa admits he's got only the foggiest idea what "child support" and "deadbeat parent" mean and how that relates to anything. [17:25] * ddaa uses google [17:25] mneptok: you can freely use my legacy in launchpad-bazaar code to support this child. [17:27] ddaa: great. more orphans. ;) [17:28] * mneptok hugs ddaa [17:28] * ddaa hugs mneptok [17:28] et ... ca va? [17:28] on fait aller [17:28] resigned from the bank [17:29] working at home on some start up business [17:29] hence irc [17:29] excellent. best of luck, and have fun! [17:29] * mneptok is sitting waiting for a .fi phone call before dealing with a bank [18:22] Hi again :) [18:22] I'm trying to compare revisions of different branches, something like (from branchB directory) [18:22] bzr diff --old=revno:5:lp:branchA --new=revno:6 [18:23] what's wrong ? [18:24] without filename, I get no result , and with I get "Path(s) are not versioned" [18:24] I probably misunderstood the doc [18:25] this revisions identifiers [18:27] I tried also to replace lp: with bzr+ssh:/bazaar.launchpad.net , no luck [18:28] hello people [18:28] any recommendations on a tool to browse revisions across many related branches [18:28] well, more specifically, I'm interested in finding the set of revisions in a certain branch that have modified a certain set of files. [18:29] Wondering what tools are available to accomplish that. [18:30] I would do it from xmloutput + xpath ... === thekorn_ is now known as thekorn [18:35] does it help jfroy ? [18:37] I'm not sure :p [18:43] Wish I had something like github's history view right about now >.> === abentley1 is now known as abentley [18:46] jfroy: qlog from qbzr can do some things like that I believe [18:47] yes, I've been using that [18:47] it's mostly working as expected [18:47] but it's not "great" [18:47] this stuff needs to be brought into Loggerhead... [18:47] I agree [18:57] ok, let's try to be more simple [18:57] is there a tool / command to list all revisions in a branch that have touched a specific file [19:02] duh, log [19:02] brain not working right today === vxnick is now known as vxnick_away [19:17] oh another thing where bzr is better than hg [19:17] bzr log is useful to see in which files were renamed [19:17] while hg log only present renames as add+remove. [19:36] Does Hg have copy? [19:36] Bazaar doesn't have copy === mneptok is now known as mneptok|take_the === mneptok|take_the is now known as mneptok [19:37] I do not know that it has copy. So I would guess it does not have it. [19:37] Otherwise I think I'd have heard of it. [19:38] I'm just inclined to think their "rename support" is just a quick patch over an anterior data model that did not support it. [19:38] But I'd love to be proven wrong. [19:40] I believe hg has copy [19:40] ddaa: hg blame -fun file [19:40] not exactly showing renames, but can help answer some of the same sort of questions [19:41] oh right, hg has copy tracking [19:41] I stand corrected. [19:42] now, I wonder how they handle that in merges [19:43] I believe one reason bzr does not have copy is there is no one right way to handle that in merges. [19:46] Actually no, since bzr has a real rename, it can decided just not to propagate changes across copies on merge. [19:46] But since hg does not have a real rename, I wonder what they do. [19:48] ddaa: one reason bzr does not have copy tracking is indeed because no consensus has been reached (or implementation) on how to handle copies on merges [19:49] I know it's beating a dead horse, but we could just decide NOT to propagate them. [19:49] it's simple to implement, unsurprising, and does to exclude other added value of copying: better log and annotate. [19:50] * ddaa reflects that apparently his year at the bank taught him a lot about taking SOME decision on complicated technical problem. [19:51] s/does to exclude/does not exclude/ [19:54] ddaa: I very much agree on the importance of taking decisions [19:54] * LarstiQ is not an interested party when it comes to copy tracking though [19:55] it's quite important for bzr-svn [19:55] * LarstiQ nods [19:55] yeah, that's the main driver I'm aware of [19:57] Oh also, another thing where hg sucks: it has non-standard option parsing: you cannot add options after positional arguments. [19:58] maybe not non-standard, but at least non-gnu. [19:58] old-style unix though [19:58] let them use sh, nvi, and rcs then! [19:58] where I hate that the most is in scp [19:59] scp file host: -l login? nooo [19:59] scp is a bit of a world unto its own when it comes to command-line parsing [20:00] would be nice if could catch up with the last 10 years in internet protocols development and support URIs... [20:24] hi all [20:26] I have a question [20:27] Youssef: sure [20:27] its about the documentation [20:28] I have made a user guide of Bazaar for windows [20:28] okay [20:28] and I will publish it over internet [20:28] but [20:28] i took 2 or 3 picture from the official website [20:29] do i have permission? [20:29] to do that? [20:31] LarstiQ ? [20:31] brb [20:31] Youssef, sure, that's fine [20:31] really? [20:31] cool [20:31] thanks a lot [20:31] ++ [20:32] gah [20:32] * LarstiQ wanted to ask if he could at least mention it, if not contribute it back [20:32] sorry :) [20:40] Hi. Is there s way to make a graphical represntation of my branches? [20:40] joschan, using bzr-gtk [20:40] you have "bzr viz" [20:42] that's new? i have 1.12 [20:44] joschan: it's old, but it requires the bzr-gtk plugin be installed [20:44] joschan: or the qbzr pluing for qlog if you prefer [20:48] oh i am on windows. i need a linux machine with gui i see - thank you [20:48] joschan: no, qbzr is bundled with the Windows installer [20:48] is there a way to just generate jpg files or something? [20:48] joschan: and you can run bzr-gtk on windows too [20:49] joschan: try `bzr qlog` [20:49] LarstiQ: i get a gui on windows yes! [20:50] joschan: good :) [20:51] LarstiQ: so-so, not perfectly yet [20:52] (bzr-gtk on win) [20:52] pygi: it's not trivial, but it can be done [20:52] LarstiQ: it will be trivial by the time 2.0 is out [20:53] (or at least I hope so) [20:53] * LarstiQ prefers more effort being put into qbzr/tortoise though [20:53] pygi: how are you going to accomplish that? [20:53] esp. tortoise [20:53] LarstiQ: easy, by building a easy win installer for bzr-gtk :) [20:53] some people won't touch a vcs with a ten-feet pole unless it is "like tortoise". [20:54] * LarstiQ nods at ddaa [20:54] ddaa: my interest in tortoise right now is mostly consisted of removing atl stuff [20:54] It does make me want to slap them with a less than perfectly fresh trout, but I guess it's their prerogative. [20:54] pygi: ok, so how am I going to motivate you to do that? :) [20:54] pygi: atl? [20:55] LarstiQ: yes, right now we need visual studio pro for compiling Tortoise [20:55] LarstiQ: gimme a big fat paycheck? :-P [20:55] ah [20:55] pygi: that, I can't do [20:55] what is "atl"? [20:56] dash: a set of C++ classes for COM objects programming [20:56] LarstiQ: then implement some feature for me :P [20:56] poor dash, he did not ask anything :) [20:56] bleh [20:56] Is there a way to generate an image file llike png instead of using a gui? [20:56] i thought about it though [20:56] but the i remembered what atl is [20:56] ddaa* [20:56] :) [20:57] LarstiQ: actually, I have it almost ready :P I just need to fix one bug [20:57] joschan: there's a ancestry-graph thingy that uses graphviz [20:57] that will happily produce senselessly detailed and overcomplex ancestry graphs [20:58] ddaa: thank you, i will try and find [20:58] oh... [20:58] LarstiQ: if you want to help with the bug, its most welcome :p [20:58] joschan: `bzr graph-ancestry` [20:58] joschan: not sure what visualisation you're after though [20:58] (its not too-complex, I just need time) [20:59] pygi: what bug? [20:59] LarstiQ: something that just works and is simple and does not depend on much. i do often switch machines and have limnux and windows [20:59] LarstiQ: I need to reconstruct icons path on windows [20:59] joschan: that still doesn't say anything about the visualisation [21:00] pygi: ah [21:00] joschan: what are your visualisation requirements? what specifically are you wanting to visualise? [21:00] world peace [21:01] cannot compute, please try something else! [21:02] LarstiQ: i want the branch history [21:03] dash: http://www.nytms-se.se/ [21:03] anything graphical would be fine [21:04] i saw the "network graph" on github [21:04] graphing the entire ancestry usually isn't very sensible [21:04] it is just to understand my own version history better [21:04] joschan: could you point me at a github image you like? [21:04] LarstiQ: i have no experience, what is better? [21:05] LarstiQ: Address Not Found [21:05] ddaa: gah, sorry. com, not .se http://www.nytms-se.com/ [21:06] joschan: when I want to investigate my branching history, I usually use qlog or viz [21:06] LarstiQ: a nice one is here: http://github.com/ginatrapani/todo.txt-cli/network [21:06] and just plain `bzr log` of course [21:06] ah hmm, that looks like it needs flash :/ [21:07] * LarstiQ reads http://github.com/blog/39-say-hello-to-the-network-graph-visualizer [21:07] LarstiQ: viz would be an option if it simply runs anywhere, also qlog, nut i need something that just works [21:09] for what value of 'just work' don't they? [21:09] * beuno has plans for loggerhead-viz [21:10] joschan: git works slightly differently than bzr, the closest analogue to github's network graph is running qlog/viz on multiple branches [21:10] beuno: good [21:11] actually that's something I occasionnaly wanted [21:11] But I'm not sure how much the viz layout algo would have to be modified to deal with multiple branches. [21:12] which one woul run on linux and windows with less hassle installing, qlog or viz? [21:12] i don't want to run into windows installing problems [21:13] ok, i see, qlog already works now on my windows machine [21:14] joschan: qlog is easiest [21:14] ddaa: from `bzr help qlog`: bzr qlog ~/repo/branch1 ~/repo/branch2 [21:15] oh, actually bzr vis seems to have the same [21:15] ddaa: and viz has --all I think? [21:15] * LarstiQ nods [21:15] yeah, it has the same, lovely [21:15] it was not there last time I looked [21:15] man, I so much fell behind [21:16] but otoh I could not longer take the bzr ml traffic. [21:17] i think bzr qlog is fine. i can takeexpand and take screenshots, it helps a lot :-) did not know it is there [21:17] s/takeexpand/expand it/ [21:17] ddaa: yeah :/ [21:17] * LarstiQ keeps getting backlogged [21:17] joschan: ah right, sorry, should have mentioned that [21:18] yes but it is also interesting to know about the other stuff, also "bzr graph-ancestry", i would love to try that [21:18] beuno: hmm, I'm looking on bitbucket for some visualisation I thought I saw there, can't seem to find it [21:19] joschan: you should have that command too on windows [21:19] joschan: though you might be missing graphviz itself [21:20] ooh [21:20] * LarstiQ can use his lp openid to sign in on bitbucket [21:24] LarstiQ: i just installed graphviz with the msi installer but bzr does not find it [21:27] joschan: you should be able to make it a two-step proces. `bzr graph-ancestry ancestry.dot; dot -Tpng ancestry.dot > graph.png` [21:28] joschan: on the bzr-gtk trunk that results in: graph.png: PNG image, 1657 x 12643, 8-bit/color RGBA, non-interlaced [21:28] joschan: so consider yourself warned, it can get huge :) [21:29] as in "turn your computer into a pancake huge" [21:29] hehe [21:29] Wow, bzr can do that too?? I gotta get my syrup... [21:30] where do i get that "dot" command? [21:31] joschan: it's part of graphviz [21:31] joschan: not sure how you invoke graphviz/dot on windows exactly [21:31] joschan: but it can convert what graph-ancestry produces when it's writing to .dot [21:32] joschan: I suppose if `dot` from graphviz is in PATH, then `bzr graph-ancestry foo.png` can do the invocation itself [21:33] i found it in graphviz's bin dir [21:33] and it produced a png [21:33] :-] [21:34] i will photoshop it and show you in an hour os so - takes ages opening *g [21:34] s/os/or/ [21:34] Is it possible to import/convert data from SVN into an existing Bazaar repository that already has data in it? [21:34] joschan: no kidding :) [21:34] joschan: that's the problem with trying to display that amount of information, it swamps you [21:35] GPHemsley: repository or branch? [21:35] GPHemsley: you can do `bzr branch url/to/branch/in/svn` if you have bzr-svn installed [21:35] to be hnest i opend it with ms photo editor but i stopped it after 1 minute [21:36] LarstiQ: I want to merge in SVN history to an existing Bzr repo [21:37] LarstiQ: i have some facts now: 1) don't open a png in ms photo editor - it could just hang 2) the png is really small [21:38] GPHemsley: I can be pedantic and say that is no problem at all, or guess that you mean branch instead of repo, and ask you to elaborate somewhat [21:38] joschan: hah [21:38] meh [21:38] this darn terminology [21:38] GPHemsley: it helps if you explain the situation in more depth, then it's clearer what is what [21:39] GPHemsley: are the bzr branch and the svn branch logically the same project? [21:39] GPHemsley: are you just interested in some random files? [21:39] LarstiQ: They don't share files, no [21:39] etc [21:39] GPHemsley: ok [21:40] LarstiQ: I want to start a new project/sub-project with Bzr and then move in other code from SVN at a later date [21:40] LarstiQ: this is the png inserted into a google doc in original size: http://docs.google.com/View?id=d6snv7k_115ds3qrzfg [21:41] GPHemsley: how are your bzr project and svn code related in that case? [21:41] joschan: ooh, that's a cutely small ancestry [21:41] LarstiQ: They're two sections of the same project. They don't share code, but they're otherwise related. [21:42] GPHemsley: say, doc/ and src/, or a library that you contain in the using project? [21:43] evening Kinnison [21:43] LarstiQ: doc/ and src/ would be the better example, [21:43] I think [21:43] GPHemsley: do you already have code in bzr, or are you starting fresh? [21:44] right now? I'm starting fresh. But I didn't want to do it now. [21:44] GPHemsley: good, that is going to prevent us from taking the painful route then [21:45] GPHemsley: use bzr-svn to branch from svn (preferably at a level above what you're considering working on, so project/ instead of project/doc or project/src) [21:45] GPHemsley: then you at a later date you can just `bzr pull` or `bzr merge` from svn [21:46] LarstiQ: I think we'll have to back up, then, because I had trouble installing bzr-svn the last time I tried. :/ [21:46] GPHemsley: aha. Well, I can try to help with that [21:46] * GPHemsley is on a Mac. [21:46] * LarstiQ is on a couch ;) [21:46] :P [21:47] but yes, Mac is the most difficult target. Still, it shouldn't be too hard, I hope. [21:47] me too [21:47] * LarstiQ looks at the mac installer page [21:47] as I recall, something wouldn't compile right [21:48] GPHemsley: how did you install bzr? [21:48] the Mac installer [21:48] 10.4 [21:49] GPHemsley: it claims to include bzr-svn [21:49] GPHemsley: what does `bzr plugins` say you have installed? [21:49] a number of things, but not bzr-svn [21:51] oh, wait [21:51] there's svn [21:51] well, that's deceiving [21:51] looks like it's there, then [21:52] GPHemsley: so what happens if you do `bzr ls svn://svn.gnome.org/svn/gnome-specimen/trunk` ? [21:53] ah, yes, this was the problem [21:53] the problem was with installing subvertpy [21:55] ok [21:55] hmm, that's not bundled? [21:55] it should be [21:56] and is indeed listed [21:56] according to http://bazaar-vcs.org/MacOSXBundle [21:56] bzr: ERROR: No module named subvertpy [21:56] You may need to install this Python library separately. [21:57] GPHemsley: if that's a recent bzr .dmg, it's bugged and the maintainer should be larted [21:57] heh [21:57] GPHemsley: if it's not, could you try the newest one? [21:57] the newest one is 1.15rc1 [21:57] hmm, not that one then [21:57] does sound like the OSX maintainer needs some help [21:58] GPHemsley: the 1.14.1 one? [21:58] that's what I have [21:58] ok, it is bugged :/ [21:58] heh, the 1.15rc1 doesn't even exist [21:59] * LarstiQ wonders if there are instructions for how to build the .dmg [21:59] or, rather, the link is bad [21:59] and hence, how to build subvertpy [22:00] GPHemsley: could you fix it? [22:00] sure [22:02] Hi, any idea how to view a diff of an item on the shelf? [22:04] pickscrape: hmm, not with shelve in bzr core. [22:05] I did think that bzr diff -c shelf: would be sensible, but it no worky [22:06] --dry-run also just shows a sttus-like list of affected files, and -v made no difference [22:07] I suppose the only way really is to just unshelve and inspect in the working tree, but that certainly isn't ideal [22:07] LarstiQ: Alright, links are fixed. Any luck with the .dmg? [22:08] pickscrape: I agree with you [22:08] GPHemsley: couldn't find instructions on it [22:09] GPHemsley: you could try to compile subvertpy yourself [22:09] yeah, the Mac packages are bad. [22:09] Even the 1.14 one for 10.5 has a broken subvertpy [22:09] GPHemsley: depending on the timeframe/effort you want to spend [22:09] LarstiQ: That's where I ran into trouble the last time [22:09] I suppose I really should file a bug about it, if there isn't one already... I'll have a look. Thanks for answering, LarstiQ [22:09] it's probably easier right now to install from easy_install or source [22:10] jfroy: are you aware of how to build the .dmg? [22:10] building a package is not too hard, involves using an extension module for setuptools to make a mpkg [22:10] jfroy: seems doable [22:10] build_mpkg IIRC [22:10] feel free to walk me through it :) [22:12] Ah, it's bdist_mpkg [22:13] when doing a bzr upgrade in a shared repository, do I also need to perform the upgrade within each contained branch? [22:13] http://pypi.python.org/pypi/bdist_mpkg/ [22:14] I wouldn't think so, but after upgrading the repo, bzr info within a contained branch says "Repository branch (format: unnamed)" (notice the "unnamed" format) [22:14] * LarstiQ is a bit of an OSX outsider nowadays, but would like to see the installer in better shape [22:14] twilight\: yes/no [22:14] jfroy: Is there a command I can execute to install it? [22:14] twilight\: repository, branch and working tree formats can be independent [22:14] Or do I have to download it? [22:14] LarstiQ: szi is on it, you need to be patient ;) [22:15] pygi: no, I need the build instructions to be clear and availabe so anyone can do it :P [22:15] * GPHemsley is unfamiliar with the Pythong Egg format. [22:15] LarstiQ: actually, the plan is to automate it afaik [22:15] heh... interesting typo [22:15] LarstiQ: is this documented somewhere? [22:16] pygi: fine too, as long as the Mac users do not get blocked on the maintainer having time [22:16] LarstiQ: but its the same problem with windows so far xD [22:16] yeah, that's been kinda annoying in the past [22:16] twilight\: which part precisely? For the three formats, see `bzr info -v` [22:16] having the Mac packages being many weeks behind... [22:17] pygi: I'm not claiming Windows shouldn't be improved ;P [22:17] LarstiQ: hm, whether or not one has to upgrade each contained branch or just the shared repo [22:18] so... how do I install this bdist_mpkg? [22:18] * LarstiQ gets reminded of something [22:18] twilight\: are these branches, no working trees? [22:18] LarstiQ: doing 'bzr info -v' within a contained branch (not-manually-upgraded) actually says "repository: Packs 6 rich-root (uses btree indexes, requires bzr 1.9)" [22:18] correct [22:19] twilight\: in that case, there are some formats where it isn't possible to distinguish which one it is unless you have a workingtree [22:20] twilight\: but anyway, they should work, upgraded or not [22:20] vila: what's sidney's irc handle? [22:20] pygi: sidnei? [22:20] LarstiQ: possibly :p [22:21] pygi: whois him ;P [22:21] LarstiQ: yup, i just wanted a format with the btree indexes, but in that case it seems like i'm good, thanks [22:21] LarstiQ: I don't know his surname xD [22:21] sorry back [22:22] twilight\: yeah, that's a repository format property [22:22] LarstiQ: he will have a lot of influence on windows builds ;) [22:22] GPHemsley: sudo easy_install bzr; bzr branch lp:subvertpy; cd subvertpy; sudo python setup.py install; cd ..; bzr branch lp:bzr-svn; cd bzr-svn; sudo python setup.py install [22:22] :p [22:22] heh [22:23] oh, right [22:23] . [22:23] so, bdist_mpkg is on pypi [22:23] so just do easy_install bdist_mpkg [22:23] then it will add a command to setup.py to build a package distribution [22:23] jfroy, GPHemsley: feel free to bug the mac maintainers, tell them I sent you ;) [22:23] do that for bzr, subvertpy, bzr-svn and any other plugin you want [22:24] then get the Mac OS X dev tools and use Package Maker to make a package that will install all the sub-packages [22:24] ah.... too much information at once [22:25] easy_install command not found [22:25] that's not good [22:25] heh [22:25] just another thing on that list :P [22:25] easy_install is bundled with 10.4 and later [22:25] no, it means your OS is busted or ancient [22:26] well, it's 10.4 [22:26] latest point release [22:26] .11, I think? [22:26] then you should have it [22:26] along with Python 2.3 as the default system python [22:26] which is *too old* for bzr, mind you [22:26] 2.5 [22:26] is what I have, IIRC [22:26] that's a custom install [22:26] probably, yeah [22:26] can't use that to make a 10.4 package [22:26] it's the biggest issue with 10.4 [22:27] d'oh [22:27] on 10.5 it's relatively easy [22:27] but the packages released are for 2.5 and 2.6 [22:27] yes for some distribution of Python that the package maintainer has chosed [22:27] *chosen [22:28] whereas the 10.5 package is designed to use the system interpreter [22:28] OK, well, despite easy_install not being found, it did the rest of those commands you had [22:28] I'm not familiar with the 10.4 package too much, it was maintained by someone else [22:28] maybe 10.4 didn't have setuptools.... [22:28] except the install ones, I guess... :/ [22:29] don't remember, 10.4 is ancient history for me :| [22:29] yeah, I know [22:29] I always get gypped with Mac stuff [22:29] I bought this computer in August 2007 [22:29] 'gypped'? [22:29] 10.5 came out in, what, October 2007? [22:30] LarstiQ: I always buy stuff right before the new stuff comes out. [22:30] ah [22:30] I bought an iMac G5 in November 2005 and they announced the switch to Intel the next January [22:30] ouch :( [22:30] yeah [22:30] usually for OSes they have a grace period for updates [22:30] anyways, wait until 10.6 and grab it :) [22:30] * LarstiQ needs to fix his g4 powerbook [22:30] that's the plan :) [22:31] I'm hoping to get a new iMac after 10.6 comes out [22:31] GPHemsley: I heard they'll announce new architecture after you buy it [22:31] pygi: Yeah, that's the rumor. [22:32] pygi: tsk :p [22:32] they have replaced a lot of this MBP for free, though, so I can't complain too much [22:32] I have a winows machine and I need python2.4 there for a legacy application. When I install bzr from the windows installer - will it disable or override the python 2.4 with 2.5 ? [22:32] joschan: won't touch it [22:32] my logic board died and they replaced it... then it died again the next day, and they replaced it... and then they replaced the battery recently [22:33] joschan: the all-in-one installer has python and bzr combined in one executable, doesn't touch system python [22:33] joschan: If you use the exe-flavoured installer, neither [22:33] joschan: the python-based-installer will work with the python version of your choosing [22:33] indeed [22:33] LarstiQ: i was planning to use the exe stand alone installer [22:33] i did not explain well [22:34] the Python windows installer that most packages use lets you choose which python you want to install into [22:34] based on registered python interpreters it finds int he registry [22:34] joschan: no touching of your system python then [22:34] IIRC [22:34] how does it do ithat? with a virtual environment? [22:34] Ah, yes... this was the error I kept getting when I tried to install subvertpy the last time: [22:34] Exception: Subversion development files not found. Please set SVN_PREFIX or (SVN_LIBRARY_PATH and SVN_HEADER_PATH) environment variable. [22:34] joschan: The libraries are compiled into the exe as a resource [22:34] or py 2 exe? [22:34] ah i see - thank you! [22:34] GPHemsley: Windows or Linux? [22:35] awilkins: Mac [22:35] GPHemsley: you'll need an equivalent of a `libsvn-dev` package [22:35] I have it... but it doesn't see my settings for those env variables [22:35] no matter how I set them, it just ignores them [22:35] GPHemsley: how did you set them? [22:36] export, I believe [22:36] GPHemsley: Mac OS X comes with *no* header files. [22:36] You need to install the dev tools to get them. [22:36] if you're trying to use the system subversion librsries [22:36] *libraries [22:36] And, IIRC, 10.4 may not even have svn built-in :p [22:37] in which case, you need to get it yourself someway and set SVN_PREFIX to the install prefix of the subversion you picked [22:37] e.g. if it's a binary package, likely /usr/local, or if from MacPorts, then /opt/bin [22:37] */opt/local [22:37] I already have svn installed [22:37] I've been using it [22:37] and the dev files are somewhere, too [22:37] but when I try to set the variables, it ignores them [22:38] and says they're not set [22:38] (as above) [22:38] they're env variables, right [22:38] so export SVN_PREFIX=/usr/local (or whatever) [22:38] then python setup.py [22:38] bui;d [22:38] *build [22:38] etc [22:40] i don't like magic! at least not on computers. on my girlfriend - yes! [22:40] i said bzr init on directory that contains svn [22:40] what happened? [22:40] jfroy: Meh... it's working now... [22:41] it was even trying to connect to the svn server [22:41] oh, spoke too soon [22:41] collect2: ld returned 1 exit status [22:41] lipo: can't open input file: /var/tmp//ccoyGWiH.out (No such file or directory) [22:41] error: command 'gcc' failed with exit status 1 [22:41] joschan: I'd say it would refuse because it is already a branch [22:43] jfroy: I'm pretty sure I used MacPorts to install the dev files [22:43] there is a svnb plugin - can i disable this? [22:43] s/svnb/svn/ [22:44] GPHemsley: macports always installs the headers [22:44] since it builds from source and all [22:44] the error sounds weird ... [22:44] well, I set the variable using /opt/local and that's the error I get [22:46] "bzr --no-plugins init" worked fine [22:46] is there a --no-magic switch also ;-) [22:49] joschan: ehm, are you sure that is what you want to do? [22:50] joschan: coversioning a project can be valid, but it has very limited uses [22:50] jfroy: Is there a way to uninstall all the SVN stuff and start over, maybe? [22:51] GPHemsley: mac ports can uninstall with uninstall [22:51] * LarstiQ is about to call it a night [22:52] you may need to update your dev tools as well [22:52] hard to say [22:53] joschan: with bzr-svn you can use bzr as an svn frontend, either `bzr log` etc in an svn checkout, or `bzr branch url/to/svn/branch` and it gives you a bzr branch converted from svn [22:53] joschan: with wich you can push back changes et all [22:54] jfroy: Oh, here's an interesting piece of information [22:54] MacPorts says I have subversion 1.6.2 installed, but svn is reporting it's 1.5.5 [22:56] * LarstiQ prods joschan [22:57] jfroy: Any idea how to rectify that? [22:58] meh, need to sleep [22:59] LarstiQ: g'night [22:59] and thanks :0 [22:59] :) [22:59] joschan: tell me what you were trying to do and how that went, I'll read it when I wake up [22:59] GPHemsley: np, good luck! [22:59] GPHemsley: seems like you have 2 subversions installed [22:59] maybe one in /usr/local and one in macports [22:59] jfroy: Indeed it does [22:59] could make a build system very confused... [23:00] nope, no /usr/local/bin/svn [23:01] jfroy: Heh. I have a brain and _I'm_ confused :P [23:01] * GPHemsley sends find off to... well... find [23:01] which svn [23:01] (that is, run that command) [23:01] /opt/local/bin/svn [23:01] well there you go :p [23:02] where is MacPorts keeping its version, then? [23:02] if you don't care too much about, and have some free time, you could nuke (or move aside) /opt/local and install a fresh macports [23:02] in there [23:02] dunno what command you did to uninstall it [23:02] might have failed [23:02] or it might have been an inactive version [23:03] (since macports supports having multiple versions of the same port, but with only one active at a time) [23:03] wait... uninstall what? [23:03] oh [23:03] didn't you say you had uninstalled svn [23:05] I don't think so [23:05] what is /sw? [23:05] because I have /sw/bin/svn which is at 1.2.3 [23:06] ugh, I gotta run [23:06] jfroy: Will you be here later? [23:06] LarstiQ: I wanted to make a new repo aout of a direcotry structure and ignore all the .svn files in it. I could do it using the --no-plugins switch on bzr init and bzr add [23:07] so i'm fine [23:07] i don't want to mix, i want to abandon subversion [23:11] GPHemsley: sure [23:11] *Fink [23:11] ** /sw is Fink [23:11] joschan: I'd just use bzr-svn to branch the subversion branch. [23:11] you get to keep all the history [23:12] and you have a native bazaar branch moving forward === vxnick_away is now known as vxnick