[00:00] I'd say [00:00] I've never heard of a style to not use query args [00:00] ?action=annotate [00:00] would be a reasonable use of query args [00:00] nice [00:01] so http://127.0.0.1:8080/bzr.repo/bzr.dev/tools/biobench.py?action=annotate [00:01] without that get the raw bytes of the file [00:01] or alternatively [00:01] so http://127.0.0.1:8080/bzr.repo/bzr.dev/tools/biobench.py?action=raw [00:01] and without that get the pretty view [00:02] what pretty view? [00:02] annotated text is the pretty view :) [00:02] :) [00:02] lifeless, spiv, jam, call in 2m [00:02] I think allowing space in the URL's for revision and stuff is good [00:03] as mentioned previously the only problem is: there are special files eg: [00:03] so http://127.0.0.1:8080/bzr.repo/bzr.dev/head:/tools/biobench.py?action=raw [00:03] is better IMO [00:03] http://127.0.0.1:8080/bzr.repo/bzr.dev/files [00:03] an alternative is [00:03] http://127.0.0.1:8080/bzr.repo/bzr.dev;rev=head:/tools/biobench.py?action=raw [00:03] so we might need to change http://127.0.0.1:8080/bzr.repo/bzr.dev/files -> http://127.0.0.1:8080/bzr.repo/bzr.dev?files [00:03] when is the new bzrtools going to be packaged in the bzr ppa? [00:04] bbs [00:04] right now I'm holding off installing the 1.7rc as it wants to remove bzrtools [00:04] and I use bzrtools all the time, and don't want it removed [00:04] nor do I want to use a non-packaged bzrtools [00:04] in my use case http://127.0.0.1:8080/bzr.repo/bzr.dev;rev=head:/tools/biobench.py?action=raw is not really an option (I dont know where to split the path) [00:06] amanica: well, default would be to show the head revision presumably [00:06] yup [00:06] amanica: so far i've been restraining myself a little from suggesting you fix gforge instead/as well :) [00:06] and I'd have to add another param for rev=123 [00:06] I am busy fixing it :) [00:07] I can do a bzr revno on every folder in my path to determine if it is the branch [00:07] * beuno -> home + dinner [00:07] but that didnt work for me [00:08] I have been using `bzr branches` to get a list of branches [00:08] bzr root [00:08] will tell you where the root is [00:08] whcih I can compare to the full path to see if I can determine which one is in use [00:08] ah [00:09] But I thouth if loggerhead is cleaver enough in any case I dont need to mess with that [00:09] lifeless: no, just that shell scripting makes a bit more sense than a python plugin, for hooks. [00:09] amanica: in any case it's by now pretty easily to write wsgi stuff to do url traversal however you like [00:09] amanica: unfortunately the links that get generated will be all wrong :/ [00:10] if you care to tackle _that_ problem you will definitely be my friend [00:10] which _that_ problem? [00:11] amanica: the link-generation problem [00:11] is this wsgi stuff in loggerhead [00:11] or do you mean write a site wrapper? [00:11] loggerhead is all wsgi these days [00:13] ok, Ive not seen this link generation problem [00:14] so now that I can determine the branch root, I would be able to split up the url. [00:14] amanica: well it's the standard thing of making sure that the way you generate urls and the way you interpret them line up [00:14] hey does bzr support something similar to git's submodules? [00:14] or bitkeepers ability to reference other repos? [00:15] amanica: loggerhead is flexible enough to allow the way you interpret urls to be changed easily [00:15] amanica: but the way they are generated is very hard coded and horrible [00:15] oh ok [00:16] ??? [00:16] I didn't really intend to change the url generation, but mainly just to support alternate urls [00:18] mwhudson: I would still need a way to do this for a specific revno [00:18] manunderground: Like svn:external? Something like that has been In Progress for ages. [00:18] peng_ dunno if it's the same but I imagine it is, not familiar with svn:external [00:18] it is simply the abillity to have one repo reference another as another working item [00:18] manunderground: people here may not be familiar with git submodules :) [00:19] here's the use case, you have a suite of apps, you want each app to have its own repository [00:19] you want the suite to have a repository, too, maybe it has an installer or something [00:19] so the suite references the app's repos [00:19] (which in turn reference feature repos? AHHH) [00:19] mwhudson: BTW I'm not really a gforge guy, but my company is going to use it, and I HAVE TO USE BZR OR I'LL DIE. so I'm writng a plugin.... [00:22] mwhudson: so I still like/need something like http://127.0.0.1:8080/bzr.repo/bzr.dev/tools/biobench.py?revno=123 [00:22] so, it doesn't exist but it's planned and not exactly forthcoming? [00:23] amanica: right, it can probably be added easily enough [00:24] I'm ok with that, but I'd prefer to work on something that will have a chance to get merged in the future, than going off into my own little fork [00:25] manunderground: I was just reading something today about different directory structures you can use for repositories with Bazaar. [00:25] thats why I'm trying to get an idea of what others want. and surprisingly its not what I thought [00:25] A couple of them were essentially ways where you have a shared repository for a collection of projects and then separate projects within that repository. [00:26] But I can't find the page again, so I'm not sure how closely it resembles the organization pattern you describe. [00:26] Kilroo: hm, hard to say, but it'd be cool if you found that again [00:27] I think this is actually a very important feature [00:27] manunderground: there are kind of two answer to this, there is "nested trees" which i woudn't hold your breath for, and there is "config-manager" which collects branches into one tree on disk [00:28] mwhudson: so can you explain "collects branches into one tree" means [00:28] manunderground: And in bzr terms, you mean 'branches', not 'repos'. [00:28] oh ok [00:28] haha [00:28] thanks [00:28] but then I assume that the branch is the entire tree? [00:29] (meaning, you can trace out the entire tree from the branch) [00:29] Well, branches are what you work with. You never work with 'repos'. [00:29] alright, let me try to clarify thigns here. when I say repo I mean a tree [00:29] with the root [00:30] and a branch is not the full tree, right? [00:30] the tree is a collection of branches [00:30] and I'd like to have, say, 3 independent trees [00:30] then a fourth one which references the other three [00:30] (and ideally doesn't have to put import all their files or history) [00:31] so it's a reference that I'm looking for, I think :-) [00:31] As I understand you, you'd have 3 branches, and then a fourth branch with not much in it, but references to those other 3. [00:32] (assuming that nested trees were up and running) [00:32] alright, that sounds like what I want, so that is supported? [00:33] No. [00:33] Now, there's nothing stopping you from arranging the 3 branches however you want on your system. But the bits that allow automating treating them as a single entity from the outside aren't there. [00:34] oh ok, so you would have then if I understand you there's no way to track the history of references in your project? You could put some placeholder dirs or readmes, etc, but not actually reference the other projects repo's [00:35] haha, minus the "so you would have then" bit... [00:46] poolie: woot. [00:47] jml, ? [00:47] poolie: saw the call minutes :) [00:47] * looking at failure jml is seeing on stacked [00:48] was there any other news on it from your side? [00:54] poolie: I've filed bugs with easy steps to reproduce the symptoms, that's about it. === mw is now known as mw|out [01:28] can lightweight checkouts be pushed to LP? [01:28] LaserJock: only branches. [01:28] hmm, interesting [01:29] so the only good way of sharing changes to a lightweight checkout is to send patches? [01:29] I'm a little confused. [01:30] sorry [01:30] by 'changes to a lightweight checkout', do you mean 'local edits without commits'? [01:30] it's ok, I'm just having a slow day :) [01:30] no [01:30] I mean, I want to get a branch from LP, make some commits, and then get it back to the author [01:31] I was wondering if a lightweight checkout would work for that or not [01:31] can I make local commits on a lightweight checkout even? [01:31] I don't think so. [01:31] well, you can if it's a lightweight checkout of a branch you have write access to [01:32] oh [01:32] but they aren't local [01:32] * jml should really try today again. [01:32] I don't think I have write access either [01:33] LaserJock: I think you'll need to make a real, honest-to-goodness branch. [01:34] soon, you'll be able to branch --stacked [01:34] mwhudson: that'll give me partial history? [01:34] basically yes [01:34] although I imagine that for heavy hacking you'll still probably want a shared repo model — not sure. [01:35] LaserJock: if youwant to commits you need write access; a stacked branch will work, or a normal branch [01:36] lifeless: right, I was wondering if I could do a lightweight checkout and then push it to my bzr space [01:36] makes sense though that that wouldn't exactly work [01:39] ok, another question. when I'm branching I get a notice that the branch format is old [01:39] complain to the branch owner [01:39] ok [01:39] (they should upgrade it) [01:39] I wondered if I should upgrade it or if they should [01:40] unless you have write access, you can't [01:40] but I'm not sure if it's just because I'm using newer bzr or not [01:40] if you do, then you can [with some tricks if its on launchpad] [01:40] is there a table of formats vs bzr version? [01:41] core formats have versions in them, that indicate the introducing version [01:41] formats that don't have a version in them are either very old (0.8 or so) [01:41] so this ones says: RepositoryFormatKnit1 [01:41] or plugin formats that you need a specific plugin for [01:42] there should be a line at the top [01:42] someting like 'knits' - anyhow, thats a very old format [01:42] bzr 0.8 and above read and write it, but its slow. [01:42] yeah, this branch is taking *forever* [01:42] I'll perhaps mention it to mvo tomorrow [01:43] if you upgrade a branch how does it know what to upgrade to? does it just go to the latest default? [01:44] with the exception of bzr-svn branches, it goes to the current default, which we are conservative about changing [01:44] the current default works with bzr 0.92 and above [01:44] ah, ok good [01:45] with bzr-svn branches it will error, as you need to manually specify what to upgrade to [01:45] I was wondering if it's easy to get a situation where a person upgrading via bzr.dev ends up doing bad things for other users [01:46] LaserJock: if we were silly, it would be :P [01:46] well ... :-) [01:47] jeeze, this thing is using like 2 KB/s [01:47] "slow" :P [01:49] I guess I could start like 10 branches at the same time :-) [01:58] Well, using bzr.dev caused bug 261339, frex :p [01:58] Launchpad bug 261339 in bzr "Upgrade from knit to pack fails on revision not present" [Critical,Fix released] https://launchpad.net/bugs/261339 [01:58] (well, maybe not precisely caused, but caused to exhibit anyway) [02:03] hmm, has the idea of combining init-repo with branch come up? [02:05] LaserJock: kind of. [02:05] LaserJock: rockstar and I have talked about a plugin that does the init-repo when fetching a branch for the first time. [02:06] yeah, something like that [02:06] I always forget [02:07] LaserJock: it's slightly complicated by the fact that some people like to keep their local branches separate from their working trees. [02:08] so like you would have ~/branches/* and then ~/working ? [02:13] LaserJock: something like that. [02:15] LaserJock: to do that manually, you'd go 'bzr init-repo --no-trees ~/branches; cd ~/branches; bzr branch ; cd ~/trees; bzr co --lightweight ~/branches/' [02:15] maybe there's an easier way. [02:15] * jml shrugs [02:15] I mix trees and branches with merry abandon. [02:16] oh woah, that's interesting [02:17] thumper, abentley and others use that layout [02:17] and can help you more if you're interested [02:17] jml: why do init-repo in ~/branches ? [02:18] instead of just doing individual branches [02:18] LaserJock: it creates a repository (that is, a bucket for revisions) that can be shared between branches. [02:19] LaserJock: this saves space and also makes certain operations faster [02:19] so I guess if you had branches with similar history it'd help [02:19] in particular, making new branches and fetching branches from remote hosts [02:19] LaserJock: right. [02:19] And, by "certain operations" jml means "branching". And by "faster", he means "like a hojilion times faster". [02:20] LaserJock: so actually, you _wouldn't_ do "init-repo ~/branches" [02:20] you'd probably do "init-repo ~/repos/" [02:20] and then "init-repo ~/repos/" [02:24] I was reading about a science professor who was using bzr repos for papers [02:24] jml, LaserJock it just so happens that I'm polishing that plugin right now. [02:24] so if he had a new paper or presentation he'd bzr branch [02:24] seemed like a really cool idea === kiko is now known as kiko-zzz [02:26] I know at least one PhD student who uses Bazaar for their thesis. [02:26] maybe two. [02:26] that's what I'm doing right now ... [02:27] it's nice to know what revision I gave my advisor to read [02:28] the idea of a presentations bzr repo is interesting, since often they are a fairly linear progression [02:30] Hom do I get a branch's format in bzrlib Branch? [02:30] s/Hom/How [02:30] rockstar: from a branch object? [02:30] b._format.get_branch_format() i think [02:30] well [02:30] LaserJock: I habitually make branches for any slides I'm working on [02:31] assuming a certain modernity. [02:31] there isn't actually a consistent way across all formats, I don't think. [02:32] *gasp* An API where I have to access the a property starting with _ [02:32] LaserJock: I don't think I've ever looked at the old revisions, but just knowing that I *can* lets me relax and delete unused ideas and whatever from my slides rather than leaving them floating around until the last moment in case I decide I might want to use them after all. [02:32] spiv: yeah, exactly [02:33] jml, the use case is this: I have my plugin, and I'm getting repository/branch format conflicts [02:34] rockstar: that's not a use case :) [02:34] rockstar: what are you doing to get these conflicts? [02:34] I wish I could go back in time 6 years and input everything into bzr :-) [02:34] jml, let me finish! [02:34] * jml does so [02:34] LaserJock: putting Bazaar back in time six years would solve a lot of my problems. [02:36] So, I get conflicts when I create a repository with the default format, and then try to put a branch in the repo that doesn't have a compatible format. [02:36] So I needed to open the branch to check the format BEFORE I create the repo. [02:39] rockstar: so, you need to open the url as a BzrDir and then check the repo format [02:39] I guess. [02:39] jml, yes. However, mwhudson's response seems to be incorrect. [02:39] rockstar: i think you can look at the cloning metadir for that [02:41] mwhudson, Would this help? http://starship.python.net/crew/mwh/bzrlibapi/bzrlib.branch.BranchFormat.html#find_format [02:49] ok, really focussing on 270738 now [02:50] poolie: the patch you posted conflicts with spiv's remote error fixes (bug #2613515) [02:50] Error: Launchpad bug 2613515 could not be found [02:50] 261315 [02:50] bug #261315 [02:50] Launchpad bug 261315 in bzr "getting a stacked branch over the smart protocol fails with "Could not install revisions"" [Critical,In progress] https://launchpad.net/bugs/261315 [02:50] bug #270738 [02:50] Launchpad bug 270738 in bzr "AttributeError when branching stacked branches" [Critical,New] https://launchpad.net/bugs/270738 [02:50] jml mentioned it, I just confirmed it [02:50] jam, i intentionally did mine off an old branch to ease integration into 1.7 [02:50] sure [02:50] i guess i should merge it into 1.7? or just into trunk? [02:51] just that the 1.7 branch *has* spiv's changes [02:51] or rather, merge them into me [02:51] poolie: right, just 1.7 [02:52] poolie: the change to "get_stacked_on_url" seems like it should be a per_branch test [02:53] jam, do you mean that you can still get it even if the repo can't accommodate it? [02:53] Okay, so it looks like the branch is a RemoteBranch object. Is there a way to get the format of the RemoteBranch? [02:53] hm, maybe [02:53] poolie: right, just that it changes the API of the function [02:53] to always return the config value [02:53] rockstar: remotebranch._real_branch.format unfortunately [02:53] if you want the on-disk format [02:53] Personally, I prefer it to return None rather than raise an exception, but that is a long-ago discussion that got missed [02:54] poolie, _real_branch is apparently None [02:54] call ._ensure_real then [02:54] jam, i know [02:54] i wonder if it would be better to just change it anyhow though [02:55] like, will there really be that many external callers of it? [02:56] poolie: why do you have the "self._remote_path()" instead of "self.bzrdir._path_for_remote_call()" ? [02:56] I think it is *better* I just don't see why it was important for this patch [02:58] i just didn't want to copy & paste it again [02:58] um [02:58] i feel a tension between doing focussed patches and cleaning things as i go [02:59] sure [02:59] I was mostly just trying to understand the patch and where I needed to focus [02:59] I'm fine with the cleanup [02:59] though generally for a rc hotfix I would avoid them [03:01] true [03:02] is there a possibility of a branching from LP just stalling? [03:03] I'm going on 1.5 hrs now and I'm not sure if there's any progress [03:03] LaserJock: strace the process [03:04] LaserJock: is it a big project? [03:05] I didn't think so [03:05] gnome-app-install [03:05] 600 or so revisions [03:05] but the actual size shouldn't be bad [03:05] its more file-count that breaks knits [03:05] ok, strace says it's still doing stuff [03:05] When using relative directories for workingtree.add() and workingtree.smart_add(), what is it supposed to be relative to? [03:06] abadger1999: add is relative to tree root [03:06] My test is showing it's relative to the cwd, but the documentation says it should be relative to the wt root. [03:06] smart_add is a little broken, its relative to pwd [03:06] Ah... maybe add is giving me a different error then. [03:07] lifeless: To make smart_add work as expected, do I need to os.chdir() to the tree root and then back after the call? [03:07] lifeless: 227 files for 2.7MB is the source tree [03:08] relpath() broken too? [03:09] abadger1999: no, just give the relpath from cwd [03:09] Ah. rigt. [03:09] lifeless: Thanks [03:09] poolie: BB:tweak sent to the list [03:09] LaserJock: so it will be ~ 227 * 2 * RTT + BW*(history size) [03:09] i'm just working on the test merge, thanks john [03:11] lifeless: well, as long as I know it's still working I'll stick with it. I just didn't see the progress bar or "pinwheel" moving so I wondered if somehow it got hung up [03:12] bbs, lunching [03:19] LaserJock: over ssh or http? [03:22] * rockstar is having a hell of a time creating a repository with a format compatible with this branch === mwhudson is now known as mwh [03:27] rockstar: source_branch.repository._format.initialize(target_bzrdir) ? [03:29] spiv, well, the way it works on branches that use a something besides knitpack is: [03:29] format = bzrdir.format_registry.make_bzrdir('default') [03:29] newdir = format.initialize_on_transport(to_transport) [03:29] repo = newdir.create_repository(shared=True) [03:30] The default repository format isn't compatible with all branches, though. [03:32] poolie: ssh [03:33] spiv, yea, experiencing this now. [03:33] rockstar: what are you trying to do? [03:33] rockstar: so what problem are you trying to solve? If it's "make a branch into a new shared repository", then you probably want to preserve the original format. [03:33] spiv, yes, that's why I'm fixing the bug. :) [03:34] rockstar: if so, I'd make a new *empty* bzrdir, then use my suggestion above (passing shared=True), then just branch.sprout into a directory under that. [03:34] lifeless, I've been sitting on this plugin for a while that creates a shared repository and puts a branch inside. [03:36] rockstar: create the repo by using the source repo's bzrdir to sprout [03:36] source_branch.repository.bzrdir.sprout() [03:37] lifeless, wow, I think you just took out most of my code with that (provided it works) [03:40] LaserJock: i'm hoping to work soon on better progress messages for ssh [03:41] spiv, jml, lifeless, Functional Programming Sydney is on tomorrow at 6:30 at google [03:41] poolie: are they different than for http? [03:41] LaserJock: without going into detail yes the codepath is a bit different [03:42] poolie: d'oh. It's a birthday dinner for my mother tomorrow night. [03:47] poolie: ooh. [03:53] what's the 0/4 step in branching? copying over revisions? [04:11] lifeless, remote_branch.repository.bzrdir.sprout() seems to be sprouting the branch, not a repository. [04:12] ah yes, I was a bit quick there :P [04:12] LaserJock: file texts [04:13] It is ridiculously slow. I can't see how it could be so slow even if it is plain knits. [04:13] spiv, i know it's probably in a message somewhere but [04:13] rockstar: so the source.repository.bzr._format object should be parameterised correctly [04:13] what is the point of the error translation change in your landing to 1.7? [04:13] just asking to know, not cause i disapprove [04:15] wgrant: what is? [04:15] jml: Checking out the branch that LaserJock is attempting to check out. [04:16] wgrant: from Launchpad? [04:16] Yes. [04:17] wgrant: oh, it finished! [04:17] Branched 616 revision(s). [04:17] real 147m15.237s [04:17] LaserJock: How big is it all up? [04:18] .bzr is 33MB [04:18] lifeless, parameterized correctly how? [04:19] LaserJock: run 'bzr upgrade' in your copy [04:19] LaserJock: it will at least make your push, when you publish to LP, nice and fast :) [04:20] What is the status of stacked branches (with LP)? [04:21] lifeless: do I run upgrade in the branch or in the root of the share repo? [04:21] wgrant: the next rollout will support them and have a default stacking policy set up for certain projects. [04:21] *shared [04:22] LaserJock: oh, if you have a shared repo already, its probably already packs [04:22] jml: The rollout in a few hours? [04:22] lifeless: oh, so was it taking so long because it was converting as it was branching? [04:22] Do we get docs on how to use them, or do we have to work to actually discover that they are supported, and work harder to work out how to use them? [04:23] oh, snap [04:23] wgrant: that rollout, yes. [04:23] LaserJock: it shouldn't have no, the conversion from knits to packs is trivial - we just strip off some metadata [04:23] hmm, this doesn't look good. bzr info in the branch gives: Repository tree (format: unnamed) [04:23] jml: Aha. [04:23] wgrant: using them is a Bazaar issue :) [04:24] jml: How does LP define a stacking policy? [04:24] Or is that a branch property? [04:24] Your statement about doing it for certain projects above has me confused. [04:24] wgrant: a branch can be stacked on another branch. Bazaar has a feature where new branches can be automatically stacked on a preconfigured branch. [04:24] LaserJock: there is a bug on that [04:25] LaserJock: just run 'bzr upgrade' in the new branch [04:25] LaserJock: that will upgrade it to a tags-supporting branch [04:25] jml: Right, that makes sense, but I wondered how LP came into the configuration equation. [04:26] wgrant: roughly speaking, Launchpad will stack branches on the development focus branch by default. [04:27] I fail to see how Launchpad can decide that, but I guess I've no choice but to trust you! [04:27] lp tells bzr what to stack on === thumper_laptop is now known as thumper [04:31] wgrant: I'm not sure I follow. [04:32] jml: Normally when I push a branch to LP, LP doesn't interfere. I just upload the branch over sftp or bzr+ssh, and LP eventually scans it. LP has no say in the upload. [04:32] lifeless: yeah, bzr upgrade was trivial and got me a recognizable format [04:33] wgrant: so, Launchpad tells the client 'you should stack your branches on URL', and the client says 'OK' [04:33] jml: Aha, that makes sense. [04:33] wgrant: except actually because bzr is request / response, Launchpad only answers questions [04:34] I presume that this doesn't work unless I use bzr+ssh. [04:34] actually, sftp works fine too. [04:34] poolie: It was for https://bugs.launchpad.net/bzr/+bug/263527 [04:34] Launchpad bug 263527 in bzr "ErrorFromSmartServer should not cause a traceback" [Medium,Fix released] [04:35] poolie: basically it doesn't scare users with a client-side traceback when it's (probably) the server that's having the problem. [04:35] wgrant: it won't work for old formats. they'll just upload normally. [04:35] jml: So it speaks bzr over sftp somehow? [04:35] I thought pushing over sftp was just copying things with sftp. [04:36] not really. [04:36] Well, at least it didn't use anything bzr-specific. [04:36] Bazaar delegates to format objects, which do file operations more intelligently than dumb copying. [04:37] here, the new format checks the remote configuration file. [04:37] wgrant: lp synthesises a file at the project/ path in the sftp tree [04:37] wgrant: bzr reads that file [04:38] * jml has a mental picture of himself standing at a keyboard wearing a devo hat. [04:38] lifeless: Ahh. [04:39] lifeless: That explains it - I wondered how bzr could get information from LP from an empty directory. [04:45] wgrant: LP is full of "magic" :-) [04:46] we try to keep it to a minimum. [04:47] (alternatively, "You think that's files you're reading?") [04:48] poolie: Thanks for setting up bzr-core. I have gotten herb to zap bazaar-overall [04:49] i saw, thanks [04:55] spiv, so I was wondering about TestBranchSetLastRevisionInfo.test_unexpected_error [04:55] but maybe i understand more now [04:55] spiv, could it be that the comment at the top of that test is wrong? [04:55] # A response of 'NoSuchRevision' is translated into an exception. [04:56] actually it's testing when we get a random unexpected error [04:56] ok, so pushing the same branch (now upgraded) took 16 min [04:56] so a total turn-around for branch-push of 163 minutes [04:57] :( [04:57] !! [04:57] well, the time to upload is ok i guess... [04:57] and so now I dont' have any time to hack on it [04:57] er [04:57] well [04:57] better [04:58] wgrant: are you gonna time a branch from mine? [04:58] also, if you could do -Dhpss, that would be great. [04:59] mwh: I might have been limited by my upload bandwidth [05:00] holy cow, wgrant got my branch in 2.5 min [05:00] And I'm in .au. Not too bad. [05:00] hmm, 147 vs 2.5 [05:00] Just a tad faster. [05:00] I think knits need to die. [05:01] wgrant: well, you should get a warning about them with the current code [05:01] either 1.6 or 1.7? [05:01] poolie: yeah, the comment does seem to be a copy & paste mistake. [05:01] i think the version of bar running on the server is _particularly_ bad with knits [05:01] (oh, and this is with Hardy's bzr over HTTP, so it's probably rather slower than it should be) [05:01] wgrant: oh [05:02] I was using Intrepid's bzr of bzr+ssh to get the knit branch, IIRC. But that machine doesn't have direct Internet access now, so I'm doing it on another box. [05:02] s/of/and/ [05:02] well, for the initial branch, bzr+ssh probably doesn't beat http by much [05:02] Ah. [05:03] if at all. [05:03] How much faster should bzr 1.6 be than 1.3.1? [05:03] (there's limited opportunity for cleverness after all, it's a "get all this data from here to there" operation) [05:03] Probably not much, I guess. [05:03] also, encryption :) [05:03] wgrant: for bzr+ssh, "a bit" [05:03] wgrant: for http, not much at all i expect [05:03] initial push is pretty close to the underlying bandwidth for packs [05:03] about 90% [05:04] yeah, I was at my bandwidth max when pushing 40KB/s [05:04] * jml goes to get coffee [05:04] but when branching I was only using ~ 2KB/s [05:05] spiv, i'm not so sure the distinction between ErrorFromSmartServer and Unexpected& is really worthwhile... [05:05] i mean if you get the former and it's not matched, surely it's unexpected? [05:05] anyhow i've resolved the merge for 1.7 [05:06] poolie: if an ErrorFromSmartServer escapes from a Remote* object, that's a bug in the client -- it means the error translation isn't being invoked. [05:07] Whereas Unexpected& is "the client tried to translate and couldn't, so it appears the server is talking nonsense". [05:07] mm [05:07] ok === Kittens is now known as spaz|asshole === spaz|asshole is now known as Kittens [05:36] jml, spiv, jam, the integrated fix for 261315 is now submitted to pqm for 1.7 [05:36] Hooray! [05:36] i'm going to take a break then look at [05:36] um, that keyerror thing [05:37] spiv, i want to use the updated wiki roadmap page in my meeting tomorrow night [05:37] i'll work with you on it later or tomorrow if you want [05:37] oh foo, i guess it clashes with fpsyd [05:51] Thanks a bunch guys! transifex will have a working bzr submission backend courtesy of your help. [07:01] hi all [07:08] hello vila [07:08] how's things [07:09] fine, many mails to write today :) [07:09] oh, what kind of thing? [07:11] oh, summaries for python-2.6 compatibility, the ones I mentioned the last time, november meeting, etc [07:11] I will try to clear my mailbox a bit more today :D [07:20] mwh: are there docs on the generator protocol for C extensions? [07:24] lifeless: 'generator protocol'? AIUI, it's just the iterator protocol. Are you asking about creating generators or something? [07:35] spiv: pyrex doesn't support yield [07:35] spiv: I'm looking at how to make a pyrex module behave like its yielding with the least possible overhead [07:37] The yield keyword is just a convenient (and efficient) way to build an iterator. [07:37] I just had to restrain myself from sarcasm [07:38] wonders never cease :) [07:38] So if I'm understanding you correctly, the answer to your problem is "write an object that conforms to the iterator protocol". I feel like I'm missing something? [07:39] spiv: we need tp_iternext in the C object set to the next in the C level code, for instance [07:44] Right. It sounds like you understand the C end of things just fine, so I'm not sure what you're asking about. :) [07:45] Or maybe it's how to do it in Pyrex that's the issue? [07:45] spiv: indeed [07:45] Ah, ok. [07:45] spiv: and with lowest overhead I can achieve :P [07:45] I think Pyrex lets you define __next__ on your class. [07:47] (http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/special_methods.html mentions it) [07:47] yes, just been reading that :P [07:47] thanks [07:48] Oh well, that exhausts my expertise on the topic, so I'll shut up now :) [07:51] john did an iterator for win32 [07:51] so there is stuff to cargo cult [07:51] but I was hoping to know more about e.g. marshalling and reentry overhead etc [07:53] Take a peek at the C translation I guess. [07:53] I can make some guesses, but that's probably not very helpful :) [08:52] please can we have bzrtools in the bzr ppa? [08:54] hi folks! :) [08:54] how is --fixes supposed to work? [08:55] I'm using Trac, and even if it doesn't work with Trac for the moment, I'd like to use it anyway in case it will be supported later on. [08:56] but "bzr commit -m "message" --fixes 30" results in a "bzr: ERROR: Invalid bug 30. Must be in the form of 'tag:id'. Commit refused." [08:56] speakman: --fixes=$BUGID. So, for launchpad, I pass --fixes=lp:12345 [08:56] Launchpad bug 30 in malone "comments on bugs require subjects" [Medium,Fix released] https://launchpad.net/bugs/30 [08:56] * spiv knocks another 10s off pushing 1 new rev to a bzr.dev branch. (Now down to 51s over 500ms latency link, down from 73s with 1.4) [08:57] RAOF: I see. How can I use it in my local repo? Or even with trac if it's supported nowadays? [08:58] speakman: http://doc.bazaar-vcs.org/latest/en/user-reference/bzr_man.html#bug-tracker-settings [08:59] speakman: note that all --fixes does is set a property in that revision. It's then up to your Trac/Bugzilla/whatever instance to interpret that property. [09:01] spiv: ok, I'd just like it to be set in the changeset, no matter if it's interpreted or used. :) [09:02] Cool. [09:02] regarding the docs; am I supposed to edit the .bzr/branch/branch.conf by hand? [09:06] I think so, although it's not something you'd need to do very often. [09:07] I can't remember the last time I edited one, if ever. [09:08] * jml can [09:08] but I was trying to break stuff :) [09:08] spiv: great news [09:08] spiv: I know I'd love to hear about such things on-list too :> [09:09] lifeless: and it's only a bit of a hack, too ;) [09:09] reading the doc twice I found setting trac-url into ~/.bazaar/bazaar.conf works great too :) [09:09] actually [09:10] jml, re bug 270738 [09:10] Launchpad bug 270738 in bzr "AttributeError when branching stacked branches" [Critical,New] https://launchpad.net/bugs/270738 [09:10] Now my latest changeset is commited with --fixes project:bugno, but I can't even see it with "bzr log -r -1 -v". Isn't it supposed to show up? [09:10] poolie: yes. [09:10] the attribute error is obviously just hiding something else [09:10] assuming that it's not already fixed in the branch [09:10] speakman: afaik it is only shown by 'bzr viz' [09:10] could you make a trivial change like say changing the last parameter to repr(self) or "" [09:11] and tell me what happens then [09:11] because i cannot reproduce it at present [09:11] poolie: sure. gimme a second to finish off this thought. [09:11] poolie: actually, do you have an updated non-conflicting version of your bundle? [09:12] moin [09:13] * jml becomes curious as to how zope orders its layers [09:13] LarstiQ: hello. [09:13] jml: hello :) [09:14] speakman: https://bugs.edge.launchpad.net/bzr/+bug/251729 [09:14] Launchpad bug 251729 in bzr "It would be nice to have bugs informations in logs" [Wishlist,Confirmed] [09:15] jml, i sent it in to pqm [09:15] if you pull bzr.1.7 you'll get it [09:16] poolie: ahh ok. [09:16] or http://sourcefrog.net/bzr/261315-into-1.7 [09:16] pqm is empty, so I'll try pulling now. [09:16] while my machine thrashes for these tests [09:18] poolie: did you try to reproduce with the same branch? [09:20] poolie: I get that same error with bzr.dev [09:21] I'll update to use repr [09:21] poolie: I wonder why you can't reproduce the bug. [09:23] poolie: [09:23] $ bzr branch bzr+ssh://localhost/tmp/e g [09:23] bzr: ERROR: Revision {set([('Arch-1:walters@verbum.org--2003%tla-pqm--mainline--0.1--patch-10',), ('Arch-1:walters@verbum.org--2003%arch-pqm--main--0--base-0',), ('Arch-1:walters@verbum.org--2003%tla-pqm--mainline--0.1--patch-1',), ('Arch-1:walters@verbum.org--2003%tla-pqm--mainline--0.2--base-0',), ('Arch-1:robert.collins@canonical.com--general%arch-pqm--main--0--base-0',), ('Arch-1:robert.collins@canonical.com--general%arch-pqm--main--0--patch-1',), ('A [09:23] rch-1:walters@verbum.org--2003%tla-pqm--mainline--0.3--base-0',)])} not present in "KnitVersionedFiles(_KnitGraphIndex(CombinedGraphIndex()), )". [09:28] poolie: feel free to call me on my mobile if you want to talk more, I'm off. [09:29] thanks very much [10:24] Hi ! [10:25] How can I resolve such strange to me confilcts: Conflict adding file semantics_cserver.py.BASE. Moved existing file to semantics_cserver.py.BASE.moved. [10:25] I do not remember adding semantics_cserver.py.BASE [10:25] I have valid content in semantics_cserver.py [10:25] which I would like to commit [10:26] matkor: that sounds like a second round of conflicts on top of the existing one [10:27] matkor: when do you get this conflict? [10:27] LarstiQ: I worked over checkout .. [10:27] did unbind , commited some changes and bind later [10:27] result was pretty surprising to me [10:29] anyway how can I force resolve it ? [10:30] bzr resolved semantics_cserver.py does not help with that ... [10:30] matkor: use status and diff to find out where you are, and resolve to resolve conflicts [10:31] matkor: no, the message says your conflict is on semantics_cserver.py.BASE, not semantics_cserver.py [10:32] LarstiQ: Yes , I am not interested in semantics_cserver.py.* - I have valid (merged) content in semantics_cserver.py [10:33] I just want to commit it [10:34] LarstiQ: If confilict is [10:34] bzr revert semantics_cserver.py.BASE [10:34] bzr: ERROR: Path(s) are not versioned: semantics_cserver.py.BASE [10:34] matkor: could you pastebin `bzr status` output please? [10:39] LarstiQ: sure , but pastebin.org seems to be dead for me, here it is http://wklej.org/id/4724/ [10:39] bzr 1.5 [10:39] * LarstiQ doesn't care _which_ pastebin it is :) [10:41] matkor: so, `bzr resolve semantics_cserver.py` doesn't remove those .BASE conflicts, what does `bzr resolve semantics_cserver.py.BASE` do? [10:44] LarstiQ: Oh, it removes from conflicting files ! Thank you very much ! [10:46] matkor: no problem :) If you can give a recipe for how to reproduce this situation, that might be nice. [10:50] LarstiQ: I doubt it. I did several post unbind/bind merges and it worked great as for now ... [10:51] matkor: any reason you're not using commit --local; update instead of unbinding/rebinding? [10:52] LarstiQ: Propably only my ignorance about commit --local ... Reading now how it works. [10:59] can some1 please explain to me the idea of --no-trees repository, i didnt get it [11:04] imyojimbo: Branches created in it won't have Working Trees present. Gives you a way of storing lots of branches without taking up lots of space. It's just a variation. [11:14] LarstiQ: Yeah bzr commit --local is doing exactly what I wanted by doing bzr unbind commit bind cycle. Thank you very much again ! [11:16] matkor: np :) === cody-somerville_ is now known as cody-somerville [11:46] jamesh: actually using testresources? === kiko-zzz is now known as kiko [12:09] Hi all - got a bit of a strange one here, hoping you can help [12:10] Do you know how I can embed the revision number within a PHP file? Presumably, this would need to be done as part of a post-commit hook? [12:19] vxnick: have a look through the mailing list archive. There was recently some discussion of ids or version strings or something like that. Not sure if they were talking about a plugin or a hook or what. [12:20] AfC: thanks - I'll take a look [12:28] vxnick: how about `bzr version-info`? [12:28] LarstiQ: that's what I thought it'd be - I found the thread in the mailing lists :-) [12:28] I wasn't sure how I would hook this in though, as I'm not a Python dev [12:29] vxnick: a good place is in your build or deployment process [12:31] LarstiQ: I assume a hook would do this well then? I'm using PHP, so there's no build process as such [12:32] vxnick: imo, doing it every commit is often not what you need, but yes, you could do that if you really wanted [12:32] vxnick: no deployment proces either? [12:33] LarstiQ: What I'm basically trying to do is add the revno into something like "version.php", so I can call it within the application [12:33] vxnick: let me try to phrase the question differently. What do you plan to use that version for? [12:33] vxnick: right [12:34] vxnick: so, when you're developing locally, it isn't important to have that information? [12:34] LarstiQ: I'm comfortable with the process of doing it, but I'm just not familiar enough with Python to actually do it [12:34] vxnick: there isn't much python to `bzr version-info` [12:34] LarstiQ: True, but I don't know any Python whatsoever :) [12:35] vxnick: ok, there isn't _any_ python to it ;P [12:35] vxnick: if the default output isn't usably, you can supply a template [12:35] markh: Is building the .exe version hard? [12:35] vxnick: see `bzr help version-info` [12:35] markh: I'm building the python-installer version but I'd quite like to try my users on TBZR [12:36] LarstiQ: that's fine, but what I want to do is put that (or `bzr revno`) within a Python hook which is then called upon every commit, etc [12:36] markh: Does it preclude you using any plugins, etc? [12:36] LarstiQ: would it be wise to use `bzr ignore` on the version file, so it doesn't artificially bump up the revno every time bzr notices it's been changed? [12:37] vxnick: is this a webapp? [12:37] LarstiQ: it could be any sort of app [12:37] vxnick: ok [12:37] LarstiQ: although, for completeness, yes [12:37] vxnick: for any sort of app, I would only run version-info when you make a tarball to ship to your users [12:38] vxnick: for a webapp, I would call it only when you deploy it at your server [12:38] LarstiQ: makes sense, thanks. What about for something that's ongoing? [12:38] LarstiQ: in the sense that it doesn't get tarred up, but rather commited to a production branch, etc [12:39] vxnick: ok, so your deployment process is just committing? [12:39] LarstiQ: basically yes [12:40] vxnick: maybe you'd be better off with keyword expansion [12:41] * LarstiQ sighs [12:41] vxnick: Basically, I think it's a bad idea. [12:41] vxnick: but let me see if I can cook it up [12:42] vxnick: How does committing to the branch cause the new version of your webapp to be deployed? [12:43] LarstiQ: keyword expansion would be good enough if that's do-able [12:43] spiv: sorry, I'm pretty new to all this so I might be wrong [12:44] LarstiQ: I think I looked into keyword expansion a while ago but discounted it for one reason or another [12:44] vxnick: my advice would be to have a discrete deployment step [12:45] LarstiQ: what would you suggest? === jdahlin_ is now known as jdahlin-afk [12:46] spiv: sorry, I think I was using something like `bzr rsync` or similar to push commits to a web area [12:47] vxnick: so that's the point where you could be running bzr version-info (or whatever) to put the revision info in a php file. [12:47] spiv: surely that'd be a hook then? [12:47] vxnick: something like `bzr export path/to/production; bzr version-info --custom --template "version = {revno}" > path/to/production/version.php` [12:48] LarstiQ: thanks [12:48] and probably something more appropriate than export [12:48] but that really depends on the rest of your infrastructure [12:48] yep [12:49] LarstiQ: do you think it's still feasible to update this version file as and when commits happen, as I've (kinda) been discussing with spiv? [12:49] vxnick: doing the same as cm_version_info is a little bit more involved than trivial [12:49] vxnick: Just having a script that does "bzr version-info ... ; rsync" seems simplest to me. [12:49] (in a hook) [12:49] vxnick: it is possible, I just think it's useless [12:49] LarstiQ: many thanks [12:49] vxnick: I don't know of a plugin that provides a 'bzr rsync' command, but there is a 'bzr rspush' in bzrtools I think. You could write a plugin that hooks that. [12:49] spiv: many thanks also [12:49] vxnick: but more work than a 5 minute hack for me I'm afraid [12:50] guys - I think I'll just script it then and use that as my staging step [12:50] vxnick: however, it sounds like it might be worthwhile addition to the bzr-upload plugin [12:50] vxnick: you're welcome [12:50] LarstiQ: that's true [12:51] LarstiQ: that's what I'm using - sorry, forgot what it was called! [12:51] doh :) [12:51] LarstiQ: when I was referring to `bzr rsync` [12:51] vxnick: that's excellent then :) [12:51] thanks a lot for your help guys, much appreciated! [12:52] vxnick: thank me when it actually works for you [12:52] LarstiQ: fair enough ;) [12:52] * LarstiQ files a request on bzr-upload [12:52] :) [12:54] LarstiQ: could you link me to the request once done, so I can stay in the loop [12:54] vxnick: sure [12:56] vxnick: nothing complex, but bug 271316 [12:56] Launchpad bug 271316 in bzr-upload "feature-request: optionally produce a versin-info like file" [Undecided,New] https://launchpad.net/bugs/271316 [12:56] LarstiQ: sorry, one more thing - would it be worth ignoring the version.php file, or keeping it revisioned? [12:57] LarstiQ: cheers :) [12:57] vxnick: with the bzr-upload approach, you would never have the version.php in your working tree, only in the production area, so you wouldn't have to ignore it. [12:57] LarstiQ: gotcha [12:58] vxnick: if you were to produce a version file on every commit, I'd ignore it [12:58] LarstiQ: understood, thanks! [13:01] when I have a path and it is a directory, and a revision tree, how can I get the contents? Do I have to filter the inventory? [13:10] Leonidas: something like bzr.dev export does? [13:12] LarstiQ: I am currently doing inventory.iter_entries() and filtering out InventoryDirectories + checking thether the path.startswith the director that I want to check. [13:12] s/director/directory/ [13:13] Leonidas: bzrlib.export._export_iter_entries does: 'subdir_id = inv.path2id(subdir); entries = inv.iter_entries(subdir_id)' [13:13] I'm looking for something like inventory.get_path_subitems('mydirectory/myotherdirectory/') or something like this. [13:13] LarstiQ: looks good, I'll try it after lunch, thanks! [13:41] Verterok: Ignore that patch until I can make it pass tests ;) [14:06] will bzr-trac support --fixes soon? [14:07] does bzr-trac still exist? [14:07] hopefully it does :) [14:08] latest commit 2008-08-31 [14:09] okay :) [14:10] speakman: I'd take it up with whomever is working on it then. === mw|out is now known as mw [14:19] I think they're inhere. Afaik the project doesn't have it's own irc chan. [14:22] speakman: there seem to be multiple projects doing bzr-trac integration, which one did you mean? [14:22] https://launchpad.net/trac-bzr - where do you find more? [14:23] https://launchpad.net/bzr-trac is one [14:24] speakman: I'd probably ask a question on that project then [14:25] but it is surprising to me it doesn't already work [14:25] speakman: https://bugs.edge.launchpad.net/trac-bzr/+bug/120470 [14:25] Launchpad bug 120470 in trac-bzr "Support for bug-fixed metadata" [Wishlist,Triaged] === mw is now known as mw|brb [14:28] thanks. can I push for a certain wish on launchpad? [14:28] speakman: add a comment to that bug asking for that status :) [14:29] speakman: and well, if you add a patch that implements the feature, that should bump it up ;) [14:31] if I was skilled enough I would ;) === mw|brb is now known as mw [15:27] Got a situation where even after a commit bzr st shows a change. But when I try to commit again, it says there are no changes to commit [15:27] Change is a directory being removed [15:28] What can I do? Or should I just ignore it and hope it goes away? [15:31] depends on the change that bzr st shows [15:31] grutte_pier: it shows "removed: images/Devices/" [15:32] grutte_pier: that has persisted through the last couple of commits [15:32] right now it's the only change in the list [15:32] have you only been doing selective commits? [15:33] no [15:33] vspike: I'm trying to reproduce your situation, but maybe you have been deleting stuff using system rm instead of bzr rm? [15:33] I always delete stuff with system rm, and I've never seen that happen. [15:34] actually... I notice now as well that bzr seems smart enough to delete files that are not present anymore from the branch as well [15:34] that's nice! I don't think other VCS can do that [15:34] VSpike: What happens if you try "bzr commit images/Devices" ? [15:36] It's windows, which may be an issue. I renamed the directory from "Devices" to "devices". I then did "bzr move --after images/Devices images/devices" [15:36] That sounds like a source of trouble... [15:36] I'd move it back, then bzr mv it. [15:37] and if that works, file a bug, because it _should_ work according to the help I guess :P [15:37] it should [15:37] VSpike: which version of bzr? [15:38] but how is windows with case? [15:38] useless [15:38] preserving but not distinguishing [15:38] yeah, i can imagine case could be a windows specific issue. Sometimes it matters, sometimes it doesnt [15:39] right.... so maybe Devices and devices look like the very same dir to begin with?? causing bzr commit to state that no changes have to be committed? [15:39] and maybe bzr st Does see this, because it is slightly different implemented? [15:39] how can i query the detailed history of a file? [15:39] * grutte_pier is just guessing [15:40] vspike: i guess bzr branch-history should work (from the bzrtools plugin) [15:40] VSpike: bzr log [15:50] hi, i've to work on some web sites all based on same codebase (cms made simple). does it make sense to use one shared repo with branches representing different sites and/or different states like production/test etc. ? [16:00] Sorry, just trying to figure out how to install bzrtools on cygwin :) [16:07] Verterok: ping? [16:07] gour: i guess that's precisely what vcs is supposed to do...... [16:08] gour: yes [16:08] vspike: bzr log probably does what you actually want (I forgot the most obvious :P ) [16:09] thanks. [16:09] grutte_pier: any idea where that hides in windows? :) [16:10] (Not cygwin - I've just switched from windows version to cygwin, but those commits were made under windows) [16:12] Just doing "bzr diff images/ -r 54..55" which is the relevant commit shows this http://pastebin.com/m7d771fe3 [16:13] so it added the directory with the new name (images/devices) and renamed each file in the old directory (/images/Devices/) to the new location, but did nothing with the old directory itself [16:13] So I can see why it's reporting it as removed [16:14] What is strange is why commit won't commit it, and I guess that is probably to do with case [16:14] awilkins: pong [16:15] Hi, I'm evaluating bazaar for use in our company, and like it a lot. However I cannot figure out how to combine 2 branches that have no common ancestor. Anyone help please? [16:15] Verterok: Hi there, I'm trying to get the tip of bzr-eclipse working on Callisto by merging my previous "remove the non-callisto bits" patch [16:16] Verterok: What's the dependency on org.eclipse.core.expressions 3.2.100 ? [16:16] awilkins: hi! [16:16] let me check [16:16] I think, that nothing depends on expresions :) [16:17] Verterok: I've fixed a bunch of windows-specific issues in the client library (I made all the status methods return forward-slashes regardless of platform because that's what the CLI client does) [16:17] Verterok: I can't get it to start and the preferences page is unavailable [16:17] The only thing that "works" so far is to create an empty branch to be used as the basis for all new branches I ever create, which then allows for possible future merging. [16:18] awilkins: great, patches are more than welcome. :) [16:18] I come from CVS, so I guess the confusion is natural [16:18] Verterok: I think it still has issues when the default implementation of "bzr" is not "bzr" on the PATH [16:18] awilkins: I 've been working on the client also, adding support for pending merges in the status and some enhancements in the xmlrpc client interface [16:19] awilkins: what do you mean with 'bzr is not bzr'? :) [16:20] Verterok: On windows, my default implementation is "c:\python25\scripts\bzr.bat" [16:20] pysquared, hi [16:21] pysquared: You can merge one into the other by using something like "bzr merge -r1..-1 " [16:21] pysquared, or if one should be a subdir of the other, you can use "bzr join" [16:21] -r0..-1 that is [16:21] Verterok: I think at some point bzr-eclipse became unable to configure itself unless it can find bzr... which it can't [16:21] awilkins: ah, I get it. I fixed some issues with bzr.bat a few weeks ago. (when the path to bzr.bat contains spaces) [16:21] ah, right - thanks, LarstiQ [16:21] pysquared: but merging branches that have no common ancestor is a very unusual thing to do [16:22] pysquared: so if you find yourself doing that a lot, I'd take a step back and look at your workflow [16:22] Verterok: I think I've got that ; I'm running off tip of trunk with a small anti-europa patch [16:23] awilkins: at the preference page, bzr-eclipse needs bzr to test if the xmlrpc service can be run, and if xmloutput is installed, etc [16:23] Thanks, will check out "join" now. [16:23] awilkins: do you have a stacktrace? [16:23] Verterok: Those things pass when running the library [16:23] Verterok: Alas, no, it just fails [16:24] I have a CVS repo with a tree of various sized projects in, some dependent on others. I was wondering if I could start small, and bazaarify a subtree at a time, and then combine them later. [16:25] Verterok: I saw the pretty new menu once, then it spewed the "requiremnts update" dialog once, as well as the "this operation is not enabled" and the menu is greyed now [16:26] awilkins: the dependecy update popup use the IWorkbenchBrowserSupport [16:26] awilkins: maybe in callisto is different to show a browser? [16:27] Verterok: Aha, it is trying "bzr" and not working, I just got a stack dump in another plugin [16:27] http://pastebin.ubuntu.com/47792/ [16:28] awilkins: the "revision-info" patch is the one I should ignore? [16:28] pysquared: random subtrees don't work very well as branch units, but distinct projects are a very good choice for that [16:28] Verterok: You may as well, It's included in the second one [16:28] I think [16:28] damn.. even bzr commit --unchanged doesn't fix it :/ [16:28] awilkins: ok, I'm looking the second one ATM [16:29] VSpike: can you move the directory back to what it was? [16:29] Verterok: No prefs page in the Team prefs for Bazaar [16:29] awilkins: hmm, it seems that it can't find the bzr file in Scripts/bzr [16:29] LarstiQ: what about the files in it? [16:30] VSpike: just move the entire dir [16:30] LarstiQ: with bzr mv or just mv? [16:30] VSpike: just mv [16:30] VSpike: this is exploratory in nature, not a fix yet [16:30] Verterok: I thought this was to do with the difference between the length of the list of args [16:31] Well, I got this to work: banana$ bzr merge -r0..-1 ../apple (thanks jelmer) [16:31] LarstiQ: http://pastebin.com/mcb8e143 [16:32] * LarstiQ blinks [16:32] vspike: I'm getting confused a bit [16:32] VSpike: and what does bzr st show if you move Devices to devices again? [16:32] VSpike: this is not the output I'd expect with what you just told us [16:32] vspike: I don't manage to reproduce your situation [16:33] awilkins: it would be great to have the value of cmdLine [16:33] pysquared: you're welcome [16:33] http://pastebin.com/d4fb79800 [16:34] well, that pastebin makes sense [16:34] because you didn't yet do the bzr mv --after in that one [16:34] Verterok: I'm just trapping it ; it's probably to do with cmdLine having 1 more element on windows using the batch file [16:35] Verterok: cmdLine is "bzr","xmlversion", "--short" [16:35] awilkins: mmm, that's bad [16:35] awilkins: that's the default value [16:35] Verterok: This is the default config ; problem is, if it doesn't survive this first check, it doesn't work [16:35] VSpike: this is rather weird [16:36] vspike: but if i try to do something similar on some test-stuff, I also get a: unknown: image/device [16:36] Verterok: Let me hop through and see if it's called again [16:36] awilkins: I'll try to replicate the config and debug it [16:37] Verterok: That's interesting, it's getting called from an SVN provider [16:38] vspike: did you by any change add the image/devices dir with bzr add, before you did the sysm mv command? [16:38] grutte_pier: yes, I would think so - it won't let you do the move otherwise [16:39] Oh.. system move [16:39] Nope [16:40] Looking back at logs, I think the sequence was: create new dir, system mv files from old dir to new, bzr add --no-recurse , bzr mv --after each file [16:41] VSpike: ah [16:41] VSpike: I'm not sure how well it would deal with that [16:41] So i did bzr mv --after for each file in the directory, and I bzr add'ed the new dir, but didnt remove the old one [16:41] awilkins: hmm, that's weird [16:41] LarstiQ: I don't think I've had problems with that when the names differ by more than case [16:42] grutte_pier: mind trying to reproduce it that way? Ie, version files in old, commit, mkdir new, mv old/* new/*; bring files under version control in new, and then bzr mv --after old new [16:42] awilkins: about the ..core.expresion dependency, it's used in the refresh command hook: RefreshExecutionListener [16:42] LarstiQ: it's something I do quite often - move files around, then try and tell bzr about it after the fact [16:42] VSpike: could be, I don't know what the code does atm, but I can see it having two sets of fileids it needs to resolve [16:43] VSpike: right, just system mv and bzr mv --after, or also bzr add before the after? [16:43] LarstiQ: have to bzr add, otherwise it bitches at you that the target is not versioned [16:43] Verterok: Is there a reason why the version is at 3.2.100 ; I can't find a package that has that version in the Callisto updates but the version number looks callisto-ish [16:43] VSpike: ok [16:44] LarstiQ: hence the --no-recurse (which I recently discovered) otherwise it adds all the files too in the new location, and you have to then bzr remove each one before you can do the bzr mv [16:44] vspike: it's on win right? On linux mv old/* new/* is not allowed :P [16:44] vspike: mv old new is allowed, but that places the old as a subdir in new [16:45] awilkins: there is no reason, it's just the version available in 3.4 [16:45] grutte_pier: I did it with a gui tool :) [16:45] Would be nice if there was a section on the bzr web page with template for tailor configuration for converting other RCS repos to bzr repos [16:45] VSpike: doh, I overlooked the --no-recurse. Yeah, that is exactly what I had in mind. [16:45] vspike: i think i need to cp instead of mv :P [16:45] BasicOSX: well, tailor isn't exactly the most recommended solution [16:46] LarstiQ: oh? What is recommend for darcs to bzr? [16:46] BasicOSX: ok, specifically for darcs tailor is :) [16:46] heh :-) [16:46] unless there is darcs-fastexport now? [16:47] awilkins: starting in a fresh workspace seems to work in *nix (actually OS X) [16:47] awilkins: I'll start a VM in my Linux box try this on windows [16:47] Verterok: not here ; I shall apply my (evil) patch and see if this fixes it [16:48] Verterok: In a dead HEAD I have a patch that patches the preference initializer to use a valid path on Windows [16:48] LarstiQ: looks to be a fastimport [16:49] Verterok: Ok, if you cheat and use a valid path it works fine [16:50] awilkins: mm, ok. bzr is not a valid path in windows? :) [16:50] Verterok: Try patching org.vcs.bazaar.eclipse.PreferenceInitializer to use a bad name like "bzr_chicken" and see it it works on *nix [16:51] Verterok: Windows doesn't read #! and work out what to pass a file to [16:51] vspike,larstiq: I can't reproduce it that way; the olddir is placed as subdir in newdir [16:51] * Verterok try that [16:52] Verterok: I'm not even sure that you can use ProcessBuilder.start() without an absolute path [16:52] vila: poke with a soft stick [16:53] Verterok: You should at least be able to access the prefs page to set it up properly, but I think it's a chicken and egg scenario ; can't set up a valid config without a valid config [16:53] jam: ponk ? [16:53] good afternoon :) [16:54] hi ! :D [16:54] grutte_pier: mv old/* new/ ? [16:54] awilkins: ok. so we need to check if the config invalid, and show the pref page anyway [16:54] I just wanted to verify [16:54] I can reproduce it [16:54] bug #233817 is bzr-1.8 not 1.7, right? [16:54] It is dependant on case [16:54] Launchpad bug 233817 in bzr "missing doesn't show merged revisions" [High,Fix released] https://launchpad.net/bugs/233817 [16:55] jam: checking [16:55] vspike,larstiq: I do remember that windows way of moving is quite different than *nix... since I'm on the latter [16:55] * LarstiQ nods [16:55] grutte_pier: I'm on *nix myself [16:56] vspike: but how many commits did you do after rev 54? What if you revert to the latter? and then use proper bzr commands do move the files around?? [16:57] Verterok: I have to catch a train now, but I'll touch bases with you later. [16:59] larstiq,vspike: so i set up a Device-dir with two files, which was commited to the branch, then created a device dir, --no-recurse added the thing and moved Device/* to device [17:00] grutte_pier, LarstiQ : http://pastebin.com/m1d98a78e [17:00] larstiq,vspike: at this time bzr st says: removed: Device/file1 Device/file2 unknown: device/file1 device/file2 [17:01] aah, let's check that pastebin first :P [17:05] it works under linux: http://pastebin.com/m12a59bda [17:05] Just seems like a Windows issue with case of file names [17:05] (possibly insert "yet another" in there somewhere) [17:07] It may make a difference, but the windows version is 1.5 [17:08] Using a newer version after the fact doesn't seem to change anything [17:08] Let me try in Cygwin with 1.61 [17:09] vspike: I have indeed just repeated all your steps, but the last bzr st gives just nothing [17:10] vspike: what's weird though, is that I also get an explicit warning 'missing old' on the second commit [17:10] grutte_pier: on linux or windows? [17:11] linux [17:11] grutte_pier: on linux with the latest version, the last bzr st gives me nothing too [17:12] vspike: there is another difference: i get: 'deleted old' in the output of the second ci [17:12] vspike: you don't have that, so the ci doesn't remove the old/ dir [17:12] VSpike: I'll boot up my windows laptop after I get back from training [17:12] grutte_pier: did you see my second pastebin? http://pastebin.com/m12a59bda [17:12] * LarstiQ is afk for a while [17:13] grutte_pier: I get the same as you.. it shows "deleted old" [17:13] on linux that is [17:13] i get more and more convinced that this indeed some strange case-problem [17:14] Agreed [17:15] vspike: to me it seems a very academic situation though.... why not move the whole dir at once instead of moving first the dir and then seperately moving the files? [17:15] wait.... without the 'not' :P [17:15] Eh? How can you move the dir then separately move the files? Where are the files in the middle? :p [17:16] aah, that's wrong choice of words...... [17:16] why would you set up a new dir, which you add seperately to the branch, and then mv the files explicitly to that new dir [17:16] if you can also just bzr mv the whole thing at once...... [17:17] Well, they're semantically different operations; it depends on which you want to do. But usually, you'd want to move the dir... [17:18] well, I guess the thing in http://pastebin.com/m12a59bda is in the end just a move I would say?? [17:19] grutte_pier: true, "bzr mv --after old Old" is permissible, does the right thing, and works as expected on windows [17:19] so yeah, I'd say it was a better way to do it [17:20] Still probably counts as a bug though :) [17:21] but still... during the commit, apparently bzr does not delete a dir(maybe file) on Win if there is another file that has the same name except case [17:21] that's still a bug I would say, yes [17:21] No, that's a move of a file into a different (new) directory, and removal of an old directory. That's a different thing that keeping a file in the same directory, and moving the directory. [17:21] But anyway, I always think of move --after like a barbed-wire necklace :p [17:21] same here.... outsjj [17:22] if you are working in a command line enviroment it would be more natural to use bzr mv, but my dev environment gives me a file-manager like tree of the project files, so the natural way to move things around is with that [17:22] Then you have to reconcile it with the source control afterwards [17:23] No-one would voluntarily use the windows command line if an alternative were available :) [17:23] yep..... time for TortoiseBzr?? :P === kiko_ is now known as kiko-fud [17:25] vspike: but have by now managed to repair the branch? [17:25] +you [17:31] * grutte_pier is off to get some food [17:31] grutte_pier: yeah fixed it [17:31] thanks [17:32] had to go bzr mv it to tmp/ and commit, then bzr mv it to devices/ and commit [17:35] 'it' being the Devices/ dir? [17:36] If I want to check the latest windows version before filing a bug, should i try 1.7rc1 or 1.6.1? [17:36] grutte_pier: yep [17:41] vspike: 1.6.1 is the latest 'stable' version, but 1.7rc1 has even more bugs fixed.... but my suspicion is that this bug is not fixed in any, so I'd probably try the 1.7rc1 [17:41] grutte_pier: thanks.. glad you said that, cos I just d/l and installed it:) [17:52] guys, i need your advice. im about to push my project to launchpad. Im developing using Visual Studio and im not sure what to do about the ide files vs put in my project files (some settings files). should i ignore them, or u think i should version them too? === bac is now known as bac-lunch [18:08] imyojimbo: which files? As a rule, you want it so that everything required to build your code is included. Someone should be able to check out and build your project and end up with the same result that you did. [18:09] imyojimbo: i don't version .suo files, because they seem to be automatically regenerated if missing [18:09] imyojimbo: .csproj and .sln file I include === bac-lunch is now known as bac === kiko-fud is now known as kiko [18:44] VSpike are u there? [18:51] I'm doing `bzr branch http://host/svn/repo/trunk` and getting the error SubversionException "REPORT request failed on [the latest version]." [18:51] Has anyone seen this before? [18:52] trunk/ checks out fine via svn. === thumper_laptop is now known as thumper [18:53] and the changes in that rev are pretty minor. (just a few lines in a file.) === mw is now known as mw|food === sabdfl1 is now known as sabdfl === kiko is now known as kiko-phone === kiko-phone is now known as kiko === mw|food is now known as mw [22:03] hi [22:04] h'lo. [22:06] LarstiQ: I've branched https://code.launchpad.net/~larstiq/bzr/nested-trees, how do I use it? I've created a shared repository with the development0-subtree format, and 2 branches inside, how do I nest one of the branch in the other? === kiko is now known as kiko-afk === thumper_laptop is now known as thumper === mark1 is now known as markh === bac is now known as bac_afk === thumper_laptop is now known as thumper [23:12] hello [23:13] gooooooooooood morning poolie [23:13] afternoon [23:14] what where when, did I sleep through to the avo?! [23:14] evening lifeless [23:14] :) [23:15] jam, hi [23:19] 43 tests to go [23:19] to where? [23:24] Aren't these things traditionally on a wall, to be taken down and passed around one at a time? [23:58] test [23:58] jam1: Hiya === jam1 is now known as jam [23:59] Whatcha testing? [23:59] My nick :)