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

=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
=== jfroy_ is now known as jfroy
=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
lifelessmgz: I summon thee10:55
=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
mario-kemperhi there, does anyone know a way to keep version info up-to-date when committing changes to a branch?14:11
mario-kempersomething like subversion properties?14:12
spivPerhaps you are looking for the bzr-keywords plugin?14:12
mario-kemperah, I'll have a look at it14:13
=== naoki is now known as naoki-away
=== naoki-away is now known as naoki
=== naoki is now known as naoki-away
mgzmissed a lifeless summoning...16:29
mgzhe got some funny test failures, look fixable when the sun is round the other side of the planet again though16:29
=== naoki-away is now known as naoki
=== radoe_ is now known as radoe
=== nlisgo_ is now known as nlisgo
=== naoki is now known as naoki-away
Jerry_CottageI'd been keeping a local branch on my desktop in sync with a parent repo, ".../project_jinx/trunk".  For a bit, I switched to merging from a different parent, ".../project_jinx/bobTest16".  Now it's time to switch back.  So I do a "bzr merge .../project_jinx/trunk" and reconcile & commit.18:32
=== naoki-away is now known as naoki
Jerry_CottageThat works ok.  But if I just do a "bzr merge" in my local branch, it still reports "Merging from remembered submit location .../project_jinx/bobTest16"18:32
Jerry_CottageHow do I make my local repo forget about the "remembered submit location", and once again only use the .../project_jinx/trunk ?18:33
mgz--remember with the old location18:35
Jerry_Cottagemgz: Great, worked.  I kept trying to do a switch but that didn't work.18:37
lifelessmoin oin20:20
jelmerhey lifeless20:37
lifelesshiya20:37
mgzlifeless: I think I've resolved your issues, there might be one remaining but it's not clear what the right answer is20:43
mgzI'm happy to be told to do rearrangements by the way20:44
lifelessmgz: I know20:46
lifelessmgz: I meant20:46
lifeless'I'm not bouncing it for shallow stuff20:46
lifelessor cosmetic is perhaps a better work20:46
lifelessmgz: so, I should merge again and retry ?20:53
mgzyup, pull and test.20:53
lifelessmgz: I realised upon waking that the constructor probably has to accept bytestrings20:53
mgzif so, can just decode them there maybe?20:53
lifelessmgz: but I'd like to try not accepting them at all20:53
lifelessand giving a Warning perhaps, on requests for __str__20:54
mgzif it's like my nix box, there will still be one failure, due to... something weird20:54
lifelessheh20:55
lifelessyou'd like me to dig?20:55
mgzI'll go through tokenizer.c again later and try and work out why it's acting up on nix20:55
mgzwell, the problem seems to be simple,20:55
mgzstick a breakpoint in compat.py on ~line 195 and the line in the SyntaxError has "???" rather than "\xa7\xa7\xa7"20:56
mgzI just... am not clear on why20:56
lifelessa secret replace clause somewhere?20:57
mgzit's not really a big issue, just need to work out what the cause is20:57
mgzsomething like that, I'll check blame on the source in svn20:59
mgzmeh, yeah:21:00
mgzhttp://svn.python.org/view/python/trunk/Parser/tokenizer.c?view=log#rev5796121:00
mgzbehaviour change *during* 2.521:00
mgzpresumably arrived on the lenny 2.5 but not the mozilla 2.5 I've been using as my 2.521:01
mgzand it's bogus in this case.21:02
mgzI'll just expectedFailure it for the moment based on minor version I think21:03
lifelessmgz: btw21:16
lifelessin #subunit, there is a hudson bot that tests testtools21:16
lifelesswow21:16
lifelessdoesn't that mean it should be a unicode object21:17
lifelessrather than str ?21:17
mgzno, it's daftness, the tokenizer sets up a stream reader from the coding declaration that decodes iff the coding is not latin-1 or utf-8,21:23
mgzthen each decoded line is encoded as utf-821:23
mgzand that patch then adds some code that decodes from utf-8, and encodes back to the original encoding, for a line with a SyntaxError21:24
lifelessOMFG21:25
mgzbut overall it means when I get a line from a SyntaxError, it could be any of latin-1, utf-8, or the encoding of the file21:25
lifelesswtf wtf omg omg wtf21:25
mgzdepending on what the encoding of the file is, and what Python version it is21:25
lifelessI can't express the sympathy I have for you doing this work21:25
mgzand as debian backport things without changing the minor version, I can't even check sys.version_info I think21:26
lifelessno21:26
mgzI'll... do an end run around all this, and just re-read the file21:26
lifelessonly security stuff, as a rule21:26
lifelessbut yeah21:26
lifelessEBROKENINTERFACE21:27
fullermdAll you need to do now is put the errors into a .doc file, and email it to the user...21:27
lifelessactually21:27
lifelessyou should put it in the topic of #python21:28
lifelesswith 'not ready for use'21:28
lifelessits time for some patch reviews21:48
lifelessany reviewers around?21:55
mgzokay, back to plan b again, using linecache is a pain... man I'm glad I wrote these tests21:56
mgzalso was mistaken, the mozilla-build bundled python is 2.5.0 not .2 so it's not debian being evil with backporting things, they're different minor versions21:56
lifelessdoko is pretty good about what he accepts as chrrypicks21:57
mgzI'm still slightly screwed on knowing the encoding, but can at least use a version check, now, when did that patch land...21:59
lifelessimport insanity; insanity.python_encoding()21:59
=== davidstrauss_ is now known as davidstrauss
cjbHi folks.  I've got two distinct bzr repos that I'd like to join; one as a subdir inside the other.  What's the right way to do that?  They don't touch any of the same files, so there's no merging required.23:08
lifelessyou need to do a merge to join the graphs23:08
lifelessthe merge-into plugin was the best way to do that for a while; dunno if it still is23:09
cjbthere's no common ancestor, since they're entirely independent repos23:09
cjbah, thanks.  I'll look into that plugin..23:09
cjblifeless: it worked.  thanks again!23:18
fullermdjoin does the same as merge-into...23:19

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