/srv/irclogs.ubuntu.com/2010/06/14/#bzr.txt

magciusIs there any way to undo a commit?02:15
lifelessbzr uncommit02:19
magciuslifeless: thanks02:40
magciusuh02:55
magcius1) are there any loggerhead maintainers in here? (or should I ask in #lp or #lp-dev)02:55
magciusI filed about 2-3 bugs and they're still filed "NEW"02:56
lifelessloggerhead is a little light on maintainers at the moment02:56
magciusok02:56
lifelesshere is as good as any place02:56
magciusuh, I also filed a bug on LP and a bug on bzr.02:56
lifelesshow long ago ?02:57
magciusuh02:57
magciuslifeless: April02:58
lifelessand they're still new ? thats unusual02:58
lifelessurl?02:58
magciuslifeless: er whoops, thought it was new02:58
magciuslifeless: er, the bzr one has had progress02:59
magciuslifeless: the LP one I believe is "New"02:59
lifelessdo you know the number?02:59
magciuslifeless: er, it's Triaged. There's been a tag, but that's it02:59
lifelessthere are lots of lp bugs :)02:59
magciushttps://bugs.launchpad.net/launchpad-registry/+bug/56935602:59
ubot5Launchpad bug 569356 in Launchpad Registry "The download background "sliding door" needs more width. (affected: 1, heat: 3)" [Low,Triaged]02:59
magciusThis one seems a very, very easy one to fix03:00
magciusBut yeah, the two Loggerhead ones are the ones that I hate the most03:00
lifelessI wish loggerhead had more devs03:03
lifeless:)03:03
thumperlifeless: me too03:22
lifelessthumper: do you have any ideas about where we can find them?03:23
lifelessthumper: could lp-code start owning it again, perhaps?03:24
thumperlifeless: while I'd love to, we don't have any development time to invest03:24
thumperlifeless: we're already letting things slip03:24
lifelessthumper: is that because your team size changed, or your accepted too much work, or something else?03:28
thumperlifeless: primarily team size03:29
lifelesssounds like something that should, in principle, be fixed.03:29
lifelesseventually.03:29
thumpermaybe03:32
thumperparly it requires someone who cares about the project03:33
lifelessdefinitely03:33
lifelessI guess I see the lp-code team as that in the sense that its deployed  in LP :)03:33
lifelessmaybe thats not enough.03:33
thumperno it is not enough03:34
thumperwe don't really use loggerhead03:34
thumpersure, we have it deployed on LP03:35
thumperbut I really don't use it that often03:35
willmarshallGit user's question about BZR: I want to branch my current branch, then commit that new branch back to my server while I work on an experimental feature05:11
willmarshallHow would I do this?05:11
lifelessbzr branch . ../new; cd new; bzr push $server_url05:14
lifelessor just bzr push $server_url, and then keep working05:14
lifelessif you want to let trunk move on for a while, you might instead do05:14
lifelessbzr branch . ../new; $work_in_new_for_a_while05:14
lifelessbzr merge ../new; bzr commit -m "merge in some progress"; bzr push05:15
willmarshallThat worked! Thanks :)05:16
lifelessanytime05:16
lifelessjelmer: ping05:28
BlindWolf8Hello?06:32
lifelesshi06:34
BlindWolf8Hey lifeless06:46
BlindWolf8I wasn't paying attention to the chat. You still here?06:47
lifelesspassing through from time to time06:47
lifelessits roughly dinnertime here06:47
BlindWolf8Gothca. About 1:45 AM here (US EST/EDT)06:48
BlindWolf8I do have a quick question for you if you have a moment.06:48
lifelesssure; in general just ask your questions06:48
lifelessin this medium, someone will usually answer eventually06:49
BlindWolf8Would I easily be able to change my repository style once it's made?06:49
lifelesswhat do you mean by style ?06:49
BlindWolf8feature branch, colocated, shared repo, etc.06:50
lifelesssure06:50
lifelessthe only thing that isn't easy to change is the /format/ - which you shouldn't need to be concerned with at this point06:51
BlindWolf8If I need to, I'm confused on how to do this as...06:51
lifelessso just go ahead and play06:51
BlindWolf81) I forgot what I chose when setting it up...06:51
BlindWolf8...and 2) not files are listed on the seerver. I am not sure if this is normal.06:51
lifelessbzr branches and repositories store their files in .bzr/06:51
BlindWolf8*no files06:51
BlindWolf8yeah, I looked in the .bzr folder on the server06:52
lifelessits a form of database. So your source code is only present on your workstation06:52
lifelessthis is normal06:52
BlindWolf8no files are readable...I'm assuming they're all compressed/packed06:52
BlindWolf8ah, OK.06:52
BlindWolf8what would I do in a case in which I wanted the files to be accessible?06:52
lifelesswell it depends on why06:53
lifelessfor instance06:53
lifelessif you want to deploy to a web server; use the bzr-upload plugin06:53
lifelessif you want to browse the files and history with a web browser, use loggerhead06:53
BlindWolf8ah, I'm assuming that would update the bzr db and upload the file as well?06:53
lifelessbzr-upload works without the .bzr database06:54
lifelessfor security06:54
lifelessit uses a very small record of whats been uploaded so that it can only upload changed files06:54
BlindWolf8right, but where would it keep revisions?06:54
lifelessbzr-upload ? it has them on your source branch, wherever that is - normally your workstation.06:55
BlindWolf8ah, OK, so it won't make a .bzr dir on the server for security reasosn, only locally...OK, that makes sense06:55
lifelesscollaborating on your source code, and deploying it to a webserver are very different tasks06:56
BlindWolf8agreed06:56
lifelessdoes this help? I realise I haven't answered the direct question :)06:56
BlindWolf8yeah, it helps...I was just shocked as I didn't see any files on the server...just a bit concerned about things being compressed06:57
BlindWolf8figured that I would need to do something different for webdev, but the doc explains it about 80%...I may have missed something06:58
lifelessif you ssh into your server06:58
lifelessand run 'bzr log -p' you'll see all your patches going back to the start of your history06:58
lifeless(run that in a branch on the server)06:58
BlindWolf8Also, I'm assuming that all revisions are copied to clients as well?06:58
BlindWolf8in their .bzr dirs?06:59
lifelesswhen you do 'bzr branch server localdir' , it copies all the history by default06:59
BlindWolf8My main concern was that if the server got hacked/fubared, I'd be SOL06:59
lifelessthere are options that you can pass to copy less than everything (--stacked, specifically) - but its not the default.06:59
BlindWolf8I do Pull via the GUI, so I'm assuming it gets all the revs06:59
lifelessyes07:00
BlindWolf8Good, everyone's up to date and can do a restore if needed07:00
lifeless(unless you made the branch stacked - but I don't think bzr explorer has an option to do that)07:00
BlindWolf8and the restore will rebuild all the revisions...sweet07:00
BlindWolf8so Bazaar == RAID, lol07:00
fullermdRAIR.  Blood RAIR.07:01
* fullermd licks his lips.07:01
BlindWolf80_\07:01
BlindWolf8Anyway, thanks again lifeless07:02
BlindWolf8I'd be happy to write some docs/tutorials07:02
BlindWolf8Still here?07:04
lifelessyes07:09
BlindWolf8OK. When I was having my teammate setup bzr, I had him pull our branch from the repo I setup.07:10
BlindWolf8bzr prompted him to turn the dir he was putting the files into a repo. I told him to select No, as there seems to be issues with doing that.07:10
BlindWolf8Why would you want to turn the local dir into a shared repo?07:11
BlindWolf8Whoops, back.07:14
vilahi all !07:15
BlindWolf8hey vila07:15
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: vila | bzr 2.1.1 is out | bzr 2.1.2 is having binaries built for it
lifelessBlindWolf8: 'shared' in shared repo refers to 'between branches' not 'between users'07:16
lifelessBlindWolf8: so you want that to make switching between branches fast and efficient07:16
vilaBlindWolf8: The repo is where revisions are stored. Once you start having multiple branche of the same project, using a shared repo means all common revisions are stored only once07:16
BlindWolf8in a common .bzr dir?07:17
vilaBlindWolf8: yes07:17
lifelessone .bzr dir for the history, one .bzr per branch, but without history07:17
=== radoe_ is now known as radoe
lifelessthe branch ones get their history from the repository .bzr dir07:18
BlindWolf8then what does each .bzr dir store for each branch?07:18
lifelessthe branch configuration, the revision id of the branch's most recent commit and the tags for the branch07:19
BlindWolf8Before, you mentioned that if I wanted to do webdev, it wouldn't upload the revsision history. What if I wanted to regardless?07:21
BlindWolf8vila: you've been credited, btw.07:22
vilaBlindWolf8: Me ? Credited ? Argh, what did I do wrong again ? :)07:23
BlindWolf8lol07:23
vilaBlindWolf8: bzr-upload aim is to maintain a remote working tree *without* its history, if you want to update a remote working tree whenever its history change, you want the bzr-push-and-update plugin (which requires bzr on the server and an ssh access IIRC)07:24
vilathe two plugins work from a different set of constraints and address different needs07:25
BlindWolf8Thanks for that info. All of this is very helpful.07:26
BlindWolf8By the way, why would someone want a checkout when they can just bind a branch?07:30
vilaBlindWolf8: Don't summon fullermd ....07:32
vilaBlindWolf8: a checkout *can* be configured to use a branch on a remote server without any history stored locally07:32
fullermdWho dares invoke the Great and Powerful fullermd??07:33
vilafullermd: someone wanting clarifications about checkouts and bound branches :-P07:36
BlindWolf8:-P07:36
fullermdFirst, you must pass the Seven Trials of Courage.07:42
BlindWolf8Hey Matt, we're going to incur your wrath07:42
BlindWolf8so anyways....07:43
BlindWolf8binding a branch to a dir makes bzr more like Perforce, which is the first VCS/SCM I used07:44
BlindWolf8As far as I know, I've got this: http://wiki.bazaar.canonical.com/StandaloneTree07:48
BlindWolf8on the server, anyways07:49
BlindWolf8the clients/workers have the same thing, but they have a full revision history (Heavyweight Checkout)07:49
BlindWolf8the files are also viewable/changable on their machines, and not sotred in the .bzr dir07:50
BlindWolf8(not sure what to call that...Working Tree?)07:50
vilayes, see http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs/PiecesInBrief07:51
BlindWolf8Thanks! If you guys need helps in organizing docs or making things clearer, I have a knack for that07:53
vilaBlindWolf8: help is always welcome, have a look at https://bugs.edge.launchpad.net/bzr/+bugs?field.tag=doc, or clarify anything you didn't understand in the actual docs :)07:55
BlindWolf8You guys rock! :-D07:57
lifelessvila: https://code.edge.launchpad.net/~lifeless/bzr/loomsupport/+merge/2747308:03
vilalifeless: Updating diff... :-)08:04
lifelessvila: pull it :)08:05
lifelessvila: I'm going to cook dinner08:09
lifelessvila: but I'd *love* to get this landed08:09
lifelessvila: so if you can pp it for me, that would be most awesome08:09
lifelessI'll pop back in a bit08:09
vilalifeless: enjoy your cooking and don't worry, I *need* this patch08:09
vilalifeless: (I even thought it has already landed :)08:10
BlindWolf8I'm out. Thanks again you guys!08:10
vilalifeless: 4 tests erroring out, see mp08:57
lifelessthank you08:58
lifelessvila: that will be shallow08:59
vilalifeless: certainly08:59
vilawell, hopefully :)08:59
saxicekhello everybody08:59
lifelessvila: they work for me09:00
lifelessvila: disable your non-core plugins09:00
vilalifeless: already done, I've kept only loom...09:01
lifeless:!bzr selftest --no-plugins bzrlib.tests.blackbox.test_push.TestPush.test_push_smart_tags_streaming_acceptance test_switch_lightweight_directory bzrlib.tests.blackbox.test_tags.TestTagging.test_branch_push_pull_merge_copies_tags bzrlib.tes09:01
lifelessts.blackbox.test_tags.TestTagging.test_list_tags09:01
lifelessbzr selftest: /home/robertc/source/baz/bzr-test-fixes/bzr09:01
lifeless   /home/robertc/source/baz/bzr-test-fixes/bzrlib09:01
lifeless   bzr-2.2.0dev1 python-2.6.5 Linux-2.6.32-22-generic-x86_64-with-Ubuntu-10.04-lucid09:01
lifeless----------------------------------------------------------------------09:01
lifelessRan 4 tests in 1.207s09:01
lifelessOK09:01
vila!paste09:01
ubot5For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.09:01
vilahttp://paste.ubuntu.com/449550/09:03
loolvila: Heya09:04
loolvila: With whom should I discuss performance of the gcc-linaro branches?09:04
vilalifeless: and even without loom:  running 5(?) tests, failed 3 :-/09:05
vilalool: here should be fine, filing a bug report tagged udd, about the slow checkouts will be even better09:05
vilalool: not finished replying to your emails, but you can try --hardlink too for branch and checkout09:06
loolvila: Would you think it's something fixable, or will we always suffer from the size of history + size of the tree?09:06
loolvila: In my experience, the CPU was maxed for long periods of time during the lenghty operations, not I/O09:07
vilalool: I suspect it's more a tree size bug than an history size one09:07
lool(I'm on SSD BTW)09:07
saxicekCan you guys please help me with setting custom merge app in bazaar explorer? I tried "d:/Program Files/Beyond Compare 3/BComp.exe" %r %b %t %o but I am getting "Error while running merge tool (code 0)" but did not see what it is actually trying to run in the log09:07
vilaI got worse performances for massive IO on SSD than on 7200rpm HDs09:07
vilalool: ^09:08
loolvila: BTW what is the udd tag for?  Does it cover code imports or is it just for package imports?  Cause here it's a code import branch, not a package import one09:08
vilalool: it's for Ubuntu Distributed Dev09:08
loolvila: Ok; I have a relatively unreliable I/O indicator in my panel which showed modest amount of I/O, and CPU maxed out, so I didn't blame it on I/O but it's not 100% out of the picture I guess09:08
vilalool: if you use the stock performance monitor, setting Red as the color for IOWait instead of the default black will show you some interesting side-effects09:09
loolvila: Yes, one CPU ws 100% busy with both IO wait and actual work09:11
vilalool: try on a regular disk or use a better SSD ;-) The CPU@100% needs to be investigated, filing a bug is the best way to ensure it's not forgotten09:13
lifelessvila: lets let pqm decide ;)09:14
vilalifeless: AttributeError: 'GenericInterBranch' object has no attribute 'tags' looks unambiguous to me09:15
jelmerlifeless: pong09:17
loolvila: bug #59356009:21
ubot5Launchpad bug 593560 in Bazaar "Slow performance for many operations on the gcc code import branches (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/59356009:21
vilalifeless: plus you should be running 5 tests not 4, the 5th one is bzrlib.tests.blackbox.test_tags.TestTagging.test_list_tags_revision_filtering caught by bzrlib.tests.blackbox.test_tags.TestTagging.test_list_tags, are you sure !bzr use the right bzr ?09:21
vilalool: first comment, I didn't noticed it earlier but using *different* projects for gcc-linaro and gcc, defeats the stacking scheme defined on lp, you'd better use the 'gcc' project itself09:24
loolvila: Does it matter for the project series branches, or for the actual branches or both?09:25
lifelessvila: when only two people are speaking pastebin is a nuisance :P09:25
loolvila: I mean, I can have gcc-linaro/4.4 point at ~gcc-linaro-dev/gcc/linaro-4.4 or something like that09:26
lifelessvila: did you pull my branch, or merge it ?09:26
vilalifeless: pull09:26
lifelessvila: aah, yes, ./bzr :P09:26
lifelessok will fix09:26
vilalool: one stacked-on branch is defined by project on lp AFAIR09:27
vilalool: it's called the devlopment focus on lp I think09:27
loolvila: How would I setup my branches to tell LP that they are stacked on multiple branches of the gcc project09:29
lifelessjelmer: it was InterBranch.pull I was pinging about09:29
lifelessjelmer: its rather odd in trunk09:29
loolvila: IOW that ~gcc-linaro-dev/gcc/linaro-4.4 is stacked on lp:gcc/4.4 and same for 4.509:29
lifelesslool: you wouldn't, why do you want to do that ?09:29
loolvila: the gcc development focus is the trunk vcs-import09:29
loollifeless: Well, gcc development results in yearly releases with relatively lots of changes in 4.4 and 4.5 branches, we're mostly going to work on 4.4 and 4.5 branches as a baseline, maintaining forks basically09:30
vilalool: I don't think you want to do that on lp (nor that you can), either you define branches in the gcc project or you define a development focus in gcc-linaro (the former sounds better to me)09:30
loolthe gcc focus of development correctly points at trunk which is always where most development is going on09:30
lifelesslool: sure, but you can have all the history in lp:gcc, so that stacking is always efficient09:30
loolvila: Oh I did define a development focus on gcc-linaro09:31
loolvila: I had to chose a branch, so I picked the 4.4 one09:31
loollifeless: You don't have history of the 4.4.x and 4.5.x commits surely?09:31
vilalool: wrong :) Then your push for 4.5 needs to carry all the missing revisions09:31
loollifeless: They are backports at the patch / SVN level upstream, but from bzr pov, they are entirely separate branches09:32
vilalool: no, all the imports are from the same master svn repo, the revisions are shared09:32
lifelesslool: nevertheless, we can, with cron, get all the content into one branch.09:32
loolvila: It's true, but 4.4 and 4.5 will differ significantly, and most of the work will happen in 4.4 right now; if I setup 4.5 as dev focus, I will miss the 4.4 revs when pushing 4.4 based branches09:32
lifelesslool: its 3 lines of python and a pear tree09:33
loollifeless: awesome, that sounds like something we would want09:33
lifelesslool: stacking is an approximate thing, don't aim for perfection.09:33
lifelesslool: 1 years dev on a 25 year old tree is peanuts09:33
lifelessyou'll have many more issues that aren't related to how much is/isn't shared in stacking.09:33
lifelesswe're working on that at the moment.09:33
lifelessvila: fixed09:35
lifelessvila: missing .source09:35
loollifeless: So how would I ask for this cron to be setup, or are you saying that it's probably not going to gain much?09:35
loolvila: I've changed development focus to gcc-linaro/4.5 now09:36
lifelesslool: r1 = bzrlib.repository.Repository.open('lp:gcc-linaro/devfocus'); r2=bzrlib.repository.Repository.open('lp:gcc-linaro/4.4'); r1.fetch(r2)09:37
lifelesslool: repeat as needed09:37
lifelessyou need to import bzrlib.repository09:37
lifelessand bzrlib.plugin09:37
lifelessand do bzrlib.plugin.load_plugins()09:37
loolcute09:38
lifelessseparated concerns ftw09:38
vilalool: yup, lifeless proposal is the best solution for your case, this way you can load your devfocus branch with whatever you want and pushes will benefit09:39
loolvila: So you were arguing earlier that we should use the gcc project for this stuff instead of the gcc-linaro one, is this still useful if we push revisions like above?09:39
vilalool: and you won't have to think about which of trunk, 4.4 or 4.5 is the best starting point09:39
lifelesslool: it woud model it more accurately in launchpad09:39
loolvila: I should probably load the devfocus branch of gcc-linaro with the gcc/trunk /4.4 and /4.5 revs too, shouldn't I?09:40
lifelesslool: but really, do what makes sense to you09:40
vilalool: no, doesn't matter anymore09:40
vilalool: if you start with trunk, the later ones should be almost covered09:40
loolvila: So the trunk vcs-import contains all the 4.4 and 4.5 revisions because it's the way bzr svn operates?09:41
vilalool: I don't thin kit's related to svn or vcs-import but most of the history of these branches is the same one09:42
vilalifeless: still one failure if I use the loom plugin: ERROR: blackbox.test_switch.TestSwitch.test_switch_lightweight_directory -> TypeError: run() got an unexpected keyword argument 'directory' most probably on loom itself ;)09:43
lifelessvila: yes, trunk breakage with decorated command09:45
lifelessvila: please review, its nearly bedtime09:45
lifelessvila: my problem to have tests passing09:45
lifelessvila: also, a suggestion for lool's bug: ask for data, always ask for data ;)09:45
vilalifeless: .bzr.log ? I was typing an additional comment ;)09:47
lifelesscalgrind09:48
lifelesslogs are nice09:48
lifelesscallgrind is heaven09:48
vilalifeless: tests pass without the loom plugin, review time09:48
lifelessvila: a meta comment for you: I think your priorities are the wrong way around there; its up to the submitter and PQM to care about tests.09:49
lifelessvila: better to review, and *then* note that its got issues, than to put the review back - it breaks the flow up more.09:50
vilalifeless: sure, especially when the submitter run the full test suite before submitting ;-)09:51
loollifeless: I have flexibility on the naming of the real branches; I chose to create a gcc-linaro project to host tarballs in the future, then it seemed logical to have gcc-linaro/xxx branches09:52
lifelesslool: I think lp would traditionally model that as gcc/linaro-4.5 as the series, which can host tarballs just fine.09:53
loolIIUC, the fact I pushed the "series" branches to /gcc-linaro namespace means they were not stacked on gcc and I payed a price for that, however because I've set the focus of dev to one of these branches, people pushing to gcc-linaro branches wont pay much09:54
lifelesslool: OTOH if you want to be able to say on a bug, 'fixed in linaro gcc 4.5, still open in fsf gcc 4.5' then you must have a separate project at the moment.09:54
loollifeless: Don't I need ownership of the gcc project for that?09:54
lifelesslool: no09:54
lifelesslool: anyone can create series, or at least they are meant to be able to.09:54
loolYes, we want to track the bugs separately09:54
loolthe fsf bugs are not tracked in Launchpad though09:55
loolWell they are tracked by Launchpad as remote bugs in upstream bugzilla09:55
lifelessright09:55
vilalifeless: Why can you remove InterToBranch5 now ? Did something change or was it an error to introduce it at the time ?10:10
loolvila, lifeless: Hmm one thing I'm thinking could impact performance very badly is ecryptfs10:10
loolI'm using ecryptfs on my whole $HOME; it caused issues in the past with things such as sparse files, but performance was overall comparable to before using that in my experience10:11
loolI should try on another system10:12
vilalifeless: ha, bug #593515, but why didn't your mp reference that ??10:15
ubot5Launchpad bug 593515 in Bazaar "InterToBranch5 not used? (affected: 1, heat: 6)" [High,Confirmed] https://launchpad.net/bugs/59351510:15
vilalifeless: approved10:16
lifelessvila: thanks10:20
lifelesslool: just get callgrind stats10:20
lifelessthey should show up stat() if stat time is relevant10:20
lifelessor sha1time, if ecryptfs breaks stat fingerprinting10:21
lifelessvila: you haven't set merge:approve ;)10:25
vilalifeless: pff, patch pilot noob...10:27
lifelessvila: no worries, I shall train you :)10:31
vilahehe, cool10:32
loollifeless: I ran an "enrich-gcc-linaro-repo" script, took 6mn41s on the first run and 18s on the second run, seems to have done some useful stuff on the first run, so was definitely a good idea, thanks11:38
loolWill cron it now11:39
loolHmm I should create a separate account with a separate bzr key11:43
loolI wonder how to tell bzr to use a separate launchpad login + ssh key for a single run11:49
loolOverriding BZR_HOME is fine, but ssh won't use $HOME, and I can't find a way to pass random args to ssh from bzr11:56
lifelessln -s .ssh somewhere ?11:56
lifelesslool: ssh can handle multiple ssh keys to offer, you know :)12:00
lifelesslool: just have the right one on your keyright/passwordless/whatever12:00
loollifeless: Hmm right, I can just offer the key all the time12:32
loolproblem is user name actually, not key12:33
loolit's the unix user I should be using12:33
=== mrevell is now known as mrevell-lunch
rumbertIs there GUI(s) which let you browse repositories without branching/checking out? (not counting HTTP/WWWeb)13:15
=== mrevell-lunch is now known as mrevell
lamontbzr branch bzr+ssh://example.com/14:13
lamontbzr: ERROR: gnomekeyring.IOError:14:13
lamontW.T.F...14:13
=== IslandUsurper is now known as IslandUsurperAFK
=== beuno is now known as beuno-lunch
=== IslandUsurperAFK is now known as IslandUsurper
=== beuno-lunch is now known as beuno
=== bac` is now known as bac
=== Meths_ is now known as Meths
=== JayFo is now known as JFo
serviliohi! can someone please point me out to a documentation on BranchReference's?19:27
TresEquisjelmer: anything I can do to help with lp:480102?21:16
TresEquisI saw you had marked it 'inprogress' over the weekend21:16
jelmerbug 480102?21:19
ubot5Launchpad bug 480102 in Bazaar Subversion Plugin "assert len(tview) == tview_len (affected: 12, heat: 98)" [High,In progress] https://launchpad.net/bugs/48010221:19
jelmerTresEquis: one thing that would really help is a trivial python script that reproduced the issue so we can put that into the bzr-svn testsauite21:20
TresEquisjelmer: ugh, I really don't understand how to provoke the error in a nice testcase-ish way21:31
jelmerTresEquis: well, any help reproducing that error in the simplest way possible would be appreciated21:32
TresEquisI know that it appeared to be true that the "blob loader ID" for the failing file in the failing revision was somehow pointing to the older revision21:33
TresEquisso that when the patch was applied, the resulting file didn't match the checksum for the current transaction21:33
TresEquisI just don't know the mechanics well enough to guess how that might occur21:35
jelmerright21:36
jelmerso I know it has something to do with merges21:36
TresEquisI don't know if it is significant, but there is a 'bzr:ancestry:v4' property which shows up in the tree at the point of the apparently-successful merge21:49
TresEquisthe one after which the later transaction touching the same files blows up21:49
TresEquisalso, svn:mergeinfo shows up at that point21:50
jammkanat: I pushed a possible fix for bug 586122 for you22:02
ubot5Launchpad bug 586122 in Meliae "scanner core dumps on loggerhead trunk + python 2.6.2 (affected: 1, heat: 5)" [Undecided,New] https://launchpad.net/bugs/58612222:02
jamCan you test it out and let me know?22:02
mkanatjam: Awesome! Yes, I will check it out.22:02
mkanatjam: It might be a bit later today; the Bugzilla freeze is tomorrow, so I'm a little busy.22:02
jammkanat: No rush on my part, everything works here :)22:03
mkanatjam: Okay. :-)22:03
lifelesshi jam22:32
jamhi lifeless22:33
assadi did a merge, but i am getting : 6 conflicts encountered. at the end22:34
assadis the merge done?22:34
TresEquisassad: you need to fix the conficts, 'bzr resolve' them, and commit22:35
TresEquisassad: you need to fix the conficts, 'bzr resolve' them, and commit22:35
jamlifeless: somehow you managed to gather more resources than me, even though I'm fully capped (on all resources right now).22:39
jamI guess you managed to upgrade something faster than me? (and thus spend more resources?)22:39
jamanyway, you now outrank me in bym22:39
assadTresEquis, to fix the conflicts i have to copy the code from the "to be merged with" branch?22:40
TresEquisassad:  it's a judgement call22:42
TresEquisyou have to figure out what the right course is for each case where there are conflict markers22:42
TresEquisand then riun all your tests to be sure you didn't blow it22:43
TresEquisresolving conflicts in the test code is for extra bonus points22:43
lifelessjam: I don't know - how do I tell that?22:43
jamlifeless: on the bottom, your toon comes before mine, indicating you outrank me22:44
lifelessjam: I have 3/6 lvl 10 goos; and been having a back n forth war with some naively defended person who attacks me and gets 3/4 twigs max22:44
lifelessthen I go wipe their entire base out ;P22:44
TresEquislifeless: you in Kiwiland now?22:44
lifelessTresEquis: Yup22:44
jamlifeless: hmm, maybe it is the extra twigs22:44
jamI've got 6 lvl 10 goos, and a couple other lvl 10 items22:45
jambut I haven't been warring as much :)22:45
lifelessjam: it might be the fighting giving xp22:45
jamalso, it takes 3x the build time before a resource repays itself22:45
jam(so a 3-day build time takes 9-days before it produces more)22:45
jamcould be22:46
jamI've fought a little, but not a lot22:46
mtaylormordred@camelot:~/src$ bzr whoami22:46
mtaylorbzr: ERROR: Connection closed:22:46
TresEquislol22:47
jammtaylor: I assume you are in a checkout?22:47
mtaylorjam: nope22:47
mtaylorjust in a normal directory22:47
lifelessjam: TresEquis I'm in chch, if you're familiar with nz22:47
jammtaylor: is $HOME a checkout?22:47
mtaylorjam: nope22:47
lifelessmtaylor: are you lying ?22:47
jamyou could run with -Derror22:47
mtaylorlifeless: not to my knowledge22:47
TresEquislifeless: not except from reading maps22:48
lifelessmtaylor: bzr info -v22:48
mtaylorlifeless: mordred@camelot:~/src$ bzr info -v22:48
mtaylorbzr: ERROR: Connection closed:22:48
lifelessfile a bug - we need a way to help people debug this.22:50
lifelesssecondly, look in .bzr/branch, ../.bzr/branch etc22:50
mtaylorlifeless: searched all the way up the tree - no .bzr dirs anywhere22:55
lifelessmtaylor: that is extremely odd22:57
lifelessmtaylor: strace bzr22:57
mtaylorlifeless: found it - there is an .svn dir22:58
mtaylorlifeless: which is causing bzr-svn to vomit22:58
lifelessmtaylor: oh right, of course22:58
lifelessmtaylor: so, the bug is 'connection errors don't signal why we were making them'22:58
lifelessor something22:58
mtaylorlifeless: ok.23:02
lifelessassuming that that is actually the entire output you've been pasting23:03
mtaylorlifeless: or also - bzr whoami should perhaps not need to connect to anything?23:03
mtaylorlifeless: yes23:03
lifelesswhoami can be configured by the branch23:03
lifelesscheckouts can reference an external branch23:03
lifelessso no, whoami was doing the right thing23:03
lifelesswe could add a whoami --global or something23:04
lifelessbut you'd still not be able to commit where you were ;P23:04
mtaylorlifeless: nah - I think you were right before - hinting at the bzr-svn cause would be the right thing here23:04
mgzlifeless: any objection to just backing out testtools r70 when the unicode traceback work is finished?23:26
lifelessmgz: why? it seems clearly less broken than it was23:27
lifelessmgz: I'd be happy to have something less broken than it wsa and is23:27
mgzwell, because you're enhancing wrong code there23:27
mgzactually, I think it's worse than that23:28
mgzPython 3 does the right thing (the exceptions are always unicode), and Python 2 needs the input fixing, not a per-str()-call fixup23:31
mgzhardcoding UTF-8 there is the wrong place at any rate, needs to happen in subunit if you want it, otherwise you break the normal output with say, unittest23:32
lifelessso, subunit with multipart attachments already generates unicode exception objects23:33
lifelessr70 in testtools is to *handle* that23:33
mgzokay, I know it was to fix a current issue23:33
mgzbut I'm interested in what needs to change when testtools is only creating _StringException objects with unicode args23:34
lifelessas long as we're using a fixed traceback module23:35
lifelessand a subunit with the patch to make unicode string exceptions for non-multipart attachments23:35
lifelessand the matching XXX fixed to encode in utf8 explicitly for non-multipart serialising23:35
lifelessthen we shouldn't ever be calling __str__ on a StringException23:35
mgzokay, great, that's what I'm aiming for23:36
lifelessand if we're not calling __str__, then it shouldn't matter23:36
lifelessuhm23:36
lifelessactually, it will matter23:36
lifelessif someone with a different TestResult uses the standard traceback module.23:37
mgzright, this is the case I worry about23:37
lifelessthey will run into precisely the same brokenness, unless __str__ *works*23:37
mgzI currently am testing testtools internals with the unittest runner23:37
mgzr70 will break those tests23:37
lifelessand this is the upstream Exception.__str__ bug in python2.x23:37
lifelessmgz: no, r70 will fix it.23:37
mgzno, this is er... the second pass23:37
mgztesttools is formatting the exception23:38
lifelesshmm, I've two uk people timesharing me23:38
mgzand unittest is stringifying the _StringException for the output23:38
mgzI'll retire, this can wait.23:38
lifelesswhich is broken. It should be unicodifying23:38
mgzright, but it's a broken case that comes up, bzr currently does the same I believe23:39
lifelessthe question is, when someone asks for an insane thing, do we: break; encode to their default; encode to utf8; something else23:39
mgzyup.23:39
pooliehi there mgz, lifeless23:39
mgzhey poolie23:39
lifelessmgz: I'm happy to change it to 'use their console encoding' or something, once your patch lands and that is feasible.23:39
mgzso, looked at like that, it boils down to r70 picking "always utf-8" and my compat one doing "ascii and questionmarks"23:40
lifelesshi poolie23:40
mgzwhere the right thing will be to change it to use unicode till it actually hits the console/whatever other output method23:40
lifelessmgz: right23:40
lifelessmgz: back in 2 minutes23:40
BitSprocketHow does one remove a folder from bazaar control?23:44
lifelessmgz: back23:44
BitSprocketHow does one remove a folder from bazaar control?23:46
poolieBitSprocket, 'bzr rm --keep'23:46
poolienote that this will propagate to other checkouts as a deletion of that folder23:46
BitSprocketThanks poolie.  It's a private project so no worries.  That won't delete any of my files right?23:47
BitSprocketSaid differently, I want to keep the files, just remove version control.23:47
pooliethat's what --keep does23:48
BitSprocketSweet, thanks!23:48
poolieyou might then want to do 'bzr ignore THING' to avoid it being re-added in future23:48
poolienp23:48
BitSprocketDoes that apply to subdirectories/files as well?23:49
BitSprocketOr do I have to do them manually?23:49
BitSprocket...looks like it took care of it recursively for me...23:50
BitSprocketWell, it doesn't look like it worked after all.  What am I missing?23:56

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