/srv/irclogs.ubuntu.com/2007/11/27/#bzr.txt

lifelesscould be; otoh getting mails from the commits list is enough for me00:02
ubotuNew bug: #165304 in bzr "smart server data streams not used across repositoryrepresentations" [Undecided,New] https://launchpad.net/bugs/16530400:20
ubotuNew bug: #165306 in bzr "merge commits are extremely slow" [Undecided,New] https://launchpad.net/bugs/16530600:20
ubotuNew bug: #165307 in bzr "graph.heads() does O(N^2) access to the graph" [Undecided,New] https://launchpad.net/bugs/16530700:20
lifelessfullermd: what was the bug you filed yesterday about unreferenced texs ?00:25
lifelessjam-laptop: if you're still hacking, lookin into that check bug would be most excellent iMO00:25
ubotuNew bug: #165309 in bzr "pack index has no topological locality of reference" [Undecided,New] https://launchpad.net/bugs/16530900:30
fullermdThe check one?  I can look up the number in my -bugs mailbox...00:31
lifelessfullermd: heh00:31
lifelesspoolie: more bugs landed https://bugs.edge.launchpad.net/bzr/+bugs?field.tag=packs00:31
fullermd16507100:32
lifelessjam-laptop: ^00:35
ubotuNew bug: #165313 in bzr-pqm "working tree clean check comes after branch check" [Undecided,New] https://launchpad.net/bugs/16531301:01
=== cprov-out is now known as cprov-zZz
ubotuNew bug: #165315 in bzr "Cannot version a 3M path tree" [Undecided,New] https://launchpad.net/bugs/16531501:30
beunoouch01:37
beunodon't you kind folks do tests on the mozilla tree?    Is it that much smaller then the debian source opened up?01:38
Odd_Blokebeuno: It evidently is. ;)01:39
lifelessbeuno: its 50K paths01:46
lifelessso 60 times smaller01:47
Odd_BlokeAw, I checked out the mozilla tree for nothing. :p01:47
Odd_Bloke52218, 'find . | wc -l' tells me.01:47
beunolifeless, it's an interesting use cas ethen01:48
lifelesspoolie: https://bugs.edge.launchpad.net/bzr/+bug/15911802:09
ubotuLaunchpad bug 159118 in bzr "can create a pack repository over bzr+ssh, but then not open it" [Low,Confirmed]02:09
lifelesspoolie: just noting it02:09
NephyrinQuestion: How do i remove/override a default ignore for a repository? IE if I don't want *.o files to be ignored, is there a way?02:10
lifelessNephyrin: there are no default ignores.02:10
lifelessNephyrin: ~/.bazaar/ignore contains your personal ignores, which you can change02:11
beunoNephyrin, maybe explicitley adding it?   bzr add foo/bar.a?02:11
beunolifeless, he might mean if it's been ignored as a general rule, but wants to make an exception02:11
NephyrinAh, it was in the ~/.bazaar/ignore02:12
NephyrinThanks ^.^02:12
* Nephyrin doesn't consider a tree clean if it has those nasty .o files.02:12
j1mchi all.  i'm getting an error when trying to push something to launchpad via bzr.  (http://pastebin.ca/798862) can anyone help?02:20
pooliej1mc, hi02:22
lifelessjam-laptop: I would say your branch is bound to the http url02:22
lifelessmeh02:22
pooliej1mc, try 'bzr info'02:22
j1mchi poolie02:22
poolieor just 'bzr unbind'02:22
lifelessj1mc: did you get the branch by doing 'bzr checkout' if so, try 'bzr unbind', then your push should work02:22
poolielifeless, were you trying to call?02:22
lifelesspoolie: yah02:22
lifelessshould I try again02:22
j1mcpoolie: ok, i did that.  no errors or anything02:22
j1mclifeless: yes, i did do a bzr checkout02:23
j1mci'll give that a try02:23
j1mclifeless: here's what i get now: http://pastebin.ca/79888202:28
lifelessah, it is a checkout, you really need a full branch I think02:32
lifelessj1mc: have you seen our tutorial ?02:32
j1mclifeless: no, i haven't.02:33
beunoit's a lightweight checkout. lifeless does unbid work with lightweights too?02:34
abentle1beuno: unbind doesn't work with lightweight checkouts.02:58
abentle1However, you can do "reconfigure --tree" to turn a lightweight checkout into a normal tree.02:58
beunoj1mc, ^   :D02:59
j1mcbeuno: i am just trying to do a normal branch now, and will just copy my changes (two files) over those two files in the branch once it's done.03:06
beunoj1mc, great then03:09
dashhi. i'm crazy and I want to use bzr for versioning stuff other than files in the filesystem. How much pain am I in for?03:23
Odd_Blokedash: Define "stuff other than files".03:24
dashin terms of writing code to pull data out of whatever structure i've got it in, and putting it into a bzr branch.03:24
dashOdd_Bloke: something /sorta/ like the way smalltalk stores its code03:25
Odd_BlokeWhy not write code to pull data out of whatever structure you've got it in and put it into files and then put those into a branch?03:25
dashin an opaque database-ish file03:25
dashOdd_Bloke: hmm03:25
abentle1I really don't like your chances of resolving text conflicts in your data.03:26
dashhmm, why's that?03:27
dashall the data is going to be source code of some variety03:27
Odd_Blokedash: I'm not really sure I understand your use case here.  Do you just want to store history, or do you want to take advantage of the merging capabilities of bzr?03:28
dashwell, let me rephrase03:28
dashI'd like to manage a wad of source code with bzr, both for history and merging purposes. This source code isn't stored in individual files in a filesystem hierarchy. It's actually in one big file on the disk, but internally there is some concept of hierarchy and so forth.03:30
dashThe hackish way to expose this would be to write a FUSE driver to interface to this, and use bzr on that03:31
dashbut havng to mount things is tedious and i'd rather just use bzrlib directly.03:31
dashmake sense?03:33
Odd_BlokeYeah, I'm just trying to think of a way to do it. :p03:33
Odd_BlokeYou might be best writing a post to the ML, as it'll get more eyes looking at it...03:34
dashwell, mostly i'm thinking about how smalltalk and lisp have pretty rad development environments but you can't use 'normal' VCSes with them03:35
dashand i'm wondering how hard it'd be to adapt bzr to deal with that03:35
dash(for a new language/dev environment)03:36
lifelessdash: so the layering here is:03:47
lifelessrepository03:47
lifelessbranch03:47
lifelesstree03:47
lifelessif you can map your current code into a conceptual tree, you can replace WorkingTree with e.g. SqueakImageTree03:48
lifelessthat combined with language bindings of course, should work reasonably well03:48
abentleyWell, aside from actually performing merging and such.03:54
abentleySince TreeTransform hits the filesystem pretty explicitly.03:54
lifelessright, need to replace that; and the ui layer too of course03:59
lifelessciao04:00
dashlifeless: awesome04:07
dashlifeless: i am expecting to embed python anyway, so that should work04:07
dashand yeah, I should be able to punt on merging for a while so long as i've got history04:08
j1mchi all - me again.  i'm getting closer, but i still can't upload changes to launchpad via bzr, even though i have commit access: http://pastebin.ca/79895404:25
ubotuNew bug: #93609 in bzr "Better error messages for bzr lp://" [Medium,Confirmed] https://launchpad.net/bugs/9360904:27
j1mcbeuno: any advice?  ^^04:27
Verterokj1mc: do a 'bzr commit -m "<your commit message>"'  first, then a push04:29
j1mcthanks, Verterok04:30
Verteroky're wellcome04:30
j1mc"Pushed up to revision 3624."  w00t  :)04:32
j1mcthanks04:32
=== mw is now known as mw|out
ubotuNew bug: #172249 in bzr "bzr check help out of date / confusing output" [Low,Confirmed] https://launchpad.net/bugs/17224906:40
* siretart feels stupid. can someone have a look at http://pbot.rmdir.de/6b5ea9950aeacc1ce3c11455362c6b72 and tell me what's wrong with fetching a branch from launchpad via https?08:18
AfCsiretart: try dropping SSL and just using http?08:20
* AfC doesn't use launchpad much, though08:20
siretartAfC: launchpad doesn't support plain http, only https08:20
Odd_Blokesiretart: https://bugs.edge.launchpad.net/bzr/+bug/8208608:21
ubotuLaunchpad bug 82086 in bzr "pycurl transport causes tracebacks if the server's SSL cert cannot be verified." [Medium,Confirmed]08:21
AfCsiretart: well Launchpad advertises http://bazaar.launchpad.net/~bzr/bzr-push-and-update/trunk for the Bazaar push-and-update plugin that I was experimenting with a few days ago. That looks like HTTP to me.08:21
AfC(needless to say, I have recommended to them that they get with the program and get a bzr:// server going)08:22
siretartOdd_Bloke: thanks!08:23
vilamorning08:25
vilaIs there a prize associated with the best performance_gained / size(code_modified) ratio ?08:25
vilalifeless: bug #165601 fixed, more fear than harm, with a fun twist ;)08:45
ubotuLaunchpad bug 165601 in inkscape "win32: non-ascii filenames still don't work" [Critical,Fix released] https://launchpad.net/bugs/16560108:45
vilalifeless: bug #165061 fixed, more fear than harm, with a fun twist ;)08:46
ubotuLaunchpad bug 165061 in bzr "bzr branch http:// with a pack repository takes too long" [High,Fix committed] https://launchpad.net/bugs/16506108:46
vilathe hell with the typos !08:46
vilasiretart: what OS/distro are you using ?09:06
vilasiretart: if debian or ubuntu check wether or not the ca-certificates package is installed (there seems to be some inconsistencies in dependencies around pycurl/libcurl/ca-certificates)09:11
lifelessvila: ironic to have a typo given the root cause09:23
vilalifeless: yeah, story of my bzr life ;-)09:24
vilahhtps, 165601, _max_readv_combined, brz, the list goes on...may be scripting languages and their run-time checks nature are not for me finally, will look at ada/c++ again...09:25
lifelessvila: bb:approve09:26
lifelessvila: JFDI09:26
vilalifeless: :) no way, sub minute cycles are too good :)09:27
vilalifeless: your 'bb:approve' above means I should pqm-submit now ?09:31
siretartvila: gutsy, and ca-certificates was not installed. installing it doesn't help either09:31
lifelessvila: hell yes09:31
lifelessvila: this probably makes knit pulling faster too09:31
vilalifeless: ok, I'll merge09:32
vilarats, forgot NEWS update again09:33
vilasiretart: wow, what version(s) of libcurl and pycurl are installed ? (Note that you can force urllib use if these problems get to boring)09:38
siretartvila: note that pulling from https://code.launchpad.net/~debian-opensync/opensync/upstream works, but not from https://code.edge.launchpad.net/~debian-opensync/opensync/upstream09:40
siretartii  python-pycurl       7.16.4-1        Python bindings to libcurl09:41
siretartii  libcurl3-gnutls               7.16.4-2ubuntu1               Multi-protocol file transfer library (GnuTLS)09:41
vilasiretart: ha, I think the problem is that code.launchpad.net and code.edge.launchpad.net do not use the same certificate authority (Go Daddy for the later)09:42
vilasiretart: so the obvious workaround is to avoid code.edge09:43
siretartnot sure if this is really a problem or a feature :)09:43
vilasiretart: I don't enough about ca-certificates packaging to answer that :-) Short of updating /etc/ssl/ca-certificates.crt  yourself or creating your own...09:45
siretartvila: what If I don't have root on the machine like in a student lab?09:46
vilaavoid code.edge, only launchpad beta-testers should ever see it or bug launchpad admins :)09:46
vilaAFAIK people are working on the ca-certificates problem so I hope they'll address that but I don't have more info on the subject, I just saw that new CA days ago, so I don't know when it appears nor if it will stay that way09:49
vilafrom the bzr point of view, as of today, either you use pycurl and relies on it to find the right certificates (or use CURL_CA_BUNDLE env var) or you use urllib and certificates are not verified at all09:52
lifelesssiretart: you can overrite the ca certificates file with an env variable I believe10:00
lifelesssiretart: see vila's last line in fact10:00
siretartlifeless: seems like a good candidate for being documented in the bzr manual for 1.010:01
siretartI think I can fiddle that out for me, but I now have a more easy workaround for myself10:01
lifelesssiretart: could be; you know where to record that :)10:01
siretartlifeless: on my list. right after updating the opensync packages :)10:02
=== cprov-zZz is now known as cprov
=== kiko-zzz is now known as kiko
=== mrevell is now known as mrevell-lunch
theSoftManHello.. Does somebody have a comparative experience in using Bazaar and Subversion ?12:30
mwhudsoni suspect most of the people in here have used svn at one time or another12:31
AfCtheSoftMan: what are you looking for?12:50
=== mw|out is now known as mw
theSoftMan_I ask me what is the right choice for me ? actually i'm using CVS... and i'm looking for other one...13:05
theSoftMan_I like subversion for it's branch versionning system, atomic commit, binaries files improvements, ...13:06
Zindarhehe... it has no branches... it just thinks it does :)13:08
theSoftMan_but bazaar looks very "sympatic" too but the GUI for Windows system are not so user friendly as subversion ones ( IMHO )13:08
Zindar(sorry.. I'd like to answer... but got a phone call...)13:09
theSoftMan_How bzr treat binary files ?13:11
=== mrevell-lunch is now known as mrevell
=== cprov is now known as cprov-lunch
=== kiko is now known as kiko-fud
vilajam-laptop: ping14:46
jam-laptopvila: pong14:46
vilatime to synchronize :)14:46
vilaI just replied to an email before seeing the next14:46
vilathe simple fix for 165061 has been merged14:47
jam-laptopi saw that, which is good14:47
jam-laptopdid you include a NEWS entry?14:48
vilayes, before merging14:48
vilalifeless gave the bb:aprove here and and launchpad so I merged a few hours ago14:49
vilas/and and/and on/14:49
jam-laptopsure, and I certainly gave you bb:approve14:49
jam-laptopyour patch is definitely correct and an improvement14:49
vilaso, you propose to still coalesce until we get a reasonable number of ranges14:49
jam-laptopI just think we can go a bit further14:49
vilaI'm concerned about downloading too much data compared with issuing several get requests14:50
jam-laptopI think issuing multiple requests is *better*, but harder for us to do right now14:50
jam-laptopAnd as I mentioned, we may want to limit any given collapsed range14:50
jam-laptopdepending on how we fix the incremental parser14:50
vilaha, ok, so you think the risk to encounter too much ranges is still high and want to guard against that until we implement several gets ?14:51
jam-laptopright14:51
jam-laptopI think in *my* repositories14:51
jam-laptopyou are going to get a lot of fragmentation14:51
jam-laptopbzr.dev and roberts repository14:51
jam-laptopare probably rather clean14:51
jam-laptopmine have a lot of uncommits14:51
jam-laptopand revisions from other projects14:51
jam-laptopWhile my public would be a bit cleaner14:52
jam-laptop(since pushing from local to remote would clean it up a bit)14:52
jam-laptopI still have a lot of branches in 1 repository14:52
jam-laptopand not all of them will have been merged14:52
vilahmmm, I wish we could test against that simply...14:52
jam-laptopvila: I can put it up for you if you want14:52
jam-laptopI can probably push it up to a canonical server14:52
jam-laptopso you don't abuse my bandwidth14:53
vilaor you can push it up here, so *you* abuse mine :-)14:53
vilathen I should find a good candidate from your heads()14:54
jam-laptopI can give you a few branches along with it14:55
=== cprov-lunch is now known as cprov
=== kiko-fud is now known as kiko
=== me_too is now known as too_short
=== too_short is now known as me_too
=== m_stone|home is now known as m_stone
ubotuNew bug: #172360 in bzr "bzr 0.92 unable to branch from knit repo to pack repo" [Undecided,New] https://launchpad.net/bugs/17236016:55
n[ate]vwis there a way to add a file "sübφολδερ/ƒilœ" to a bzr repository? my LANG=en_US.UTF-8, and bzr says encoding: 'UTF-8', fsenc: 'utf-8', but no love17:05
n[ate]vw(hmm, my IRC client doesn't seem to be showing any conversation....)17:08
n[ate]vwI'm trying to add a unicodey folder/file to bzr, and getting no love. when it spits back the error it does say encoding/fsenc/lang all UTF-8, though.17:10
datoadded "sübφολδερ/ƒilœ"17:11
n[ate]vwhey, so my earlier messages must have gone through17:11
n[ate]vwit says:17:11
=== weigon_ is now known as weigon
n[ate]vwadded "sübφολδερ", then bzr: ERROR: exceptions.AttributeError: 'NoneType' object has no attribute 'file_id'17:12
n[ate]vw(that's if I bzr add the folder)17:12
n[ate]vwwhen I try to add the file itself I get the same "added <folder>", then: bzr: ERROR: The file id "None" is not present in the tree <Inventory object at 11d5f10, contents={ ....massive dump..... }17:14
fullermdWorks for me, too, with 0.92 and .dev.17:14
jam-laptopn[ate]vw:  can you post the traceback to a pastebin?17:14
jam-laptop!paste17:14
ubotupastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)17:14
n[ate]vwyeah, I can17:15
rthalleyworks for me with bzr.dev17:15
datoworks for me to, but when I `bzr revert`, it reverts, but then spits an error17:16
datoinvolving loggin, I think; sorry, I lost it17:16
n[ate]vwhttp://paste.ubuntu-nl.org/46007/ for the folder17:17
fullermdMmm.  Darwin.17:18
jam-laptophmm....17:19
jam-laptopthat looks like parent_ie is being None17:19
jam-laptopwhich is a bit odd17:19
jam-laptopn[ate]vw: what happens if you use just plain "bzr add" ?17:19
jam-laptopto recursively add everything.17:19
n[ate]vwsimilar error to adding the folder17:20
n[ate]vwhttp://paste.ubuntu-nl.org/46010/ for the file directly17:22
n[ate]vwhold on, the plain 'bzr add' ives back a KeyError exception instead17:23
n[ate]vwhttp://paste.ubuntu-nl.org/46012/ for the recursive add17:23
n[ate]vw(paste.ubuntu-nl is hosing some of the unicode -> ??? in those dumps)17:24
n[ate]vwanyone else able to reproduce, or workaround? (sorry, might have missed first responses)17:29
n[ate]vw(my client started cooperating @ "I'm trying to add a unicodey folder/file to bzr")17:29
jam-laptopwait a sec, your on Mac, right?17:34
jam-laptopn[ate]vw: I wonder if there is a path normalization problem17:34
n[ate]vwyeah, OS X 10.5.117:35
jam-laptopas in, when you create a file with å17:35
jam-laptopyou might type it is as u'\xe5'17:35
jam-laptopbut the FS changes it to17:35
jam-laptop'u'a\u030a'17:36
jam-laptopcertainly I'm seeing u'su\u0308'17:37
jam-laptopwhich would be u with dots17:37
jam-laptop(u) (with dots)17:37
jam-laptoprather than17:37
jam-laptop(u with dots)17:37
jam-laptop(u'\xfc')17:37
n[ate]vwdoesn't bzr convert to a normalized form internally?17:37
jam-laptopwe used to17:38
jam-laptopbut it added a lot of overhead17:38
jam-laptopand broke when platforms didn't normalize themselve17:38
jam-laptopselves17:38
jam-laptopIt turns out that Windows likes to do mixed normalization17:38
jam-laptopSometimes using wide parethesis17:38
jam-laptopbut usually using narrow17:38
jam-laptopetc17:38
jam-laptopthere are also some heavy performance issues if you have to normalize every file in a 50k entry tree17:40
n[ate]vwbut if bzr doesn't do any normalization internally, wouldn't it just keep whatever the shell passed it?17:41
n[ate]vwor fs, in the case of adding the tree recursively,17:41
n[ate]vw-,17:41
jam-laptopexcept the shell could have passed in one17:42
jam-laptopversus the fs17:42
jam-laptopbut yeah, I would think recursive adding would have worked17:42
jam-laptoplet me try that here17:42
jam-laptopI can reproduce it here17:45
jam-laptopI'll try to track it down17:45
n[ate]vwgreat, thanks17:45
n[ate]vwfwiw, mercurial seems to have handled the same folder fine. no complaints on add, and I was able to clone the repo succesfully.17:45
jam-laptopn[ate]vw: you might want to try checking it out on another platform17:47
jam-laptopat least Windows will puke pretty badly17:47
jam-laptoplast time I tried that17:47
jam-laptopwell, not puke17:47
n[ate]vwhg, or bzr?17:47
jam-laptopbut it puts the UTF8 strings into OEM encoding17:47
jam-laptopso all the names are bad17:47
jam-laptophg17:47
jam-laptophg doesn't pay attention to Unicode17:47
jam-laptopso it just versions 8-bit strings17:48
jam-laptopwhich depends on your encoding17:48
n[ate]vwah, indeed17:48
jam-laptopso while Windows fs is MBCS17:48
jam-laptopyou will get different paths on Russian windows17:48
jam-laptopversus US windows, etc.17:48
fullermdSo it causes double-pane on Windows?17:49
* fullermd sneaks back under a rock.17:49
datoI've asked in several channels, so I guess one more can't hurt.17:50
datoI'm looking for a tool to manage my configuration files, particularly distributing them over a set of remote machines. I would like to be able to specify which files to transfer, if non-default versions of them are to be transferred, and ideally, that the tool is able to detect remote changes and merge them back, or not.17:51
n[ate]vwby "merge them back", do you mean a diff or just picking one copy of the file? unison is able to do two-way sync, but I'm pretty sure it doesn't do text merges18:00
n[ate]vwjam-laptop: should I file a bug on the OS X unicode issues, or will you once you've looked into it18:11
jam-laptopsubmit one, and I'll comment on it18:11
n[ate]vwI'm assuming nobody is interested in seeing the several-KB dump when I add the file directly?18:12
n[ate]vwI suppose I could just link to the pastebin, if those don't get cleaned out too quickly18:13
n[ate]vwI did find this https://lists.ubuntu.com/archives/bazaar/2007q2/024773.html, which clarifies the problem a bit but seems to be posted before the normalization routines were removed18:14
sabdflhey folks18:28
sabdfldo we have dapper packages for bzr 0.92 yet?18:28
datodoesn't seem so18:29
ubotuNew bug: #172383 in bzr "Cannot add normalized Unicode file to repo" [Undecided,New] https://launchpad.net/bugs/17238318:45
n[ate]vwjam-laptop: filed https://bugs.launchpad.net/bzr/+bug/17238318:47
ubotuLaunchpad bug 172383 in bzr "Cannot add NFD normalized Unicode file to repo" [Undecided,New]18:47
n[ate]vwwhoops, bot beat me18:48
n[ate]vwso currently, bzr stores filenames in whatever form they are received, but is aware they are Unicode when writing to disk (the distinction from hg)?18:55
n[ate]vwI guess I'm still wondering how bzr stores/compares the filenames in memory, and whether normalizing only when checking equivalence would be a good compromise18:59
n[ate]vw(or maybe "checking equivalence" doesn't happen like that, I don't really know anything re: the internal architecture)18:59
jam-laptopn[ate]vw: no, I just responded to bug 17238319:05
ubotuLaunchpad bug 172383 in bzr "Cannot add NFD normalized Unicode file to repo" [Undecided,New] https://launchpad.net/bugs/17238319:05
jam-laptopSome of the normalization calls are still present19:06
n[ate]vwnot seeing how this relates to bug #16507119:10
ubotuLaunchpad bug 165071 in bzr "check reports spurious unreferenced texts" [Undecided,New] https://launchpad.net/bugs/16507119:10
jam-laptopn[ate]vw: just a bad copy and paste on my part19:13
jam-laptopI meant bug 102935.19:14
ubotuLaunchpad bug 102935 in bzr ""combined" unicode characters are renamed on Mac" [Wishlist,Confirmed] https://launchpad.net/bugs/10293519:14
jam-laptopvila: what is the status of your fix for bug 16456719:16
ubotuLaunchpad bug 164567 in bzr "FTP push does not work without specifying password" [Medium,Fix committed] https://launchpad.net/bugs/16456719:16
jam-laptopnm, it was merged in 302519:17
jam-laptopBut your name wasn't mentioned in the commit message19:18
jam-laptopso i had trouble finding it19:18
n[ate]vwjam-laptop: no prob. from that ticket, do I understand if I were add a directory named süb on an NFC fs, and then clone it to an NFD fs, bzr would eventually: 1) notice the file missing internally, 2) normalize the name and find it in the new form, and 3) do the right thing™?19:19
jam-laptopn[ate]vw: from 102935?19:19
jam-laptopno, unfortunately not anymore19:20
jam-laptopit used to19:20
jam-laptopbut because of problems of users having filenames in mixed normalization on other platforms...19:20
jam-laptop(and for whatever reason not being able to change their filenames)19:20
lifelesshi19:22
jam-laptopmorning lifeless19:29
jam-laptopany chance you had time to backport any bzr releases to dapper?19:29
n[ate]vwwhen dealing with a "missing" file would it be possible to normalize both sides of the comparison - disk names vs. internal name - or would that case be a recurring performance drag?19:31
lifelessjam-laptop: if we we're scrambling to make packs default, sure.19:32
jam-laptoplifeless: sabdfl was just in earlier asking for them, and I know we haven't been getting regular backports to dapper19:33
jam-laptopI understand you are busy with other things19:33
jam-laptopMaybe someone else should be doing the .deb building?19:33
lifelesshe wanted them for the datacentre19:34
lifelesselmo has rolled it out already19:34
jam-laptopk19:34
lifelessthere is a patch I need to apply19:34
lifelessso whats up with NFD ?19:35
ubotuNew bug: #172392 in bzr "interrupting a client waiting for a lock over bzr+ssh leaves process on server" [Undecided,New] https://launchpad.net/bugs/17239219:35
jam-laptopMac stores everything as NFD, our current code is normalizing them when creating an Inventory Entry19:36
jam-laptopbut then the "smart_add" code doesn't realize that19:36
jam-laptopand looks up the NFD19:36
jam-laptopSo Inventories are still NFC only19:36
jam-laptopbut the smart_add() code is using NFD19:36
lifelessgrah19:36
lifelessandyou're saying 'dont fix smart_add, stop normalising' ?19:37
jam-laptopWe *could* go through this again and try to make smart_add use NFD19:37
jam-laptoplifeless: correct19:37
jam-laptopwe have a bug open for it19:37
jam-laptopbecause other wise on mac19:37
jam-laptopbzr add ü19:37
jam-laptopbzr status19:37
jam-laptopwill show ü as missing19:37
jam-laptopand an unknown file ü as being present19:37
jam-laptopIf we fix smart_add19:37
jam-laptopwe have to fix status, etc.19:37
lifeless well you're the guru19:38
lifelessbut I don't see anything thats changed the validity of your prior argument *to* canonicalise.19:39
lifelessbrb19:39
=== abadger1991 is now known as abadger1999
jam-laptoplifeless: the effort required to get it working with dirstate trees19:39
jam-laptopand the performance hit of normalizing19:39
jam-laptopn[ate]vw: that might be possible19:40
jam-laptopn[ate]vw: then what happens when someone stores both forms on disk...19:40
jam-laptopthere is also a possibility to work this into case-insensitive issues as well19:40
jam-laptoplifeless: oh, and on Windows, it likes to create non-normalized names under certain situations19:40
jam-laptoplifeless: Japanese Windows was creating filenames with Wide-form parenthesis IIRC19:41
n[ate]vwheh, I suppose there's some OS that would allow both ü's on the same branch19:41
jam-laptopWhich meant that we couldn't version them, since they cannot be accessed under their other names19:41
jam-laptopn[ate]vw: another possibility was to store the canonicalized name, as well as the form on disk19:41
jam-laptopso that when scanning through directories19:42
jam-laptopwe could see which path lines up with which other one19:42
jam-laptopit certainly would be nice to only do this sort of thing on "misses" rather than for every file19:42
n[ate]vwso each clone could have the working copy in the OS-preferred format, but internally it would be stored canonically?19:45
n[ate]vwdoing something just on misses might be nice for performance, but I'd be worried it would just be wacking one mole to come up again in some other function. I don't know bzr well enough to say, though19:46
jam-laptopthe old code did it only for misses19:47
jam-laptopbut always normalized in one direction19:47
jam-laptopos => normalized form == internal form19:47
jam-laptopotherwise when you get a miss19:47
jam-laptopyou have to normalize everything (at least in that directory)19:47
jam-laptopsince you don't know *which* one it should have been pointing at19:47
jam-laptop(since, after all, it missed)19:47
fullermdWell, you could skip all the known files at least.19:51
jam-laptoptrue19:52
jam-laptopI suppose you could keep track of what things hit, and what missed19:52
jam-laptopand then at the end compare them19:52
jam-laptophowever,19:52
jam-laptopthe current api (I believe) expects to get everything in sorted order19:52
jam-laptopso you have to defer returning anything19:52
jam-laptopuntil you have processed the whole directory19:52
jam-laptopnot terribly onerous19:53
jam-laptopbut probably would have an impact19:53
n[ate]vwwow, that's a tough problem. it'd be nice to get it right by using a canonical form internally, but then it gets benchmarked against a system that ignores some of those issues....19:59
n[ate]vwdo users expect bzr to keep the original working form on all same-platform clones?20:01
n[ate]vwespecially with regards to mixed-normalization?20:01
jam-laptopn[ate]vw: well the concern is that the program generated mixed normalization (MS Office)20:02
jam-laptopis going to do weird things once you change the normalization.20:02
n[ate]vwso in the jp locale, MS Office doesn't even want to open a file if it doesn't use fullwidth parentheses?20:04
n[ate]vwjam-laptop: you'd almost need to keep track of three forms: original form as added, canonical form, form on disk20:09
lifelessjam-laptop: have you looked at the new check refcount error ?20:09
jam-laptoplifeless: it looks like it is still present20:10
lifelessk, I'll fix it then20:10
jam-laptop!paste20:10
ubotupastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)20:10
jam-laptoplifeless: the simple fix should just be: http://paste.ubuntu-nl.org/46034/20:10
jam-laptopA more complex one would intersect "planned_revisions" with w.versions()20:11
lifelessabentley: ping20:17
Lo-lan-doHallo20:24
Lo-lan-doI'm stracing a bzr process, just for fun, and I see it repeatedly uses (and unlinks) /tmp/tempfile.tmp20:25
Lo-lan-doThat sounds like a potential security problem, but I'm not sure where it comes from.20:25
Lo-lan-do(I'm pulling changes from a local bzr-only branch into another branch bound to an SVN repo)20:25
jam-laptopLo-lan-do: are you sure it isn't running the test suite?20:25
Lo-lan-doDuring a "bzr pull"?20:26
jam-laptopand is it always explicitly "/tmp/tempfile.tmp"20:26
jam-laptopor is it using a randomized name20:26
lifelessLo-lan-do: I suspect its a bug in bzr-svn20:26
lifelessjelmer: ^ can you confirm?20:26
lifelessLo-lan-do: bzr itself doesn't do that.20:26
Lo-lan-doThere are random names plus /tmp/tempfile.tmp20:27
jelmerit only uses tempfiles for svn dump files20:27
lifelessjelmer: does it use a hard coded name though?20:27
jelmerno20:28
jelmertempfile.mkdtemp(prefix='bzr-svn-dump-')20:28
Lo-lan-doMaybe svn-python then.20:28
* Lo-lan-do grabs the source package20:28
jam-laptopyeah, I don't see that existing anywhere in the bzr-svn source20:28
jelmersvn-python doesn't really provide any functionality, it just wraps libsvn20:28
jelmerand I would be surprised if svn used that file20:29
lifelessLo-lan-do: thanks for noticing this20:29
Lo-lan-dohttp://paste.debian.net/4360020:29
lifelessLo-lan-do: we'd obviously like to fix it; i you can figure out what is doing it that would be fantastic20:29
jam-laptopany chance you could find what is being written to the file?20:29
lifelessLo-lan-do: at least within python you can override open and file20:29
Lo-lan-doAny wlue what line 3 looks like?20:29
jam-laptopmaybe have a process that spins waiting for it to appear and dumps the content20:30
jam-laptopI guess the write() calls20:30
jam-laptopsay it is dumping SVN  data into it20:30
lifelessline 2 suggests SVN20:30
jelmerLo-lan-do: can you try with -s 4000 or something?20:30
Lo-lan-doYeah20:30
jam-laptopLo-lan-do: line 3 *looks* like it might be the data you are copying20:30
jam-laptopit looks like english with a typo20:31
jam-laptop'latd' => 'late'20:31
jam-laptopother 2, or (atr op) any late inhomogeneous...20:31
Lo-lan-dohttp://paste.debian.net/4360320:32
Lo-lan-do./subversion/libsvn_client/ra.c:  truepath = svn_path_join(truepath, "tempfile", pool);20:37
Lo-lan-doSounds fishy20:37
lifelessyay svn20:41
lifelessquick, make an exploit20:41
Lo-lan-doMaybe I'll just quietly report the problem first :-)20:42
=== cprov is now known as cprov-out
Lo-lan-doHm.  Actually, that file is opened with O_EXCL, which fails if a symlink exists.20:50
Lo-lan-do...and it even retries with another name if it can't use that precise file.20:54
Lo-lan-doFalse alert, then, I guess.20:55
lifelessLo-lan-do: still *looks* suspect, and shouldn't be hard to fix20:55
lifelesswhat happens if you create that file in advance20:55
lifelessas root, without permission to unlink20:55
lifeless(for your user)20:55
Lo-lan-doFrom what I read from the code, it tries /tmp/tempfile.2tmp20:56
Lo-lan-doIf that still fails, /tmp/tempfile.3tmp and so on20:56
lifelessabentley: ping21:07
lifelessjam-laptop: ping21:28
lifelessjam-laptop: poolie did not review my fix for 165306; perhaps you could before you finish today ?21:29
jam-laptoplifeless: sure21:45
lifelessjam-laptop: thanks.21:46
=== kiko is now known as kiko-phone
=== kiko-phone is now known as kiko
=== kiko is now known as kiko-fud
lifelessjam-laptop: thanks, replied.22:30
lifelessbbiab food22:34
pooliejam, lifeless: ping22:59
poolieone minute22:59
igcmorning22:59
jam-laptopmorning igc23:00
pooliehi igc23:00
lifelessjam-laptop: conf call23:01
pooliecoming to the meeting?23:01
igcyes23:01
abentleylifeless: pong23:01
jam-laptopyep23:01
lifelessabentley: hi, jst on a call, but will get back to you soon, its about LCA and merge23:01
jam-laptoplifeless: you don't have to pop the commit, it is fairly trivial, though it has a lot of baggage for such a simple change.23:21
jam-laptoplifeless: are you sure you want to use __heads? __ parameters can't be used by subclasses23:26
lifelessjam-laptop: yes, I do23:28
lifelessjam-laptop: I wanted to use heads() -> _heads(), but you thought that was too public.23:28
lifelessjam-laptop: we're under a lot of time pressure and I just want to get this out of the way.23:28
jam-laptopk23:29
jam-laptopyou could just name it23:29
jam-laptop_graph_heads()23:29
lifelessif you're not feeling the pressure, fix more bugs:)23:29
jam-laptopbut anyway23:29
lifelessabentley: hi, so. Did you see my mail about resolving >1 LCA's by merging amonst them rather than recursing for a deeper LCA ?23:29
abentleyYou mean the way git does?23:30
lifelessjam-laptop: I've commented on the missing compression parent bug23:30
lifelessabentley: appears to; yes.23:30
jam-laptopthanks23:30
lifelessjam-laptop: the basic thing is to avoid individual index lookups; so batch and dispatch.23:30
abentleyI don't see why we'd want to do that.23:30
abentleyYou can get multiple sets of conflicts, one per merge.23:31
lifelessabentley: if it can correctly merge without conflicts, even an addition 10% of the time, I'd love it.23:31
lifelessabentley: I was reminded of this when I spend 40 minutes this morning resolving conflicts because I had a dual-LCA situation23:31
abentleyI'd rather focus on making knit merge rock than follow git's weirdness.23:31
lifelessabentley: well; I guess I'm asking if its *weird*, or if they've come up with a solid answer.23:32
lifelessabentley: I agree re: making knit merge rock; its a shame that it will suck in 1.0.23:32
lifeless(because packs are unannotated)23:33
jam-laptopwhat if we go back to per-file LCA's?23:33
jam-laptop(well, go to, as we haven't ever done it before)23:33
lifelessjam-laptop: abentley has previous indicated he's against that because it doesn't solve the root problem of >1 LCA's, only defers it.23:33
jam-laptopThe usually have a less complicated graph23:33
lifelessjam-laptop: my opinion is that deferral is fine if its an improvement :).23:33
abentleylifeless: Even with un-annotated knits, I bet we can to knit merge quickly.23:34
abentleyAs long as we don't annotate lines we don't need to annotate.23:34
jam-laptoplifeless: your comment on bug 165290 seems like you only detect corruption after the fact, rather than preventing it from the beginning.23:34
ubotuLaunchpad bug 165290 in bzr "packs do not check for missing compression parents" [Critical,In progress] https://launchpad.net/bugs/16529023:34
lifelessabentley: if a line is common that doesn't mean it has the same introducing revision;23:34
abentleyI actually think using the per-file graph might make sense now.23:34
lifelessjam-laptop: atomic insertions remember23:34
jam-laptopwrite_group.abort?23:35
abentleylifeless: If a line is common, we don't try to trace its origin in the first place.23:35
lifelessjam-laptop: just raise an error, there is a sample there - look for missing_texts23:35
lifelessabentley: oh, ok23:35
abentleyFirst step in a knit merge is finding the differences in the un-annotated texts.23:36
abentleySo if they came from different sources, but they're the same now, we leave them alone.23:37
abentleyI'm by no means trying to stop other people from implementing merge algorithms.23:37
abentleyBut I think knit is the most promising, especialy wrt cherry-picking.23:38
abentleyAnd using the per-file graph is probably a good fallback strategy when we *are* doing three-way, since semantic mergers will be three-way mergers.23:40
lifelessyay!23:43
lifelessjam-laptop: are you redoing your http readv change patch ?23:52
jam-laptopI submitted an update23:52
jam-laptopI'm not sure what you are looking for23:52
lifelessto bb or the bug ?23:52
jam-laptopto bb23:52
lifelessthe bug is now marked closed wth vila's patch in23:52
lifelesshttp://bundlebuggy.aaronbentley.com/request/%3C474C1123.1050903@arbash-meinel.com%3E ?23:52
jam-laptoplifeless: yes23:53

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