[00:01] the one day of the month I try to push code to launchpad, its down :( [00:19] amanica_: New code rollout. [00:19] jpds: yup, I know, but its going on longer than expected [00:20] and I want to push this stuff before I go to bed [00:20] not sure if I should wait.. [00:21] amanica_: you may want to go to bed and do it tomorrow [00:22] elmo: thanks [00:23] amanica_, or sleep 3600 && bzr push [00:23] in a loop yeah :) cool idea === Edwin-lunch is now known as EdwinGrubbs [00:33] goodnight then. thanks for the advice [01:34] jam, still around? [01:34] i'm just wondering if for bug 491763, failure to rename, we should give a better message [01:34] Launchpad bug 491763 in bzr "Cannot update working tree" [Undecided,New] https://launchpad.net/bugs/491763 [01:34] there have been several like this [01:35] * igc lunch [01:37] poolie: I certainly think something better than a traceback is warranted. Especially since it doesn't give the 'from_' or 'to' filenames (in this case 'to' is probably the most interesting) [01:38] actually, take that back, this is pre-delete, which should be where it moves files out of the wt [01:38] so from is more interesting. [01:38] anyway... the cases where we've run into this in the past are more Windows errors [01:38] I haven't specifically seen it on Apple before [01:41] oh and i see it would be relevant to your ec2 failures too, perhaps [01:41] i was thinking that osutils.rename should wrap it, and then we should test_source ban use of os.rename [01:43] i've also wondered if we should have a weakref dict of all open files [01:43] so we can dump it in a crash [01:49] igc: alldocs updates failed because bzr: ERROR: Not a branch: "http://bazaar.launchpad.net/~ian-clatworthy/bzr-explorer-website/trunk/". [01:50] oh, duh, that would be because of lp outages [01:50] poolie: so I don't think this failure is anything like what I'm seeing on EC2 or Windows. Because it is on Apple, you can't (afaik) lock a file such that you can't rename over the top of it. [01:51] (my guess is that the dir is readonly.) [01:51] it's only similar to the others in that not seeing which filename caused the rename failure is annoying [01:51] ah, sure [01:51] that is definitely true [01:57] poolie: I'm going to go away for a bit but it would be nice to chat about bug #40412 a little bit when we get a chance [01:57] Launchpad bug 40412 in bzr "show-base for weave merge" [High,Confirmed] https://launchpad.net/bugs/40412 [01:57] I think I have something that works [01:57] but I have to consider how to handle some lca cases, and I'd like someone to sound the idea off of [01:58] the code is here while LP is down: http://bzr.arbash-meinel.com/branches/bzr/lps/2.0-40412-show-base-weave/ [02:02] ok [02:02] i'll be here at least the next 4 hours [02:02] modulo lunch [02:16] poolie: I'm back sooner than I expected :) [02:17] so the brief summary [02:17] I'm trying to drop a .BASE file on disk [02:17] based on the merge plan [02:17] so entries that are "new-a" are omitted, but "killed-a" are considered to be part of BASE, etc. [02:18] The current issue is essentially whether we want base = UNION(bases) or base = INTERSECTION(bases) [02:23] hello all, question: when i try to branch docky, it shows this error: bzr: ERROR: Invalid url supplied to transport: "lp:docky": OOPS-1434EC412. any ideas? [02:23] https://lp-oops.canonical.com/oops.py/?oopsid=1434EC412 [02:24] huh? [02:28] marcos: I'd guess that's fallout from launchpad's current unworkingness. [02:28] marcos: lp is currently undergoing maintenance. That may not be the problem, but it is likely to be [02:28] okay, fair enough. wasn't sure but I suspected that [02:29] poolie: ping me when you are around [02:29] RAOF: jam: thanks [02:29] marcos: you can't use lp: atm [02:52] lp is not a drug. I can live without it. really. Just keep telling myself that and ... [02:58] It's not really a drug unless all the cool kids are doing it. [03:22] hi jam [03:23] igc, i know, you don't missi it till you're gone [03:23] marcos: see http://identi.ca/launchpadstatus === poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | Helping with patches: poolie | http://identi.ca/launchpadstatus [03:23] poolie: just did - last update was 2 hours ago [03:24] well, and see #launchpad-code for more details i guess [03:27] jam, that plan makes sense to me [03:28] i would say probably you want the union of bases [03:28] poolie: so I originally also thought union, but I'm wondering about the consequences [03:28] namely, consider the "criss-cross merge swapped resolution" case [03:28] i think we need some kind of warning that this file isn't guaranteed to mean anything :) [03:28] where both sides add a line [03:28] then both sides merge the other [03:29] and change the order of the result [03:29] (so XY => XaY => XabY, XY => XbY => XbaY) [03:29] if you take the union [03:29] you get [03:29] XbabY [03:29] if you take intersection you get [03:29] XaY [03:29] if you do diff 3 with the two tips, [03:30] union gives you XaY [03:30] intersection gives you XbabY [03:30] poolie: does that make sense? Or do i need to explain further? [03:30] yes, i think i know the case [03:31] the issue is if BASE has it, then it looks like it should be removed in target [03:31] if BASE doesn't then it looks to be added [03:31] And it seems that having the target add lines is "safer" than having it delete lines [03:32] but you wouldn't want to add both [03:32] ah, probably true [03:32] so in this case we have the two sides being [03:32] XabY and XbaY? [03:35] poolie: right [03:35] and I don't have a great way to say "add just one" [03:35] merge --weave implicitly picks one [03:35] merge --lca conflicts [03:35] on both [03:36] you could almost add another option, or maybe a debug option, to control this [03:36] and just let them try it [03:36] istm it's going to depend a bit on just what operations they do [03:37] whether they're doing a three-way diff against base, or a two-way diff, or just looking at the basis regions within the conflict markers [03:39] right [03:39] this is only for a .base to use in a 3-way app [03:40] well... primarily for that [03:41] so i'd probably just pick one, document it, and let them try it [03:51] * poolie thinks aloud: do we still want some bzr branches statically hosted on escudero? [03:51] like a mirror of trunk from launchpad [03:51] * lifeless doesn't care === oubiwann_ is now known as oubiwann [04:03] it certainly seems like launchpad has been down for a lot longer than the 90 minutes claimed in the status update [04:04] given that amanica was commenting on it 4 hours ago... [04:05] jam: yes [04:26] oh no [04:26] i'm drawing blanks, how do you set what branch version to use in init? [04:28] meoblast001: version? do you mean format? [04:28] ah, yes [04:28] thanks [05:02] launchpad should be ok again now [05:09] <_diablo> poolie: it's working for me [05:18] bbiab [06:12] enjoy your break lifeless [06:23] vila: hi? [07:19] poolie: hey ! [07:19] hi all [07:20] hi there [07:25] spiv, what's the invocation of pqm-submit to make it work directly from launchpad? [07:28] hi vila === igc1 is now known as igc [07:30] poolie: can we try to chat a bit before you EOD if only for patch pilot sync ? [07:30] yes, sure [07:30] here or on the phone? [07:31] let's try phone ! # ending with 8840 ? [07:31] yes, but 1m first [07:31] ok, now? [07:32] yup [07:46] night all - have a good weekend [07:47] poolie: fyi, I've reviewed and approved Marius's log patch to fix that bug for MySQL. [08:02] thanks igc [08:02] have a good weekend too [08:07] poolie: --ignore-local, you need to pass the public location and submit loctaion on the cmd line, and you need to have set pqm_email (IIRC) in your locations.conf -- it's looked up on the submit location [08:07] i failed [08:07] poolie: so I hvae [http://bazaar.launchpad.net/*/~bzr/] there IIRC [08:10] vila, https://bugs.edge.launchpad.net/launchpad-code/+bug/492145 [08:10] Ubuntu bug 492145 in launchpad-code "email about updated mp diffs includes obsolete/misleading cover letter" [Undecided,New] [08:14] hi === rml_ is now known as rml === jelmer_ is now known as jelmer [09:26] <_Andrew> Is there a way to remove a revision that's waiting to be merged and then pull that revision from another branch again? [09:26] <_Andrew> because bzr merge is crashing for me [09:27] <_Andrew> ..and I think if I pull this revision again it will work [09:28] what is the revision spec alias for "the point where I branched off the parent branch"? [09:28] so that I can do "bzr diff --old when-i-branched:" [09:30] gioele: ancestor:, I think? [09:32] * wgrant uses -rancestor:../trunk [09:36] * AfC uses [09:36] $ bzr gdiff -r ancestor:../mainline [09:36] [or, [09:36] $ bzr gdiff -r ancestor:/home/andrew/src/java-gnome/mainline [09:36] if I'm somewhere else; for reasons I don't quite understand, Bazaar doesn't interpret ~ so [09:37] $ bzr gdiff -r ancestor:~/src/java-gnome/mainline [09:37] doesn't work] [09:37] gioele: note no `--old` in all that [09:38] Hm [10:15] thank you Peng, wgrant, AfC [10:15] bzr diff -r ancestor: is enough (I branched from mainline) [10:16] aliased to "bzr basediff" [12:20] hi, can you help me with this case? i have a server with repo, and some desktops connetced to the same LAN for developers, they also have repos on their machines. One of them just branched first revision from server, and changed some files, then he commited locally and merged with server repo. now he wants to push from his machine to server and he sees a "diverged" problem, how can i deal with it? [12:22] marek: He did commit after merging, right? [12:22] marek: Or perhaps there's another new revision on the server, and he'll have to merge+commit again? [12:23] marek: Usually people keep a mirror of the upstream branch, and do their work in feature branches, merging the feature branch into the trunk and pushing that. Just FYI. [12:23] ok so i will try merge and then commit and then push? [12:25] marek: You have to commit after merging . . . [12:26] ok, that was it thx [12:26] i just had to resolve conflicts [12:26] and than push worked [12:28] ok but stil lnot everything is ok [12:28] so: [12:28] on that machine with problems, there is revision 3, and i can see all files from server repo and from that developer [12:28] i did push [12:29] and than on server i did update, and i saw info about rev 3 [12:29] but on server i cannot see files added by that developer [12:29] :( [12:29] when i merged to my repo [12:29] from server [12:30] and than status i can see: [12:30] pending merge tips [12:30] and commit from that developer [12:30] marek: you should run `bzr update` on server after you push there [12:30] i did [12:30] "tree is up to date" [12:31] run `bzr log -l1` on server and on client [12:31] and compare output [12:31] on my client, or on developers client? [12:32] on mine i can see: [12:32] revno 5 [12:32] and on server revno 3 [12:32] on the client you did push [12:34] on client: http://pastebin.com/m51448bcb [12:34] check the URL you and other dev used [12:34] specify explicit URL if you in doubts [12:34] that one from server [12:34] http://pastebin.com/m58d7979c [12:35] so they seems identical? [12:35] so what's the problem? [12:36] dev has a folder on his machine [12:36] that is not visible on server [12:36] check that dev actually added this folder with `bzr add` [12:36] you can run bzr log -v to see all changed files [12:36] for each revision [12:37] or better use qlog [12:37] `bzr st` also shows you unknown (not added yet) items [12:37] also, you may want to use `bzr commit --strict` [12:38] this commit refuse to work if there is unknown files in the tree [12:40] marek: are you unsing only command-line or some GUI client? [12:40] cli [12:40] ok i found something [12:40] on logs i cannot see that files are added [12:40] and st shows me status "unknown" [12:40] so they are not added [12:40] bingo! [12:41] one more comit? [12:41] no [12:41] bzr add && bzr commit [12:41] hmm, whenever i add some files on local repo, do i have to bzr add? [12:42] yes [12:42] ahh so that part i missed :) [12:42] marek, if I understand correctly you started using bzr just recently; you may try Bazaar Explorer GUI, it's very good and provides you useful hints about what's going on and what to do nextr [12:43] really [12:43] i will, [12:43] and it is first project with bazar [12:44] but i have another problem [12:44] diverged branches while pushing :( [12:44] or you can just read tutorials and user guide, of course ;-) [12:44] diverged branches is not problem [12:44] I teach you [12:44] it's very easy [12:44] do you read in Russian? [12:44] I have blog [12:44] no [12:44] ok [12:45] nm [12:45] you should use branch on the server as authoritative one [12:45] ok [12:45] for local work it's better to create shared repo (bzr init-repo) [12:46] then get the copy of server trunk branch (bzr branch server/trunk local/repo/trunk) [12:46] for each new feature you made new local branch from trunk mirror [12:46] bzr branch trunk new-feature [12:46] then cd new-feature [12:46] hack hack hack [12:46] bzr ci [12:47] ok, you ready to push your changes to trunk [12:47] you going to mirror of trunk [12:47] doing pull from server: bzr pull [12:47] no you merge your new-feature branch to this mirro: [12:47] bzr merge ../new-feature [12:47] check the result [12:47] resolve conflicts [12:48] commit the result [12:48] now you push to the server from this trunk mirror [12:48] bzr push [12:48] voila! no conflicts! [12:49] I made some typos [12:49] sorry [12:49] marek: is it makes sense for you? [12:50] it is hard :) [12:50] but it surely has [12:51] the main point: you need separate mirror of trunk [12:51] on each dev machine [12:52] you just gave me a sugestion how it should look? or how can i deal with my current problem? [12:53] I've tried you explain how to work with bzr as DVCS [12:53] I'm not quite sure what is your current problem [12:53] there is no problem [12:53] maybe some misunderstanding [12:56] problably, so you are talking about this? http://doc.bazaar-vcs.org/bzr.2.0/en/tutorials/centralized_workflow.html [12:56] no [12:56] centalized workflow uses checkouts instead of just branches [12:57] but you could use it, if you wish [12:57] I mean this: http://doc.bazaar-vcs.org/bzr.2.0/en/tutorials/tutorial.html [12:58] but it does not explain what I've just explained to you [12:59] marek: this one I suppose http://doc.bazaar-vcs.org/bzr.2.0/en/user-guide/distributed_intro.html [12:59] marek: or even better this: http://doc.bazaar-vcs.org/bzr.2.0/en/user-guide/organizing_branches.html [13:01] ok i will use it [13:06] marek: If you read the documentation and find something confusing, please submit a bug, and tag it with 'doc' [13:07] marek: that way the bzr-doc team can try to improve it. [13:07] ok [13:07] thanks! [13:18] I'm getting an error when I try to pull from bzr.dev. [13:18] http://pastebin.com/f37871e00 === menesis1 is now known as menesis [13:19] the basic error is : bzr: ERROR: exceptions.TypeError: Expected a plain str for value not: [13:19] this very bad [13:19] file a bug [13:19] jam: ^ [13:19] Ok will do === mrevell is now known as mrevell-lunch === mrevell-lunch is now known as mrevell [14:40] How does bzr determine the 'default stacking branch'? Is that automatically the one you initially branched from? === loxs_wrk is now known as loxs === CardinalXiminez_ is now known as CardinalFang [15:03] bialix, rubbs: It looks like a bug in bzr-search [15:04] sjamaan: It is set in a config file by launchpad based on the 'development focus' [15:04] when you push to launchpad, bzr reads that file and sets up a stacked branch [15:04] you can set that sort of thing up locally as well [15:04] otherwise if you do "bzr branch --stacked" then it is implicitly stacked on the source branch [15:04] рш офь! [15:04] hi jam! [15:05] hi bialix === vds1 is now known as vds [15:14] jam: thanks [15:16] jam: thanks, I'll dissable that plugin. I submitted a bug already, should I re-target it? [15:16] rubbs: yes [15:18] jam: will do thanks [15:25] dear lazyweb, does anybody remember the shell one-liner to add bazaar PPA's GPG key to the apt keyring (in jaunty)? [15:25] found it: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECE2800BACF028B31EE3657CD702BF6B8C6C1EFD [15:25] thanks for the patience [15:59] * gour is happy to see igc here hoping his health is better [16:06] two questions: is bzr-git in a better shape than bzr-hg (when there will be push) and when is emacs going to (finally) switch to bzr? === beuno is now known as beuno-lunch [16:15] gour: bzr-git doesn't support push, only dpush [16:19] jelmer: i'm not (yet) familiar with dpush...but accordingto roadmap i see 'push' is planned...my use case is simple...don't want to dive into git's (over)complexities and would rather stay with simple & powerful dvcs-es liek bzr (& darcs) [16:20] gour: Uhm, which roadmap is that? I'm the primary author of bzr-git and don't remember one.. [16:21] jelmer: http://bazaar-vcs.org/BzrForeignBranches/Git - it says push to git. is it dpush? [16:22] ah [16:22] that's the long term roadmap, won't happen soon [16:22] use dpush in the meantime [16:22] the problem with push is that we can't stow extra data anywhere in git [16:23] huh...better not to speak too much about git ;) [16:23] jelmer: you're pushing bzr-hg as well.. [16:24] how it plays with 1.4? [16:25] bzr-hg trunk works with hg 1.4 [16:27] ohh, that's good. i wanted to do darcs <---> hg, but hg's fast-import are not really functional === deryck is now known as deryck[lunch] [16:28] gour: Ah, heh [16:29] what about emacs conversion? they're planning it for quite some time? [16:31] gour: last time kfogel said it happens in next 2 weeks [16:31] it will happens [16:31] finally to end this saga :-) [16:32] jam: ping [16:33] bialix: ? [16:33] if I want to get path in tests to compare [16:34] how can I make it canonical to avoid temp dir prefix? [16:34] just s.replace(osutils.getcwd(), '') is enough? [16:34] this is for TestCaseInTempDir [16:35] or maybe there is something more handy? [16:35] jam: I want to suppress temp dir prefix from the output of pinfo command in the tests [16:35] can you suggest something? [16:36] pinfo? [16:37] you could use path.endswith() or assertEndswith() [16:37] pinfo from scmproj [16:37] it's like usual bzr info [16:37] I think your replace line would probably work, though there are potential problems with platforms, etc. [16:37] but for projects [16:38] what kind of problems? [16:39] I can try it on Linux, on Windows osutils.getcwd() returns the path without trailing slash, so I need to add it manually [16:40] I believe there are some silly things that happen on Mac with /tmp [16:40] something like getting remapped to /private/tmp depending on whether normpath was called or not. [16:47] bialix: it also depends whether pinfo puts out the local path, or puts out a url [16:47] if it does a url, then you have to worry about url escaping, etc. [16:47] it puts absolute path [16:48] no, sorry [16:48] it using [16:48] urlutils.unescape_for_display(t.base, 'utf-8') where t is transport [16:48] but all this run for local objects [16:48] so if looks like absolute path [16:49] so it looks like absolute path === beuno-lunch is now known as beuno === deryck[lunch] is now known as deryck [19:12] I'm attempting to upgrade a branch on launchpad to --rich-root-pack and I get: bzr: ERROR: File exists: '/srv/bazaar.launchpad.net/push-branches/00/00/15/d7/backup.bzr' [19:24] I'm trying to use hitchhiker and rmtree backup.bzr, but it seems to be taking a very long time === Noldorin_ is now known as Noldorin [19:38] man, if I thought rmtree was long, the upgrade is even longer. however, everything seems to be running fine so far [21:20] When I create a project offline, and add a file, make a commit, and then push sftp://host/code/project (where project is a non-existent directory) the .bzr folder gets pushed fine, but the files are not there. I am trying to set this up for redmine though.. and it finds "The entry or revision was not found in the repository" how can I send the files too? [21:21] create the project and bzr init on the server, and then push to that folder? [21:26] distatica: it creates a treeless branch by default [21:27] distatica: the bzr-upload plugin could help you. also see: http://bazaar-vcs.org/BazaarUploadForWebDev [21:30] hmm.. I would want the full revision history though, wouldn't i? For redmine [21:32] I have to run unfortunately to a job, thanks amanica I will read more about this when I get back. [21:33] distatica: I've never used redmine [21:43] Hi. [22:18] amanica: your logging patch has been approved and sent to pqm. Many thanks! [22:18] igc: thank you! [22:20] igc: thinking about how the graghs work for log, made my head hurt. its the hardest I had to think in years. My brain is getting lazy :) [22:20] amanica: :-) === jelmer_ is now known as jelmer === mtrudel_ is now known as cyphermox