/srv/irclogs.ubuntu.com/2010/08/31/#bzr.txt

spivGood morning.00:54
pooliehi all01:34
JaredWI think there was a plugin that automatically finds the revision where something broke (by running a command on different revisions in a binary search). Does anyone remember the name?01:46
spivbisect01:46
pooliehello spiv01:49
spivHi poolie01:50
pooliei might have a look at this spurious test failure04:32
poolieshould we actually keep the strace facility?04:57
poolienothing uses it but its own tests04:57
poolielifeless: ^^04:57
pooliei can see it being useful for some effort tests, but i can also see that causing deadlocks etc by trying to trace ourselves04:57
lifelesspoolie: if its a pain, nuke it.04:59
lifelessI doubt I'll be doing low level perf work on bzr in the near term :(05:00
poolie:(05:00
poolieif you were, do you think you'd use this?05:00
lifelessI did anytime I needed strace stuff05:00
pooliehow did you use it? by logging the activity of a particular bit of code?05:00
poolieor actually writing tests that inspected it?05:01
lifelessthe former05:01
pooliei can see that being useful, to catch just a particular seciton05:03
pooliewbn for prof too05:03
lifelessright, prof does that :)05:04
poolieprof does what?05:05
lifelesssorry, brb05:05
pooliehttps://code.edge.launchpad.net/~mbp/bzr/626679-strace/+merge/3415705:23
lifelesspoolie: sorry, was otp05:24
lifelessback now05:24
poolienp05:24
pooliei decided it was worth keeping around05:24
lifelessbzrlib.lsprof lets you call a specific section easily.05:24
poolieyou can review it if you have a moment05:24
lifelesswhen it updates the diff I shall05:25
pooliesorry i meant perf, not prof05:26
pooliewhich is an external tool like strace05:26
fullermdMost profs get annoyed if you perf them...05:26
mkanatProf perf.05:27
pooliehello mkanat05:29
mkanatHey poolie!05:29
pooliehi there05:29
pooliei'm back from my trip05:29
mkanatOh great. :-)05:29
pooliedid you get to working on loggerhead yet?05:29
mkanatpoolie: I didn't, unfortunately. I'm thinking it will be after Sept 2.05:29
mkanatpoolie: Although I did do a bit of work last week.05:30
poolienp, just wondered if you were blocked or anything05:30
mkanatpoolie: Okay. :-)05:31
vilahi all !08:00
mgzmorning all.08:10
mgzvila: these are the tests that are different between r5395 and r5396 from my run:08:16
mgzhttp://float.endofinternet.org/temp/landed_leaking_diff.xml08:16
vilamgz: meh, http://float.endofinternet.org/temp/landed_leaking_diff.xml#bb.test_branch.TestSmartServerBranching.test_branch_from_trivial_branch_to_same_server_branch_acceptance08:18
vilaAttributeError: 'TestAncestry' object has no attribute '_cleanups' ? You're cleaning up too much my dear :)08:18
mgzyeah, I think this is to do with TestCase instances sharing too much08:19
vilamgz: first you don't want me to use closures and now I can't even use cleanups ? :)08:19
mgzno, I just think it's a pre-existing bug :)08:19
mgzlike bug 625574 or something08:19
ubot5Launchpad bug 625574 in Bazaar "testtools details should not be shared between parameterised tests (affected: 1, heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/62557408:19
vilamgz: TestCase instances sharing... anything sounds scary, that needs to be precisely diagnose to know whether or not we can do that (by default: no, but there could be exceptions for read-only things (methods, functions, whatever, I think there is at least a _test_root_dir or something that is legal to share)))))08:21
vilamgz: hmm, interesting bug... this really needs to be dug08:22
vilamgz: anyway, back to your initial remark, can you summarize your feelings about the differences ?08:23
mgzwell, took 72mins vs. 51mins which I think I can live with for the moment, and basically everything but the run time is an improvement08:25
mgz(pretty sure all the new orange is equally shallow)08:26
vilamgz: so on this precise point, I'm pretty sure it's only the hung threads adding their 5s timeouts which a 'kill thread' should fix08:26
mgzI prefer 5s waits to thread killing.08:26
vilawhy ?08:26
mgzTerminateThread is scary in a way TerminateProcess isn't08:27
vilaI've diagnosed those as being: both client and server are waiting for each other or, said otherwise, python seem to not shake some bytes in the socket under unknown scenarios only encountered on windows08:27
vilamgz: ha, yes, this fear :) Well, the plan is to test first how this behaves, since all threads (we care about in this precise case) catch exceptions, it will be totally safe (the kill will happen during test shutdown where, by definition, we know we are done with whatever socket or any other resource used)08:29
mgzah, you just mean raising an exception in the threads?08:31
vilaspiv: have you seen bug #62687608:31
ubot5Launchpad bug 626876 in Bazaar "tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh considered harmful (affected: 1, heat: 6)" [Critical,Confirmed] https://launchpad.net/bugs/62687608:31
mgznot killing them dead?08:31
vilamgz: hehe, 'kill thread' is implemented by raising an exception in the thread :)08:31
vilaand AFAIK we can raise *any* exception08:32
vilabut that's what I want to test08:32
mgzokay, that's less scary then08:32
vilagood08:33
vilaKnowledge 1 - Ignorance (driving fear) 008:34
mgzI'm out for the day, see y'all later.08:49
lifelessciao08:53
spivvila: seen, yes.  Thought carefully about... not yet :)08:55
vilalifeless: cu08:55
vilaspiv: right, so I think there are two ways to rewrite it: 1) use a server in the same process, 2) spawn a real server as a separate process08:56
vilathe actual version is a mix of both (the real server is spawned at connection time)08:56
vilaI favour (1) and may give it a shot today08:57
pooliehi mgz, vila09:00
vilapoolie: hey !!09:00
pooliethanks for the speedy review vila09:01
vilamy great pleasure ;)09:01
vilapoolie: made me feel, like, 5 years younger or something :)09:02
poolie:)09:07
=== idart_ is now known as idart
GaryvdMHi vila. I'm trying to fix the test error with https://code.edge.launchpad.net/~vila/qbzr/config-get-filename-deleted/+merge/3409512:16
GaryvdMIt's failing because TEST_DIR/home/.bazaar does not exist.12:17
GaryvdMvila: Can you give me any pointers on how to fix?12:18
vilaGaryvdM: that's ensure_config_dir() call missing, rats, old bzr or current ?12:24
vilaGaryvdM: lunch time, here, bbl-ish12:25
GaryvdMvila: That error is only on old bzr, not on current12:25
GaryvdMvila: ok - Busy reading diff of you lock config files patch12:25
vilaGaryvdM: right, ok, so for old you can call ensure_confdir_exist with a check for bzr version :-/12:26
vilaGaryvdM: yeah, you should read it carefully and I advice you now inherit from LockableConfig, just to protect yourself against multiple qbzr instances runnning conccurrently (qlog here, qblame there, yet another qlog, etc), I dunno if you're yet ready to have a 2.2 branch in addition to a trunk branch though12:27
vilaGaryvdM: but definitely interested in how you handle the transition12:28
vilaGaryvdM: off now, back in <= 1h12:28
GaryvdMvila: ok12:28
lvh`Hi12:50
lvh`is it possible to revert the damage done by the rewrite plugin? I'm guessing no.12:50
lvh`Actually, it's probably okay. No commits were lost.12:51
luksI'm sure they are not12:53
luksrevisions are never deleted from a repository12:53
lvh`right12:53
luksuse bzr heads --dead to see all the revisions which are not referenced by the branch12:53
lvh`they're just organized a bit bogusly and I found a better way to fix the original problem12:53
luksthen you can use bzr pull -r revid:XXX --overwrite to get the revision  back12:53
vilalvh`: daggy-fix is your friend then, start again from before your first attempt and redo your commits from there in the right order. 'bzr merge -rx..y' (aka cherry-pick) can help you, as well as 'bzr diff --old <old> .' to see how you converge13:13
vilaGaryvdM: I'm back13:14
GaryvdMHi vila.13:25
GaryvdMvila: I think I need to do alot of cleaning up of the qbzr config code.13:26
vilaGaryvdM: Will you try to maintain compatibility with bzr-2.2 ?13:27
GaryvdMvila: Yes13:27
vilaGaryvdM: good, I'm all ears about potential problems then, especially if we could make the transition easier by adding some deprecated helpers in bzr.dev13:28
GaryvdMvila: Well in not sure why we have 2 different classes to write to qbzr.conf. So I'm going to start by deleting QBzrGlobalConfig...13:30
vilawow13:30
GaryvdMQBzrConfig does not inherit from bzrlib.config.XXX classes, so compatibility should not be a issue...13:31
vilaWOW13:31
GaryvdMI'm going to copy your locking code to QBzrConfig13:32
vilaGaryvdM: it's abit of a shame that this code isn't shared, but on the other hand, it addresses the compatibility issues :)13:34
=== lvh` is now known as lvh
stiansehi. i'm trying to create a svn mirror of a bazaar branch, that for instance in a cron job pulls from the bazaar branch and pushes into the svn repository.14:49
stianseHowever, the "bzr push svn://whatever/path" fails due to "Tags not supported"14:49
stianseThe revisions are there, so it seems to work, but is there a better way that does not cause the command to fail?14:50
stianseI've tried dpush, but then the next pull won't work since I get the message about diverged branches.14:51
jelmerstianse, hi14:57
jelmerstianse: your local branch has tags, and bzr-svn doesn't know where to add them.14:57
=== Ursinha is now known as Ursinha-afk
stiansejelmer, yes i figured. That's why I tried dpush, but that had bad side effects for the next pull.14:59
stiansePerhaps there is a way to delete all tags before pushing to svn?15:00
jelmerstianse: did you use the --no-rebase option perhaps?15:00
jelmerstianse: You can delete the tags using "bzr tag --delete"15:00
parthmhello. i update my bzr.dev trunk today and `bzr selftest` fails with error importing TestLoader. has something changed? http://pastebin.com/KSbvutec15:01
vilaparthm: perhaps you didn't run the tests for bzr-search for a long time ?15:02
parthmvila: ah. yes. ... i just noticed it was the plugin. never mind. i will just disable it. i wanted to run the test on the trunk :)15:03
parthmvila: thanks.15:03
vilaparthm: you're welcome15:04
parthmhmm. it seems to fail for plugin_info also.15:05
stiansejelmer, the problem about using tag --delete is that you have to know the tag names. since I plan to run this in a automatic script this is not very practical15:06
jelmerstianse: can you just not create the tags in the first place, or push to a svn location that supports tags?15:07
vilajelmer: Russel mentioned bzr-svn trunk being broken with bzr.dev, I'm 95% sure it's related to my second fix for bug #525571 which introduced real lock for config files, feel free to ping me if you need help. Otherwise, your feedback is welcome if you encounter problems migrating to the new config objects.15:07
ubot5Launchpad bug 525571 in Launchpad Bazaar Integration "No locking when updating files in ~/.bazaar (affected: 7, heat: 52)" [High,Fix released] https://launchpad.net/bugs/52557115:07
stiansejelmer, I could if I had control of either of the two. unfortunately I don't15:08
stiansejelmer, dpush --no-rebase causes the next dpush to fail because they have diverged. not using --no-rebase causes the next pull to fail15:08
jelmerstianse, how does the next pull fail exactly?15:09
jelmerstianse: well, you can push to the svn repository so you have /some/ control over it :-)15:09
vilajam: can you test lp:~vila/bzr/626876-bzr-connect-to-bzr-ssh on windows ?15:13
jammorning vila15:13
jamsure15:13
vilajam: morning !15:13
vilaThis "fix" it for me on hardy and karmic so far15:14
mgolischcan i create a new branch from changes i did but not actualy commiting them to the current branch?15:14
GaryvdMparthm: I've logged that as bug 62743515:14
ubot5Launchpad bug 627435 in bzr search plugin "ImportError running selftest -s bp.search in bzr.dev (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/62743515:15
vilajam: I totally forgot about the FIXME above the one-liner fix :)15:15
stiansejelmer, uploaded the commands and output at http://pastebin.com/hghpLeYQ15:15
parthmGaryvdM: thanks for the ticket :)15:16
jamvila: well, not really a fix per say just a hack around :)15:16
jelmerstianse, you're pulling from a different location than you're dpushing to15:16
stiansejelmer, i know. isn't that allowed if i don't have any new commits?15:18
vilajam: well, you've read the comment ? I was deep into paramiko internals when I wrote that, it's a shame we have to wait there, but it's needed to make paramiko happy.15:18
stiansejelmer, the location I'm pushing to is just a mirror and won't have any additional commits15:18
jelmerstianse: it is, but please read up on what dpush does - it changes the revisions in the current branch15:18
jamvila: paramiko is doing a 'wait' on a Threading.event() I don't see why we should need to sleep at all15:19
jamthough it may depend on version15:19
vilajam: Otherwise, we get all sort of random failures (as collected in the bug report) because some sockets are checked too early and considered broken15:19
jelmerstianse: thus making your current branch deferred from whatever branch you might be pulling from15:19
vilajam: because multiple threads are involved and if the wrong one is awaken too soon it draws the wrong conclusion about the socket15:19
stiansejelmer, ok I understand. That leaves me with the push command.15:20
jamvila: any sort of delay like this is going to be wrong sometimes... depending on load, etc.15:21
jambut I'm running it now15:21
jam(while my system is otherwise heavily loaded :)15:21
vilahaving several threads handling the same socket (from both sides) *and* using timeouts is a Bad Idea15:21
jamfailed15:21
vilajam: shouldn't matter15:21
vilatry increasing the timeout15:21
jamvila: changing 0.2 => 0.5 would have a strong indication on load15:21
jamrunning again, it fails in a different place, at least15:21
jelmerstianse: You can either add "/trunk" to the URL you're pushing to, and bzr-svn will push tags to "/tags/tagname", or remove the tags before pushing.15:22
vilajam: I don't intend to propose this fix, I just wanted to know if I had a fallback15:22
vilajam: I encounter the comment while setting up a new test smart server :)15:22
jamvila: if I set the time.sleep to 5.0s then it does pass15:23
jamat 1.0s, it sometimes passes, sometimes fails, and still gives: No handlers could be found for logger "paramiko.transport"15:24
vilajam: ok, thanks, that's enough for me. It means paramiko is somehow broken and should be used with caution, once I had the test rewritten, I'll get rid of the sleep too15:24
stiansejelmer, that "/trunk" in the URL was exactly what I was looking for. I didn't know about that feature.15:28
stiansejelmer, thanks for your help15:28
jelmerstianse, np15:28
bcurtiswxis there a step-by-step for a proper merge.. I keep getting Branches have no common ancestor, and no merge base revision was specified.16:06
GaryvdMbcurtiswx: Merging branches that don't have a common ancestor in quite uncommon. Is there a reason why you are doing that?16:07
GaryvdMbcurtiswx: May be you are merging branches from different projects.16:08
bcurtiswxwell, i think my issue is with getting that common ancestor16:08
bcurtiswxi branch lp:ubuntu/lucid-proposed/empathy16:08
bcurtiswxwhich is version 2.30.216:08
maxbA common ancestor naturally results from normal bzr usage16:08
maxbYou must be doing something unusual :-)16:09
vila... when faced with parallel imports :-/16:09
vila... except when faced with parallel imports :-/16:09
bcurtiswxmaxb: im not denying that, i'm trying to figure out where my stupidity has started from :P16:09
vilabcurtiswx: what is your other branch and where is it coming from ?16:09
bcurtiswxso I want to take the new 2.30.3 and merge with 2.30.2,..16:10
bcurtiswxi bzr init empathy/empathy-2.30.316:10
bcurtiswxmove file contents over, bzr add16:10
vilastop16:10
vilawrong16:10
maxbuh, yes, don't do that :-)16:10
bcurtiswxOK, so where to go from here :)16:10
vilabcurtiswx: doing that will create a different ancestry which is why you wont have a common ancestor :)16:11
vilaerr, sry, where do you get 2.30.3 ?16:11
=== deryck is now known as deryck[lunch]
bcurtiswxvila http://ftp.gnome.org/pub/GNOME/sources/empathy/2.30/16:12
bcurtiswxbottom16:12
vilaha, right, a tarball16:12
vilaso, tar xf on top of your branch unless there is a lp:empathy,16:12
bcurtiswxsorry for the newbish but what do you mean on top of my branch?16:13
vilabcurtiswx: sry, I meant, in the directory where you have your 2.30.2 branch16:14
vilai.e. you will update your working tree which is 2.30.2 with the sources that are 2.30.316:14
vilabzr st ; bzr diff; should show you what have changed16:15
maxbexcept, wait, if this is an Ubuntu packaging branch, you presumably want bzr merge-upstream16:15
vilabcurtiswx: oops, listen to maxb !16:15
bcurtiswxmy goal is to make a branch of the changes, and request a merge16:15
bcurtiswxyes ubuntu16:15
bcurtiswxmaxb: how does a bzr merge-upstream work, and whats the correct syntax?16:16
maxbI'm not very familiar with bzr-builddeb's voodoo, but I do know you definitely need to use it16:16
maxbjames_w`: You don't happen to be around, do you?16:17
james_w`maxb: I do16:17
maxbjames_w`: bzr merge-upstream confuses me, but I know it's what bcurtiswx needs to use - do you have a good initial reference to point him to?16:17
james_w`hi bcurtiswx16:18
bcurtiswxjames_w`, hi16:18
james_w`bzr merge-upstream takes a tarball and merges it in to your packaging branch16:18
bcurtiswxjames_w`, whats the correct syntax then?16:18
james_w`it does this in a way that means that it builds on the previous upstream changes, but merges in your packaging changes16:18
vilamgz: ping, I have another instance of selftest unable to complete because of a unicode error (on OSX). testtools and subunit up-to-date, Do you have something in the pipe I can try or do you want a bug report ?16:19
james_w`the basic syntax is (in the branch you want to merge to) bzr merge-upstream --version 2.30.3 http://ftp.gnome.org/pub/GNOME/sources/empathy/2.30/empathy-2.30.3.tar.gz16:19
vilamgz: or is there some existing bugs I should check ?16:19
james_w`that will then churn for a minute, then should tell you either that there were conflicts or that the merge went fine16:20
james_w`either way "bzr diff" will show you the changes bought in by the new upstream version16:20
bcurtiswxjames_w`, 'bzr merge-upstream <tar.gz file>' from the packaging branch?16:20
james_w`tweak the changelog as necessary, and make any other changes that need making, including resolving any conflicts, and then commit16:20
bcurtiswxjames_w`, thx, i will go try that right now16:21
james_w`bcurtiswx: you currently need --version as well, as it is not smart enough to infer that yet16:21
james_w`for the tar.gz file it can take any local path, or http, ftp, sftp, etc. uri16:21
bcurtiswxjames_w`, i get an "unknown command 'merge-upstream'"16:22
maxbYou need the bzr-builddeb extension16:23
james_w`bcurtiswx: install bzr-builddeb16:23
bcurtiswxhmm, thought I had that. thx16:23
* maxb wonders if anyone has thoughts on my "testtools and subunit in the ~bzr PPA" email16:27
bcurtiswxhmm, may still need some advice16:37
=== beuno is now known as beuno-lunch
bcurtiswxbzr push lp:~bcurtiswx/lucid-proposed/empathy | bzr: ERROR: Invalid url supplied to transport: "lp:~bcurtiswx/lucid-proposed/empathy": No such project: lucid-proposed16:38
bcurtiswxi wanted it to create lp:~bcurtiswx/lucid-proposed/empathy , it has before, idk why not now16:38
maxbbcurtiswx: Basically, there are two kinds of lp: URLs16:39
maxbProject, and Distro-Source-Package16:39
maxbSo, lp:~user/project/branchname, but lp:~user/distro/series/package/branchname16:40
maxbAnd then each of those has abbreviated forms for important branches16:40
bcurtiswxso i want lp:~bcurtiswx/ubuntu/lucid-proposed/empathy ?16:41
maxbno - look again at my 5-element example (most importantly, there must be 5 elements :-) )16:42
bcurtiswxso i want lp:~bcurtiswx/ubuntu/lucid-proposed/empathy/empathy-2.30.316:42
maxbNearly, but the 3rd component is just a series, not a series-pocket16:42
bcurtiswxso it doesn't matter that it will end up in lucid-proposed, i just need lucid?16:43
maxbyes16:43
maxband yes, this is a bit arcane16:43
maxbespecially since the 3-element shortcut form for DSP branches does have a series-pocket in it16:44
=== Meths_ is now known as Meths
=== deryck[lunch] is now known as deryck
mgzvila: is the OSX problem bug 625589 as well? in which case, yeah, I've got something lined up.17:53
ubot5Launchpad bug 625589 in Bazaar "babune junitxml not well formed on Python 2.7 (affected: 1, heat: 6)" [Medium,Confirmed] https://launchpad.net/bugs/62558917:53
=== beuno-lunch is now known as beuno
exarkunWhy can't I see any loom data when I check out nosmart+bzr+ssh://bazaar.launchpad.net/~exarkun/+junk/modules ?17:59
vilamgz: I don't think so: http://paste.ubuntu.com/486389/18:04
mgzah, I see. Yeah, I've hit that before and just changed this line in the bzrlib TextTestRunner:18:08
mgz  stream = osutils.UnicodeOrBytesToBytesWriter(encode, stream)18:08
mgzto add a 'replace'18:09
mgzwonder why the mac stdout is 'ascii' rather than 'utf8' like other nix boxes.18:09
vilahmmm, ascii, indeed, why ?18:10
mgz'v written code in testtools 0.9.4 that's a bit more robust about how it prints test results to stream, but didn't want to change the bzrlib code to require it till people had time to upgrade18:10
maxbexarkun: According to http://bazaar.launchpad.net/~exarkun/+junk/modules/.bzr/branch/last-loom, your loom has no threads18:11
vilamgz: mail the list, pqm should come first18:12
maxbexarkun: that is somewhat broken, as I understand it18:12
mgzvila: what does python -c "import bzrlib.osutils;print osutils.get_terminal_encoding()" give you?18:12
exarkunmaxb: The branch I pushed had two threads18:12
mgz+bzrlib.18:12
vilaexarkun: sounds like an old bug in loom18:12
exarkunLast night lifeless suggested that if I re-pushed with a new version of loom everything would be great18:12
exarkunBut I did that and it didn't appear to help18:12
maxbexarkun: Perhaps you could try pushing to a fresh launchpad branch?18:12
vilamgz: just a sec, locale under emacs (where I ran selftest) says: LC_ALL='' and the rest C, while launching a terminal properly put utf8 all over the place18:13
mgzha. that'd be the immediate cause then.18:13
exarkunHm.  Okay.  When the machine with the original branch comes back.18:13
mgzthere is a real bug with printing results to non-unicode-encoding streams though, that I'll file.18:14
maxbexarkun: based on 'bzr heads --dead' not showing anything, it appears the loom metadata has not made it up to launchpad at all18:15
vilamgz: yup, US-ASCII under emacs, UTF-8 in terminal, that maybe a bug in my setup though18:16
GaryvdMvila: I'm trying to write better tests for qlog. I just wrote this: http://bazaar.launchpad.net/~garyvdm/qbzr/log_refactor/annotate/head:/lib/tests/test_loggraphprovider.py#L4718:26
GaryvdMvila: what do you think. one thing I don't like about it is I can't easily visualise the expected data that I am specifying.18:27
* GaryvdM starts writing a printComputed method for debugging...18:31
vilaGaryvdM: argh, I've EODed, cooking right now :-/ Can you send me an email so I don' forget to look at that ?18:51
GaryvdMvila: np - ok18:52
vilaGaryvdM: but after quick glance, you want to look at branchbuilder.py and hmmm what;s the name LogCatcher ? in bt.test_log ?18:53
GaryvdMvila: I did look a branchbuilder. I will take a look at test_log.18:54
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
GaryvdMwoot! qlog data represented as unicode text: http://pastebin.com/Eruy5wnC20:33
GaryvdMAnd as ascii, for test results: http://pastebin.com/WSjGe2TJ20:34
jamGaryvdM: interesting, though the dot doesn't seem quite right in the ascii case20:35
jamor maybe it is, but it doesn't match the unicode version20:35
GaryvdMjam: I fiddled with the data to cause a failure.20:36
GaryvdMjam: In the ascii, you see 2. The second is correct20:37
jelmer'evening Gary, John20:37
GaryvdMHi jelmer20:38
jamhi jelmer20:38
mgolischif i wanted to save the changes i did to my current branch as a new branch, how would i go about that?20:43
GaryvdMmgolisch: If you have allready commited: push to new branch. uncommit & revert in old20:43
GaryvdMmgolisch: If you have not yet committed: branch. then merge --uncommited20:44
GaryvdMand revert in old branch20:44
mgolischoh i see20:44
mgolischthat was what i was looking for20:44
mgolischthx20:44
GaryvdMjam: How do you think about this: http://bazaar.launchpad.net/~garyvdm/qbzr/log_refactor/revision/132321:03
GaryvdMs/How/What/21:05
=== Ursinha-afk is now known as Ursinha
jamGaryvdM: you mean what do I think about having a DummyBranch that just proxies the graph information? It looks like it does what you want it to do21:07
jamI believe I've written similiar code myself21:07
GaryvdMjam: So doing that in a test is ok.21:08
jamthough it also makes me wonder if it would be better to have a specific function on loggraphprovider.BranchInfo that didn't require going through self.branch.repository.get_graph()21:08
jamsuch as... passing in the Graph object yourself21:08
GaryvdMjam: Or a custom version of LogGraphProvider that you can just pass a graph.21:10
jamGaryvdM: I don't know the qbzr internals all that well, but yeah, basically all you need for what you are doing is a Graph and a tip pointer21:10
GaryvdMjam: Ok - Thanks21:11
jamGaryvdM: though I guess you also are doing something with tags?21:13
jamwhat about fixed bugs, etc21:14
GaryvdMjam: fixed bugs come from the revisions, which get loaded lazyly21:14
maxbjelmer: Is a bzr-svn LogWalker iter_changes supposed to traverse copy history?21:15
jelmermaxb: yes21:16
* maxb is confused - I have an invocation with strict_node_history=False, yet I'm not seeing history traversed21:17
* maxb wonders if the Apache repository is just being *odd*21:18
=== Ursinha is now known as Ursinha-afk
GaryvdMjam: Better solution: http://bazaar.launchpad.net/~garyvdm/qbzr/log_refactor/revision/132321:30
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
exarkunI get this error when I try to push this branch with loom info to a new location on launchpad22:42
exarkunbzr: ERROR: The revision exarkun@twistedmatrix.com-20100830220539-v8ovhik3byonepog is not recorded in the loom LoomBranch722:42
exarkunWhat does that mean?22:42
exarkunWell, I guessed that it means that I should run `bzr record ''` again, and that let the push succeed at least.22:44
exarkunnot a particularly comprehensible error message though22:44
exarkunHowever, my threads are still destroyed by the process.22:45
exarkunbranching nosmart+bzr+ssh://bazaar.launchpad.net/~exarkun/+junk/modules-with-loom doesn't give me something very closely resembling the original branch22:45
mwhudsonexarkun: what version of bzr-loom do you have?22:54
exarkun2.1.022:54
mwhudsoni have to admit i've never been able to predict what will happen when i push or pull looms22:55
maxbHmm, well it's definitely possible for it to work, since I took your previous branch, pushed it to a new non-loomed branch, loomified it, and pushed it to lp:~maxb/+junk/to-loom-or-not-to-loom, and it seems intact22:55
maxblooms are woefully underdocumented. After trying for quite some time, I only finally understood them after turning to the source code22:56
maxbAfter which, I finally went "ooh, what a clever idea"22:57
exarkunWhen I branch lp:~maxb/+junk/to-loom-or-not-to-loom I get something without any threads22:57
maxbhrm22:57
maxbWhen I do, I get a loom with one thread called 'base'22:57
exarkunAh, but it works when I branch nosmart+bzr+ssh://bazaar.launchpad.net/~maxb/+junk/to-loom-or-not-to-loom22:57
exarkunBut the nosmart trick didn't help my modules-with-loom branch22:58
maxbWhy nosmart+, ooi?22:58
mwhudsonbzr show-loom sftp://bazaar.launchpad.net/~exarkun/+junk/modules-with-loom doesn't give any output22:59
maxbexarkun: Well, I'm guessing the lack of any threads listed at http://bazaar.launchpad.net/~exarkun/+junk/modules-with-loom/.bzr/branch/last-loom indicates the loom never made it up to the server successfully22:59
exarkunI heard a rumor that bzr+ssh doesn't support looms properly22:59
maxbWell, I've both pushed and branched my to-loom-or-not-to-loom over bzr+ssh22:59
maxbsmart bzr+ssh, that is22:59
maxbAre you on Ubuntu?23:00
exarkunyes, 9.1023:00
mwhudsonwhereas bzr show-loom sftp://bazaar.launchpad.net/~maxb/+junk/to-loom-or-not-to-loom does23:00
exarkunwith versions of everything from the bzr ppa23:00
maxbexarkun: hmm, interesting. Let me downgrade my bzr-loom.....23:00
exarkunmaxb: downgrade?  so you've got something newer than 2.1.0?23:01
maxbI generally run tip of trunk for most bzr plugins23:01
exarkunhey so I just pushed again to nosmart+bzr+ssh: instead of lp: and I think that helped23:02
exarkunyea, branching that, also with nosmart+bzr+ssh: gives me something with threads23:03
exarkunmwhudson: is sftp: the same as nosmart+bzr+ssh:?23:03
maxbahaha23:04
maxbUsing 2.1 my loom comes back broken23:04
mwhudsonexarkun: for the purposes of this discussion, yes, i expect so23:05
exarkunI was wondering if they indicated the same protocol23:05
mwhudsonthe bytes on the wire will be different23:05
maxbHmm, so using 2.1, my push pushed a working loom, but I couldn't branch it back until I upgraded to trunk again23:05
mwhudsonwith nosmart+bzr+ssh there's still a bzr serve process on the other end23:06
mwhudsonrather than something talking sftp23:06
exarkungotcha23:06
maxbSo it's sounding like we need a bzr-loom release23:07
lifelessdoit23:08
maxbbug 201613 sounds likely23:08
ubot5Launchpad bug 201613 in Loom "fetching looms does not work properly with bzr+ssh (dup-of: 193893)" [Critical,Fix released] https://launchpad.net/bugs/20161323:08
ubot5Launchpad bug 193893 in Loom "branching over bzr+ssh does not propogate loom threads (affected: 2, heat: 16)" [Critical,Fix released] https://launchpad.net/bugs/19389323:08
* lifeless throws the reins in the air23:08
maxbheh23:08
exarkunthanks for the help23:10

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