[00:03] biab [00:12] hello [00:12] how can i convert a bzr repo to a git repo by dpushing with bzr-git? [00:14] Stavros, hi [00:14] jelmer: hey jelmer [00:14] Stavros, didn't I help you do that last week ? :) [00:14] you did :( [00:14] i'm missing a step now [00:14] i did git init and git init --bare and dpushed to it [00:14] you need a bzr init as well [00:14] but i keep getting "/mydir" is not a branch [00:14] ah [00:15] that was it, thanks [00:15] bzr init --git [00:17] git init /tmp/foo; bzr init /tmp/foo; bzr dpush /tmp/foo [00:17] there's no need for the --git [00:18] ah, yes [00:18] (if you're creating a branch in a git repository we always create a git branch) [00:18] but if you don't have a git repo in there, you can do bzr init --git and it still works [00:18] ah === lifeless_ is now known as lifeless [01:03] Good morning. === magcius_ is now known as magcius [02:50] hi spiv [03:02] Hi poolie [03:07] hi, how are you? [03:08] spiv could you be pilot this week? [03:10] Sure! === spiv changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | 2.4b1 is officially out (ppa:bzr/beta needs love) [03:11] thanks; i updated the rota === spm` is now known as spm === wgrant_ is now known as wgrant === poolie_ is now known as poolie === r0bby_ is now known as robbyoconnor === robbyoconnor is now known as r0bby_ === r0bby_ is now known as robbyoconnor === robbyoconnor is now known as r0bby_ === r0bby_ is now known as robbyoconnor [07:28] hi all ! [07:29] Hi vila [07:29] spiv: _o/ [07:31] hi there vila, spiv [07:31] vila, what's up for you today? [07:32] poolie: config :) [07:33] the whole hog? :) [07:39] poolie: nope, a minimal set (excluding locking/minimal IOs/option registry) but enough to look at deplying/migrating [07:39] deploying [07:40] you know i'd really like a new caller ui :) [07:40] poolie: just tell me which ;) [07:41] sorry, api, not ui [07:42] poolie: ... or let's discuss it on my proposal, I think we are roughly on the same page so it shouldn't be too far from what you're expecting [07:42] poolie: of course if you speak earlier it would be even closer :D [07:42] :) i might still have a mail starred to reply to [07:42] i have a call in 20m but perhaps i can do it after that [07:42] i thought i did reply [07:43] poolie: I'm processing my inbox so I may not have seen it yet [07:44] oh, hmm, just noticed the PP update, I won't be able to do it the whole week (vacations), who should I switch with ? [07:44] i haven't replied after your last mail [07:44] whoever [07:44] you're not up this week [07:44] can swap with me i think [07:45] for some reason i really prefer .config_stack; i feel there's already going to be some risk of confusion about particular files vs stacks [07:45] maybe not though [07:45] why do you put "sections (read-only and mutable)" first? [07:47] poolie: I'm talking about *next* week, and I can't switch with you either as I won't be there from 2011-04-13 to 2011-04-27 ;) [07:47] poolie: bottom-up [07:49] poolie: TDD is easier for me when implementing from the lower levels first [07:53] poolie: regarding .config vs .config_stack, the only cases where you want to use the config file directly is to modify it and even there you could do it via the stack, so somehow, devs shouldn't manipulate config files directly, only the user should really see them as an entry point (like command-line options or env vars) [07:55] poolie: I can be persuaded otherwise but I think that if we change the API now, it's to also change the mental model, and configs should be seen as stacks rather than files [07:56] vila: are they always files? I would expect that e.g. bzr-svn branches may provide some config-like values without having a config file. [07:57] ok [07:57] spiv: indeed, they are stacks built from stores (the first store will be based on ConfigObj) but other stores can be implemented as long as they can give us sections [07:57] actually i don't strongly prefer it anymore ; i did on friday but not now [07:59] really, I don't think I'm reinventing wheels here, just shuffling the design a bit around what we already do while getting rid of many hackish parts [07:59] i think so too [07:59] i can see why afc thought it was complex [08:00] it may appears I'm not, but really, that's my intent [08:00] i do still kind of feel smaller steps are possible [08:00] how small ? [08:00] or rather, [08:01] at which point does the cost of wiring the smaller steps become higher than leapfrogging a couple of them ? [08:01] U+200D ZERO WIDTH JOINER small! [08:01] AfC: :) [08:01] for example just changing the internal api not to construct global configs all over [08:02] ha, and how do you ensure you won't have to do that twice ? [08:02] or do it without adding stuff we'll delete later ? [08:07] i don't [08:07] it's a risk [08:07] on the other side you have to weigh the risk of doing preparatory stuff that's not actually delivering value yet [08:08] so if i was reading that list properly, what's first? [08:08] poolie: you mean section/abstract store/stacks ? [08:09] yes [08:09] so section are first [08:10] I already have some stuff tested/coded for sections and stacks, I blocked a bit on store Friday for the locking part, so I wrote some thoughts about it and will focus on using the existing scheme [08:11] so just to make sure i understand [08:11] when you say section, this is about letting the stack choose to use just one section from inside a particular file? [08:11] s/wrote some thoughts/wrote some thoughts about the new locking scheme allowing allowing minimal IOs/ [08:12] like in looking at locations.conf it'll pick out the relevant sections and slot them in? [08:12] a selection of sections yes, like matching_sections does today for locations.conf [08:12] but allowing that for any store [08:13] nothing fancy either for now, only what exist: globs (which is mainly used as just paths today) [08:15] oooh, col*l*ocated ! [08:15] is that indeed the correct spelling ? [08:16] i think there would be one [08:16] co-located [08:17] hmm, so using 'colocated' is just stripping the '-' in identifiers ? [08:17] err, as in python identifiers or paths [08:17] yes i think so [08:17] did i spell it the other way somewhere? [08:17] k, will do that then [08:17] poolie: not you, ispell [08:18] (0) co located (1) co-located (2) collocated [08:18] i know of 'collated' [08:19] http://en.wikipedia.org/wiki/Collocation [08:21] interesting [08:21] right, this page only used 'located' once in collocated, I can go with co-located if you prefer [08:22] I think that's jargon that isn't referring to a particularly similar concept [08:22] or may be we just don't care :D [08:22] which page? [08:22] http://en.wikipedia.org/wiki/Collocation [08:22] And that page links to http://en.wikipedia.org/wiki/Colocation_%28disambiguation%29 which links to http://en.wikipedia.org/wiki/Colocation_%28business%29 [08:22] "go with co-located if you prefer" where? [08:23] vila, can you either take, or assign to yourself, one or more bugs about config [08:23] poolie: certainly [08:23] poolie: thanks for the reminder, I should have done that long ago [08:23] http://en.wiktionary.org/wiki/colocation suggests that with or without the hyphen are both used. [08:24] spiv: excellent ! There is even (and indeed) http://en.wiktionary.org/wiki/colocated [08:25] jelmer: hi [08:25] vila, for our stuff, 'colocated [08:26] poolie: yup, I've already reverted to that [08:28] jelmer: I just gave you a review, of sorts, finally: https://code.launchpad.net/~jelmer/bzr/move-interbranch-fetch2/+merge/54958 [08:48] vila, so at the end of this, what sections will we have [08:48] just locations, or also others? [08:50] sections anywhere and their definition should be file specific, but for bzr itself, urls (as of today) for bazaar.conf/locations.conf (or only paths/globs there) and probably relative paths for others [08:51] some plugins may want to use different schemes for sections (window names for GUIs for example ?) [08:52] or hosts for authentication.conf (which uses arbitrary section names today and relies on their definition order rather than matching) [08:53] I don't intend to modify authentications.conf until we need too though [08:54] but the point is that sections are a different way to look at partitioning the options and it's best to leave that part open if you can [08:54] err if we can [08:57] morning vila, getting yourself out of PP rotation I see ? [08:57] jam: hehe, pushing down the stack yeah :D [08:57] sorry I didn't realize that earlier [08:58] poolie: by the way, stacks were somehow implemented in bzrlib/rules.py too [09:09] ok [09:09] i might stop for today [09:13] * vila cries, compiz shortcuts gone again.... === mkv is now known as m4v === Peng__ is now known as Peng [09:55] * spiv stops for the day [11:59] vila is skipping patch pilot duty ? :) [12:00] jelmer_: yup, and to add insult to injury, he's taking vacations, what a shame :D === jelmer_ is now known as jelmer [12:01] (-: === ScottK2 is now known as ScottK === beuno is now known as beuno-lunch [12:17] I have a feature branch that has been merged into trunk, I need to undo that merge continue working on the feature branch, and then re-merge the feature branch back into trunk at some point in the future. Any suggestions on the best approach? [12:35] DeeLay: depends on two things: is the trunk public, do you still have your pristine feature branch [12:35] if you still have your feature branch before the merge, just keep working on it [12:36] you'll merge it to trunk later, only additional changes will appear on trunk at that point [12:36] for the trunk, there are two ways: either it's public and people already have pulled from it so you need to merge a reverse of your changes [12:37] vila: trunk is not public, but it is the branch we release from. The feature got cancelled at the last minute, so we need to pull it from trunk, so that other features can be released without needing to do cherry picked releases [12:37] it's not public or nobody had pull from it (always hard to ensure but) you can just push --overwrite -r [12:37] s/^/if/ [12:38] DeeLay: is the above clear enough or do you need more details ? [12:39] vila: yeah I think that makes sense, I'll give that a go, thanks [12:39] DeeLay: if your merge is the last commit on trunk, you can also 'bzr uncommit' there and 'bzr revert [--no-backup]' or 'bzr clean-tree' to get rid of the *~ files created by revert [12:40] vila: unfortunately not, and the last time I uncommitted a merge, it didn't re-merge the changes later [12:41] DeeLay: right, so you have other commits on top of your "faulty" merge, more care needed [12:42] DeeLay: you probably need to revert this merge explicitly then 'bzr merge -r..-1' being your merge [12:43] DeeLay: and commit the result with a message explaining the issue for future references if some other dev built on top of your merge *including* parts you wanted to remove, [12:44] DeeLay: you *should* be able to detect such cases when you merge the reverted change, but evil is in the details... [12:44] vila: yeah that was my first attempt, but that means merging trunk into the feature branch (to keep it upto date) would remove the changes from the feature branch [12:45] DeeLay: no, you can do that on the trunk itself [12:45] DeeLay: it will be clearer there for everybody involved (hopefully) [12:46] yeah, that's what I mean, so if I bzr merge -r .. in trunk, I can effectively remove the changes introduced by the feature branch [12:46] in the meantime dev work will continue, so i will need the feature branch to keep up to date with other changes being merged to trunk [12:47] DeeLay: now, on your feature branch, you can add more changes and merge the overall in trunk again when needed, you may encounter conflicts then though [12:47] but from the feature branch, bzr merge trunk, will remove the changes that the feature branch introduced to trunk from the actual feature branch [12:47] haa, that, yeah [12:48] well, the sooner you merge trunk to your feature branch, the sooner you'll address the possible conflicts [12:48] also tried bzr revert -r in trunk, which gets round the commit of the reverse merge issue [12:48] but in that scenario, re-merging the the feature branch comes back with "nothing to do" [12:49] DeeLay: well, revert will also revert all subsequent commits so probably not what you want [12:50] DeeLay: the reverse merge is called a cherry-pick, it doesn't track the ancestry so it finds no new *revision* to merge [12:50] vila: yeah, but I can live with that if it worked, as the other changes could be re-merged. The essential problem is that trunk will always remember that the reverted commits happened, so it won't re-merge them [12:50] DeeLay: that's why you need to merge trunk again after that into your feature branch: to ensure that your branch carries the right changes [12:51] but from the feature branch, bzr merge trunk, will remove the changes that the feature branch introduced to trunk from the actual feature branch [12:51] There's a way to avoid this, let me explain: [12:51] Step 1: Merge the revision of trunk immediately prior to the revert commit as normal [12:51] Step 2: Merge the revert commit and *only* the revert commit from trunk, and do "bzr revert .", and commit that [12:52] At this point you now have a feature branch which says "I know trunk reverted these changes, but *I* am going to keep them" [12:53] And I believe they should even merge sensibly back into trunk when you have another attempt to land the feature. === beuno-lunch is now known as beuno [12:53] vila: have you heard anything more about the SRU? [12:54] jelmer: no :-/ [12:54] maxb: if I merge trunk, then revert, there will be nothing to commit, won't there?? [12:54] Note carefully: "bzr revert .", not "bzr revert" [12:54] maxb: ah, nice [12:54] This will revert all the tree changes, whilst keeping the "I have merged revision X" metadata [13:02] maxb: that totally worked, reverse cherry picked from trunk, merged trunk to feature branch, and then tried a dry run of re-merging the feature branch into trunk and the changes come across again [13:02] thanks guys [13:41] so, this is sort of related to the conversation from earlier [13:41] -c 123 is equivalent to -r 122..123; is there any equivalent to -r 123..122 ? [13:41] idnar: no shorthand form, though X..before:X works for all types of X [13:41] yeah... bleh [13:42] was writing an automated script, and my revisionspec is already 10 pages long :P === jam1 is now known as jam [13:43] Yes, a backwards -c would be very useful [13:44] Subversion uses a negative number for this, but that's already taken in bzr. Took me a while to un-train my fingers from that one. [14:15] vila, jelmer: testing question. I'm working on bug #740932, and I want to test that we cache the correct packed-stat value even though Transform does stuff like renaming the file after it is created. [14:15] Launchpad bug 740932 in Bazaar "building working tree doesn't update sha cache" [High,Confirmed] https://launchpad.net/bugs/740932 [14:16] The specific problem is that the time to create and rename the file runs in under 1s [14:16] which is the granularity of our sha cache test. [14:17] touch the file with a specific time ? [14:17] I'm trying to find a tasteful way to test it [14:17] vila: so the point is that Transform is creating the file [14:17] how do I touch it [14:17] (where/when?) [14:17] from the test ? hmm or from some hook triggered by a test decorated class ? [14:18] that's not the first time I'd like to better control the clock, but here you want to observe a fs behaviour which is trickier [14:18] vila: yep [14:18] it does call os.rename [14:18] which I could hack into [14:18] but that is pretty ugly [14:18] how about reducing the 1s to 1us ? [14:18] for tests I mean [14:18] vila: not optional [14:19] make it so :) [14:19] Dirstate's packed-stat is integers only [14:19] ouch [14:19] hmm [14:19] how about changing its scale then [14:19] again, for tests [14:20] or may be you should have different tests for the different effects you want to observe [14:20] vila: I *really* don't think we want to be hacking into compiled code and adding if checks in our tight-loop functions [14:21] vila: the issue is that in the real world, it can take several seconds from the time we start creating files until we've finished the last one. which gives us plenty of files whose state we can cache [14:21] but we have to be careful because we also rename the top-level ones right before we finish [14:21] I wonder if I need to worry, because that rename is probably never going to be outside our 3-second window [14:21] what do you want to test ? [14:22] it doesn't help that Dirstate caches's its threshold time to the first time it checks [14:22] vila: this is what I have so far [14:22] at the point where we have Transform.create_file [14:22] I store the sha1 and stat value of the file [14:23] at the point that we have finished creating all of these files [14:23] I then call Tree._observed_sha1 for everything I cached [14:23] there is one step inbetween, where Transform renames all the files into place [14:23] thus changing their 'ctime' [14:23] but we could be saving the sha1 value with the new ctime [14:23] huh ? renaming change the ctime of the containing dir not of files itself right ? [14:24] err, mtime [14:24] vila: renaming the *file* changes the ctime of the *file* [14:24] ctime as 'creation time' ?? [14:24] vila: stat [14:24] ctime == last meta-info changed time [14:24] on *windows* == creation time [14:24] on Linux something different [14:24] (we've talked about not paying attention to ctime, but we currently do) [14:25] and you want to avoid calculating the sha1 for files that were only renamed ? [14:27] vila: *today* after doing 'bzr co' the next 'bzr st' will re-read every file to check if it is up to date, and re-sha the content [14:27] which is affecting eg linaro, because it takes >1m to re-sha the whole tree [14:27] so bzr branch-for-feature ; bzr st; bzr commit; takes longer than it should [14:28] yeah, I've read your analysis [14:28] and you want to avoid calculating the sha1 for files that were only renamed ? [14:28] or touched by the transform [14:28] vila: I already have code that handles the 'create_content' part [14:28] rhaa, calculate only for files modified, yeah, create_content [14:28] I can easily add code that handles the "and the files are renamed into place" part [14:28] vila: but I don't know how to test it [14:29] ISTM you're trying to test from too high, get closer to the code that you want to test [14:29] note, I just realized my changes need some updating, but I have a handle on that [14:29] vila: so step through TreeTransform.apply inlined into a test case and assert the dict values? [14:29] I really don't want to rewrite the apply function [14:30] because of drift, etc. [14:30] err, no, I thought about where you establish that a file need to be re-hashed [14:32] vila: well, with my first fix, the test accidentally succeeds, because the file doesn't look like it needs to be rehashed [14:32] because the timestamp didn't actually tick over 1 second [14:32] because the 'rename' happened within 1s of the creation [14:32] which doesn't happen in reality [14:32] because creation can take a minute for large trees [14:33] because you exercise too much code to properly test what you care about (is what I'm trying to explain :--/) [14:33] if you go closer to tiny part you care about, you should be able to be more precise [14:34] or is this code inlined in a compiled extension ? [14:34] vila: the code that compares to see if a file is up to date goes through packed_stat which truncates to 1s resolution. [14:34] (we compare packed_stats) [14:34] inject them [14:35] you're telling me that you can't have a test with sleep(3s) right ? [14:36] so you have to change at least one constraint succeed :) The clock seem too hard, so that leaves faking the data based on this clock [14:36] vila: I could detect it with a sleep(1) [14:36] well, sleep(1) is bad :) [14:36] or hacking os.rename to add a os.utime to mutate mtime to fake the ctime change [14:36] sleep() is bad [14:36] since you can't directly touch ctime [14:37] I'm not sure you're -guaranteed- to notice a ctime tick using sleep(1) [14:37] sleep(1) asks to sleep for no more than 1000ms. [14:37] LeoNerd: while round(time.time()) == orig_time: time.sleep(...) [14:38] as long as it's explained in the test *that* sounds better but involving os.rename() in your test seems like enlarging the scope of the tested code too [14:39] jam: said otherwise: you seem to be writing a blackbox test when a unit test could be more precise [14:39] "blackbox" with quotes [14:42] jam: blackbox as in: not allowing to observe directly what you want to test [14:42] vila: testing that 'bzrlib.transform.build_tree" has the sha hash values correct doesn't seem particularly 'black box' to me. [14:42] and the lifetime of the caching has to be across the TreeTransform.apply stage. [14:43] because you don't want to try to save the sha1 until you're done, to give it the best chance to be outside the 3s window [14:43] jam: given that this function is more than 100 lines... it's hard to *not* consider it as an opaque box with a lot of side effects [14:44] jam: the aim is good but it doesn't mean you can't test a building block [14:45] ow, and it uses a 50 lines _create_files() too... [14:46] vila: a fair amount of it is if blocks that you can avoid. by not setting accelerator_tree, etc. [14:47] right, I'm beginning to feel your pain :-/ [14:48] jam: can't you split out the part you're interested in ? [14:49] jam: how many existing direct tests for _build_tree ? [14:49] vila: by re-writing Transform.apply [14:49] jam: good luck with that :-( [14:49] and I still don't really know how to handle making sure we get the correct time for top-level files [14:49] jam: anything smaller ? [14:49] anyway, I have a couple other bits to fix now anyway. [14:50] jam: you may be just be facing a hole in the test suite :-/ [14:50] vila: so I could fake TreeTransform state, call one of the functions on it, and assert the after state [14:50] but TT state is pretty big, too [14:50] jam: a known one for that matter [14:51] ok, so, best effort would indeed be to write blackbox tests here :-/ Sadly that means adding more tech debt... [14:52] what {worries me|makes me sad} is that you end up talking about TT when you care about a packed_stat which TT doesn't even know about === wgrant_ is now known as wgrant [14:55] jam: from the you-wish-you-did-it-long-ago dept: use an in-memory fs and control its clock ! :-} === JayFo is now known as JFo [15:20] jam: hi [15:21] jam: do you know how significant the memory usage improvements between 2.2.3 and 2.3.1 are in terms of fetch performance ? [15:22] jelmer: you'd have to read the release-notes. I don't think it is huge, though. [15:22] jelmer: stuff that accesses all chk pages can be quite a bit cheaper, I guess [15:23] jelmer: "bzr ls -R" dropped from 400MB to 250MB, which is roughly equivalent to fetching a reasonable amount of data [15:23] jam: ah [15:24] jam: the fix you did after the gcc performance analysis hasn't ended up in a release yet right? [15:25] jelmer: that is the "iter_entries_by_dir()" change? [15:25] I don't think that has been released [15:26] jelmer: actually, according to release-notes it is in 2.4b1 [15:26] ah, cool [15:35] jam, jelmer: according to the https://launchpad.net/bzr/+milestone/2.4b1 changelog, it is not [15:35] jam: did I copy the wrong changelog or did you merged in the wrong section ? [15:36] vila: lp only counts things that you target the bug to [15:36] jam: I'm talking about the changelog the RM copied at the time the release was frozen [15:36] vila: ah [15:37] it landed in 5730 [15:37] it certainly could have been merged into the wrong section [15:37] since that happens *by default* [15:37] and 2.4b1 is 5727 [15:38] jam: no worries, just wanted to make sure jelmer got the right stuff [15:39] vila: so I found a better way to poke at it. Use 'os.utime' between the time that we call create_file, and the time that we call .apply [15:39] it is actually asserting something that doesn't happen, but it would catch a real bug === oubiwann` is now known as oubiwann === deryck is now known as deryck[lunch] === r0bby is now known as robbyoconnor === lamont` is now known as lamont === deryck[lunch] is now known as deryck === zyga is now known as zyga-dinner === zyga-dinner is now known as zyga === Ursinha is now known as Ursinha-lunch [19:52] i'm having a problem trying push a branch to launchpad. it seems like bzr and hg are fighting each other for some weird reason. on natty. i get: [19:52] bzr: ERROR: No such file: /~barry/mailman/restusers/.hg/requires [19:53] but this is a bzr branch in a shared repo and hg shouldn't enter into it! [19:53] (there is no .hg directory in this directory) [19:53] i do have bzr-hg installed however [19:53] hi barry [19:54] barry: That's bzr-hg, although that bug should be fixed [19:54] barry: how do you have bzr-hg installed? [19:54] hi jelmer. apt-get install bzr-hg [19:56] barry: the one that was synced today, or from earlier? [19:56] barry: can you give the bzr-hg in the bzr daily builds PPA a try? [19:57] jelmer: from a few days ago. apt-get upgrading now :) i'll let you know if that fixes it [20:03] hi [20:04] is the PQM version used by the Bazaar team the one from lp:pqm? [20:08] jelmer: that did the trick. thanks! [20:09] bpierre: approximately [20:09] jelmer: :P, patched? [20:09] I have been looking into it [20:09] I managed to make it somewhat work [20:09] bpierre: To be honest, I think we're just using lp:pqm but I'm not sure [20:10] ok [20:10] so do you know if your version work by making a direct lightweight checkout of lp for each merge? [20:10] I see no activity on the lp code page for the project [20:11] I'm pretty sure pqm creates a full branch, and that's what we're seeing too [20:11] and a number of branches marked in developement and not merged... [20:11] so branch lp:bzr, with tree, and then merge? [20:11] bpierre: pqm is pretty much dead upstream; bzr (and launchpad too, IIUC) are looking to move to tarmac long term [20:12] tarmac? [20:12] ok, I'll look into it [20:12] PQM, I add to make a number of patches, and still less than optimal ;( [20:13] lp:tarmac [20:13] yeah, seems to be tied to launchpad ;( [20:35] jelmer: pqm's not dead, just not being changed unless there is a defect [20:35] bpierre: yes, we run trunk of lp:pqm without patches [20:38] lifeless: ok, so unless I missed something, everytime a merge is attempted, pqm does a lightweight checkout of the target branch, right? [20:38] bpierre: yes, clean slate each time [20:38] I see no support for caching [20:39] so for a big working tree, a lot of network traffic [20:39] bpierre: so, what you can do is use a local tree and set the published_to option [20:39] s/tree/branch/ [20:39] it will checkout locally (no network traffic) and do a push afterwards [20:39] mmm, but I still need to update this local tree somehow, no? [20:40] as long as pqm is the way things are landed this works fine; if you manually push to $wherever, then you need to do a manual push to that local branch too [20:40] it would be quite reasonable to file a bug asking for a more transparent cache facility [20:41] ok, I also ran into an issue with the way a working tree name is constructed, plus ploblems with encoding [20:41] I also patched it for merge directive support [20:42] (there is already a branch in lp, but with conflicts, and another I did not see until after making the patch) [20:42] anyway, I wonder if the support for other VCSs is of interest? [20:42] do you have some tests in your branch? I hesitate to incorporate changes which can break silently on future changes [20:42] I understand completly [20:42] the other vcs support is maintained by other vcs folk [20:42] is it used? [20:43] it used to be :) I have no idea now. [20:43] theres no requirement that new features work on all vcses [20:43] because I add to bypass some abstractions, to support merge directive inlined in a mail [20:43] ah [20:43] plus the code looks complicated [20:43] at least to me :P [20:44] it is, it started as a simple script [20:44] and gew [20:44] *grew* [20:44] the lack of documentation also does not help [20:44] code level docs? [20:44] there is a docbook manual for users [20:44] yeah, I'm starting to think it might be simpler to just start from scratch [20:45] I'm problably way understimating the time it will take :D [20:45] thats the usual thing [20:45] the docbook manual in the code is not really helpful [20:45] I add to look at the code and experiment [20:46] so, caching transparently should be easy - have an option, say, 'cache_repository' and when thats set use bzrlib apis to cache the tip revision of the branch [20:46] construct a temp branch in it during the merge - a few lines of code [20:46] yeah, a few lines there, and few lines somewhere else... :P [20:47] for your merge directive support; if it doesn't break other vcses, and you wouldn't mind if I broke it by mistake fixing other things, then it doesn't /need/ tests. [20:47] I can't help to notice that every plugin that need to merge dupplicate parts of the bzrlib code for the merge builtin [20:48] yeah [20:48] *from the [20:48] one question about the bzrlib API: is there a way to get the canonical URL for a branch? [20:49] the only way I found is by opening it and looking at base [20:49] what I mean is correctly expand lp:bzr to bzr+ssh://.... [20:49] or expand my local bookmark bm:something to the real URL [20:49] ? [20:51] bpierre: bzrlib.directory_service.directories.dereference(url) ? [20:51] maxb: ok, I'll try [21:58] spiv: I am getting this bug http://psjinx.pastebin.com/yxS2PNGm .. what can be the issues [22:00] ps_jinx: That's a known bug related to proxies; it's fixed in newer versions of bzr. [22:18] jelmer: but I'm able to pull the code successfully [22:19] ps_jinx: that's a different code path [22:19] ok === Ursinha-lunch is now known as Ursinha [23:19] hi all === JasonO is now known as Guest72019 === tchan1 is now known as tchan