/srv/irclogs.ubuntu.com/2010/07/16/#bzr.txt

=== 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
GungaDinI can't check out a branch because bzr raises an exception saying 'readline' is not defined...03:27
GungaDinany ideas?03:27
GungaDin(bzr version is 2.1.1)03:27
=== 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
pooliespiv, is https://bugs.edge.launchpad.net/bzr/+bug/496813 now fixed? just wondering about the strange state09:29
ubot5Launchpad 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:29
* spiv looks09:37
spivClosed, thanks.09:48
rom1Hi all,10:04
rom1I have some questions about how to hide the "failed to load extensions" warning10:05
poolieok10:05
pooliespiv, not closed for 2.0?10:05
rom1I have tried the ignore_missing_extensions in bazaar.conf10:05
rom1but the warniongs still appear... Do i have to do something else ? (Bazaar (bzr) 2.1.1 installed with packaging lucid)10:06
ronny_hi10:07
ronny_whats a good way to make bzr ignore missing whoami settings in unittests10:07
mwhudsonronny_: 'use bzrlib's TestCase' is probably one answer10:08
ronny_mwhudson: im using py.test, and anyvc is wrapping up much of bzr10:08
poolierom1, i'm a bit suprised, but you should file a bug10:09
poolieronny_, run the tests with $HOME set to something holding a .bazaar/bazaar.conf that's not your real one10:09
rom1ok, thx poolie10:09
poolieor BZR_HOME10:09
ronny_any way to supply it in python code?10:10
mwhudsonronny_: http://pastebin.ubuntu.com/464435/10:10
ronny_hum, seems to depend on testtools10:12
mwhudsonyes10:12
ronny_seems i'll need some nasty special cases for bzr10:14
spivpoolie: weird that I failed to see that!  Closed for 2.0 as well now.10:15
rom1Hou, found what my probleme was :10:26
rom1In fact, i do a branch or any operation on a distant server in bzr+ssh10:27
poolieronny_, are you running bzr inprocess?10:27
rom1the warning comes from the distant server and not the local bzr...10:27
poolieah ok10:27
rom1which means that i have to put the ignore_missing_extensions my distant config10:27
pooliefraid so10:28
poolieyou can't install the extensions there?10:28
pooliewhich platform is it?10:28
rom1debian etch10:29
rom1we have backported the bzr 2.1. Have to check the compilation10:29
poolieit would be cool if you can publish that backport10:29
poolieif it's not already in the debian.org backprots10:29
rom1gonna check with my packager10:30
ronny_poolie: yup10:56
ronny_poolie: its for the anyvc bzr backend10:57
ronny_hum11:34
ronny_if bzr wont listen i will just leave it out of ci11:34
lifelesswon't listen ?11:35
=== Ursinha is now known as Ursinha-afk
ronny_lifeless: whops, that was a figure of spech12:45
=== Meths_ is now known as Meths
ronny_lifeless: whats a good way to set up bzr for one global whoami entry that isnt affected by the user home12:46
ronny_(from the api)12:46
lifelessronny_: well, change the user home, then use the global config object as 'bzr whoami' does.12:53
ronny_lifeless: can i do that from code so i can make it part of the test setup12:54
spivronny_: yes, set HOME or BZR_HOME in os.environ12:55
spivronny_: take a look at what bzrlib.tests.TestCase does12:55
ronny_hum, looks nasty12:57
=== Ursinha-afk is now known as Ursinha
parthmhello. how can i make the user-reference html? i tried `make docs` but that doesnt seem to build the user-reference.13:35
parthmi am using 2.2 branch13:35
spivmake docs-sphinx, IIRC13:38
parthmspiv: 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
parthmspiv: looks like basic html docs can't be generated for user-reference.13:42
dipnlikhi, anyone here using bzr rebase? tried it with --dry-run but it did make the modifications, is this a known bug?14:12
=== 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
JoshBrownI've accidentally set my whois to 'Josh Brown joshbrown@site.com <joshbrown@site.com>' and done several commits. I've now fixed the whois, but is it possible to change the commits?18:58
maxbNot easily, and not at all if they have been shared with other people19:05
MethsCould combine uncommit with shelve ?19:07
maxbThat falls under than heading of "Not easily" :-)19:11
MethsYes :)19:11
MethsCouldn't he just use the pull reference given by uncommit if there is an interspersed commit from another person?19:12
MethsIf he's feeling particularly masochistic19:12
maxbThat would pull the old versions of preceding commits19:13
maxbuncommitting someone elses revisions is a big no-no anyway19:13
basic`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 key19:24
JoshBrownAh, well I'll take that as a 'no' - I suppose it isn't *such* a big deal anyway.19:36
basic`any ideas?19:59
basic`according to the auth.log on the master/host box, the session authenticates fine19:59
basic`and then it disconnects19:59
basic`it looks like bzr is disconnecting the thing, but it's outputing a permission denied (publickey,gssapi-with-mic). error20:00
basic`bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.20:00
=== mordred_ is now known as mtaylor
james_wpoolie: are you around?20:50
pooliehi, i am actually20:50
james_whi20:51
james_wpoolie: 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:51
poolieah interesting, i think he was online before20:52
pooliewell i probably wouldn't put it inline in the exception of course...20:53
james_wI'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
poolieno, it's not20:54
james_windeed20:54
james_wand doing it lazily would be better20:54
poolieif you peek inside the implementation of annotate i think there's an easy structured form20:54
pooliejames_w, so i'd probably work from _expand_annotations, at least20:58
pooliethat should be easily parseable20:58
james_wyeah20:58
pooliei think ideally this would be separated into something people could use in other bzr applications20:58
poolielike in tarmac or pqm20:58
james_wI don't like having to construct a Revision like that20:58
pooliemm, that's weird21:00
pooliegannotate works on the uncommitted changes without needing that21:01
pooliehm, apparently in the same way21:02
pooliethat's a bit gross but perhaps it needs to be fixed in the core21:02
pooliei guess that's where he got the idea from21:03
pooliehi svaksha21:05
james_wparsing the lines seems kind of necessary, but we can't rely on MERGE-SOURCE and TREE, but without them we might get confused21:06
pooliemaybe he/she copied them from gannotate21:08
james_wyeah21:08
james_wI just mean in general, we can query a tree for conflicted files, but not for conflicted chunks21:09
poolieright21:10
poolieit would be better to do the merge and annotation together21:10
poolieif you did a weave merge you'd get that built in21:10
james_whmm21:10
james_wthat could work21:10
poolieand i think also in structured form21:11
james_wthis 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:11
pooliei'd like to see this in core21:12
pooliemaybe not run by default...21:12
poolieit's kind of hard to tell where to put things that don't justify a whole plugin but that could be generally useful21:12
poolieit seems like the ideal here would be something like21:13
poolie'bzr conflicts --why' to give you this summary21:13
poolielisting the revisions and authors involved in each file21:13
james_wyes21:14
pooliehttps://bugs.edge.launchpad.net/bzr/+bug/60646521:15
ubot5Launchpad 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
pooliebtw i set up http://pad.lv/606465 for a shorter form21:15
james_wdo 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:15
james_w(is LCA the right choice there?)21:16
james_woh, nice21:16
james_wand thanks for the bug21:16
james_wshall I file one for --why?21:16
poolieyes, and please point to this21:16
poolieright, the strange thing about annotating conflicts is that they're not guaranteed to be the ones that actually "caused" the conflicts21:17
pooliei guess they will give you a decent clue21:17
poolieenough it's worth trying it out21:18
dipnlikcan anyone help me use difffork as my bzr diff tool?21:22
sven_oostenbrinkAsked 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
sven_oostenbrinkI have right now 3 projects, one is a framework, the other two are implementations of that framework22:46
sven_oostenbrinkNow, in the two implementation projects, we occasionally find and fix bugs22:46
sven_oostenbrinkI want to somehow merge those fixes back in to the framework project, and from there, send it as an update to the other implenmentation project22:47
sven_oostenbrinkimplementation as in, it implements the framework...22:47
sven_oostenbrinkNow, this merging is so far good for a nice migraine everytime I try it22:47
sven_oostenbrinkI need to somehow be able to filter specific directories, but AFAIK, bzr can't do that22:48
sven_oostenbrinkso 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:48
sven_oostenbrinkSo 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 ".........."22:50
StoneCypherI 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?23:16
=== Ursinha is now known as Ursinha-afk
StoneCypherthat 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, etc23:17
maxbsven_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:27
sven_oostenbrinkmaxb: Fair enough, the two other projects depend upon that framework..23:28
maxbStoneCypher: 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:28
StoneCyphermax: yes23:29
sven_oostenbrinkThing 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:29
maxbStoneCypher: 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 tree23:30
StoneCypheroh, ok23:31
maxbsven_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 possible23:32
StoneCypherdoes bzr join weld B into A, or does it create C from A and B?23:32
maxbwhen not possible, I suppose I'd cherrypick the fixes from the other projects back into the framework branch23:32
maxbStoneCypher: the first23:32
sven_oostenbrinkmaxb: 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:34
sven_oostenbrinkIn 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 commit23:35
sven_oostenbrinkBut even that is tedious..  There has to be a better way..23:35
=== Ursinha-afk is now known as Ursinha
StoneCyphermaxb: 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:42
sven_oostenbrinkWould it be possible for BZR to include a filter like this?23:46
=== dipnlik_ is now known as dipnlik

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!