=== davidstrauss is now known as zacker3 === zacker3 is now known as zacker4 === zacker4 is now known as davidstrauss === davidstrauss is now known as zacker0 === zacker0 is now known as davidstrauss [03:27] I can't check out a branch because bzr raises an exception saying 'readline' is not defined... [03:27] any ideas? [03:27] (bzr version is 2.1.1) === lcarella is now known as lcarella__ === lcarella__ is now known as lmc__ === parthm_ is now known as parthm === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [09:29] spiv, is https://bugs.edge.launchpad.net/bzr/+bug/496813 now fixed? just wondering about the strange state [09:29] Launchpad bug 496813 in Bazaar "until_no_eintr used on unrestartable IO, and cannot address all cases of EINTR. (affected: 1, heat: 3)" [High,In progress] [09:37] * spiv looks [09:48] Closed, thanks. [10:04] Hi all, [10:05] I have some questions about how to hide the "failed to load extensions" warning [10:05] ok [10:05] spiv, not closed for 2.0? [10:05] I have tried the ignore_missing_extensions in bazaar.conf [10:06] but the warniongs still appear... Do i have to do something else ? (Bazaar (bzr) 2.1.1 installed with packaging lucid) [10:07] hi [10:07] whats a good way to make bzr ignore missing whoami settings in unittests [10:08] ronny_: 'use bzrlib's TestCase' is probably one answer [10:08] mwhudson: im using py.test, and anyvc is wrapping up much of bzr [10:09] rom1, i'm a bit suprised, but you should file a bug [10:09] ronny_, run the tests with $HOME set to something holding a .bazaar/bazaar.conf that's not your real one [10:09] ok, thx poolie [10:09] or BZR_HOME [10:10] any way to supply it in python code? [10:10] ronny_: http://pastebin.ubuntu.com/464435/ [10:12] hum, seems to depend on testtools [10:12] yes [10:14] seems i'll need some nasty special cases for bzr [10:15] poolie: weird that I failed to see that! Closed for 2.0 as well now. [10:26] Hou, found what my probleme was : [10:27] In fact, i do a branch or any operation on a distant server in bzr+ssh [10:27] ronny_, are you running bzr inprocess? [10:27] the warning comes from the distant server and not the local bzr... [10:27] ah ok [10:27] which means that i have to put the ignore_missing_extensions my distant config [10:28] fraid so [10:28] you can't install the extensions there? [10:28] which platform is it? [10:29] debian etch [10:29] we have backported the bzr 2.1. Have to check the compilation [10:29] it would be cool if you can publish that backport [10:29] if it's not already in the debian.org backprots [10:30] gonna check with my packager [10:56] poolie: yup [10:57] poolie: its for the anyvc bzr backend [11:34] hum [11:34] if bzr wont listen i will just leave it out of ci [11:35] won't listen ? === Ursinha is now known as Ursinha-afk [12:45] lifeless: whops, that was a figure of spech === Meths_ is now known as Meths [12:46] lifeless: whats a good way to set up bzr for one global whoami entry that isnt affected by the user home [12:46] (from the api) [12:53] ronny_: well, change the user home, then use the global config object as 'bzr whoami' does. [12:54] lifeless: can i do that from code so i can make it part of the test setup [12:55] ronny_: yes, set HOME or BZR_HOME in os.environ [12:55] ronny_: take a look at what bzrlib.tests.TestCase does [12:57] hum, looks nasty === Ursinha-afk is now known as Ursinha [13:35] hello. how can i make the user-reference html? i tried `make docs` but that doesnt seem to build the user-reference. [13:35] i am using 2.2 branch [13:38] make docs-sphinx, IIRC [13:42] spiv: thanks. make doc/en/user-reference/index.txt seems to create the rsts. then i did make html from within doc/en. yes, the sphinx style docs are generated. [13:42] spiv: looks like basic html docs can't be generated for user-reference. [14:12] hi, anyone here using bzr rebase? tried it with --dry-run but it did make the modifications, is this a known bug? === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === beuno is now known as beuno-lunch === beuno-lunch is now known as beuno [18:58] I've accidentally set my whois to 'Josh Brown joshbrown@site.com ' and done several commits. I've now fixed the whois, but is it possible to change the commits? [19:05] Not easily, and not at all if they have been shared with other people [19:07] Could combine uncommit with shelve ? [19:11] That falls under than heading of "Not easily" :-) [19:11] Yes :) [19:12] Couldn't he just use the pull reference given by uncommit if there is an interspersed commit from another person? [19:12] If he's feeling particularly masochistic [19:13] That would pull the old versions of preceding commits [19:13] uncommitting someone elses revisions is a big no-no anyway [19:24] is there any way to debug some strange errors i'm getting with bzr? it looks like bzr is giving a permission denied for the public key of my user, but i'm able to ssh to the remote machine with my key [19:36] Ah, well I'll take that as a 'no' - I suppose it isn't *such* a big deal anyway. [19:59] any ideas? [19:59] according to the auth.log on the master/host box, the session authenticates fine [19:59] and then it disconnects [20:00] it looks like bzr is disconnecting the thing, but it's outputing a permission denied (publickey,gssapi-with-mic). error [20:00] bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. === mordred_ is now known as mtaylor [20:50] poolie: are you around? [20:50] hi, i am actually [20:51] hi [20:51] poolie: https://code.edge.launchpad.net/~rom1-chal/bzr-builder/reporting_conflict_from_merge/+merge/30127 <- could you look at analyse_conflicts there and tell me if you know of a better way to achieve that? [20:52] ah interesting, i think he was online before [20:53] well i probably wouldn't put it inline in the exception of course... [20:54] I'm thinking of showing the "bzr log" for the revisions, rather than just printing the developers, but I imagine that parsing the annotate text isn't ideal either way. [20:54] no, it's not [20:54] indeed [20:54] and doing it lazily would be better [20:54] if you peek inside the implementation of annotate i think there's an easy structured form [20:58] james_w, so i'd probably work from _expand_annotations, at least [20:58] that should be easily parseable [20:58] yeah [20:58] i think ideally this would be separated into something people could use in other bzr applications [20:58] like in tarmac or pqm [20:58] I don't like having to construct a Revision like that [21:00] mm, that's weird [21:01] gannotate works on the uncommitted changes without needing that [21:02] hm, apparently in the same way [21:02] that's a bit gross but perhaps it needs to be fixed in the core [21:03] i guess that's where he got the idea from [21:05] hi svaksha [21:06] parsing the lines seems kind of necessary, but we can't rely on MERGE-SOURCE and TREE, but without them we might get confused [21:08] maybe he/she copied them from gannotate [21:08] yeah [21:09] I just mean in general, we can query a tree for conflicted files, but not for conflicted chunks [21:10] right [21:10] it would be better to do the merge and annotation together [21:10] if you did a weave merge you'd get that built in [21:10] hmm [21:10] that could work [21:11] and i think also in structured form [21:11] this is certainly better than the "OH NO CONFLICTS!!" we have now, so I'd be inclined to merge some version of this and go for incremental improvement. [21:12] i'd like to see this in core [21:12] maybe not run by default... [21:12] it's kind of hard to tell where to put things that don't justify a whole plugin but that could be generally useful [21:13] it seems like the ideal here would be something like [21:13] 'bzr conflicts --why' to give you this summary [21:13] listing the revisions and authors involved in each file [21:14] yes [21:15] https://bugs.edge.launchpad.net/bzr/+bug/606465 [21:15] Launchpad bug 606465 in Bazaar "_expand_annotations should make it easier to annotate working tree with uncommitted changes (affected: 1, heat: 6)" [Wishlist,Confirmed] [21:15] btw i set up http://pad.lv/606465 for a shorter form [21:15] do you think taking the intersection of (revisions touching lines inside conflict markers) and (revisions after the LCA of the branches) would be the correct thing to do? [21:16] (is LCA the right choice there?) [21:16] oh, nice [21:16] and thanks for the bug [21:16] shall I file one for --why? [21:16] yes, and please point to this [21:17] right, the strange thing about annotating conflicts is that they're not guaranteed to be the ones that actually "caused" the conflicts [21:17] i guess they will give you a decent clue [21:18] enough it's worth trying it out [21:22] can anyone help me use difffork as my bzr diff tool? [22:46] Asked this before, but I have to ask again.. What is the best way to make merges of common libraries in between distinct projects? [22:46] I have right now 3 projects, one is a framework, the other two are implementations of that framework [22:46] Now, in the two implementation projects, we occasionally find and fix bugs [22:47] I want to somehow merge those fixes back in to the framework project, and from there, send it as an update to the other implenmentation project [22:47] implementation as in, it implements the framework... [22:47] Now, this merging is so far good for a nice migraine everytime I try it [22:48] I need to somehow be able to filter specific directories, but AFAIK, bzr can't do that [22:48] so I go to the framework project, do a merge from that implementation project, then one by one filter out that which is project specific, and then commit the merge.. but everytime it gets more complex, and more error prone.. [22:50] So I'll have to ask again, isnt there a bettere way to do this? some sort of directory filter maybe? like, merge, but automatically filter (as in, ignore those directories) all that is ".........." [23:16] I would like to merge some of my subversion repositories while I transition to Bazaar, but I'm unwilling to let go of their histories. It's fine if I lose their old version numbering. Is this supportable? === Ursinha is now known as Ursinha-afk [23:17] that is, I have repos in the form lib1, lib2, lib3, and i'd like to transition to lib/lang/lib1, lib/lang/lib2, lib/lang2/lib3, etc [23:27] sven_oostenbrink: I do not understand your terminology. In my mind, a framework is something other projects depend on, not something that other projects implement. [23:28] maxb: Fair enough, the two other projects depend upon that framework.. [23:28] StoneCypher: Are you sure you want to combine all those libraries in a single bazaar tree, which is always branched/tagged/checked-out as a single entity? [23:29] max: yes [23:29] Thing is, we fix bugs in that framework also directly in those two projects.. Makes it a hell of a lot easier to do so.. but then, how can I get those fixes back in the framwork branch? [23:30] StoneCypher: then, I think the answer is to convert them all to Bazaar separately, and then look at the 'bzr join' command to assemble the combined tree [23:31] oh, ok [23:32] sven_oostenbrink: sounds to me that the framework should be a subtree within the other projects, and that fixes should be made in the framework branch whereever possible [23:32] does bzr join weld B into A, or does it create C from A and B? [23:32] when not possible, I suppose I'd cherrypick the fixes from the other projects back into the framework branch [23:32] StoneCypher: the first [23:34] maxb: yeah, but since that makes it at best very very hard to make those changes.. Every time you want to make changes to the framework, you'd have to open up another project, make sure you would not accidentally change stuff in the framework that is in the project tree, etc... [23:35] In that case, its easier actually to just do what I do now.. Make the changes in the project, then merge all project changes to the framework branch, before committing that merge, remove all project changes, and then commit [23:35] But even that is tedious.. There has to be a better way.. === Ursinha-afk is now known as Ursinha [23:42] maxb: so, i create a bazaar repo under the desired final name, then one per library to be transitioned, then -join them to the final, one at a time? [23:46] Would it be possible for BZR to include a filter like this? === dipnlik_ is now known as dipnlik