/srv/irclogs.ubuntu.com/2010/05/23/#bzr.txt

=== joerg is now known as Guest15623
aroseIs it possible to separate a file into two or more pieces in a way that bazaar is aware that it's not just some code deleted in one file and other code created in a new one?03:49
exarkunarose: What if you 'bzr copy' the file and then edit each?03:50
aroseSounds like that would work, thanks03:50
arose...is there a 'bzr copy'?03:52
exarkun:(03:55
exarkunnot sure why I thought so, I must be mixing up systems, sorry03:55
aroseI guess not quite yet, finally found info on it, so in that sense "bzr copy" helped http://wiki.bazaar.canonical.com/BzrFileCopies03:59
exarkunUghh04:37
exarkunThe Windows installer fails with a "Runtime Error!"04:37
exarkunR603404:37
exarkunActually, it fails with about a thousand of them.04:38
exarkun... each has to be dismissed individually04:38
exarkunShould I be trying to make bzr-svn use python-tdb on Windows too?  Or is that beyond the realm of conception?05:57
mgzhm, two interesting things since last I were here.10:14
mgzalexander hit the testtools traceback-isn't-unicode issue (good news there, nearly done with fix)10:15
mgzand a twisted guy has a french nix system (bit more work, getting non-english errors printing correctly is also on my list)10:17
lifelessmgz: cool10:48
mgzon the less cool side of things, bug 583941 ...ugh10:50
ubot5Launchpad bug 583941 in Bazaar "program crashes with "bzr: ERROR: socket.error: (4, 'Interrupted system call')" (affected: 1, heat: 56)" [Medium,Triaged] https://launchpad.net/bugs/58394110:50
lifelessuhmm10:51
lifelessthat 56 would be better as 56/TOP10:51
lifelesswho runs ubotu again10:51
jpdslifeless: tsimpson on #ubuntu-irc.10:53
lifelessmeh, that channel mocks people10:53
lifeless:P10:53
lifelessand its sunday evening ;)10:54
mgzokay, actually that bug isn't our problem.10:54
mgzcan I dupe something against a Python bug?10:55
mgzor is even launchpad not that amazing yet...10:55
lifelesswhat you do10:56
lifelessis click on 'affects other project'10:56
lifelessadd the url there to the python upstream bug10:56
lifelessand mark our task as you think is appropriate10:57
mgzhm, this is actually a little complicated, better explain in a comment10:58
mgzwow, that... picked up the bugs from my comment?11:08
lifelessno?11:10
mgzthere's a "Remote bug watches" thing on the right, with the bug numbers11:10
lifelessah, yes. nice11:11
mgzmight be something else to bug exarkun about, he landed the other socket bug for us, getting the fix for <http://bugs.python.org/issue1628205> on 2.6 as well would be great11:17
lifelessexarkun: ^11:19
=== Pilky_ is now known as Pilky
exarkunlifeless: http://buildbot.twistedmatrix.com/builders/winxp32-py2.5-select/builds/8/steps/bzr/logs/stdio :)15:28
exarkunlifeless: maybe we can trade15:28
spivexarkun: get one builder to do the conversion from svn, and have the rest branch from that?15:31
* spiv -> zzz15:31
mgza trade is fair :)15:33
mgzand that looks like a straight-up bug in bzr-svn on windows15:33
mgzthe retrying thing is bogus though15:33
exarkunI need a little more info about <http://bugs.python.org/issue1628205> though.  The last few comments sound like "fix applied" to me.15:33
mgzit is applied, on trunk.15:34
mgzhttp://svn.python.org/view?view=rev&revision=7442615:34
mgzI'm right in thinking that the next 2.6 is going to be the last bug fix release, right?15:34
exarkunPeople have said stuff to that effect, I think15:35
exarkunSo, backport the fix, gotcha15:35
exarkunThis patch looks super awesome15:36
exarkunMy favorite part so far:15:36
exarkundel data  # explicit free15:36
jelmer_mgz: it's a known issue with sqlite caching on windows15:38
jelmer_mgz: unfortunately there isn't really a good way around it with sqlite15:38
mgzthat is a little special, and ideally all this catching and retrying would happen at the C level in Python15:38
mgzbut... that's been an open bug since 2002 or so.15:38
mgzgot a bug number jelmer?15:39
jelmer_52069415:40
mgzta.15:40
=== jelmer_ is now known as jelmer
mgzokay, so a fix for twisted would be to serialise bzr-svn operations on windows15:43
jelmermgz: the proper fix is to use a caching format that allows multiple concurrent writers; I have a plan on how to do this using bzr pack files15:45
exarkunwhich I could try to cobble together in an ad hoc way inside my buildbot configuration... or which bzr-svn itself could try to enforce on windows, where concurrent access is known to always be broken?15:45
jelmerbut serializing bzr-svn operations is a good workaround15:45
mgzhttp://bugs.python.org/issue210599 was the one I was thinking of16:02
mgzthe current signal/interrupt semantics in Python make it close to impossible to both 1) use signals, 2) use the standard library, and still write correct code16:03
jelmerah16:04
exarkunmgz: Providing sensible semantics for combining blocking I/O and asynchronous signals might be beyond Python.16:10
LorPretty much any language, except Haskell.16:31
exarkunCould be16:59
exarkunmgz: issue1628205 backported to release26-maint, in any case16:59
mgzthanks!17:02
mgzI owe you some well-handled french OSError messages.17:04
=== radoe_ is now known as radoe
mkanatOkay. I have local commits, I do bzr up, and I get a cryptic: bzr: ERROR: [Errno 13] Permission denied18:33
mkanatThis is with 2.1.1.18:33
mgzlook in your .bzr.log for the full traceback18:42
mkanatmgz: Yeah, I realized that.18:43
exarkunAnyone seen tree corruption on Windows with 2.1.1?19:06
jelmerexarkun: what do you mean by tree corruption?19:10
exarkunA file in a checkout has extra garbage at the end of it.  Perhaps bytes that belong to another file.19:11
exarkunLooking for possible causes other than bzr now, though.19:11
mathbrHi. Is there some way to have --show-diff enabled by default for commits? I couldn’t really find an option for bazaar.conf.19:39
cbzjelmer: i have an odd problem where - for some reason - bzr-svn decided to commit a bunch of files to which there had been no changes. this was across a rebase operation (those files had been changed in the main branch - though other files had been changed too and were not committed). This only appears in the local repository19:39
jelmercbz: I'm not sure I follow - the files were actually changed incorrectly?19:40
cbzjelmer: the files had been updated in the svn branch upstream. A subset of them show up in my commit after the rebase operation19:41
jelmercbz: so what did bzr-svn do incorrectly exactly?19:48
cbzjelmer: i assume for some reasonnwhen bzr-svn pulled the files down (they are binaries btw png files) the modified time was marked incorrectly, which is why commit thought they were new?19:50
cbzor rather 'updated)19:50
jelmercbz: modification times aren't used anywhere20:07
cbzodd - i wonder why commit thought they had been updated then20:07
=== Guest15623 is now known as joerg
lifelessexarkun: extra bytes - not that I know of20:29
jelmercbz: how do you tell they've been modified?20:29
jelmerif they haven't actually changed in content I mean20:30
cbzjelmer: i don't, bzr (q)commit tries to commit them20:31
cbzor actually commited them20:31
jelmercbz: what changes does it claim they have?20:35
lifelesspoolie: morning!20:43
pooliehi there20:44
lifelessjetlagged ?20:44
pooliea bit20:44
lifeless:P20:44
cbzjelmer: when i double click it says the files are identical (the change has already gone in)21:19
poolielifeless, https://code.edge.launchpad.net/~mbp/bzr/doc/+merge/25400 updated if you want to reread it; not urgent21:46
=== poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: lifeless | bzr 2.1.1 is out
poolielifeless, btw, you're it this week for pp21:47
lifelessthanks21:55
lifelessI have another small tweak up for hydrazine btw21:56
pooliei'm going to finish an output_encoding option for bialix21:58
lifelesspoolie: your doc branch22:31
lifelesspoolie: I've commented -twice- - the second one is just 'please mention commit messages on merge proposals' ;) but it should be landed22:31
poolieok, i just asked again because you said you only scanned it22:33
lifelessah22:33
lifelessif you want a line by line review I can, but it seems to be largely moves, which is a pain to deal with IME22:34
lifelessI'm inclined with large doc changes to get them in and deal with fallout as it is discovered - a lot more mutable than code.22:34
mgzugh, I need to commit something here before this diff gets any bigger22:35
mgzit's already nightmarish22:35
mgzRobert is going to hate me.22:35
lifelessno22:35
lifelessI don't hate contributors22:35
lifelessI may find it hard to review.22:35
poolielifeless, i agree about the moves and about docs22:42
poolieit's easier to read the whole resulting product and see if it makes esnse22:42
wapcapletHello all. Long time bzr user, first time caller :-) I recently started using bzr-svn, and noticed that when I use 'bzr log', it reports the svn revno for everyone else's commits, but not for my own commits. Anyone know what's up with that?23:05
lifelesswell, you're probably committing locally, in bzr ?23:05
wapcapletlifeless: I don't remember exactly how I originally branched, but my commits are going straight to svn23:06
lifelesscould you run 'bzr info' in your branch, and paste it somewhere23:06
lifelessif there is stuff you want to obfuscate thats fine - just keep the sense of it intact23:07
wapcapletsure - http://pastebin.com/M4mJFxzm23:07
wapcapletnot sure what's up with that related branch... that was from a while ago23:07
wapcapletIIRC, I originally checked out like 'bzr init-repo tovid; cd tovid; bzr checkout svn+ssh:// ....'23:11
lifelessok23:11
lifelessyou have a local reop23:11
lifelessreop23:11
lifelessthat is getting your commits23:11
lifelessand then they are translated to svn commits23:11
lifelessso your commits *start* in bzr and don't get an svn revno attached as a result23:12
wapcapletaha23:12
lifelessyou could file a bug, if you like - this is in principle fixable23:12
lifeless-> bank for a few minutes.23:12
wapcapletsvn has a similar quirk of its own... the revno of the last commit isn't correctly reported until after doing an 'svn up'23:14

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