/srv/irclogs.ubuntu.com/2008/10/31/#bzr.txt

ronnyi want it to be distributed with the commit its refering to00:00
Spazstrange question...00:00
Spazwhat is ubottu written in?00:00
Spazand is it open source?00:00
Spazoh it's a supybot :(00:00
* Spaz cries a bit, and forks back into the background00:00
ronnymonotone can do that just fine00:00
lifelessronny: AIUI monotone it will do that because it syncs the entire database bidirectionally unconditionally00:01
ronnylifeless: its append-only - and metadata are certified key-value pairs on the revision00:02
lifelessronny: I'm sorry, but we don't have an existing facility. What is the monotone facility called so I can look it up00:02
ronny(and it can have more than one key-value pair with the same key)00:02
Odd_Blokeronny: What would happen when the same revision was richly-tagged in two different branches at the same time?00:02
ronnylifeless: certificates00:02
lifelessOdd_Bloke: monotone's storage system is quite sophisticated, you get two tags with different certs00:03
lifelessronny: thanks00:03
ronnyOdd_Bloke: thats the way fast-forward merges with branches work in monotone00:03
ronnyi rev, n branches00:03
lifelessronny: http://www.monotone.ca/docs/Certificates.html <- the right place?00:03
ronnyjust n certificates with the key branch, and the branch names as value00:03
ronnylifeless: yeah00:04
lifelessronny: right, I've been through some related stuff before00:04
ronnylifeless: it allos to do quite cool things00:04
lifelessronny: I'll read this on the train after work; I wish I could offer you a precanned answer, but we don't have one00:05
ronnylike accept only revs that have passes a set of tests on all buildbots00:05
lifelessAFAIK neither hg nor git have precanned answers for adding-metadata like this either00:05
ronnylifeless: basically all mainstream dvc's have toy-level metadata00:05
lifelessI think its a perspective thing00:06
lifelessmonotone has a very different worldview00:06
lifelesslike darcs has a different worldview00:06
lifelessand its good to learn and consider ideas; however the challenge for bzr/git/hg in this space is that much of monotone is built up from the certificates primitive, and well, we're not.00:07
ronnylifeless: well, the core of it is the graph of files/revisions (i dont correctly understand it, but bzr's graph should be pretty close)00:13
ronnyhowever everything thats not part of the real history of files is not in that graph, but a certificate that add information (commit messages, authors, dates, ...)00:14
fullermdWhich is to say, a rather different worldview   8-}00:20
ronnybut much more sane and practical00:22
fullermdA matter of perspective.  Some people consider CVS more sane and practical too.00:22
ronnyone can just limit updates by the certificates added to an revision00:22
ronny(ie test passes, developer approval, anything else)00:23
fullermdYes, but by its very nature that means that the metadata is completely divorced from the data.  Two people could have the same revision, but have completely different ideas about how committed it, when it was committed, and what the log message was.00:24
fullermdSo you end up having to have conflict resolution procedures for that, and accepting the local-view issues.00:25
ronnyyou just dont have to care about that00:25
fullermdNeither is necessarily Right, but there are different tradeoffs either way.00:25
fullermdI'll care about whatever I wanna care about, thankyouverymuch   ;)00:26
ronnywell, its all there, and if you pull it, you keep it00:26
spivThe weather is getting warm enough that I'm starting to really notice it when I run the test suite on my laptop...00:45
pooliespiv, it's supposed to get up to 36C today00:46
pooliealso00:46
spivYeah, I saw :/00:46
jelmerlucky bastards00:46
poolieapparently batteries getting hot in a laptop while at full charge is a leading cause of early exhaustion00:46
pooliein the sense of their capacity decreasing00:46
spivMy battery is already down to ~40% capacity, but it is about 2 years old.00:47
poolieso if you want to be really frugal it's better to pull them out while on ac00:47
spivHmm, maybe not quite that bad, but pretty low.00:47
pooliethis is pretty annoying if you bump the cord though :)00:47
spivRight, which I do do :)00:47
poolieapparently it is best to store them at about 50% charge00:48
pooliewhich is a bit hard to arrang00:48
lifelessyah00:54
lifelessthere is a site00:54
lifelessthat has differnet battery types and storage levels00:54
=== sdboyer is now known as sdboyer|blaaah
AfCIt's probably best, though, to arrange for you laptop not to oops at 100% CPU when you think it's suspended before putting it in a bag and closing the zipper. There's just nothing like the smell of singed components that comes from baking your machine in constrained CPU exhaust.01:04
fullermdOh, sure there is.  Like the one time I put 120 volts across a 2N2222...01:07
lifelessthats a DC diode isn't it ?01:08
lifelessa little one01:08
fullermdNPN bipolar transistor.01:08
lifelessduh, yes01:08
lifelessI need to do more electronics I think01:08
fullermdIt lasted a good quarter of a second, I figure...01:09
AfCWhat's a few extra volts between friends?01:12
lifelessAfC: electric01:12
fullermdWell, a few extra volts presumably means a lot of extra amps   :p01:12
fullermdAfter all, a transistor is just a fuse with gain...01:14
pooliespiv, i thought i remembered multiple occurrences of _ on the lhs of an assignment giving an error in python01:16
pooliebut it does seem to work, at least in 2.501:16
lifelesspoolie: don't see why it would error, it just has to bind multiple times :)01:17
=== jamesh_ is now known as jamesh
lifelesspoolie: I think for _, _ in thing:01:19
lifelesspoolie: that might error01:19
poolieit's not a big deal01:20
spivpoolie: I dimly recall there being some case where than happens, but I can't seem to find it now.01:21
spivSo I guess it's sufficiently obscure not to matter :)01:21
spivpoolie: ok, I think I have only one more thing to do on the autopack branch01:47
spivpoolie: which is deciding what the "NotPackRepository" error on the wire ought to look like01:48
lifelessspiv: why error?01:48
lifelessspiv: if there is no return value, and its not a pack repo, just swallow01:48
spivlifeless: well, that's a possibility.01:49
spivIt is an indication that at best something weird is happening.01:49
spivBecause it shouldn't ever be trying that verb on a non-pack repo.01:49
spivNot returning an error has the advantage of being a little bit simpler.01:50
spivOk, I think I'll just not return an error, I'm happy with that.01:51
spivlifeless: thanks01:51
pooliethat's ok with me too02:11
spivOk, I've just sent the current patch to the list.02:12
spivI think this version is ready for merging as-is, so please take a look and give it a BB: blessing :)02:12
pooliei will02:37
pooliespiv, you have a handful of other patches approved for 1.902:38
poolieif you're sure of them now would be a good time, while i read this02:38
poolielifeless: so would there be any drawbacks to making 1.9 (the btree format) be rich-root only?02:41
pooliei guess conversions into it would be substantially slower as we'd have to rewrite all inventories02:42
lifelesspoolie: do the sha1's get rewritten correctly?02:43
lifelessI still don't have a clear answer to this02:43
pooliewhen the inventories are changed when fetching into a rich root repo?02:43
lifelessand yes, while the default isn't rich root, I think there are clear drawbacks to adding a new format that is a trapdoor for users on the default02:43
lifelessyes02:43
lifelessand during reconcile02:43
lifelessI don't know the status of this; I thought it was the one remaining issue; I may be wrong and its done.02:44
pooliewhat would reconcile be doing here?02:44
poolies/here/relevant to this02:45
lifelessthere are existing repositories with damaged goods02:45
lifelesswhere the revision sha1 is the sha1 of a non-rich-root inventory, but the inventory is a rich root one02:45
lifelessI have a patch I cannot land for 'check' to check the sha1's are valid02:45
lifelessreconcile can in theory detect this specific issue by converting the repository to a non-rich-root one, serialising, and if the sha then matches, rewrite the revision object to have the current inventories sha02:46
pooliecannot land the patch why? because there's no reconcile code to fix up what it finds?02:47
lifelessyeah02:47
lifelessin fact, IMO accessing inventories should check the sha1 against the revision as a matter of course02:47
lifelessbut thats different (though still dependent)02:47
Peng_beuno: ping?03:09
pooliespiv, review sent03:15
spivpoolie: thanks03:16
spivpoolie: I don't see the review anywhere?03:21
poolie:/03:21
poolietry now?03:22
spivpoolie: I see it now03:24
spivI just tested 'bzr pack' manually, and it's working ok over HPSS.03:25
spivAnd that explicit raise is correct (although it maybe it'd be worth making a self._ensure_ok(response) helper like RemoteTransport uses?).03:27
poolieok03:27
poolieplease send it to pqm then03:27
poolieit does seem kind of buggy to me that so many of the client stubs check the response explicitly03:27
poolie(i may be out of date here, i know you landed something for this)03:27
spiv_translate_error handles responses that are flagged as errors, this is checking that a successful response doesn't have garbage (which is perhaps less useful now that error responses are clearly flagged on the wire).03:27
poolieah i see03:27
spivIt's more interesting when the response may be one of a fixed set of values.03:28
spivI think maybe that the client should be more liberal and not worry about the content of responses that it doesn't use in any way.03:29
spivBut atm we're pretty consistent about doing it this way.03:29
spivOk, it's with PQM.03:31
spivI'm going to grab a late lunch.03:31
michalski-bjwhen trying to push my branch(that I own)(bzr push lp:~<username>/+junk/<project>)03:49
michalski-bjit says: bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/%7Emichalski/%2Bjunk/vector-core/.bzr/branch/lock): Transport operation not possible: http does not support mkdir()03:49
michalski-bj...03:49
Peng_michalski-bj: Run 'bzr lp-login your-username'03:50
michalski-bjok thanks, I think I remember doing this on my old pc, you should add these instructions to the error message03:51
lifelesspoolie: back03:59
michalski-bjthanks again, gotta go, bye03:59
Peng_Has that error message improved in a recent version?04:12
warren[warren@newcaprica ldm-trunk]$ bzr diff04:15
warrenbzr: ERROR: [Errno 12] Cannot allocate memory04:15
warren[warren@newcaprica ldm-trunk]$ bzr diff04:15
warren=== modified file 'src/ldm.c'04:15
warrenReally odd...04:15
warrenbzr-1.7-1.fc9.x86_6404:15
Peng_"Errno 12", huh? I wonder why that happens instead of a MemoryError?04:18
lifelessPeng_: probably a C extension04:19
lifelessPeng_: raising OSError(errno, strerror(errno))04:19
Peng_Oh, ok04:19
lifelesswarren: ^04:19
warrenmeaning?04:19
lifelesswarren: not sure about root cause; does this happen repeatedly for you?04:20
warrenlifeless: yes04:20
warrenlifeless: although not all the time04:20
lifelesswarren: there should be a backtrace in ~/.bzr.log04:21
warrenlifeless: http://fpaste.org/paste/835804:23
lifelesshmm, I don't have a browser handy04:24
lifelesswarren: could you file a bug please?04:24
warrenumm, where, how?04:24
lifelesshttps://bugs.launchpad.net/bzr/04:24
fullermd_readdir_pyx04:24
spivYay, autopack-rpc landed.04:25
lifelessfullermd: interesting; readdir is ENOMEMing? - or -04:25
lifelesswarren: actually04:25
lifelesswarren: I bet that this is a fixed bug in 1.804:25
lifelesswarren: readdir has some special needs for errno handling04:25
warrenok04:25
lifelesswe didn't have that correct in the first release of the readdir bindings04:25
fullermdSeems like it.  That's what errno 12 is on my system (though I'm pretty sure those vary a fair bit from system to system)04:27
lifelessthey're pretty stable for the common ones04:27
poolie_lifeless: i'd like you to make a 1.9 branch when my current pqm job completes04:40
poolie_approximately then anyhow04:41
poolie_if it would be much easier you can do it now04:41
lifelesspoolie_: tell me when its ready, I've made the branch, just need pull over the top04:41
poolie_kk04:41
lifelesspoolie_: I'm leaving for the train in < 10 minutes though04:41
lifelessok -> train (the 4:03 gets to town hall with at 15 to, allowing a timely walk with no crowds)04:47
spivI'm looking at a similar trip, different train line :)04:48
=== sdboyer|blaaah is now known as sdboyer
=== spm_ is now known as spm
vilahi all !07:04
* gour sent reply to 'bzr vs. git' thread07:33
lukshopefull it will not turn into a07:34
luks... into a 'bzr vs git' thread07:34
luksman, I can't type07:34
poolie_i hope so too07:35
poolie_i'll kill the thread if it does07:35
poolie_life's too short07:35
newfeatshi.  i'm trying to set the BZR_SSH variable.  how would i go about that?07:51
poolie_on windows or unix?07:52
newfeatswin.07:52
newfeatsi created my SSH keys already and IDed myself.  it suddenly then asks for BZR_SSH variable.07:53
newfeatsi'm using putty from openssh.org's site links.07:55
newfeatsgetting tired of conservatives.07:57
beuno 08:17
poolie_newfeats: (back) what message are you getting exactly?08:18
poolie_could you open something at http://answers.launchpad.net/bzr08:18
=== poolie_ changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | please test 1.9rc1 and format 1.9 | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/
newfeatspoolie_: https://answers.launchpad.net/bzr/+question/4958708:33
luksnewfeats: it's missing the main information, the actual error message08:34
poolie_ok, i took a stab at it08:37
poolie_good night though08:37
Spazhello :008:38
Spaz:)08:38
Spazhappy halloween08:38
=== vila is now known as vila-dentist
uwsUrgh09:56
uwsBzr is eating all my RAM09:56
uws  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND09:57
uws14032 wbolster  20   0 2492m 1.4g 1536 D   13 73.5   5:54.59 bzr09:57
uws2GB RAM in total09:57
Peng_That's awesome. What the heck are you doing with it?09:57
Peng_(Sorry, not helpful.)09:57
uwsjust branching a repo09:57
uwstry for yourself:  bzr branch lp:~uws/webkit-open-source/webkit.trunk WebKit09:57
uwsbzr 1.8 btw09:58
uws  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND09:58
Peng_No thanks. I've already got Firefox using all my RAM.09:58
uws14032 wbolster  20   0 2502m 1.6g 1520 R  100 79.8   6:22.60 bzr09:58
uwsAlso eating all 100% of my CPU09:58
uwswell, one of my cores09:59
Peng_Oh, that's your branch?10:01
Peng_Jeepers, how large is it to cause that?10:01
uwsPeng_: it's huge10:01
uwsit's (not even up to date) mirror of the webkit svn repository10:02
uwsFinishing pack 5/510:02
uwsYay. RAM usage dropped10:02
Peng_What does "bzr info -v" do? Download the entire indexes?10:02
uwsPeng_: on my branch?10:04
uwsbzr is now eating 100% CPU in "Build phase 0/2"10:04
uwswhatever that may be10:04
uwsai, RAM usage growing again :(10:06
* uws waits for the OOM to kick in ;)10:06
=== vila-dentist is now known as vila
Peng_uws: No, in general. I ran "bzr info -v" on your branch, and it was using a lot of bandwidth and the RAM kept growing (only to like 90 MB, but..).10:10
uwsWhat does "build phase" mean?10:10
Peng_Oh..I guess I can check the code. :P10:10
vilauws: building the working tree10:11
uwstakes 100% cpu for minutes already10:11
uwsand this is a relatively fast machine10:11
Peng_Hmm...hasn't that been improved recently?10:12
uws1.8 is quite recent10:13
uwsthe progress bar is halfway done and just advanced to "build phase 1/2"10:13
Peng_    * ``bzr co`` uses less memory. It used to unpack the entire WT into10:13
Peng_      memory before writing it to disk. This was a little bit faster, but10:13
Peng_      consumed lots of memory. (John Arbash Meinel, #269456)10:13
Peng_That's more recent than 1.8.10:13
uwsHm, good10:14
uwsBranched 29843 revision(s).10:14
uwsYAY!10:14
Peng_Yay10:14
jrydberg_hi.10:19
visik7it's been a while since I used bzr upload I don't remember how to put it through ssh I got bzr: ERROR: Unsupported protocol for url "sftp://...10:22
visik7or ssh://10:23
uwsvila: Install python-paramiko10:23
uwsvila: then sftp:// ("dumb") and bzr+ssh:// ("smart") should work10:23
visik7oh10:33
visik7and for permission there is no way to have a post command that fixes them?10:33
Pieteris ian here?11:38
james_wPieter: Ian Clatworthy?11:43
Pieteryes11:43
james_wit's the middle of the night for him11:43
Pieterah :)11:43
spivaadassdfsd12:08
Odd_Blokespiv: aadassdfsd to you too.12:09
spivOdd_Bloke: I would also have accepted "gesundheit"12:12
james_wif I have a 16000 path tree, is it going to be more efficient for bzr workingtree operations to have it split in to directories?12:13
james_wit's just a flat layout currently12:13
awilkinsjames_w: I can't see why it would be any different, personally12:29
james_wit seemed to be taking an age to read the dirstate12:31
james_wit's not so bad now though, once it's reasonably up-to-date12:31
awilkinsThis on Windows?12:31
james_wnah12:32
awilkinsI get the same ; once it's "warm" my tree of 4000 odd paths will `bzr st` in less than a second12:32
awilkinsOn *nix it's rather faster though :-)12:32
james_wthis is a rather odd tree12:33
awilkins16,000 files in one folder, yes, that's a little off12:33
awilkins*odd12:33
james_wit's not source code or anything12:33
james_wjust a bunch of log files12:34
awilkinsHeh, I can imagine12:34
awilkinsWhy, pray tell, do you version logfiles?12:34
awilkinsWould it not be just as good to incrementally back them up?12:34
james_wit was Rob's suggestion, though I think I'm implementing it wrong12:34
awilkinsSince a logfile, in my experience, is not mutable once it's finished?12:35
james_wI think it's supposed to clear the tree after committing12:35
awilkinsMeh?12:35
james_wso it's instead of logrotate12:35
james_wI'm using it as a kind of logwatch12:35
awilkinsWhat, sort of "bzr commit -m "Lots of logs" ; rm *  ?12:36
james_whmm, can't find where Rob uses it to compare12:39
james_wit's on bzr-playground.gnome.org somewhere, but I think it's hidden12:40
awilkinsjames_w: Oh, is it supposed to be renaming each rotated log to the same filename?12:51
james_wyeah, I think that's what Rob does12:51
awilkinsjames_w: that way you can compare the logs to each other based on their diff (and presumably spot anomalies easier)(12:51
awilkinsWorks ok as long as your diff viewer supports rules to ignore timestamps I suppose.(or if you set your log formats to omit them)12:52
james_wthough his is in in-process, so it just writes the log, commits, and then removes it. I can't really do that, as I have four processes12:52
awilkinsjames_w: How about - write log until finished, rename log to a file that ISNT in your ignore pattern12:52
awilkinsHave job that watches for new non-ignored files12:53
james_wyeah, that could work12:55
awilkinsI've been using it to diff my output from a program so I know if I break it (in the absence of proper unit tests /me slaps own wrist)12:57
james_w:-)12:57
awilkinsIt spits about 9000 files so it's v. useful on that score12:57
Odd_BlokeWhat are split-inventories?13:27
rockydon't suppose anyone's updating http://doc.bazaar-vcs.org/bzr.dev/en/release-notes/NEWS.html for the 1.9rc1 release?13:46
Takis there a known winstaller for a bzr-svn that works with a newer bzr than 1.5?14:03
jelmerTak: Hi14:15
jelmerTak: I think John was looking at creating one for 1.8 last night14:15
jelmernot sure what the status of that is14:15
jelmerjam: ping14:15
=== Spaz is now known as Black_Kittens
Takjelmer: hello, cool14:18
jelmerTak, btw, did you see my changes to monodevelop-bzr?14:19
Takyeah, I'm just merging them into my branch now14:19
TakI was just going to ask how things were going wrt md-bzr14:20
jelmerI'm still waiting for a new version of monodevelop to hit debian sid :-/14:21
Takheh14:22
Takthat won't happen until after mono 2.0 hits14:22
Tak"bzr: ERROR: Repository KnitPackRepository is not compatible with repository KnitPackRepository"14:26
Peng_Tak: One repo is --pack-0.92, one is --rich-root-pack.14:27
Odd_BlokeTak: And the error message has been improved, I believe. :)14:28
* Tak waiting for new bzr to hit debian sid :-P14:28
Peng_Oh, really? That's good.14:28
=== thekorn_ is now known as thekorn
jelmertak: there's new versions in experimental14:38
Takhm @ experimental14:51
Takargh, now my wc is rich-root-pack and my lp branch is an old format - how do I resolve this?14:56
Peng_Tak: Well, you could upgrade the lp branch, or you could push your current branch to a non-rich-root repo to downgrade it (probably).14:58
Peng_Err, wait.14:58
Peng_Or pull it into a non-rich-root repo.14:59
TakI tried to upgrade the lp branch14:59
Peng_I dunno. *Something* like that should work, if someone didn't go and break it.14:59
Taksome of the other branches are rrp, so it's going to be a pita if I can't convert mine somehow14:59
Peng_Tak: What happened?14:59
Peng_Tak: You might have to use the full bazaar.launchpad.net URL, and you might have to use sftp14:59
Peng_(Yes, this is a pain.)15:00
Takhmm, I tried the bzr+ssh url15:00
TakI'll try others15:00
Takok, it looks like it's going with sftp15:04
Taksuccess!15:08
Peng_Great. :)15:12
awilkinsYes, the SFTP works, I don't think the smart server does upgrades15:13
Peng_I thought that had been added recently (1.6?), just thunking over to the VFS. But that might've been something else.15:14
awilkinsHmm, which version is Launchpad running though15:14
tvainikajelmer: do you have plans to upload bzr 1.9rc1 to debian experimental?15:15
jelmertvainika, Yeah - I just wasn't aware it was out already :-)15:15
Peng_awilkins: 1.7.1rc115:16
Peng_upgrade over bzr+ssh was added in 1.6rc2.15:17
Peng_But I think there are issues with LP.15:17
james_wwhat's the "--strict" argument to testament for?15:19
awilkinsjames_w: It seems to produce a different hash15:21
awilkinsjames_w: Why this is, I'm not sure15:21
james_wyeah, that's what concerns me15:22
awilkinsTheory - the strict has includes the log comment15:22
awilkinsgit hashes include their log comments, perhaps bzr does not by deafult15:22
james_wit adds in ie.revision and ie.executable to what is hashed for each ie15:23
chrisobWhen I get a 'bzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required)' What should I check? I know there is connectivity and the user has permission (tested from another PC)15:25
awilkinschrisob: What's the server?15:26
chrisoban internal linux server, I dont know if thats what you mean though. I have only just started supporting users on it...15:27
awilkinsHmm, which protocol are you using15:28
chrisobSSH15:28
awilkinsOk, can this machine just open a plain old shell using SSH for that user?15:29
chrisobbzr info bzr+ssh://<username>@<server>15:29
awilkinsAh, how about - is this machine running ssh-agent with the appropriate key loaded15:29
chrisobwell it has no problem with another shell connection using ssh15:30
chrisobi though it could be a key problem15:30
=== sdboyer is now known as sdboyer|class
chrisobthough i dont know where it references the key15:31
awilkinsls15:31
awilkinsoops15:31
awilkinschrisob: It should just choose try all the keys in the local ssh-agent against the server and see if they work for the user you are specifying15:36
chrisobokay thought so....thanks for the help15:38
mwhudsonjelmer: bzr.dev get svn://svn.twistedmatrix.com/svn/Twisted/trunk twisted-bzr-svn16:16
mwhudsonbzr: ERROR: The branch svn://svn.twistedmatrix.com/svn/Twisted/trunk has no revision None.16:16
mwhudsonjelmer: ^ seen that one before?16:16
jelmermwhudson, yeah16:16
jelmermwhudson, what version of bzr-svn?16:16
mwhudsonjelmer: lp:~jelmer/bzr-svn/0.4/ as of a day or two ago16:17
jelmerhmm16:17
mwhudsonjelmer: i'm updating now, will try again16:17
jelmermwhudson, please file a bug16:17
jelmermwhudson, I did fix some things related to this, but more than a month ago16:24
jelmerit's actually another exception masked by an exception handler in bzrlib/builtsin.py16:24
=== lamont` is now known as lamont
mwhudsonjelmer: still happens with trunk everything17:11
* mwhudson embuginates17:11
mwhudsonjelmer: https://bugs.edge.launchpad.net/bzr-svn/+bug/29168617:19
ubottuLaunchpad bug 291686 in bzr-svn "branching twisted svn fails with "bzr: ERROR: The branch svn://svn.twistedmatrix.com/svn/Twisted/trunk has no revision None."" [Undecided,New]17:19
jelmermwhudson, thanks17:34
jelmermwhudson, isn't it like 4 in the morning in NZ btw?17:34
mwhudsonjelmer: i'm in london :)17:34
jelmerahh :-)17:34
jamasmodehn: hey, I just saw your email. The change I made isn't in 1.9 AFAIK17:42
=== sdboyer|class is now known as sdboyer
asmodehn_jam : yeah that what I realized... I am using your dev versions now to replicate what I have to ;)18:08
asmodehn_hopefully it ll go to the end this time ;)18:09
jamwell, worst case I suppose you could use rsync18:14
asmodehn_I tried that but I am not sure yet how to properly use it18:16
asmodehn_but yes for now I ll keep using your dev version ;)18:16
asmodehn_at least for the big transfers18:16
asmodehn_1.9rc1 for the rest I think18:16
=== mark2 is now known as markh
=== sdboyer is now known as sdboyer|gazpacho
asmodehn_jam : mmm doesnt finish... hit the other bug I posted to the mailnig list :-s18:51
jamasmodehn_: the ldap one?18:52
asmodehn_yep18:54
asmodehn_just sent another email with the end of the log18:54
asmodehn_but yeah maybe I should play with rspush instead :s18:56
jamso... the locking thing seems like a more significant issue that you need to resolve.18:57
jamone quick fix is to just do18:57
jambzr whoami "My User <my@username>"18:57
jamor whatever makes sense for you18:57
jamit sounds like that would fix it18:57
asmodehn_the whoami already shows the right user...18:57
jambut is it getting that "by accident" from the system, or because it is set somewhere?18:58
asmodehn_you mean I need to force it to write it somewhere in bzr ?18:58
asmodehn_bzr whoami return the current user running the command right ?18:58
asmodehn_anyway I did that and I ll run the bbranch again...18:59
jamasmodehn_: aren't you also doing something weird with "sudo/su" ?19:01
jamcould it be that the other user is not configured correctly?19:02
asmodehn_bzr whoami is fine everywhere...19:02
asmodehn_I mean return the good user19:02
asmodehn_maybe I need to "force it" so it gets stored somewhere in .bzr ?19:03
asmodehn_everywhere I mean ?19:03
=== sii` is now known as sii
ktenneyHowdy, what is the recommended bzrlib version of $>bzr revert -r1019:42
ktenneyI would suspect bzrlib.workingtree.Workingtree.revert, but don't see how to specify a revision to revert to19:42
ktenneythere is bzrlib.transform.revert(working_tree, target_tree, filenames, ... but I don't know where to plug in version numbers19:51
james_wktenney: for the transform thing I suspect you pass a target_tree which is20:10
james_wtarget_tree = wt.branch.repository.revision_tree(rev_id)20:11
james_wI suggest you look at cmd_revert in bzrlib/builtins.py20:11
ktenneyjames_w: ok, previously I was discouraged from the builtins.cmd_xxx when scripting, however in this case, preferred to the transform thing?20:19
james_wktenney: no, I'm just suggesting looking at how bzrlib implements revert might give you some clues about implementing revert20:20
ktenneyjames_w: ah, ok, thanks.20:20
asmodehn_jam: mm it looks like explicitely setting teh bzr whoami the problem has been fixed... I ll test once more though...20:24
asmodehn_jam: mm ok seems it did... bit confusing... in that case, shouldnt whoami return something more when it s not been setup in bazaar, or when the bazaar and the system result dont match ?20:38
disturbedsainthi all21:08
Peng_Shouldn't "bzr help formats" list the knit formats as deprecated?21:24
Peng_So...should using btrees on bzr.dev's repo make much of a difference performance-wise?21:30
Peng_What about something larger?21:30
Peng_Are the indices created by "bzr upgrade" fully packed and whatnot?21:39
Peng_(fully optimized, I mean)21:51
fullermdI would assume they otter be, since it's touching everything anyway.  Not that that necessarily bears on whether it does, but...21:53
Peng_Right.21:53
Peng_I tried running "bzr pack", but it took 3 seconds and did nothing.21:54
Peng_I almost want to try to pack it again, but my disk cache has been thrashed enough today.22:10
lifelessbeuno: search in loggerhead trunk is broken ?22:44
Peng_lifeless: Does "bzr upgrade"ing to btrees create them all fully optimized and eveyrthing, or should you run "bzr pack" afterwards?22:45
lifelessPeng_: they should benefit much less from 'bzr pack'22:47
Peng_Should they benefit at all?22:48
lifelessyes, there is always the latency impact of multiple pack files22:49
lifelessso packed is always optimal vs unpacked22:49
lifelessjust the index layer doesn't suck now22:49
Peng_Well yeah, but... Ignoring multiple pack files, after running "bzr upgrade --1.9", is there any reason to "bzr pack"? Will it save 5 KB of disk space or anything?22:52
lifelessno22:54
Peng_OK :)22:54
Peng_Thanks.22:54
Peng_Nice, upgrading one large repo to btrees made the indices go from 60 to 18 MB. :)23:03
disturbedsaintmarkh: are you there?23:16
markhdisturbedsaint: i am - hi!23:16
disturbedsainthi23:16
disturbedsaintbeen trying a little more, clean install and all, but not that much progress unfortunately :/23:17
markhdid you try printing win32event.__file__ just before the failing import of win32pipe?23:18
disturbedsaintdidnt get that far :/23:19
disturbedsaint"FAILED to import tbzrlib - please adjust your PYTHONPATH"23:19
disturbedsaintsince I am running from sources and dont want to install it to site-packages (for now, to keep the new install clean ;) but the tbzr dir is in sys.path23:20
markhright - the way I do things is to not try and get 'tbzrlib' in site-packages at all - just set PYTHONPATH to point at the parent of the tbzrlib directory.  I do the same with bzrlib itself - PYTHONPATH points at both bzrlib and tbzrlib23:21
markhthe *parent* of tbzrlib must be23:21
markhie, a python shell should be able to do a simple import of tbzrlib23:21
disturbedsainttried to do it in a clean way with .pth files, but that doesn't really seem to work23:22
markhset set PYTHONPATH=c:\parent_of_tbzrlib23:24
markhs/set set/just set/23:25
lifelessPeng_: :)23:25
markh(due to some magic, its not necessary for this to be set globally - just when registering the extensions - the path where tbzrlib is written to the com object's registry and used at runtime)23:26
pekujais it possible to undo a merge if there's a conflict?23:28
Peng_pekuja: If it's uncommitted, "bzr revert"?23:29
pekujaah, of course23:29
disturbedsaintmarkh: the part about it not beeing needed globally is to hard for me to grasp Im afraid :x23:30
markhum - its not necessary to try and set PYTHONPATH to point at tbzr lib in a "global" way.  Just at the cmdprompt you are using is fine23:30
pekujahow about a pull? that'd just be a matter of going back to a previous revision, right?23:30
Peng_pekuja: Well, what do you want to undo? If you want to get rid of the new revisions, "uncommit", though that doesn't touch the working tree.23:31
Peng_pekuja: You shouldn't pull with uncommitted changes.23:31
pekujaoh, right, you have to commit a pull too?23:32
pekujasorry, I'm new23:32
disturbedsaintmarkh: have to reboot, just installed tsvn, brb23:33
pekujaand I meant if I pull something, but maybe that has changes I didn't want to have... well I guess it's kinda not a real issue23:33
pekujawell, maybe if the newly pulled code breaks something without creating a conflict23:33
pekujahow would I "undo" the pull?23:33
pekujarevert?23:34
Peng_pekuja: Undo how? You could "bzr revert -r 123" to revert the working tree to a previous revision.23:34
pekujayeah, well I meant going back to how my branch was before I pulled somebody else's changes23:35
Peng_pekuja: What do you mean by that? If you want to remove the new revisions from history, use uncommit.23:35
pekujanot like undoing the actual changes, just not including them at that point in my particular branch23:35
Peng_Er.23:35
Peng_I don't know what that means.23:35
pekujaok23:35
pekujaI'm having trouble explaining it here...23:36
pekujabut yeah I think uncommit might be what I mean23:36
pekujaI just meant I'm not looking into removing the changes such that if the other user were to pull from my branch later, they'd have the changes removed23:36
pekujaso basically, a pull fetches me changes from another user's branch and commits them in my branch, while a merge will get me the changes but commit nothing? (so that I can resolve any conflicts and then commit when the code is ok)23:38
Peng_A pull makes your branch a mirror of another branch. A merge lets you, well, merge changes into your branch, without having to throw out your unique history.23:41
=== mw is now known as mw|out
disturbedsaintmarkh23:57
disturbedsaintstill get the same error23:57
disturbedsaintadded the print win32event.__file__ but where would it print to? since the error happens when opening the file-open dialog box23:58
markhis should print to win32traceutil, just above the ImportError traceback23:58
markhit should print the path to a .pyd file, and it should be the win32event.pyd next to win32pipe.pyd23:59
disturbedsaintah, got it!23:59
disturbedsaintC:\Program Files\TortoiseHg\win32event.pyd23:59

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