/srv/irclogs.ubuntu.com/2011/10/26/#bzr.txt

peitschiehi poolie btw :).  It's been a while!00:00
fullermdJeez.  I didn't even notice that.00:00
pooliehi guys00:00
fullermdThat explains why bzr keeps redistributing my files according to need...00:00
peitschieroflmao00:00
spivfullermd: funny thing for a decentralised system to do ;)00:01
spmQ: have branch A (master) and my edits to that in branch B. want to verify the diff between A and B. I typically do this as cd A ; bzr merge --preview ../B/ Is there a 'better' way of achieving this?00:06
spivspm: perhaps “bzr merge -d ../A --preview .”00:08
spivDepending on how you define “better” ;)00:09
jelmer"cd B && bzr diff -rancestor:../A" ?00:09
jelmer(if you want to see the differences new in B rather than the result of the merged tree)00:09
spmspiv: not having to have my cwd in A would be ideal. I have powers in there and avoiding even accidental pulls/merges etc is the goal. So yeah, that solutions works nicely!00:10
spmjelmer: ooo. that works nicely too. I think I prefer that. clearly a 'diff' action, vs a merge trial. ta muchly!00:11
spmand yes, want to verify that my changes are what I expected (lots of people are all working to the master, so is constantly updated). A final sanity check before I put the MP up. more or less.00:14
=== Ursinha is now known as Ursinha-afk
peitschieis there anyone here that could assist with bazaar explorer hats?02:13
peitschiei'm trying to create some custom toolbar entries (as opposed to "tools" entries), and just can't seem to get it to show up :(02:14
pooliehi spiv02:14
pooliepeitschie: i can try to help but i don't have any suggestions just off that02:15
poolieprobably i'd just try to see what's different between your configuration and what it ships with02:15
poolieor put in some trace messages to work out why they're not active02:16
peitschiepoolie: i can get the toolbar to show up if its in the user-coded file, and the button highlights when the hat is actually selected in the explorer hats window... but there doesn't seem to be any examples of people doing it in the wild that I can tell02:16
poolieso what exactly is going wrong?02:18
peitschiepoolie: thats the question :).  I'm getting a local branch of the current head now and will start with the print statements.  Basically, when the user browses to the repository screen, I want to add a new button up near the existing 3 in the toolbar that says "Create new feature"02:19
peitschiepoolie: the toolbar element appears to work when I put it in the user file directly (the one stored in their main bzr configuration)02:19
peitschiepoolie: just doesn't do anything when I put it in the hat's own toolbars.xml file02:20
poolieok02:30
pooliei don't know off hand, it may just be a bug, i'll try to help you fix it02:30
peitschiepoolie:... ahh... that'd do it.  I don't think the file is even being requested :/.  Will investigate further :)02:31
peitschiepoolie: found the problem.  Filed a bug https://bugs.launchpad.net/bzr-explorer/+bug/881783 :)03:23
ubot5Ubuntu bug 881783 in Bazaar Explorer "Hat toolbars are not displayed (though user ones are)" [Undecided,New]03:23
poolieoops03:24
peitschiepoolie: the problem is to do with the toolbar builder not refreshing after the hat is loaded... I don't have enough system knowledge to know the proper way to fix it though :(03:25
=== GRiD_ is now known as GRiD
pooliepeitschie: still here? do you want me to look into it?04:25
peitschiepoolie: i am still around :).  As I stated in the bug, I know the system cause (lazy loaded hats), but don't have a fix.  If you've got time for a fix, I'd never turn it down... I was potentially going to glance at it this weekend though outside work to see how difficult it is to rejig04:27
pooliei'll leave it with you then because i have some things in my queue already, but please do ask if you get started on it04:27
peitschiepoolie: alrighty :)... thanks for the assistance!04:30
pooliehi jam, you're up late, or early :)06:03
mgzmorning all07:07
vilahi mgz, poolie07:11
vilahi all other :)07:11
* fullermd flails around in a vaguely wave-like fashion.07:14
Merwinhi vila :)07:25
vilaMerwin: I've made progress on your bug, resolve is not the root cause, merge is07:32
MerwinPfiou, seems to be a big and complicated bug07:32
pooliehi vila, mgz08:28
mgzokay, sent a note to the udd list about yesterday's fun with the package importer08:57
ccxCZjelmer: current bzr-git claims to require dulwich 0.8.1, but I don't see that released anywhere, does that mean dev version then?09:01
ccxCZand if so should I branch you @ samba.org or at launchpad?09:02
mgzccxCZ: I hope he's asleep, but to answer your questions, yes, and either, launchpad worked fine for me09:03
poolieok, signing off now09:04
pooliemgz, good for you09:04
mgzhave a nice evening poolie09:04
ccxCZah forgot this is slow channels :] he spoke few lines back and I forgot to check the timestamp09:04
vilag'nignt poolie09:05
mgzI can help out if you get stuck, but all you should need (provided you have the right -dev packages) is the normal setup.py run for dulwich then bzr-git after removing your current versions09:06
pooliethis was fun, and should be useful09:06
ccxCZhow the hell this happened http://paste.pocoo.org/show/498354/09:06
mgzI picked something other than the stats module for a reason when I studied maths...09:07
ccxCZseems to work with --no-plugins, hope newer dulwich will fix this09:08
mgzccxCZ: ah. that looks like the latest bzr-git not liking bzr 2.4, checking09:08
ccxCZhumm, didn't help one bit http://paste.pocoo.org/show/498360/09:13
mgzsec, I'll try and repo here with your versions. you're on the very latest bzr-git and dulwich now, and bzr 2.4.1 right?09:15
vilamgz: so, it eems I was wrong about categorise-failures adding spurious jobs. What I think is happening is that add-import-jobs is the culprit. It queues imports that *may* be needed by looking at the last know publication and subtracting 10 minutes for safety. So what we probably observe are imports that already succeeded but are still retried for safety, pfew.09:15
mgzvila: that sounds hopeful09:17
vilamgz: the 10 minutes interval may be wrong (probably more like at least one hour based on my observations), but overall this scenario makes sense: the usual suspects vary in time and new ones keep appearing09:18
vilalike the one surprising us yesterday paraview or something ?09:18
Pegasus_RPGHello. How can I effect a 'bzr launchpad-logout' command and bind the branch back to the anonymous http variant?09:19
ccxCZmgz: yup, I got the bzr-git off launchpad and dulwich off jelmer's samba.org repo09:20
Pegasus_RPGnvm, I found %appdata%\Bazaar and deleted authentication.conf and bazaar.conf. That seems to have done the trick since I can now bzr bind http://blah.09:23
mgzright, all you need to delete is the launchpad_username in bazaar.conf09:23
mgzrather than the whole thing (for future reference)09:24
vilaor comment it out09:24
vilamgz: so, for the record,  right now, voms and asmix are recurring09:25
vilathere may be others but let's lazily monitor these ones ;)09:25
ccxCZvila: btw where was your gentoo cheatsheet? I had few comments on it09:26
mgzwooo09:27
mgzbzr: ERROR: Connection error: while sending GET /bzr/jelmer/dulwich/.bzr/repository/packs/b67bf1ab2764bc006a2178d144dbd819.pack: [Errno 8] _ssl.c:499: EOF occurred in violation of protocol09:27
mgznever seen that before09:27
vilamgz: reproducible ?09:27
mgzdoesn't look like I get ccxCZ's bug though09:27
mgzvila: trying again09:27
vilaccxCZ: http://paste.ubuntu.com/719529/ ?09:28
mgzvila: nope, worked second time09:28
vilamgz: which server ?09:28
mgzsamba.org09:29
vilano idea then09:30
vilanet glitch ?09:30
mgzpossible, I might file just so it's recorded09:31
mgzccxCZ: so, python2.7, bzr 2.4.1, dulwich trunk, bzr-git trunk works for me09:31
ccxCZmgz: doing the eadd on git repo?09:32
mgzno, but doing a branch over git, which is your first traceback09:33
mgzand comes from the same line in bzr-git for you.09:34
ccxCZif by first traceback you mean this: http://paste.pocoo.org/show/498354/ then that's doing bzr branch it mistakes for git.09:42
ccxCZmaybe I should disable irrelevant plugins to test it09:43
ccxCZis there way to blacklist/whitelist plugins without uninstalling them?09:44
mgz`bzr help env-variables|grep PLUGINS`09:45
vila`bzr help env-variables|grep PLUGIN` unfortunately one of them has no S09:45
mgz^that exact command works for me though, using bzr-git to branch the repo09:46
mgzlooking at the code, I'm a little mystified as to how this inheritance is working, it *looks* wrong for GitRepository to pass None to super()__init__09:47
ccxCZwhitespace delimited?09:47
mgzbut apparently doesn't break things for me09:48
mgzccxCZ: colon09:49
ccxCZhmm, it still lists them in the backtrace09:51
ccxCZokay, I typoed, seems to branch now, so it's not bzr-git's fault09:53
mgzcan you binary it down to one plugin at fault?09:55
mgzthe builtin ones should all be okay as they didn't mess things up for me09:55
ccxCZprobably some ages old forgotten plugin in my homedir09:58
ccxCZseems the bzr-svn is doing it (and that should be fairly recent version afaik)10:07
mgzccxCZ: yeah, you've got the latest version apart from the release from last night10:11
mgzccxCZ: I'd suggest filing a bug against bzr-git, with your traceback, and highlight the versions of which plugins are needed to trigger it10:12
mgzccxCZ: I'm guessing just `bzr info` in a git branch is enough to trigger it?10:12
mgzif so, post that traceback10:13
ccxCZthis happens with the latest bzr-svn http://paste.pocoo.org/show/498377/10:15
ccxCZthere was no git branch involved, it was remote bzr branch (https) somehow mistaken for git branch10:15
ccxCZjelmer's public bzr branch of dulwich to be precise10:16
mgzfileabug.10:16
ccxCZkay10:16
ccxCZthis is bzr-svn bug definitely though10:19
mgzit seems like it, and maybe a fixed one10:21
mgzbut I don't see any likely looking existing bugs10:21
mgzand given the info we've got already, pasting it all in and getting duped against something is probably still a good thing10:22
ccxCZyup, I'll paste behaviour of all combinations10:23
ccxCZlet me try on different server with and without https first10:24
ccxCZokay it's definitely https that triggers this, writing a bug10:30
ccxCZseems it's already reported: https://bugs.launchpad.net/bzr-svn/+bug/77457110:38
ubot5Ubuntu bug 774571 in bzr-svn (Ubuntu) "bzr-svn: svn plugin seems to mess with read-only basic https connection" [Medium,Triaged]10:38
mgzhm, what's the best way of merging in an older branch that doesn't really apply any more?11:51
mgzI could cherrypick individual changes, or merge the whole thing and resolve out/revert parts11:51
mgzor some other cunning scheme?11:51
fullermdWhat does "doesn't really apply any more" mean?  As in "things have diverged enough that merge is a mess", or as in "some of these changes are OBE and should be dropped"?11:58
mgzthe latter really.11:59
fullermdAh.  I don't have any excessively brilliant suggestions there.12:00
mgzbut it's different enough that merging then reverting individual bits doesn't makea great deal of sense probbly12:00
fullermdYou have the obvious additive and subtractive options.12:00
fullermdEither making a new branch and cherrypicking over the pieces to keep, or adding on to the end of the existing branch reverting the bits you want to dump, and then merging in whichever end result.12:01
mgzso, I can resolve the initial conflicts in ways that don't actually make sense without also backing out non-conflicting parts12:01
fullermd(depending on the relative scales of keep-vs-lose, and whether you care about having/not the to-lose bits hiding in the history, etc)12:01
mgzI guess there's no actual requirement that each revision makes sense with mainline-y operation12:01
mgzhm. actually thanks fullermd, the second one there is sanest and I hadn't thought of12:03
fullermdInsofar as the former (massively-divered) applies, I've found the best way of dealing with that is just incremental pullins of trunk.12:03
mgzreverting in the branch then merging makes way more sense than merging then reverting, which is what I was thinking of12:03
fullermdYeah, I always like doing as much prep as possible off to the side before worrying about doing the merge.12:05
ccxCZvila: http://codepad.org/nUKU3Qcx my comments start with #12:53
vilaccxCZ: thanks !12:59
=== zyga is now known as zyga-afk
=== Ursinha-afk is now known as Ursinha
mgzgra, paramiko upstream being dead is a problem13:51
mgzand can't work around this one by patching in ubunut as it's win64 issue13:52
mgz...I need to stop typing ubuntu like banana, the t always ends up at the end13:53
vilamgz: bananut ? :-D14:31
mneptokmgz: try typng "l-i-n-u-x" ;)14:36
=== yofel_ is now known as yofel
vilamneptok: G-N-U-/-L-i-n-u-x :-D14:37
mgzlinus doesn't distribute a copy of paramiko, I feel.14:37
mgznor gnu, for that matter.14:37
mgzubunut is quite a good name for a fan club though.14:38
mneptokor the name for a male endocrinology clinic for characters in early 20th century theatre-of-the-absurd plays.14:40
=== zyga-afk is now known as zyga
vilabug #880701 half-fixed, yes it makes sense :)15:14
ubot5Launchpad bug 880701 in Bazaar "ERROR: Tree transform is malformed [('versioning no contents', 'new-3')]" [High,In progress] https://launchpad.net/bugs/88070115:14
mgzvila: did you do the easy half or the difficult half? :)15:15
viladunno yet, but the first half was a royal pain...15:15
vilaghaaaaaa mgz pleeeeease make 2.4 pass the whole test suite ;_;15:19
vilatestools 0.9.12 compat or something15:20
mgzokay, I'm looking at that area anywa15:21
mgzy15:21
mgzit's just jelmer's hack-around got one little bit wrong15:22
* vila kneels down15:22
mgzin case I need it later: 5967.1.81..-115:22
* mgz switches15:22
mgzokay, recent testtools is the one that passes, going back to...15:23
vilahuh ?15:24
mgz0.9.515:24
vilaI'm at revno 22415:24
mgzokay, current passes, 0.9.6 passes, r224 fails.15:27
mgzfixing15:27
vilaby current you mean 230 ?15:28
mgzI guess I mean whatever I had installed, which I assumed was recent but may have been older15:28
mgzoh, I see, it's simpler than that, Jelmer's change never landed on 2.415:37
* vila bangs head15:45
* fullermd cranks up some Slayer.15:46
=== beuno is now known as beuno-lunch
viladang, the other half is *not* symmetric :-(16:00
vilaand to make matter worse, it seems to require 2 conflicts, not a single one, which in itself means more pain down the road16:01
mgzvila: fixed on 2.4, and merged up to dev, will propose both branches16:23
vilagreat !16:24
mgztook a bit of a diversion as this code should be deleted on bzr.dev shortly, but makes sense to merge fix from 2.4 for now16:24
* vila nods16:25
vilahmpf16:40
vilawhen you've tried all reasonable approaches, start looking at the stupid ones16:40
vilaso, I've got the second half fixed but it's so obscure I don't dare proposing it :-/16:41
fullermdJust make a giant pile of whitespace cleanups, and sneak it in with them.16:42
vilahehe16:45
vilathe funny thing is that the fix is roughly: don't generate a conflict because the magic will create the right one later16:47
mgzgra, too easy to mistarget branches in launchpad, especially when juggling several16:57
odin_is the version (of a package in launchpad) only set in the comment line at the start if the recipe ?  no other way to derive it (say from the git last commit date) ?16:59
odin_this shell command gives of roughtly the right version number I want to be used: date -u -d $(git log -n1 --pretty="@%ct") "+%Y%m%d%H%M%S"   # "20110930161611"17:01
=== beuno-lunch is now known as beuno
lamontspeaking of recipe builds... I need someone clueful to help me test the new bzr-builder...  any takers in jelmer's absence?17:15
wgzyou're the wrong end of the day for me I'm afraid lamont17:29
wgzand I've hit a different random failure on pqm...17:30
vilawgz: which one ?17:39
vilawgz: and on which branch ?17:39
wgzbug 882168 which was from <https://code.launchpad.net/~gz/bzr/dev_2.4_integration/+merge/80484>17:41
ubot5Launchpad bug 882168 in Bazaar "Connection refused on TestTCPServerInAThread test" [Undecided,New] https://launchpad.net/bugs/88216817:41
wgzdoc only change in dev.17:42
vilawgz: yup, known one, seen occasionally on babune17:43
vilawgz: not having different tests *exactly* for this one makes it hard to know the root cause17:44
wgzhave we got a bug already? a quick search didn't turn one up.17:44
vilano17:44
wgzk.17:44
wgzvila: oo, you have the merge fix up, looks fun17:45
vilayeah, read the log scrollback, the second half is... making the test pass ? May be the right way... a bit scary still17:46
vilabut, well, that may just be the tree transform way...17:46
wgzvila: can you eyeball the merge of my test_selftest change to bzr.dev?17:48
wgzthen I'll send the 2.4 version and that to pqm17:48
vilaI think my hesitations are captured by: I'm happy to not have to review it :)17:48
wgzehehe17:49
viladone, EODing, have fun !17:53
wgzthanks!17:56
=== zyga is now known as zyga-afk
jimishello all, is it possible to annotate from one revision until today?20:05
jimisI've tried --revision=REVNO but I think it annotates up to that revision, any ideas?20:05
fullermdYou mean to just attribute any earlier lines to $REV1?20:06
fullermdI don't think so...20:06
fullermdNot via the UI at least.20:06
wgzit's probably worth a bug report jimis, against bzr and qbzr20:08
jimisfullermd: I mean annotate all more recent lines than REVNO20:12
wgzhe got that. the question is what to do with lines that predate REVNO20:13
fullermdWhat would you do with lines that predated it?  Omitting them would be kinda a-POLA...20:13
* wgz wins20:13
jimis:-)20:13
jimisPOLA?20:13
* fullermd breaks a couple of wgz's fingers to ensure his future victories.20:14
fullermdPrinciple Of Least Astonishment.20:14
jimis:-)20:14
jimisprobably just not annotate at all earlier lines20:14
fullermdYou Expect(tm) annotate to show the whole file.  Or at least a contiguous bit of it.20:15
jimisyes show it all, but leave blank the sidebar on earlier lines20:15
fullermdBlank on the sidebar already means "same as previous".20:15
jimisso you can concentrate on the lines that interest you :-)20:15
jimisah ok20:15
wgzit might be quite easy in qbzr20:16
fullermdAnyway.  I'm not arguing against it in principle.  A proper-ish UI could be found.20:16
wgzas that already loads the file content then fills in the revision info and colours20:16
fullermdWould just take someone doing it.20:16
jimisI always use cmdline ui20:16
fullermdThe Obvious(tm) invocation would be "bzr annotate -rX..Y $FILE"20:16
jimisright :-)20:17
jimishmmm I think I found a relevant bug #70087820:18
ubot5Launchpad bug 700878 in Bazaar "bzr blame: annotate --revision takes exactly one revision identifier; ideally any arbitary range should work" [Wishlist,Confirmed] https://launchpad.net/bugs/70087820:18
wgzthat looks likely, +affectsmetoo it20:20
=== zyga-afk is now known as zyga
jimisanyway thanks guys, hopefully someone will look into it :-)21:37
pooliehi all22:18
Noldorin_hi poolie22:22
pooliehey there22:22
Noldorin_:-)22:22
Noldorin_hmm, funny timing.22:22
Noldorin_seems i'm having trouble with pulling from LP with 2.5b2:22:23
Noldorin_bzr: ERROR: Unable to connect to target of bound branch BzrBranch7(file:///C:/Users/Alex/Documents/V22:23
Noldorin_isual%20Studio%202010/Projects/IrcDotNet/0.4/) => bzr+ssh://bazaar.launchpad.net/~noldorin/ircdotnet22:23
* poolie tries22:24
Noldorin_just a standard bzr pull lp:ircdotnet/0.422:24
poolieseems to work for me22:27
pooliedo you get a traceback in ~/.bzr.log22:28
poolieBazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: mgz22:42
Noldorin_poolie, http://pastebin.com/qtgm59ny22:42
pooliedoes 'bzr info bzr+ssh://bazaar.launchpad.net/~noldorin/ircdotnet/0.4/' work?22:43
spivNoldorin_: lp:ircdotnet/0.4 is ~ircdotnet-dev/ircdotnet/0.4, not ~noldorin/...22:44
spivNoldorin_: so I'd guess the problem is the remote branch has moved rather than your bzr version.22:45
Noldorin_spiv, poolie ah darn. i changed the branch owner after binding it locally... my bad, sorry!22:45
Noldorin_spiv, thanks for that22:45
spivNoldorin_: you're welcome!22:45
pooliehi spiv22:57
pooliebiab22:59

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