/srv/irclogs.ubuntu.com/2008/05/02/#bzr.txt

lifeless2.4.200:00
ig1morning00:01
=== ig1 is now known as igc
vilalifeless: bingo ! I can reproduce it with python-2.4.400:09
lifelesscool00:09
vilanot accpepting interrupts though :)00:09
lifelessspiv: ping00:47
=== i386_ is now known as i386
spivlifeless: hi, just about to dive into your review00:55
lifelessspiv: thanks00:56
lifelessI have an updated deprecations patch01:05
lifelessand I missed a couple of trivial uses of vf.join()01:06
bob2http://blog.red-bean.com/sussman/?p=9001:12
lifelessspiv: if you want to talk about the branch I'm happy to do a clal01:12
igclifeless: thanks for the detailed response to my filtering brain dump01:21
lifelessigc: eh, that was just a off the cuff :)01:21
igcnp - I'm reviewing jam's patch right now and I'll digest your wisdom after that :-)01:22
lifelessigc: I haven't had time to give a proper analysis, but its a complex problem to do really well which is why I was so keen for us to layer it with the minimum01:22
igclifeless: Agreed. I'll move the conversation to the mailing list so others can chime in as well.01:24
poolieigc, i think it may be ok to not worry right now about how to reapply all your filters to the tree01:48
poolieperhaps it does need to be fixed before we really announce it01:48
igcpoolie: ok. I'll send an email anyway to give people time to think about it how it ought to work01:49
pooliemm01:49
pooliei should probably not think about it today, have too much more urgent stuff01:49
igcpoolie: np - I can't implement a solution till next Tues at the earliest anyway01:50
lifelesspoolie: igc: I think we need *a* method to reset a tree to the current filtered contents02:03
lifelessif 'bzr revert' did nothing, it would be most frustrating for people :)02:04
pooliei agree02:14
poolielifeless: but things like update that normally do a 3way merge will be more difficult - they don't have the output from the old filter to merge against afaics02:15
poolielifeless: re your patch02:15
poolieremoving deprecated code02:16
poolieis there a current equivalent to MultipleRevisionSources?02:16
poolielike if we wanted to fix the problem of missing doing a fetch, is that easy with the current apis?02:16
lifelesspoolie: 'update' should be fine as long as you reset the tree to match the filters before you update02:17
lifelesspoolie: because it will always be merging the canonical forms02:18
lifelesspoolie: MultipleRevisionSources is already unused02:18
lifelessand deprecated02:18
lifelessgraph.ParentsProvider has cleaner functionality02:19
igclifeless, poolie: email sent to the list now on this topic02:24
igcI need to focus on reviewing jam's patch right now so I'll digest everyone's input next week02:25
poolielifeless: yes i saw it was deprecated02:32
lifelessspiv: updated patch sent; trivial changes02:38
spivlifeless: thanks02:38
lifelessspiv: how is it looking ?02:40
spivPretty good.02:40
spivNo fundamental "wtf" issues :)02:41
spivSo far, anyway ;)02:41
=== poolie changed the topic of #bzr to: Bazaar version control system |
=== poolie changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org/ | bzr-1.4 out, May 2
hersonlspoolie: New bazaar version now?02:44
hersonls:D02:44
spivpoolie: hooray!02:52
spivpoolie: I'm about to head off to your place... should we meet for lunch?02:52
pooliespiv, sure, call me when you get to the station02:54
pooliehersonls: yes02:54
pooliespiv, i may not be able to work on hpss right away but come on anyhow02:55
hersonlspoolie: Good :D02:55
spivpoolie: ok02:56
lifelessspiv: review is done ?02:57
spivlifeless: not yet, will continue on the train02:59
lifelessok02:59
abentleylifeless: spent any time in Dunedin?03:26
lifelessabentley: born and bred03:27
abentleyI'll be there on Sunday.  Anything I should see and/or do?03:28
lifelessthe city gardens are beautiful03:28
lifelessthey have some of the rare and endangered bird species there03:28
lifelessmmm winter, won'y suggest sandfly bay03:28
poolieabentley: when i was there i went out on the peninsula south of town03:29
lifelessthe albatross colony might be open though, thats well worth a visit; and if you like beaches head out to the spit03:29
abentleySandfly bay?  That sounds kinda ominous.03:29
pooliethey have penguin and albatross nests03:29
poolieand giant sheep03:29
lifelesspoolie: thats NE of town :)03:29
pooliemaybe it moved :P03:29
abentleyCool.  Thanks for the suggestions.03:30
lifelessthere are a number of nice lookouts, the one back of the quarry has a particularly good view of the city03:30
lifelessheading up mt cargill can be nice too03:30
lifelessits a uni town, I'm totally positive you'll be able to find an open mic as wlel03:31
abentleyHehe.03:31
lifelessreally, I think its something like 10% population is floating students03:31
lifelessthe whole place ebbs and flows to the university holiday schedule03:32
mwhudsonit's like the last week of term i think03:32
mwhudson(at least it is at massey)03:32
abentleyHmm.  Yeah, I guess the only real university town I've been to is New Haven, Connecticut.  Toronto and Montreal have universities, but they're also big cities.03:34
lifelessoh,if the mei wah fish and chip shop is open, or the golden sun beside it, try some. One if unforgettably terrible, and one unforgettably good (or was 12 years ago).03:34
lifelessI won't tell you which is which :)03:35
abentleypoolie: congrats on the 1.4ness03:36
pooliethanks, sorry for the delay03:37
poolienow for pqm toil03:38
pooliefortunately it is getting more automated each time - i just sent a patch deleting more steps from teh RM guide03:38
abentleylifeless: I'm a bit surprised common_ancestor is deprecated.  I believe I'm still using it in graph-ancestry.03:38
lifelessabentley: deprecated in 1.403:39
abentleyAh, I'm actually using node_distances and select_farthest.03:40
lifeless:)03:41
poolieabentley: have a good trip btw03:45
abentleypoolie: Thanks.03:45
poolieabentley: if by any chance you're still here: what was the case with lp push or pull that was slow for you?04:29
lifelesspoolie: bzr branch <the code of launchpad itself>04:30
lifelesspoolie: over hpss04:30
lifelesspoolie: I think his mail didn't discriminate enough between using lp, and being lp :)04:31
lifelessspiv and I are aware of this and have both done some analysis04:31
poolieinto an empty repo?04:31
lifelesspoolie: no repo04:31
lifelesspoolie: call ?04:31
poolieok04:31
abentleypoolie: It was branch04:38
abentleypoolie: I'm in the middle of repeating it for you.04:39
abentleyBut the whole process takes > 1 hour04:39
* igc lunch and pick up kids -bbl04:55
abentleylifeless: I'm a bit lost on how to change ReconcilePacker to update sha1s.05:02
lifelessabentley: indeed05:10
lifelessabentley: it needs to override the revision bulk copy and have it occur after the inventory copy; during the inventory copy you'll need to determine what the correct sha1s are05:10
lifelessa subclass for the case where this is needed may be appropriate05:11
abentleyIn order to update the sha1s, I need to know the correct serializer, so I need the repository.  Which seems like a layering violation.05:12
lifelesswell the repository chooses the reconciler etc05:13
lifelessso it can pass in the serializer (though isn't the sha1 on disk always the correct one now ?)05:14
lifelessoh! it needs the revision serialiser05:14
lifelessI definitely think a subclass is appropriate here05:14
abentleyThough perhaps if I need the repo anyway, I should be using repo methods.05:27
abentleylifeless: Is there any easy way of reading/writing fulltexts from a PackCollection?05:44
lifelessyes05:44
lifelessone sec05:44
lifelessyou instantiate a KnitVersionedFile on the pack and a GraphIndex (for revisions|signatures|inventories|knits)05:45
abentleyI can do that on a single pack, not the PackCollection?05:46
lifelessto read the old revisions I would do use the existing repositories iter_revisions or whatever05:46
lifelessyou can, but there is no guarantee that you can read a given uncompressed text from a single pack05:47
lifelessbasis texts may well be in different packs05:47
lifelessFor reading revisions I would use the repositories methods05:47
lifelessfor writing them serialising and adding is probably cleanest (see the output_knit variable around line 1062)05:48
abentleyNot important for this case, since revisions are not (supposed to be) delta'd.05:48
lifelessthe existing reconcile code does 'repo.weave_store.get_weave(file_id, transaction) to read texts05:48
lifelessthat is by far the simplest way05:48
abentleyOkay, thanks.05:49
spivlifeless: review heading your way05:57
lifelessthanks06:01
spivHmm, or at least it will be once I sort out my mail delivery...06:01
lifeless:P06:07
jrydbergmorning you hackers.06:14
lifelesswhere, where?06:14
jrydbergthere, there.06:14
jrydbergsup robert?06:14
lifelessspiv: short story, is it tweak? bounce? approve?06:14
spivlifeless: tweak06:15
rockstar_Morning?  It's 2300 here!  :)06:15
lifelessjrydberg: VersionedFiles is taking shape06:15
lifelessrockstar_: wait 46 minutes06:15
pooliestarting ppa rebuild of 1.406:15
spivlifeless: but if you want to bounce up and down, I won't stop you ;)06:15
jrydberglifeless: Finally.06:15
lifelessjrydberg: well, there was a bunch of prep work to do :)06:15
lifelessjrydberg: how are you, haven't chatted in -ages-06:15
jrydberglifeless: hehe.06:16
jrydberglifeless: i'm fine, i'm fine.  just trying to use computers are little as possible in my spare time.  noticed that it helps my motivation at work.06:16
pooliejrydberg: heh, me too :)06:19
poolieor at least i am trying to be careful of that effect06:19
jrydbergi've turned to photography instead.06:19
jrydbergequally geeky, less computers.06:19
lifelesswell thats 8 hours poolie06:19
lifelesspoolie: so I'm calling it till Monday06:19
lifelessjrydberg: this is my solution, to be self strict about work | hobby time06:20
spivlifeless: you should have that mail now06:20
spivabentley: thanks for that log06:20
abentleyspiv: No problem.06:20
lifelesswell, I'll reply first :)06:21
lifelessthen call the day06:21
poolielifeless: can you read this one mail i'm going to send first? :)06:23
poolieabout PPAs06:23
lifelessI think beta is overkill06:43
lifelessjust use snapshot for betas06:43
lifelessIMO06:43
* lifeless waves06:44
=== quicksil1er is now known as quicksilver
igcnight all - have a good weekend08:53
igcback Tuesday for me08:53
=== c1|freaky_ is now known as c1|freaky
=== quicksil1er is now known as quicksilve
=== quicksilve is now known as quicksilver
vilaok, I narrowed down my pqm hanging scenario, reproduced on gutsy with:11:14
vilapython2.4 bzr selftest bzrlib.tests.test_strace.TestStrace.test_strace_callable_is_called bzrlib.tests.test_strace.TestStrace.test_strace_callable_result bzrlib.tests.blackbox.test_serve.TestBzrServe.test_bzr_connect_to_bzr_ssh11:14
vilaany advice greatly appreciated while the diagnosis continues ;-)11:15
* fullermd has none whatosoever.11:16
vilafullermd: thanks for the warm moral support :-P11:18
* fullermd is helpful like that :]11:19
fullermdstrace does sound like a good candidate for twisting up a machine, though.11:20
vilathe puzzling bit is that I submitted a  patch that first glance has strictly nothing to do with strace :) Neither at second glance FWIW11:24
vilaand to make it funnier I can reproduce it on a single machine only while, still at first glance, the two are gutsy installs :)11:25
fullermdWith strace installed?11:25
fullermdI know the tests skip without it (I don't have it installed)11:26
vilafullermd: excellent idea ! But both have the same version installed11:26
vilaboth says 'tests passed' (i.e. really late, nearly before exiting) but one hang after that11:27
fullermdWell, maybe strace isn't standard-installed, but one has it chosen as additional.11:28
fullermdI could believe that strace enables something that runs at cleanup time, so that could cause a late hang.11:29
fullermd(of course, I'm in pure speculation mode here, so I could well be making it up as I go along too  :)11:29
vilaI don't remember if I installed them myself, but that was through synaptic anyway, so both installs should be correct, but looking at the code I suspect something related to 'import subprocess' since these tests use that, there may be some weird interaction11:34
vilaI think my patch just revealed a latent bug11:35
vilatest_bzr_connect_to_bzr_ssh has several 'XXX' anyway11:39
vilaspiv: are you still around by chance ?11:39
fullermdGreat, you broke him.11:56
vilafullermd: damn :)11:59
fullermdThat's talent.  You exposed a latent bug in bzr _and_ spiv at the same time  ;)12:02
vilafullermd: lol, I will meditate about that during lunch :)12:33
jsledI've a shared repo, with a branch 'trunk'.  I've done `bzr branch trunk local`.  Now, I'd like to rename 'local' to something else.  Is it just "mv local something-else", or does bzr need to get involved, and if so, by what command?15:07
james_wjsled: "mv local something-else" is fine15:09
james_wjsled: bzr would need to get involved for something like "mv local /somewhere/else/entirely"15:10
james_was long as you stay within the shared repo you should be ok.15:10
jsledthanks. :)15:10
james_w(assuming you don't move something inside another branch, or a repo in repo or similar)15:10
visit0rhi, is there someone using the bzr-hookless-email? for some reason it seems to hang and leak memory like crazy.15:42
visit0r File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1520, in deserialise_inventory15:42
visit0rprobably that's the hanging function15:43
jelmerdato: ping16:38
jelmerdato: your upload of bzr 1.3.1-1 doesn't appear to be in the bzr branch on alioth16:38
chadmillerHi all.  Has anyone tried reviewboard with Bazaar?  It seems to have gotten some of Bazaar support lately.16:53
* chadmiller doesn't know how deep it goes.16:53
jelmerchadmiller: I think statik was the person who did most of the work on that16:53
jelmerstatik, ^16:53
chadmillerFrom the log, "Patch from Henrik Hedberg to add basic support for the Bazaar SCM."16:56
chadmillerThat ain't statik.16:56
jelmerhmm, must be another branch than https://code.launchpad.net/~statik/reviewboard/bazaarsupport then that got merged..16:57
chadmillerA related question:  That patch has some questionable choices in it.  Instead of importing bzrlib, it runs "bzr" with arguments and catches stdout.  Is that as silly as I think it is?  Do you consider the internal bzr APIs stable?17:01
chadmillerOr, rather, /is there/ a public API for bzr?17:01
jelmerah, ouch17:02
jelmerthere is a public API for bzr in Python (in which reviewboard is also written)17:02
jelmerthat does indeed seem like a very questionable choice17:03
* lamont struggles to remember how to import a cvs tree into bzr17:05
lamontand finds it17:09
surfousI've got a local branch that is a checkout of a branch hosted in Launchpad... I've just done a bzr upgrade to upgrade the format. What's the proper way to get my remote master branch upgraded as well? It still appears to be of format BzrBranch517:20
beunosurfous, bzr upgrade sftp://user@bazaar.lauchpad...17:21
beunoupgrading it through sftp on LP17:21
beunobut, be warned, it takes a while17:21
surfousbeuno: Thanks for the info - I fear it's sending me on a tail-chase, though...17:25
surfousWhat prompted me to do this was trying to tag my branch. I got the following error:17:25
surfousbzr: ERROR: Tags not supported by BzrBranch5('bzr+ssh://surf@bazaar.launchpad.net/%7Epyax/pyax/release/'); you may be able to use bzr upgrade --dirstate-tags.17:25
surfousI did a bzr upgrade which brought my format up to pack-0.9217:26
surfouslocal format, that is17:26
surfoustrying to upgrade the remote branch tells me: bzr: ERROR: The branch format Bazaar-NG meta directory, format 1 is already at the most recent format.17:27
surfousSo one operation tells me I'm out of date, and the other tells me I'm up to date, when ultimately, I'm just confused.17:28
jelmersurfous, try upgrading over sftp rather than bzr+ssh17:29
beunosurfous, what does "bzr info -v" on the remote branch tell you?17:29
surfousjelmer: Cool, that seems to be doing more than what I had before... I'll see where that lands me.17:30
surfousbeuno: surf@fischer:~/src/pyax/release$ bzr info -v bzr+ssh://surf@bazaar.launchpad.net/%7Epyax/pyax/trunk17:32
surfousStandalone branch (format: unnamed)17:32
surfousLocation:17:32
surfous  branch root: bzr+ssh://surf@bazaar.launchpad.net/%7Epyax/pyax/trunk/17:32
surfousFormat:17:32
surfous       control: bzr remote bzrdir17:32
surfous        branch: Remote BZR Branch17:32
surfous    repository: bzr remote repository17:32
surfousBranch history:17:32
surfous        51 revisions17:32
surfous         4 committers17:32
surfous       371 days old17:32
surfous   first revision: Thu 2007-04-26 10:50:37 -070017:32
surfous  latest revision: Thu 2008-05-01 14:17:23 -070017:32
surfousRepository:17:32
surfous        63 revisions17:32
surfous       324 KiB17:32
surfousbeuno: I know I referenced my release branch before, any this is on my trunk, but the problem was the same on each17:33
beunosurfous, right, for some reason, that's very uninformative, but upgrading through sftp is the way to go17:36
surfousbeuno: And it does indeed take a while as you'd warned, but I've no problem waiting.17:37
surfousThanks a lot for your help, beuno and jelmer!17:37
beunosurfous, :)17:37
=== `6og is now known as Kamping_Kaiser
jelmerabentley, hi19:11
lamontgiven a bzr 1.3.1 tree, bzr log says that the current revision is '47'.  is there any trivial way to get that out of bzr short of  resorting to perl/awk/sed/grep foolery?19:38
beunolamont, bzr revno?19:39
lamontI knew there had to be something.  thanks19:39
beuno:)19:39
lamont"version" and "revision" didn't give me what I wanted, so I decided that asking would be quicker.  thanks again19:40
beunonothing better then taking advantage of random knowledge on IRC!19:41
=== emgent_ is now known as emgent
beuno*ignore me* #21482520:15
=== emgent_ is now known as emgent
matkor_Hi !. Is is possible to ignore all ".svn" dirs regardless how deep they are ?23:26
james_wdoes "bzr ignore .svn" not work?23:28
matkor_let me see ...23:31
matkor_james_w: Works, thank you very much23:32
james_wno problem23:32
trepcai have two branches ... trunk and branch1, people commit to trunk and also tag commits23:33
trepcahow could i diff these two and only limit on tagged commits23:33
james_wI'm not sure that's possible23:34
trepcaok, thanks :)23:34
james_wyou want to diff two branches but only show the changes that were introduced in one by certain commits?23:34
trepcatrying to implement a code review23:35
trepcawhen people close a bug, they commit with a tag containing the bug id23:35
trepcalaterz23:36
trepcanight23:36

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