/srv/irclogs.ubuntu.com/2009/04/22/#bzr.txt

phinzeright that makes sense; the behavior i describe above is what's confusing to me00:00
lifelessoh right00:00
lifelessso the reason that happens is this:00:00
phinzeour entire testsuite spits out to stdout00:00
phinzeif i'm not making any silly mistakes00:00
lifelessbzr+ssh invokes bzr on the server by doing 'ssh host bzr'00:00
phinzesure00:00
lifelessso the bzr on the server, when it writes to stdout, the local bzr gets that on the socket read fd00:01
phinzeright that makes sense00:01
lifelesswhen something on the server writes to stderr, ssh cpatures that and sends it back to the client, where it goes to the ssh's std err00:01
lifelesswhich bzr hasn't redirected00:01
phinzeahh so it must be stderr that is making it through00:01
phinzeso i might be able to exploit that behavior to get my testsuite output shown to the user? :)00:02
lifelessphinze: yes, as long as you don't start serving bzr+hhtp ;)00:03
phinzeso basically add 2>&1 on the end of my commands and i'm right as rain00:03
phinzeerr00:04
phinzeother way around00:04
phinzehah, beautiful00:05
lifelessphinze: I'm going to file a bug to capture this requirement00:05
phinzelifeless: you've been incredibly helpful, great explanations00:05
lifelessits one we deferred in getting streaming up00:06
lifelessand it would be lovely to have some sort of answer for bzr+http00:06
lifelessphinze: anytime00:06
phinzeyeah an official way of handling this would be better00:06
phinzeawesome; based off james_w's code i now have a 30 line "poor man's PQM"00:07
james_wphinze: perhaps the plugin should do that00:08
phinzejames_w: where 'that' == the output redirection?00:08
james_wyeah00:09
phinzewell it doesn't look like subprocess.Popen has a clear way of doing that00:10
phinzecan't just set stdout=subprocess.STDERR (STDERR not defined)00:10
phinzestdout can be set to an int though00:11
makiolobazaar is down ?00:11
phinze            elif isinstance(stderr, int): errwrite = msvcrt.get_osfhandle(stderr)00:11
makiolocan download ? bzr branch lp:wiithon i have timeout00:12
phinzemakiolo: i branched that with no problems00:14
makiolook ...00:14
makiolothx00:14
phinzesure00:14
phinzejames_w: this works, but there must be a cleaner way? subprocess.call(command, cwd=export_dir, shell=True, stdout=2)00:16
james_wphinze: you can set stdout=suprocess.STDIN though00:16
james_werr00:16
james_wnonsense00:16
james_wyou can set stderr=subprocess.STDOUT00:16
james_wwhich is what we want isn't it?00:16
james_woh, no, I see now00:17
phinzejames_w: no, re above discussion w/ lifeless... stdout is interpreted as server communication, but stderr makes it all the way through00:17
lifelessjames_w: there isn't a way to send the data via bzr+ssh atm00:17
james_wphinze:00:17
phinzeso stdout=STDERR is what i want... but is STDERR=2 set somewhere in python for me to reference?00:18
james_wso we want to write nothing on stdout?00:18
james_wand everything on stdin00:18
phinzeas everything is working beautifully now with stdout=2... test suite runs; i see output; and if it passes, my push is accepted00:18
james_wthat's possible, but it's a pain00:18
phinzes/stdin/sterr yes00:18
phinzesigh: STDERR00:19
james_werr, yeah, I don't know what's wrong with me tonight :-)00:19
phinzetyping plague00:19
james_wredirect stderr -> stdout by calling with stderr=subprocess.STDOUT00:19
james_wso that both streams are interleaved as you want00:19
james_wthen capture stdout00:19
james_wwith stdout=subprocess.PIPE00:20
phinzeright, but stdout is not sent across the wire currently; bzr+ssh offers no way of getting it though00:20
james_wso that stdout isn't sent and you don't get the failure00:20
phinzeyeah i tried that but then i get no output on the terminal00:20
james_wthen manually output stdout on stderr00:20
phinzei have no way of accessing subprocess.PIPE from my remote bzr client... so i get no output00:20
james_wby reading from proc.stdout and using "info" on each line00:21
phinzewell then it would be all in one chunk wouldn't it?00:21
james_wor "warning" perhaps00:21
james_wboth from bzrlib.trace00:21
james_wnope, you can read per-line00:21
phinzei like how it's working now because as the testsuite runs i see the output00:21
james_wfor line in subprocess.stdout:00:21
james_w    trace.warning(line)00:21
phinzebut i have to wait for subprocess.call to complete00:21
james_wretcode = subprocess.wait()00:21
james_wthe other way would be to redirect both to a pipe, and then select on the two filehandles, and "info" the stdout, and "warning" the stderr, so that "commit -q" suppresses the normal output00:22
phinzeahh then use subprocess.Popen() rather than subprocess.call() ..?00:23
james_wyour stdout=2 might be a simple way to do it, but I don't know if that would work on windows00:23
james_wyeah Popen00:23
james_wperhaps sys.stderr would be more robust than "2"00:23
phinzeyeah you're thinking in terms of doing it the right way rather than my hacking things together :)00:23
phinzewill sys.stderr be coerced into an integer?00:24
=== ja1 is now known as jam
phinzesuppose i can check00:25
phinzeyes, yes it will00:25
jamphinze: sys.stderr.fileno() if you need it00:26
jamBut Popen() already knows about fileno() for file objects00:26
james_whi jam00:26
jamhi james_w00:26
phinzejam look what james_w gifted me: http://paste.ubuntu.com/155612/00:27
jamphinze: poor mans PQM, looks good00:28
phinzewe're just cleaning up the input redirection00:29
phinzeworks with no redirection on local machine, but over bzr+ssh stdout of testsuite iinterpreted as smart server output over wire and barfs00:29
phinzecan take advantage of the fact that stderr makes it all the way through because of ssh00:30
lifelessjames_w: info on the server won't do the right thing00:30
james_woh, of course not00:30
jamI thought there was a way to suppress stdin, etc00:30
jambut I don't see it specifically00:30
jamphinze: well, stdout *is* being redirected via ssh00:32
jamit just happens that we listed to the ssh stdout locally as bzr+ssh return values :)00:32
jamand don't directly listen to stderr00:32
phinzeexactly, so it's a bit of a hack that pushing output through stderr happens to work :()00:32
lifelessusing stderr today is your best bet00:32
lifelessI've filed a bug to enhance things to improve on that00:32
phinzelifeless: can you link?00:33
jamphinze: I would say that you could use 'close_fds' to force stdin to be closed00:33
jamhowever, that raises exceptions on windows (if you care)00:33
phinzejam: why do i care about stdin in this case?00:33
jamphinze: I would set it to "/dev/null" so that anything that wants input aborts immediately00:34
jamrather than hanging indefinitely00:34
jamI also see stuff like: http://paste.ubuntu.com/155618/00:34
jamso you may not really care about windows00:35
phinzeahh gotchya, because we're executing an arbitrarily specified command00:35
* phinze indeed does not care about windows... but wouldn't mind supporting them if it's easy :)00:37
lifelessjam: stdin=PIPE; process.stdin.close() is better00:37
jamlifeless: sure00:37
jamI thought there was a way to do 'stdin=NULL'00:37
jambut I think stdin.close() is the best you can get00:37
jamphinze: for your case, it would mean using Popen() rather than .call()00:38
jamthe other odd thing00:38
jamyou can pass "stderr=subprocess.STDOUT"00:38
jambut there doesn't seem to be a "stdout=subprocess.STDERR"00:39
jamweird00:39
phinzeyeah i know isn't it?00:39
jamas that is probably what you would want over sys.stderr00:39
phinzeyeah i went down that same path00:39
lifelessjam: was my index building thoughts mail useful to you?00:39
jamlifeless: so I'm not sure that it is N log N, I have the feeling it is N*C where C is the number of entries in a single page00:40
jamI did like the info about how many keys we read, etc.00:41
jamas for checking 'late'00:41
jamI think we need to check as we go in at least the local dict00:41
jamand then we could check during the recombine step00:42
lifelesswe currently check the local dict00:42
jamlifeless: right, we currently check both the local dict and the spilled00:42
lifelessjam: actually we don't00:42
lifelessjam: add_node checks self._keys, not the spilled indices00:42
lifelessjam: its definitely superlinear, N*C would be linear with a high constant00:43
jamlifeless: _insert_record_stream calls add_records() which calls _get_entries(keys)00:43
jamwhich goes through iter_entries(keys)00:43
lifelessI am quite sure its NlogN with a large down-scale factor00:43
jamWhich *definitely* checks everything00:43
phinzejam: better? http://paste.ubuntu.com/155622/00:43
lifelessjam: yes, thats in how we use the index though, I'm talking specifically about the contract the index offers00:44
jamphinze: looks good to me00:44
lifelessjam: I think it would be ok if it *either* errors in add_node on dupes, *or* errors in finish on dupes00:44
phinzejam: danke :)00:44
lifelessjam: erroring *sometimes* in add_node and *sometimes* in finish, depending on whether the dupe has been paged out would be odd to work with and surprising for users of the index layer00:45
jamwell, if you wanted to error always during finish00:45
jamyou would have to check during add, and queue it for a later error00:46
jamsince otherwise you are just doing dict[key] = value00:46
jamand it just overwrites the previous value00:46
lifelessjam: thats true. Ok, scratch that, erroring in both add_node and finish, depending on when the collision is found00:50
SamBjelmer: thanks for the help, btw00:52
phinzethanks all00:53
* SamB wishes someone would bother to vote for http://bundlebuggy.aaronbentley.com/project/bzr/request/<E1LupWj-0005Cp-WD%40hydrogen> -- it just adds a sentence to an error message!01:00
jfroyjelmer: sorry that I pinged you and then dropped off the face of the earth. I've been debugging a kernel panic all day :p01:10
SamBjfroy: on real hardware?01:10
jfroySamB: yeah, graphics drivers01:11
jfroy(my day job, etc. etc.)01:11
SamBnot fun :-(01:11
jfroyloads of fun :p01:11
SamBwell ... I don't find it fun to have to debug stuff like that running on real hardware ...01:11
jfroyEh, it's OK with 2 computers01:11
SamBmaybe if you have an ICE01:11
SamBor, okay, a kernel debugger01:12
jfroyyeah, using our kernel debugging facilities01:12
jfroyI haven't been able to resurrect a kernel yet though :p01:12
jfroyIt's a feat only the masters know the secrets of :p01:12
SamBI can't even do that for DOS01:18
fullermdDOS can't even do it for DOS   :p01:18
SamB(not that it's worth bothering ;-)01:18
SamB(rebooting gives better results anyway ;-)01:18
* SamB wonders if there are any kernel debuggers of the sort jfroy uses for DOS ...01:19
fullermdYou don't need a kernel debugger for DOS.  It's, what, like 20 lines of code?  You find bugs by inspection.01:21
lifelessfullermd: you can get a lot in 20 lines of forth :)01:21
SamBfullermd: er, not the one I looked at!01:21
SamBof course, that one was written in C01:22
fullermdWell, maybe later versions are longer, after they added all those decadent extra features like directories...01:22
lifelessjam: is phinx @ the drizzle con?01:22
SamBfullermd: what's the point of using a DOS if it doesn't give you directories ... okay, sure, I suppose file names are nice ...01:23
fullermdWell, that was sorta my meta-point   ;)01:23
SamBbut really, I have never in my life used DOS 1!01:23
lifelessoriginal disks were too small to bother with directories01:23
lifelesswaste of disk space01:23
* SamB is still bothered by the fixed-size root dir in FAT01:24
fullermdYeah.  Only so much room in 360k to put stuff.  Heck, I've got directories bigger than that now...01:25
SamBfullermd: you mean just the directory entries occupy more space than that, I assume ?01:28
Peng_I've got a 1,024,000k directory entry from when a program spammed my /tmp dir. :D01:31
Peng_Err, byte, not kilobyte, I suppose. :P01:32
SamBjelmer: shouldnsvn-set-revprops01:33
SamBer.01:33
SamBjelmer: shouldn't svn-set-revprops be in "bzr help svn"?01:33
wgrantSamB: Only FAT1[26] have a fixed root dir size.01:55
SamBwgrant: okay, sure. I was reading a book that didn't talk about any version of DOS more recent than 3.x, so ...02:02
wgrantSamB: Ah, that could do it.02:03
lifelessspiv: I'm still futzing around with refactoring the start of push02:56
lifelessits rather unsatisfying02:56
lamalexso i just pushed from a branch right into our trunk, instead of merging my branch and then pushing04:54
lamalexis there a way i can revert this?04:55
jfroyjelmer: I just had a thought.04:55
jfroyI am fairly certain I did an uncommit on the branch I am having trouble with.04:55
jfroyCould it be the root cause of the missing revision problem?04:56
fullermdlamalex: Find the rev that should be its head, and use push or pull to set it.04:59
lamalexfullermd: can you give me example syntax?05:00
fullermdlamalex: "cd $TRUNK ; bzr pull --overwrite -r$OLD_HEAD ."  or  "cd mybranch ; bzr push --overwrite -r$OLD_HEAD $TRUNK"05:01
fullermdThen set append_revisions_only in the $TRUNK/.bzr/branch/branch.conf to guardrail it a bit in the future   8-}05:02
lamalex:)05:03
lamalexfullermd: thank you!05:06
lifelesslater folks07:01
=== thekorn_ is now known as thekorn
BasicOSXlifeless made a funny on the mailing list :-)07:59
lifelessI did?07:59
BasicOSXresponse to my final vs rc308:00
BasicOSXI don't think additional testing will make this bug more severe. :)08:00
lifelessright08:00
BasicOSX2am that's funny to me for some reason08:00
lifeless:)08:00
BasicOSX;-P08:00
lifelessit was ironic I guess08:00
jelmerjfroy: it shouldn't but I guess it could08:57
jelmerjfroy: did you push the original branch (from before the uncommit) anywhere?08:58
=== thekorn_ is now known as thekorn
jfroyjelmer: urg sorry, just noticed your messages09:12
jfroyI don't remember if I pushed the branch to svn before doing the uncommit or after09:13
jelmerjfroy: so you didn't use anything like --overwrite when pushing?09:17
jfroyI don't believe so.09:17
jfroyjelmer: so in any case, if you need data to figure it out, just let me know.09:41
jelmerjfroy: Ok09:43
SUPERSONICXX5HOLAS09:51
SUPERSONICXX5ALGUIEN ME HECHA UNA MANO09:52
SUPERSONICXX5NO PUEDO ENTRAR EN NINGUN CHAT CASI, OPERA ME DICE QUE AHY UN ERROR CON UN DDL09:52
SUPERSONICXX5FIREFOX NO LOS CARGA09:52
SUPERSONICXX5GOOGLE CRHOME O COMO SEA VALE CALLAMPA09:52
SUPERSONICXX5Y EXPLORER ME SACA, DICE ID NO VALIDA09:53
hufare you for real?09:53
LarstiQjelmer: no, the bzr-svn at the time I filed the bug, with recent improvements I hope it is all fixed now, but I'll let you know when I try again10:05
jelmerLarstiQ: I suspect so10:46
fullermdFurrfu.  Remember those wonderful days when everybody's on vacation and the list is silent?10:54
LarstiQfullermd: I can't keep track anymore, at 1910 unread now :/10:55
fullermdHowever did we survive without 30 rounds of "No, see, it does XYZ."  "You're wrong, it does exactly what you said."  "Yes, that's my point, it does what I said."  "No, you're blowing FUD, it does exactly what you said."  [..........]10:56
yogsotothHi all! What is the good way to handle this? make a modifications m1 and commit then a modification m2 and commit in branch B. How to push only modifications m2 on a branch A?10:57
yogsotothI already made the error not making an m2 branch10:57
fullermdIn a strict sense, you can't.  The nearest you can do is cherrypick it over with merge.  There's no ancestral link behind that, though.10:58
yogsotothso bad! Thanks fullermd10:58
LarstiQor well, rebase10:59
fullermdOr use a loom.  That's just like rebase, right?10:59
LarstiQfullermd: tsk :P10:59
* LarstiQ read part of that thread yesterday10:59
fullermdDid you read at least 2 mails of it?11:00
LarstiQyes11:00
fullermdYou pretty much read the whole thing then.11:00
yogsotothok I'll look for that, thanks11:01
fullermdyogsototh: Cherrypicking with merge is almost certainly what you want.  In this case, rebase is probably just a really roundable way of doing exactly that.11:01
yogsotothI see, I can also play with bzr diff and bzr patch I suppose. Thanks11:03
fullermdThat'll end up in the same place as the cherrypick.  Using merge will be a bit simpler.11:04
yogsotothYep11:04
=== sabdfl2 is now known as sabdfl
=== thekorn_ is now known as thekorn
ricardokirknerguys.. I am trying to push to an svn repo , and I am getting a traceback13:57
ricardokirknerhttp://ricardokirkner.pastebin.com/d61d2639513:57
ricardokirknercan anyone help me figure out why this is happening?13:58
lifelessjelmer: ^ this one is for you14:01
lifelessjelmer: do you highlight on 'svn' yet?14:01
sohmestrahow do I display the revid for a given revision? bzr log --verbose doesn't show it. I'm using bzr 1.1314:11
LarstiQlifeless: I think he stopped14:13
LarstiQricardokirkner: are the bzr branch and svn repo public btw?14:13
ricardokirknerLarstiQ, no, sorry... they are internal to our company14:14
LarstiQricardokirkner: k14:14
ricardokirknerif you need any info, tell me and I will provide it if I can14:14
LarstiQricardokirkner: just enough to reproduce it :)14:14
LarstiQricardokirkner: are there merged revisions in what you are trying to push?14:15
LarstiQricardokirkner: what does bzr think the revno for the local bzr branch and what is in svn are?14:15
ricardokirknerLarstiQ, yes, there are merged revisions in there14:16
jelmerricardokirkner: one sec14:16
jelmerricardokirkner: please file a bug14:16
ricardokirknerjelmer, alright...14:16
ricardokirknerjelmer, bug on bzr, or bzr-svn?14:18
jelmerricardokirkner: bzr-svn14:18
jelmerricardokirkner: actually14:18
ricardokirknerright14:18
jelmerricardokirkner: this is fixed in a recent version of bzr-svn14:18
ricardokirknerjelmer, the thing is 0.5.3 (what I am using) is the latest version compatible with bzr 1.13 (the latest release version of bzr)14:19
ricardokirknerfor 0.6 I need 1.1414:19
ricardokirknerwhich is rc14:19
ricardokirknershould I post the bug anyway?14:19
jelmerricardokirkner: 0.5.4 is for 1.1414:19
ricardokirknerjelmer, so, in order to avoid this issue I have to use bzr 1.14?14:22
jelmerricardokirkner: Yes, it looks similar to a bug I fixed for 0.5.414:23
lifelesssohmestra: log --show-ids14:24
sohmestralifeless: thanks14:24
ricardokirknermhhh... I'll try to test it using 1.1414:24
ricardokirknerand let you know14:24
ricardokirknerthx14:24
jelmerlifeless: no, I don't do svn highlights, it would be annoying for #svn-dev :-)14:28
LarstiQricardokirkner: I'd like to know if that fixes it for you too, it looks similar to something I have trouble reproducing but my colleagues run into from time to time.14:37
phinzeso can bzr-email be used in a hook on a shared branch or is it only for client-based hooking14:37
* phinze knows about bzr-hookless-email as well but is evaluating the options14:37
LarstiQphinze: afaik, bzr-email will be used on a remote branch regardeless of client installs _if_ you are using the smartserver and have email configured for that branch14:38
LarstiQphinze: but not if people use transports like sftp://14:38
phinzeLarstiQ: cool; my group uses bzr+ssh so i think we should be good if i install it systemwide on the shared server then14:39
ricardokirknerLarstiQ, as soon as I finish testing I let you know14:39
LarstiQricardokirkner: thanks14:39
LarstiQphinze: I admit to not knowing exactly how to configure it14:39
LarstiQphinze: but branch.conf I'd think14:40
phinzeLarstiQ: yeah that's my guess... i'll try it out14:41
phinzejames_w: ping14:41
james_whi phinze14:42
phinzehey, you interested in throwing bzr-testrunner out to the world?14:43
james_wsure14:43
phinzei'm not well versed in lp-fu, but i assume it wouldn't be too difficult?14:43
james_wmaybe it should have a better name first though?14:43
james_wyeah, it's easy to set up a project for it14:43
phinzeyeah i'm at a loss for names14:44
phinzebzr-sentinel, bzr-branchguard, bzr-guardian14:45
phinzethinking something more generic to imply that testsuite is not required but any command?14:45
ricardokirknerjelmer, LarstiQ no luck. I tried with 1.14rc2 and bzr-svn 0.5.4 and 0.614:45
ricardokirknerand neither solves the push issue14:45
jelmerricardokirkner: please file a bug14:45
ricardokirknerI do that now14:45
jelmerricardokirkner:  thanks14:46
james_wbzr-canary14:46
james_walso, I'm not sure if the shell-hooks plugin makes it unnecessary14:47
james_wphinze: have you put it in a branch?14:49
ricardokirknerjelmer, the bug is https://bugs.launchpad.net/bzr-svn/+bug/36510814:58
ubottuLaunchpad bug 365108 in bzr-svn "AssertionError on push" [Undecided,New]14:58
ricardokirknerthanks for the support14:58
ivanwhy does switching branches and switching back crap all over my working tree?15:02
ivanhttp://rafb.net/p/tUZ9c479.html15:03
ivanmaybe because the branch is old :(15:03
ivanand now that I switched back I have all these conflicts, http://rafb.net/p/bfiY8c60.html15:04
phinzejames_w: just locally... latest version is http://paste.ubuntu.com/155933/15:09
james_wphinze: cool, thanks15:09
james_wphinze: bzr-testrunner seems to be the best name to me, what do you think?15:09
phinzeyeah straightforward15:10
* phinze looks at shell-hooks quickly15:10
james_wprobably still useful to save every script having to implement the "checkout the tree" bit15:12
james_wand the redirection15:12
phinzeyeah plus shell-hooks sends a bunch of arguments along15:13
phinzeyeah i think it's still worthwhile to throw out there15:13
james_wphinze: https://launchpad.net/bzr-testrunner15:16
james_wplease push your branch to lp:~bzr/bzr-testrunner/trunk15:16
phinzejames_w: will do15:20
Stavroshello15:26
Stavrosi am trying to merge from a diverged branch, how can i see the uncommited changes i had before the merge?15:26
jelmerricardokirkner: do you have a way to reproduce this bug?15:27
phinzejames_w: Paul Hinze is not a member of Bazaar Developers...15:33
phinzejames_w: looking into https://launchpad.net/~bzr/+mentoring ... ~= "fix a bug to join the club"?15:35
james_wa new team for this plugin seems like overkill15:36
phinzei would hope to contribute enough to be considered for Bazaar Developers membership... but i have not yet15:37
james_wI could push the branch up, then merge your changes as needed until you are a member15:37
james_whow would that suit you?15:37
phinzejames_w: works for me... lp:~phinze/+junk/bzr-testrunner15:40
lifelessa new team is fine15:54
lifelessteams are cheap15:54
lifelessand its appropriate if phinze is maintainer15:54
lifelessnames wise, I'd suggest bzr-testoncommit or something15:55
lifelesstestrunner is ok, but perhaps it can be improved15:55
lifeless*night all*15:55
james_wnight15:55
james_wand it's not just commits15:55
lifelessphinze: oh the bug number - Ididn't have that before, just look at bzr's new bugs15:55
lifelessjames_w: I know that15:56
ricardokirknerjelmer, sort of... I don't know when this was first introduced, but since then, (almost) every push crashes16:03
ricardokirknerjelmer, I think at some point I merged changes from two different branches and  then tried to push them to the svn repo16:03
ricardokirknerand after that the problems started, but I am not entirely sure about that16:04
jelmerricardokirkner: is it a public branch?16:13
ricardokirkner jelmer no... sorry .. it's customer private code16:14
ricardokirknerif I can run the tests you need, just tell me16:14
ricardokirknerand I tell you back the results16:14
=== ja1 is now known as jam
james_wphinze: pushed as lp:bzr-testrunner. It should be added to http://bazaar-vcs.org/BzrPlugins as well so that people can find it16:37
james_wdo you want to do that?16:37
phinzejames_w: awesome, thanks... yeah i can add it16:37
james_wcool, thanks16:37
phinzejames_w: did you want to try and mess with a group as suggested by lifeless?  or just let me bother you with merge requests :)16:40
james_wI don't mind you bothering me, but we can set up a group if you want to be recognised as an author16:41
phinzehttps://launchpad.net/%7Ebzr-testrunner <-- james_w16:46
james_wthanks16:48
james_wall changed16:48
james_wyou should have full access now16:48
phinzebeautiful, ty16:49
* SamB_irssi wonders what he should do with his debugger branch in the DOSEMU svn repository now that he's merged it back to trunk with bzr-svn16:58
SamB_irssiI want to make more debugger changes ... should I pull in trunk and make more, or delete and make a new branch, or what?16:59
LarstiQdisregarding svn backing, I'd pull trunk to debugger and then continue there17:01
* SamB_irssi wonders if he should disregard svn backing17:01
=== sabdfl2 is now known as sabdfl
Kobazis there an unmerge?17:06
* SamB_irssi wonders why sf.net isn't allowing svn:mergeinfo17:06
LarstiQKobaz: what would that do?17:07
KobazLarstiQ: undo the merge that was just done17:07
LarstiQKobaz: bzr revert?17:07
SamB_irssiwhat about the merge did you want to undo?17:08
Kobazthe whole thing?17:08
LarstiQevening bialix17:08
bialixjam: are you here?17:08
bialixheyo LarstiQ17:08
bialixLarstiQ: how are you?17:09
bialixdoes anybody knows about new dependency in 1.14: pylzma. I assume it's optional. Is it correct?17:10
LarstiQbialix: mistakenly thought it was no longer cold weather with the sun, and thus caught a cold17:11
* LarstiQ could be better17:11
LarstiQbialix: how about you?17:11
bialixah17:11
bialixtoo much work. and my daughter going to the school this year, I have to help her17:12
bialixdo you know when the jam appears here usually this week?17:14
asaclifeless: hi. now that gnome moved to git, is there any bzr-git in sight?17:19
bialixhttps://launchpad.net/bzr-git17:19
LarstiQbialix: ah, primary school?17:20
* LarstiQ would expect jam awake by now17:20
LarstiQbialix: I expect pylzma is optional too17:20
asachow good does that work?17:20
LarstiQasac: not as good as bzr-svn, but better than bzr-hg17:21
bialixLarstiQ: yes, primary school17:22
LarstiQbialix: cool, I imagine that's very exiting for her?17:23
asacLarstiQ: hmm. guess i will have to try ... thanks17:23
bialixLarstiQ: the school today seems much complex than in my time. sometimes I think it's much harder to get to the school than to University17:23
LarstiQbialix: woha. How much complexity can there be in primary schooling?17:23
LarstiQapparently more than I think17:23
LarstiQasac: I haven't used it, so I can't really make definitive statements.17:24
bialixLarstiQ: may be it's my country made it so complex. or may be I am17:24
LarstiQasac: I know people use it and developt it, but yes, trying seems best17:24
bialixLarstiQ: there is something like entrance examination17:24
LarstiQbialix: well, I don't have kids yet, so maybe I'm just ignorant :)17:24
* LarstiQ blinks17:25
bialixyep17:25
LarstiQbialix: can that be failed? And if so, what is one supposed to do then17:25
bialixLarstiQ: yes, there is very high chances to fail the examination in the good school. of course men who have enough money can ignore this17:26
bialixand there is less good schools there17:27
LarstiQbialix: ah, so the implication is that you have to go to a less good school?17:27
LarstiQright17:27
bialixthings are too complex, or at least seem so. in m time we go to the school 10 years. now it's 12 years17:28
bialixthings are changed17:29
bialixhi Gary17:29
bialixit seems jam traveling these days. (sigh) ok, will wait for his response in ML17:40
* bialix waves17:41
bialixI have questions about http://doc.bazaar-vcs.org/bzr.dev/developers/plugin-api.html17:51
bialixespecially about section "Plugin metadata before installation". why for it supposed to be?17:52
SamB_irssijelmer: can bzr-svn put in svn:mergeinfo properties retroactively ?18:04
* SamB_irssi wishes bzr viz was as good as gitk :-(18:16
lukswhat features are you missing?18:18
SamB_irssiwell, it doesn't seem to have great graph layout18:19
luksmaybe you should try bzr qlog18:19
=== ja1 is now known as jam
SamB_irssiluks: it looks like that would require too much disk space to install18:32
garyvdmHi bialix18:36
luksSamB_irssi: let me guess, gentoo user? :)18:36
ricardokirknerjelmer, regarding the svn push bug... I have some update18:38
ricardokirknersometimes the push is performed correctly (although bzr crashes) -- I can see the commit done in svn18:38
ricardokirknersometimes the push is done partially -- only a few revisions are committed and then it breaks18:39
ricardokirknerfor example, the last push I did was submitted correctly, but bzr crashes18:39
ricardokirknerI will wait until there is something to update my branch, and after a pull, it should work again18:39
=== mvo__ is now known as mvo
phinzeso... rails has some fixtures in its tests that ensure that some of its functions pull in templates properly20:21
phinzeso it has files called like template.erb~ and template.erb~1~20:21
phinzewill bzr clean-tree --detritus nuke those?20:22
garyvdmI don't know, but you can test with --dry-run20:23
sevenseekerI just updated bzr, subvertpy, and bzr-svn to the latest via easy_install, but when trying to add a file to my local working copy I receive:20:59
sevenseekerzr: ERROR: The API for "<module 'bzrlib' from '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzr-1.14rc2-py2.6-macosx-10.5-i386.egg/bzrlib/__init__.pyc'>" is not compatible with "(1, 12, 0)". It supports versions "(1, 13, 0)" to "(1, 14, 0)"20:59
james_wsevenseeker: it sounds like that bzr-svn is too old for that bzr21:01
sevenseekeraccording to http://bazaar-vcs.org/BzrForeignBranches/Subversion 0.5.4 works with 1.14, and that is what I have21:03
sevenseekermaybe it is just a config bug, I will make a backup and try editing the reqs21:03
james_wdo you by any chance have two copies of bzr-svn installed?21:05
sevenseekerchecking21:05
=== abentley1 is now known as abentley
=== Toksyuryel is now known as PingTimeout
sevenseekerah drat... yes somehow I still have 0.5.3 lurking around21:13
ja1phinze: Also clean-tree prompts before deleting21:55
ja1(sorry if I'm coming late)21:55
ja1oh, and I think our pattern is ".~1~" not "~1~" so it may ignore them21:55
ja1that said, *who* uses ~1~ in real files ... :)21:56
phinzeja1: yeah turns out rails is inappropriately *preferring* those files when selecting templates21:56
phinzebad rails21:56
* davidstrauss can't wait for the next Stephen Turnbull post to the mailing list.21:59
phinzewe've got a bug open with the rails folks though... hopefully it will be fixed soon on their end22:02
lamalexIs there a thing in bzr that does something similar to git's url config shortening?22:35
lamalexlike in git I can do git config --global url.git://git.gnome.org/.insteadof gnome: to use gnome: as the prefix for my gnome git branches22:36
lamalexthis looks like lp: so I assume I can, but is this a specific plugin?22:36
lamalexim not sure what to google for22:36
lifelesshmm22:36
lifelessI *think* the url bookmarks thing can do that22:37
lamalexhow does  launchpad do it?22:37
lifelessalso plugins can, I know jamesh did one for gnome22:37
lifelesslamalex: the launchpad plugin registers with the bzr directory service provider api22:37
lifelesslamalex: so it gets called into, and the plugin then does an xmlrpc lookup22:38
lifelessI'm not sure what to google for either :(22:38
lifelessjamesh may know if someone generalised/made configurable his plugin for gnome, he'll be up in about 3-4 hours22:39
lamalexlifeless: ok, so right now at least it's not a simple as it is with git22:40
lamalexill look at the bookmarks plugin22:40
mwhudsonit may be prejudice, but i'm not sure that git config line is entirely 'simple' :)22:42
lamalexmwhudson: but it appears to be simpler than in bzr22:44
mwhudsonin some sense22:44
mwhudsonyes22:44
lamalexand the git config line is pretty straight forward22:44
lamalexdiscoverable maybe not22:44
mwhudsonmore convenient, for sure22:44
lamalexbut looking at the line it's clear what it does22:44
lamalexand zsh autocompletes git commands, so that helps22:45
lamalexincluding the config variables22:45
lamalexyah, i <3 bzr im not here to say bzr sucks git rules22:46
mwhudsonthat completion sounds nice :)22:46
lamalexindeed22:46
* mwhudson should go back to doing useful stuff, not grousing22:46
lamalex:)22:46
james_wbzr-bookmarks can do it I think22:47
james_wwell, that's what it's intended to do, but I'm not sure how slick it is22:47
lamalexso is there /any/ kind of documentation about the bookmarks plugins? even just a "this is what it does" blog post?22:47
lamalexah, in the code22:47
james_w"bzr help bookmarks"22:47
james_wif you've installed it that is :-)22:48
lamalexright, i wanted to see what it did before installing it22:48
lamalexlooking at it in lp now22:48
james_wyeah, it's not good you have to do that22:49
lamalexagreed22:50
lifelessmemo to self, plugin-info should be able to do that22:50
lamalexeven if just the lp front page had "this is what I am"22:50
lamalexhm, bzr needs sexy zsh expansions22:51
lamalexmy TODO list seems to be ever expanding22:52
lamalexhm, it also has no usage info22:52
lamalexah, i am mistaken22:52
bob2it is relatively sexy already22:55
lamalexyah the bookmarks plugin seems to let me make a shortcut to a specific branch which is nice, but not a prefix like lp or gnome22:55
lifelesslamalex: I'd file a bug somewhere23:04
lifelessactually23:04
lifelesshave a look through bzr help configuration23:04
luksit can do a prefix23:04
luksjust bookmark the prefix and use bm:foo/path/to/branch23:05
lamalexah, i had no idea help configuration existed23:05
lamalexit doesn't show up in zsh tab expansion23:06
lamalexwhen other stuff does- hence i never looked further23:06
lifelesslamalex: anyhow luks has rescued the day23:06
lamalexkind of, i still dont see it in there23:08
lifelesslamalex: luks says use the bookmarks plugin, which won't be patching bzr help configuration (perhaps it should :P).23:09
lifelesslamalex: so bookmark gnome as <whatever> then do gnome:/foo/bar/baz23:09
luksbm:gnome/foo/bar/baz actually23:10
luksit doesn't register a new protocol for each bookmark23:10
lamalexliterally bm:23:11
lamalex?23:11
lifelessluks: ah ok23:12
lifelesslamalex: bm:BOOKMARKNAME/suffix23:12
lamalexnot as nice, but it works23:12
luksit *could* register gnome:suffix, but that would get messy pretty soon23:12
lifelessluks: it might be nice though, when people want it23:13
lamalexjust dont go crazy with it, it's not the same a bookmark23:14
lamalexbut being able to easily register a protocol is a nice thing to be able to do23:14
lifelessI'm all for allowing people to have rope23:18
lifelessas long as its not actually dangerous23:18

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