/srv/irclogs.ubuntu.com/2009/06/10/#bzr.txt

lifelessI hope so :P00:00
jmlhello00:05
jmlI'm going to actually try to reproduce the problem with the steps I outlined.00:05
jmland then probably re-assign the bug to launchpad-code, and then trace what init_ex does on the server side.00:06
lifelessso00:08
lifelessinit_ex is designed to do as much initialisation as the current logic then in bzr.dev permitted to be made unconditional or conditional on constant parameters00:09
lifelessand returns many results00:09
mwhudsonjml: cool00:11
lifelessone way to do this would be to write an acceptance test for pushing to default stacked00:11
jmllifeless: that's definitely something we plan to do.00:12
mwhudsoni thought we had such a thing00:15
jmlmwhudson: I don't think we do.00:15
mwhudsonoh right00:15
mwhudsonwe have puller tests to do with stacking00:15
lifelessI think if you did, it would have broken00:15
mwhudson"oops"00:16
lifelessor is itself broken00:16
mwhudsonlifeless: right, i was going on the "we have a broken test" theory00:16
mwhudsoni was wrong00:16
vxnickhi guys - I'm trying to push an update to launchpad but bzr is saying I need to merge then push (which I do) but to no avail00:19
spivvxnick: did you commit the merge?00:20
vxnickyep00:20
vxnickI uncommitted the previous revision however00:20
vxnickbecause I put some bits in the wrong place so wanted to have them show under that revision00:20
vxnickrahter than a new one00:20
spivvxnick: hmm.  Are you sure you've merged from the branch you are trying to push to?00:21
vxnick100% sure00:21
lifelessvxnick: then you have to push --overwrite, because uncommit doesn't propogate automatically00:21
vxnickah thanks00:21
lifelessvxnick: because its a form of history editing00:21
vxnickso I guess uncommit isn't ideal for push/pull scenarios?00:21
lifelessnote that if you're pushing to a branch other people can push to, you may end up removing their changes by doing this00:21
lifelessvxnick: rule of thumb - never uncommit after you have pushed00:21
vxnicknoted, it's just me at the moment00:21
vxnickthanks00:22
lifelessvxnick: you can if you need to, but understand the mechanics ;)00:22
vxnickyeah, I'll double-check next time :)00:22
vxnickpush --overwrite did the trick, many thanks guys00:23
vxnickanother one to add to my repertoire ;)00:24
pygimwhudson: thanks for the response00:33
pygiI pretty much think that locations.conf should be ok, yes00:33
mwhudsonpygi: cool00:37
poolielifeless: wrt rich-root and similar changes, will people be able to bzr branch their existing launchpad un-landed branches into an upgraded repo?00:37
poolieor will they need to upgrade all of them individually?00:38
jmljames_w: I notice the bzr-nightly-ppa for hardy doesn't have 1.16dev00:38
lifelesspoolie: I think it is important that they check and reconcile all their revisions00:38
jmllifeless: wait, pebkac00:38
jmldouble pebkac!00:38
lifelessits possible for revisions in different branches to interact badly with some combinations of ghsots00:38
lifelessI'd *like* to be able to say 'run check -r submit:' and if that is clean branch it into your shared repo00:39
lifelessbut current check can't do that because it checks everything00:39
lifelesspoolie: certainly they can run the commands to branch it into an upgraded repo, but that says nothing about data integrity00:39
lifelesspoolie: did you want me to pop over [say around lunch till 5ish] ?00:40
poolielifeless: ok, i have to go out to a movie at about 5 though00:43
lifelessI have this meeting in the city @6 so that suites me fine00:43
lifelessI'll tell him to bring it forward a bit00:43
poolielifeless: you asked yesterday if i'd read some advisory00:54
pooliewhich one was that?00:54
lifelessthe one I drafted about the smart server problems. I wasn't asking if you'd read it, but if you had any more edits to make before we sent it to bzr-announce00:54
jmlErrors were encountered while processing:00:58
jml /var/cache/apt/archives/bzr_1.15+4422+116~08.04_i386.deb00:58
jmlE: Sub-process /usr/bin/dpkg returned an error code (1)00:58
jml:(00:58
lifeless\o/00:59
poolielifeless: no more changes, please send it01:01
pooliejml, did you get an actual error?01:01
poolielifeless: could you send a draft advice on how launchpad devs should upgrade?01:02
pooliespiv, pushing a new branch to launchpad was HPSS calls: 61 (23 vfs) SmartSSHClientMedium(connected=False, username=u'mbp', host='bazaar.launchpad.net', port=None)01:02
poolieseems surprisingly bad01:02
jmlpoolie: no.01:02
jmlthat's it.01:02
lifelesspoolie: [lp devs] I've been working towards that prior to allhands01:02
lifelesspoolie: my opinion is that its not ready for lp devs. Its still way to fragile a process and I think all we'd learn is the fragility.01:03
lifelesspoolie: I will refresh the doc though01:03
lifelesspoolie: and we can discuss further after that01:03
mwhudsonpoolie: launchpad is still 1.1401:03
lifelesspoolie: with 1.15 and no tags it should be 0 vfs01:04
lifelesspoolie: wth 1.14 and tags, 9 vfs calls.01:04
lifelesssorry, with 1.15 and tags, 9 vfs calls01:04
pooliek01:04
lifelessbut as mwhudson says, its still 1.14 on the server01:04
lifelessjml is looking into a critical upgrade bug for going to 1.1501:05
spivpoolie: what lifeless said01:05
spivI think it might be good if the -Dhpss output mentioned if any UnknownSmartMethod were seen, to make the new client/older server case less alarming.01:07
pooliespiv, good point01:08
SamBI think you guys should make the bzr-announce list more prominent01:08
vxnickI think I know the answer to this, but is there anyway I can branch (or checkout) a single file from a repo? The repo itself only contains this one file01:08
lifelessbzr cat01:08
lifelessto get the contents01:08
lifelessor bzr branch to branch the branch01:08
SamBI barely managed to find the URL to sign up when I was *looking* for it just now01:09
SamBand that was only because I heard you talking about sending something to it!01:09
pooliejml: installing that package worked for me01:13
jmlpoolie: on hardy?01:13
poolieon jaunty01:14
jmlok.01:14
jmlI'll install from source then.01:16
jmlok, now I'm perplexed.01:23
jmlhttp://paste.ubuntu.com/192055/01:23
jmlahhh. plugins.01:24
pooliethe traceback should say01:27
poolieit's kind of a bug that the message didn't01:28
jmlyeah.01:31
jmlAnyway, I've now successfully reproduced bug 385132 without involving Launchpad.01:31
ubottuLaunchpad bug 385132 in bzr "bzr uses inaccessible, internal URL when pushing to server with host-relative default_stack_on url" [Critical,Triaged] https://launchpad.net/bugs/38513201:31
jmllifeless: you said there were tests for this in bzrlib -- where might I find them?01:37
lifelessfor the specific behaviour of honouring default policy01:37
lifelessbzrlib.tests.blackbox.test_push.*acceptance has one01:37
lifelessjml: ok, thanks for showing it w/out lp01:38
poolielifeless: quick call?01:38
jmlnp.01:38
lifelesspoolie: sure01:38
jmlgrrr. bzrtools out of date :(02:05
=== vxnick is now known as vxnick_away
jmllifeless: I've just added a patch & linked a branch that add tests that reproduce the bug.02:10
jmlLaunchpad bug mail is being slow today. :(02:12
lifelessbug 385132?02:19
ubottuLaunchpad bug 385132 in bzr "bzr uses inaccessible, internal URL when pushing to server with host-relative default_stack_on url" [Critical,Triaged] https://launchpad.net/bugs/38513202:19
jmlyeah.02:23
jmllifeless: are you planning on fixing bug 385132 today?02:41
ubottuLaunchpad bug 385132 in bzr "bzr uses inaccessible, internal URL when pushing to server with host-relative default_stack_on url" [Critical,Triaged] https://launchpad.net/bugs/38513202:41
lifelessjml: maybe02:41
lifelessjml: its clearly very important02:41
lifelessjml: however I have nothing on my plate that isn't.02:41
jmllifeless: should I ask someone else? (spiv? myself?)02:43
spivjml: I'd be happy to look at that after I'm done with bug 38031402:48
ubottuLaunchpad bug 380314 in bzr "Branch.revision_history RPC fails on a stacked branch" [High,Confirmed] https://launchpad.net/bugs/38031402:48
jmlspiv: cool, thanks.02:48
spivjml: which realistically means "tomorrow"02:48
jmlspiv: :(02:48
spiv(I might be wrong, but I'd rather surprise than disappoint)02:49
lifelessjml: I suggest digging into it yourself02:50
jmlyeah, that sounds like a winner. I'll do some RM work first though.02:52
mwhudsondo we have any idea which change introduced the regression?02:53
lifelessping or ring at anypoint if you need assistance understandin the intent vs actuality02:53
lifelessmwhudson: bugger, I was slack in the docstring, didn't mention the version02:54
mwhudsonlifeless: ?02:55
lifelessI think its just the new verb not being completely correct rather than a regression02:55
lifelesstype object 'EventsCodes' has no attribute 'IN_MOVED_TO'02:56
lifelessfunky02:56
mwhudsonah02:56
mwhudsoni guess that's good02:56
lifelesslanded in 430402:58
lifeless-> poolies03:19
poolielifeless: i don't find your rfc about log very compelling either way03:26
poolielifeless: want a lift? i wouldn't mind leaving the house...03:26
=== vk5foss is now known as Bambi_BOFH
=== Bambi_BOFH is now known as vk5foss
=== Kamping_Kaiser is now known as `6og
igchi all04:36
jmligc: hello04:39
* jml dons the trousers of release management04:39
jmligc: how's bug 362030 looking?04:40
ubottuLaunchpad bug 362030 in bzr "files whose content changed after EOL filtering erroneously marked as modified" [High,In progress] https://launchpad.net/bugs/36203004:40
pooliejml nethack mode on :)04:41
igcjml: I'm completing the tests now04:41
* poolie heads to the couch04:41
pooliehello igc04:41
igchi poolie04:41
igcpoolie: late start today sorry - needed some sleep04:41
jmligc: cool. :)04:41
jmlpoolie: you still planning on doing bug 385191 for 1.16?04:42
ubottuLaunchpad bug 385191 in bzr-gtk "removal of ProgressBarStack has broken bzr-gtk" [Critical,Confirmed] https://launchpad.net/bugs/38519104:42
fullermdigc: With that fix done, is all the filtering stuff "expected" to DTRT?04:43
poolieigc, no problem04:46
pooliejml, iirc vila said that it's purely a bzr-gtk bug because it's been deprecated for a while04:47
poolieso i wasn't going to do anything else on it04:47
jmlpoolie: ok, I'll mark it as Invalid then?04:47
poolieoh i thought he did04:48
jmlsounds like a "yes" to me :)04:48
igcfullermd: branch-specific rules are still outstanding. Otherwise, yes.04:51
jmlbzr's policy is still to say "fix released" when a fix lands on trunk, right?04:52
poolieyes04:52
fullermdigc: 'k.  Last time I fiddled with it, I ran into so many oh-but's that I just gave up, but it seemed like most of them were at least known and at best in-progress.04:56
fullermdigc: So, cool.  I'll try fiddling with it again as soon as I get out from under the deluge currently innundating me.  Expect an email from me in, I dunno, 50 years or so  ;)04:56
igcfullermd: thanks. I wouldn't bother too much before 1.1604:57
fullermdWell, I'd never bother with a release.  That's what bzr.dev is for  ;p04:57
lifelessjml: is it the value for final_stack or final_stack_pwd that are wrong?04:58
jmllifeless: wrt bug 385132? Whatever the second-last value in the returned tuple is, that's the one that's wrong.04:59
ubottuLaunchpad bug 385132 in bzr "bzr uses inaccessible, internal URL when pushing to server with host-relative default_stack_on url" [Critical,Triaged] https://launchpad.net/bugs/38513204:59
lifelessthats final_stack_pwd05:01
lifelessit should be a relpath, I think, for our cases05:01
lifelessthere are unit tests for this api05:02
lifelessin bzrlib.tests.bzrdir_implementations (or perhaps per_bzrdir).test_bzrdir05:02
jmllifeless: thanks, that helps.05:03
jmlI'm looking at http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Ch06a8r%24v7c%241%40ger.gmane.org%3E05:08
jmland http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Ch06a8r%24v7c%241%40ger.gmane.org%3E05:08
jmlthey look like the same patch to me -- should I merge the first one into bzr.dev?05:09
BasicOSXCould someone QA the 1.15.1 tar and zip at ftp://ftp.real-time.com/pub/bzr/? I am gun-shy and want 2nd set of eyes making sure the pyrex-ified files are in there.05:23
jmlpoolie: sorry, I think there's been some bug collision on bug 385191.05:23
ubottuLaunchpad bug 385191 in bzr-gtk "removal of ProgressBarStack has broken bzr-gtk" [Critical,Confirmed] https://launchpad.net/bugs/38519105:23
jmlBasicOSX: sure, I'll get to that now05:23
pooliejml, ok, but it looks like violent agreement? :)05:28
jmlpoolie: ok, so you just accidentally assigned it to yourself & the 1.16 milestone?05:29
jmlpoolie: if so, great. :)05:29
jmlBasicOSX: in the tarball, there's no C file corresponding to ./bzrlib/_walkdirs_win32.pyx05:29
pooliejml, i don't know how that happened05:30
pooliei did not click it05:30
poolieis launchpad bug i think05:30
BasicOSXI followed the release procedure to the letter -and- a make does it's all built05:30
jmlBasicOSX: same in the zip.05:31
BasicOSXbut I do see ./bzrlib/_walkdirs_win32.pyx05:31
fullermdThat file isn't pyrexified for me either on the standard make.05:31
BasicOSXbug in make disst?05:31
jmlBasicOSX: I'm bumping hard against the walls of my ignorance here.05:31
fullermdNever been built on any previous releases that I can see either.05:32
fullermd(so it's not a regression, but or not)05:32
fullermdPresumably it would only matter for somebody building for win32 directly from the tarball...05:32
BasicOSXmake dist does not build it05:32
BasicOSXie, make dist on linux05:33
mwhudsoni think it would only get c-ified on win3205:33
mwhudsonlooking at setup.py05:33
poolie<jml> "your RM thinks..." <-- nice one05:34
pooliein expression and sentiment05:34
BasicOSXI was under the impression that things goe pyrex-ified on install, but the last release went out with none and it caused problem05:34
BasicOSXengrish spoken here also05:34
jmlBasicOSX: I think it's perfectly OK for a 1.15.1 release.05:34
poolieBasicOSX: the thing is we'd rather assume the RM has pyrex even if the installer doesn't05:35
BasicOSXpoolie:  _walkdirs_win32.pyx not in tar or zip when build in linux ok?05:35
jmlBasicOSX: given that it's not a regression.05:35
jml(but poolie has the say here, I think)05:35
pooliethe .pyx file is the original source, it must be present05:35
poolieum05:35
jmlBasicOSX: it's the C file that's missing.05:35
BasicOSXoh, sorry miss understood05:36
pooliemwhudson: you may be right, but i thought we could generate the C files regardless of platform05:36
pooliehowever i think it's more ok if they're missing05:36
poolieon windows05:36
mwhudsonpoolie: you probably _can_05:36
poolieum05:36
mwhudsonpoolie: but in this case, we certainly don'05:37
mwhudsont05:37
pooliemy impression is that on unix there will be many people with compilers but not necessarily pyrex05:37
poolieon windows, probably only hardcore people will be compiling and it's reasonable for them to have it05:37
BasicOSXpoolie:  does RMS always send a condolences  on a regression release?05:37
pooliebut better just to ship it all05:37
poolieyes :)05:37
poolieit worried me too :)05:37
jmlpoolie: so we ought to be including the C for all of the .pyx files. we haven't so far, which means that it's ok for 1.15.1, but we should fix it for some unspecified future release?05:38
jmlpossibly 1.16, given that bug 385453 is already filed against it.05:38
ubottuLaunchpad bug 385453 in bzr "make dist should fail if C files don't exist or can't be built" [Medium,Triaged] https://launchpad.net/bugs/38545305:38
fullermdI note, for the record, that for 1.15 (and the last time we lacked the built .c files in a release.... 1.12?), I just added pyrex as a build dependancy to the port.05:38
fullermdAnd I'm seriously considering just leaving the dependancy in place for the future, Just In Case.  It's _tiny_.05:38
BasicOSXwhat the heck, some how a title of 1.15.1 is 1.15.1 "" but I cannot remove the ""05:39
fullermd(I mean, seriously, it took like 10 seconds to download, build, and install, on my old hardware)05:39
BasicOSXnm, control-E killed line and it's gone05:39
lifelessso05:45
lifelesswe should be versioning the pyx files now05:45
lifelessits on my todo05:45
lifelessbut anyone can do it05:45
pooliejml; i thought that fixing this was the purpose of doing the .1 release?05:46
jmlpoolie: oh.05:47
jmlpoolie: I thought the purpose was fixing the smartserver error regression.05:47
spivThe build error was the original reason, the error regression just piggy-backed on that IIRC.05:48
jmlahh ok.05:48
spivThere was also hope for a while that the gc-stacking fixes would be suitable for a 1.15.1, but they became too large.05:49
* jml writes out his revised understanding:05:54
poolieBasicOSX: so does 1.15.1 actually include the C files?05:55
jmlpoolie: no.05:55
jml<jml> BasicOSX: in the tarball, there's no C file corresponding to ./bzrlib/_walkdirs_win32.pyx05:55
spivMost Windows users will use the pre-built installer though, so that's possibly not such a big deal.05:56
pooliebut for the other ones?05:57
lifelessspiv: it borks nearly every linux distro05:57
lifelessspiv: as they have been depending on the C files05:58
BasicOSXI see the .c in the zip file.  http://pastebin.com/d7ff67cf05:58
jmlpoolie: all of the other ones are there.05:58
spivlifeless: linux distros have been depending on building _walkdirs_win32?05:58
BasicOSXbut I do -not- see them in the tar05:59
lifelessspiv: no, they run setup.py, setup.py builds or not, and depending on the exact distro we either end up with .so's or not.05:59
BasicOSXand the bad news is I sent the announce email05:59
lifelessspiv: and as they don't consistently fail when there are no .so's, users get slow bzr05:59
jmlBasicOSX: http://pastebin.com/m3d0b70e005:59
lifelessas in fact our ppa was doing for a bit05:59
jmlBasicOSX: I see the C files in the tar.06:00
BasicOSXcorrect, I forgot the '$'06:00
spivlifeless: the only missing .c file is _walkdirs_win32.c, if I'm understanding the situation correctly.06:00
BasicOSXmy apologies06:00
jmlspiv: you are.06:00
jmlat least in that respect :)06:01
=== BasicOSX changed the topic of #bzr to: Bazaar version control system | 1.15.1 released 09 June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/
spivBasicOSX: congrats on another release.06:01
jmlBasicOSX: thanks :)06:01
BasicOSXTransition of RM roll on a "pffft" on my part06:02
jml:D06:02
lifelessspiv: we're talking at different levells06:03
jmlwhile everyone is talking about pyrex :)06:04
jmlhttp://bundlebuggy.aaronbentley.com/project/bzr/request/%3Ch00992%24d67%241%40ger.gmane.org%3E <-- am I ok to land that?06:04
lifelessjml: poolie said he would land it06:05
lifelessjml:  if its not landed its certainly approved to land06:05
jmlcool.06:05
lifelessspm: ping06:06
lifelessspm: meet spiv. spiv makes pqm break with lp branches.06:07
lifelessspiv: meet spm. spm makes pqm work with lp branches.06:07
lifelessNow, will you both talk to yeach other please!06:07
bialixjml: hi06:53
jmlbialix: hello06:53
bialixhello. I'd like to say you about Russain translation patch, because you're RM for 1.1606:53
bialixI'd like to have this patch merged and released as part of 1.16, so more russian-spoken people will use it and review it06:54
bialixwhat should I do to help you?06:54
bialixhttp://bundlebuggy.aaronbentley.com/project/bzr/request/%3Ch0ld7v%24jjb%241%40ger.gmane.org%3E06:55
jmlbialix: you should find someone to review it for you, I think.06:55
bialixpoolie, igc: hi06:56
igchi bialix06:56
bialixigc, can you help me with review of Russian translation patch?06:57
igcbialix: sorry that I haven't got to all your emails yet - flat out on an important eol patch06:57
igcbialix: not just now sorry06:57
bialixok06:57
bialix2 all: if anybody can review the patch (only the part related to Makefile changes) -- I'll be very  grateful06:58
jmlbialix: btw, is there a bug associated with this patch?06:59
bialixnot yet, but I can file if this is best way06:59
jmlbialix: please do, & assign it to the 1.16 milestone.06:59
bialixI can't assign to milestone. I'm not part of bzr devs LP group07:00
jmlbialix: ok, I'll assign for you, on the assumption that this change is easy enough for the 1.16 release07:01
bialixjml: https://bugs.launchpad.net/bzr/+bug/38546407:13
ubottuLaunchpad bug 385464 in bzr "Russian translation for user documentation" [Undecided,Confirmed]07:13
vilahi all07:14
bialixvila: hi!07:15
bialixvila: can I resuade you to look at my russian translation patch, I need to find reviewer for Makefile changes07:15
bialixs/resuade/persuade/07:15
vilabialix: ok07:17
jmlpoolie: you available for a fairly quick call?07:17
bialixvila: btw, thanks for your hint about SavedCommitMessageManager in bzr-gtk07:18
bialixI have many questions about that class. Who is designed it?07:18
vilabialix: but I thought your submission was a bit strange (empty bundle), can you make a merge-proposal instead. Even if the diff is huge, we'll be sure the real stuff is up for review07:19
bialixthe branch is  lp:~ru-bzr/bzr/doc-ru07:19
bialixthis is merge directive, it's not empty07:20
bialixdo you want full preview diff?07:20
bialixI can make it without bundle part07:20
vilabialix: oh, merge directive without diff silly me, of course07:20
vilabialix: no forget it, I'll mirror that locally to review07:21
bialixresulting htmls available at my site07:21
bialixfor preview07:22
vilabialix: I'll generate them locally as part of the review anyway07:22
bialixok, that's fine07:22
jmlvila: hello07:22
jmlvila: when you get a chance, can you please take a look at https://edge.launchpad.net/bzr/+milestone/1.16 and tell me if you think we need anything else for the 1.16 release07:23
vilajml: you mean on a general point of view, right ?07:25
jmlvila: yeah. any things that are critical to a good 1.16 release & aren't on that list.07:25
fullermdWhat about fairings?07:26
vilaok, so nothing on my radar yet (bug #385453 can be fixed by adding the C files though)07:26
ubottuLaunchpad bug 385453 in bzr "make dist should fail if C files don't exist or can't be built" [Medium,Triaged] https://launchpad.net/bugs/38545307:26
jmlvila: cool.07:27
jmlfullermd: fairings?07:27
jmlfullermd: what are they?07:27
spmhi spiv :-)07:28
fullermdjml: Well, that's the real question, ain't it?  ;>07:28
jmlvila: jam seems to be against adding C files right now. since we are close to release, I figure we should adopt a simpler solution for 1.16.07:28
vilajml: ha, ok, I haven't read his mail yet, but on the principle I trust him :)07:29
spmspiv: so aiui, your lp:spivs-awesome-code branches to bzr aren't getting thru PQM?07:30
jmlvila: cool. :) I'll be around for a while longer, so feel free to ping me if you think of something.07:30
vilajml: ok07:31
spivspm: well, they get through, but when they reach the top of the queue they silently fail (i.e. no email reply)07:32
spmspiv: do you think it's possible the sheer awesomeness of the code overwhelms PQM?07:32
spivspm: my guess would be that something has broken pqm's ability to authenticate to bzr+ssh://bazaar.launchpad.net/, actually :)07:33
spmheh. lets not interject real data/facts here!07:33
spivspm: I wasn't, that really is just speculation :)07:34
* jml afk for a bit07:34
spmspiv: ok. this is really weird. rob and myself fixed this the other day - the *same* fault/broken config file is back. argh.07:35
spivspm: was that for the lp pqm, though?07:35
spmbzr07:35
spivspm: wacky!07:35
fullermdWell, he didn't specify a _direction_...  "the other day" could well be tomorrow  :p07:35
spm:-)07:36
spmspiv: oki, give it a whirl now?07:37
vilaurgh, http://paste.ubuntu.com/192236/07:38
vilaspiv: does the above rings a bell ?07:38
vilabialix: what format did you use for lp:~ru-bzr/bzr/doc-ru ? I can't branch it nor pull fom it :-(07:39
bialixBranch format 707:40
bialixRepository format:  Packs 6 (uses btree indexes, requires bzr 1.9)07:41
bialixI can send you complete patch with bundle07:41
spivspm: I don't have a pending branch handy, I'll let you know tomorrow most likely if that's ok.07:41
spivvila: you can usually work around that bug in the branch by using nosmart or sftp07:42
spmspiv: np07:42
bialixspiv: thx for the fix of Connection reset by peer. I'm ought to test it properly07:42
spivbialix: that's ok, it was just something that jam pointed out at the sprint and it looked like a quick fix to do between test runs :)07:42
bialixglad it finally fixed07:43
vilaspiv: 8-} adding nosmart works, even if the progress bar reports bzr+ssh... meh. Anyway, I thought that symptom was fixed in several different ways already, there are still more ?07:45
pooliejml, hi07:46
poolieam talking to robert, you can call if it's urgent07:46
spivvila: the damaged branches are still damaged.07:46
vilaspiv: ha yes ! Sorry07:47
spivvila: https://launchpad.net/bugs/354036 's description has the gory details :P07:47
ubottuLaunchpad bug 354036 in bzr "ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad" [Undecided,Confirmed]07:47
spiv"Undecided,Confirmed"?07:47
spivubottu: wha?07:47
ubottuSorry, I don't know anything about wha?07:47
spivOh, the "bzr (Ubuntu)" bug.  Learn some context about the channel you're in :P07:48
bialixvila: entire bundle sent to you07:48
spivbialix: (you may want to run the fix script attached to 354036 to repair your doc-ru branch)07:49
vilabialix: it's ok, spiv reminded me that my memory is suffering... what's the name of the disease ?07:49
fullermd"ghost memories"  ;)07:49
bialixspiv: should I? it works for me and other ru-bzr people07:49
jmlpoolie: it's not. I'll survive :)07:50
bialixspiv: is not http:// URL is workaround?07:51
spivbialix: the bug description on 354036 gives the precise details of the issue.  People that don't already have those revisions will probably encounter that error if they use bzr+ssh or lp: URLs.07:52
spivbialix: http:// (and sftp:// and nosmart+bzr+ssh://) URLs do workaround the problem, yes.07:52
bialixspiv: the bug description and comments is scary long07:53
spivbialix: don't worry about the comments, the description is fully up-to-date.07:53
bialixyou know this patch does not work with bzr.exe?07:54
spivWhich patch?  The fix-branch.py script?07:55
bialixrunning with bzr.dev07:56
bialixspiv: should I run this script from my source branch?08:01
bialixi.e. what is working dir expected>08:01
bialix?08:01
vilahuh, pushing to a local branch with a WT updates the WT *including* uncommitted changes ? Is it really the desired behaviour or a bug ?08:01
bialixthe script just prints: Missing inventories: set([('pqm@pqm.ubuntu.com-20090423015537-xfgqsbjj9ctpcd3o',)]) and hangs08:02
bialixspiv: ^08:02
jmlpoolie: the main thing I want to know is, for 1.16, should I be concerned with landing the many "Approved" patches listed on bundlebuggy?08:02
bialixrunning from local source branch gives me different message: Missing inventories: set([])08:06
vilajml: *I* will be concerned if I was you and will (well, *I* won't, but we're talking about you :) at least target bzr.dev *after* cutting a 1.16 branch...08:07
jmlvila:08:08
vilajml: I will just PING (note capitals) the authors :)08:08
jmlvila: :)08:08
* vila adds more smileys everywhere just in case 08:08
AfCping: Verb. To throw an electronic message at someone. Ping: Verb. To throw a "ping-pong" ball at someone. PING: Verb. To throw a large bowling ball at someone. :)08:10
bialixspiv: I'm not sure if this script is working. It just print message and then nothing happens. I don't see big network activity or something similar. It looks like it just hangs08:10
vilaAfC: is that from a real source or did you just made it ? :-D08:10
AfCJust made it up08:10
AfCvila: feel free to use it :)08:10
* bialix can keep it running for all day, of course. But not sure it makes sense08:13
vilaAfC: here you are: http://bazaar-vcs.org/Quotes08:15
spivbialix: hmm, it shouldn't hang.  If there are missing inventories, it will fetch them from the stacked-on repository then exit.  If there are none ("set([])") it will simply exit immediately.08:17
AfCvila: There are some very funny passages on that page08:18
bialixso, it definitely hangs08:18
vilaAfC: :-)08:18
spivIf it hangs it might be something odd like the SSH subprocess/thread not exiting perhaps?08:18
bialixyou ask me?08:18
bialixI don't know08:19
spivI ask the world in general :)08:19
spivI don't expect anyone to know the answer...08:19
bialixentire mind of universe, I guess08:19
vilawell *I* expect someone knows the answer about:08:19
vilahuh, pushing to a local branch with a WT updates the WT *including* uncommitted changes ? Is it really the desired behaviour or a bug ?08:19
vila:-/08:19
spivAnyway, it should have done the fix.  If you interrupt it and re-run you'll probably see that it's fixed it (i.e. it will report "set([])").08:20
vilaOr should I just test against old bzr releases ?08:20
spivOr, it really has hung while trying to fetch the missing bits, which would be odd!  But maybe a traceback would show something.08:20
spivvila: I would expect push to a WT would keep the uncommitted changes (and apply them against the new base tree, if necessary)08:21
* bialix asking ubuntu guy (Dima Vasiliev) to run this script one more time08:22
vilaand fail if they conflict with already present uncommitted changes ?08:22
vilaand not be propagated if I branch from where I just pulled ?08:22
spivvila: well, produce conflicts anyway.  Not precisely what you mean by "fail" here.08:22
vilaand not be propagated if I branch from where I just pushed ?08:22
bialixspiv: if you say so, I guess it's fixed08:23
vilaspiv: yes, conflicts sorry08:23
bialixbut it was not broken for me anyway, so I can't check this08:23
spivbialix: *nod*08:23
vilabialix: you can try branching in a standalone branch (i.e. outside your shared repo)08:24
pooliejml: not necessarily08:25
poolieyou should be concerned about any ones that are marked 1.1608:25
vilabialix, spiv: not fixed from here, nosmart+ still needed08:25
jmlpoolie: ok, thanks.08:25
poolieand you should help me guilt everyone into landing them08:26
pooliebut not necessarily for 1.1608:26
pooliei landed a couple of mine today08:26
jmlpoolie: I'm happy to do that post-1.16 :)08:26
bialixspiv, vila: Dima said it just prints: Missing inventories: set([]) and then exit08:27
bialixvila: just running bzr get in temp dir outside any shred repo with bzr.exe 1.15. Still don't see error08:30
bialix50% done08:30
bialixvila: Dima just branching on Ubuntu with official bzr 1.15 without errors08:35
bialixit smells like regression in bzr.dev08:35
* bialix assumes vila runs bzr.dev08:36
fullermdFails for me with both.08:37
* vila assumes bialix runs a magic version :)08:38
vilabialix: just to be sure, can you run bzr info -v in your temp dir and check which repo is used /08:39
vilabialix: just to be sure, can you run bzr info -v in your temp dir and check which repo is used ?08:39
* bialix thinks about the fact he and Dima have write privileges to this branch, and other people are not :-P08:39
fullermdWell, python tracebacks might as well be Russian to _me_...   so maybe his bzr just understands it while ours don't?  ;)08:39
bialixfullermd: you're incredible right08:40
bialixhdime: hi08:40
bialixhdima08:40
bialixhdima: hi08:40
hdimahi08:40
bialixvila, fullermd: here is Dima08:40
bialixask him08:40
bialixmy branch command still working08:41
bialixit seems my i-net channel little than yours08:41
hdimabzr branch work fine for me, I don't see any errors08:41
bialixhdima: show here output of `bzr info -v` please08:44
hdimabialix: wait a sec08:45
bialixor pastebin it08:45
vilahdima: the bug (AFAIUI) should only be triggered if you don't have some revisions locally, so using a shared repo masks the bug08:45
poolievila, hello, goodbye! :)08:45
vilapoolie: have a nice evening ! ;)08:46
poolielet's try to talk tomorrow, if S will let me :)08:46
vilapoolie: cough, Friday instead, I'm not there tomorrow08:46
hdimavila: I've create fresh branch in empty directory so I don't think it was masked08:46
poolieok08:46
vilahdima: bzr info -v will tell us for sure08:46
hdimaAnd I've ran fix_branch.py which returns: Missing inventories: set([])08:47
hdimavila: Ok, but I've just deleted the branch and branch it again :-)08:48
vilahdima: argh ;)08:48
jml"bzr: ERROR: No module named bencode" -- what do I install?08:49
bialixmy branching still in progress: [#########-          ] bzr+ssh > 141913KB   122KB/s | Fetching revisions:Inserting stream08:49
vilajml: use --no-plugins or BZR_PDB=1, it's bzr-gtk and bencode related08:49
bialixjml: some plugin is not updated yet, I guess08:49
jmlvila, bialix: thanks.08:49
* jml considers aliasing ./bzr to './bzr --no-plugins'08:50
vilajml:  you just said jam fix has landed somewhere what bzr version are you using ?08:50
hdimaOk, here it is: http://paste.pocoo.org/show/122163/08:50
vilajml: put your RM hat on and repeat: "I should not use --no-plugins when wearing my RM hat" :)08:51
jmlvila: I'm fixing https://bugs.edge.launchpad.net/bzr/+bug/38513208:51
ubottuLaunchpad bug 385132 in bzr "bzr uses inaccessible, internal URL when pushing to server with host-relative default_stack_on url" [Critical,Triaged]08:51
jmlvila: I'm wearing my Launchpadder hat.08:51
jmlvila: *and* my RM trousers.08:51
bialixvila: http://paste.pocoo.org/show/122163/08:51
vilajml: oh, np then ! Go ! Use --no-plugins !!!08:51
vilabialix, hdima: I'm lost :-/08:52
hdimabialix: the same output :-)08:52
bialixno, it's your output08:52
hdimabialix: =))))08:52
* bialix just pointing it for vila08:52
vilabialix: rats ! I thought it was yours and was comparing both ! :-D08:52
hdimaI thought it was yours :-)08:53
bialixvila: wait a sec08:53
bialixmy branching just finished without errors08:53
jmlglyph: hello :)08:53
bialixhere is mine: http://paste.pocoo.org/show/122164/08:54
jmlvila: re: your previous question: http://paste.ubuntu.com/192280/08:54
bialixvila: they both looks suspiciously similar :-D08:54
hdimabialix: except the first line ;-))08:55
bialixyeah08:55
hdimaSo it works08:55
bialixvila, spiv: so what now?08:55
bialixit works for us08:55
bialixand we both using official bzr 1.15 and we both have write privileges for this branch08:56
vilawrite privileges shouldn't have an impact here08:56
bialixas you wish08:56
vilaapart from that, no idea08:56
vilatrying with 1.15.1 from here08:57
bialixI don;t have 1.15.1 yet08:57
vilafails in the same way08:57
vilaas is 1.14.108:58
bialixhdima: we just discovered Russian-only feature in LP. Yay!08:58
bialixI guess this is because Mark was in Russian08:59
hdimaIt's I18N feature ;-)08:59
vilaalso fails with 1.1508:59
hdimaNow I'm branching read-only with http://...09:00
vilaI wonder if windows has some... thing... that has the same effect as adding nosmart+...09:00
bialixvila: hdima using ubuntu09:01
hdimavila: Maybe you need to run it in some sort of sandbox?09:01
bialixwith --no-plugins flag may be?09:01
vilabialix: yeah --no-plugins and a lp: URL, I love that combo :-)09:01
bialix:-DDDDDD09:02
hdima:-)09:02
bialixyou have bzr+ssh URL ;-)09:02
hdimabialix: Maybe we just need to branch it to a different site for vila?09:03
glyphhello!  I have a question about branch etiquette.09:03
bialixno, http:// or nosmart+ prefix works09:03
bialixcool09:04
bialixyesterday I've asked about another etiquette09:04
vilahdima: Don't worry, I have been able to branch by adding nosmart+, I'm just trying to better diagnose the problem, but really I should leave it to spiv as obviously I'm going nowhere09:04
bialixit seems bzr users is very noble people09:04
hdimavila: Ah, OK09:04
bialixglyph: please, ask09:05
glyphIf you're working on a feature in a branch, and it takes a long time, sometimes you have to integrate changes from trunk.09:05
jmlyep.09:06
glyphIt seems like the convention is to do 'bzr merge trunk' in your branch, and just keep working.09:06
bialixyes09:07
jmlglyph: yes. that's what most people I know do.09:07
glyphIf a lot of work has gone into trunk, that seems to create something I find confusing as a reviewer.09:07
glyphthe revision has a giant diff of unrelated changes, which may involve some changes to resolve conflicts09:08
glyphthe changes which resolve conflicts are relevant to the branch, but all the other stuff from trunk (which can be a lot) isn't09:08
vilaglyph: time to use 'bzr diff -rsubmit:' ?09:08
bialixglyph: you can use `bzr merge --preview` or `bzr send -o-` to preview actual changes09:08
jmlglyph: why is the diff in that revision relevant to the review?09:09
glyphjml: well, this is one of the things that I like about bzr as opposed to svn09:09
BasicOSXThis cuz I'm using bzr.dev? KnitPackRepository('lp-hosted:///~tanner/mactrek/trunk/.bzr/repository') is not compatible with KnitPackRepository('lp-hosted:///~tanner/mactrek/osxtrek.1.4.0/.bzr/repository') different rich-root support09:09
jmlbialix: 'send -o-' is equivalent to 'diff -rsubmit:', isn't it?09:09
bialixI never think about this09:10
bialixmay be09:10
glyphjml: If I look at the revision history, I can see how the branch came to be much more easily09:10
vilajml: 85% sure yes09:10
glyphjml: If people integrate changes from trunk, it's easier to read if they do the re-branch thing09:11
glyphjml: If I'm just reading the end-of-branch diff, the experience isn't much different from svn :)09:11
jmlglyph: except that the re-branch thing loses all changes from before then.09:11
bialixre-branch? I guess you need rebase09:11
glyphjml: it does?09:11
vilaBasicOSX: lp-hosted ?09:11
BasicOSXyes09:12
jmlglyph: the history of those changes, yes.09:12
vilaBasicOSX: you scare me there is is 3h11 AM your time ?09:12
bialixjml: not if you're using rebase09:12
vilas/is is/is it/09:12
BasicOSXvila:  I need to keep up with you09:12
glyphjml: if you do re-branching by 'bzr branch trunk my-branch-2; cd my-branch-2; bzr merge ../my-branch', what history is lost?09:12
vilaBasicOSX: what is lp-hosted ? (was my badly expressed question)09:13
jmlglyph: oh, right. none.09:13
jmlglyph: it's just weird :)09:13
jmlglyph: I was thinking of Combinator-style "merging forward"09:13
jmlmy mistake.09:13
glyphjml: well, the thing I just said is the bzr non-history-losing translation of that idiom ;)09:13
BasicOSXvila:  https://code.launchpad.net/mactrek I just took some upstream code, gotten via bzr svn-import and push to LP (bzr push lp:~tanner)09:14
jmlglyph: a lot of the time when I do reviews, I look at the mainline history of that branch.09:14
jmlglyph: not diff-by-diff, just the log messages.09:14
* igc dinner09:14
glyphjml: so yeah09:16
glyphjml: what I want to know is, why is it weird?09:16
vilaBasicOSX: I think jml may know better about which branch stacks on which and what formats are used in thoses branches. Especially since some vcs-imports are involved and I don't know if you used that or did your ow import 8-}09:16
BasicOSXk09:17
BasicOSXI think it's cuz I locally did a bzr branch --stacked upstream my-branch09:17
vilaBasicOSX: but https://code.edge.launchpad.net/mactrek also show branches with "This branch has not been pushed to yet. " warnings which may indicate yet another kind of problem09:17
BasicOSXthen did a bzr push lp:~tanner/my-branch09:17
jmlglyph: have a look at https://code.edge.launchpad.net/~ian-clatworthy/bzr/eol-st-ci-fix/+merge/7269 for an example09:17
jml(sorry I couldn't find one of my own)09:17
jmlglyph: I look at something like that almost every time I review a branch.09:18
jmlglyph: I get to see the history, but rarely look at the line09:18
jmlat the diff for each revision.09:19
jmlglyph: doing the re-branching thing you describe is weird because it disrupts the idea of a branch as a line of development.09:19
jmlglyph: also, the initial commit that merges in your changes isn't particularly meaningful.09:20
jmlglyph: at least to me, the operation I'm performing is "integrate changes from trunk with my work"09:20
jmlnot "start a new line of work and bring in everything from my last try at it"09:22
jmlglyph: I guess that's not such a compelling answer.09:23
BasicOSXisn't the bug that was fixed in 1.15.1?09:23
BasicOSXSource format does not support stacking, using format: '1.6.1-rich-root'09:23
BasicOSX  Packs 5 rich-root (adds stacking support, requires bzr 1.6.1)09:23
jmlBasicOSX: don't think so.09:24
BasicOSXok, I'll stop the panic attack and re-read bug report09:24
jmlBasicOSX: the issue is that one branch is 1.6.1-rich-root and the other is 1.6.1, I think.09:24
jmlBasicOSX: you can't stack rich-root on non-rich-root & vice verse09:24
jmlversa, rather.09:24
jml*so* glad that mess is going away09:25
bialixvila, spiv: so outcome of the problem with doc-ru branch should be filed as bug?09:25
jmlwish emacs had annotate integration.09:25
jmlmwhudson: pls rewrite loggerhead in elisp kthxbye.09:26
vilabialix: I think so yes09:26
glyphjml: Well, it might not be super compelling, but it makes sense09:26
jmlglyph: the other reason is that most merges really are boring.09:27
bialixvila: my gut feeling -- it's related to write permissions. but I have no facts09:27
jmlglyph: even most of the ones that resolve conflicts.09:27
vilabialix: There is a way to check that: give me the write permissions (and remove them after the test)09:28
bialixjoin ru-bzr group then09:28
glyphjml: it does make the history more readable as a list of changes, rather than as a tree of diffs09:28
hdimabialix: maybe you remove write permission for me and give it back after the test?09:29
glyphI think I still prefer my way of doing it, but it explains why that isn't the default way09:29
vilabialix: done09:29
bialixhdima, vila: I do both09:29
hdimabialix: Don't forget to give it back ;-))09:30
bialixyou know how to PING me :-)09:30
jmlglyph: as long as you don't make it compulsory for Twisted development, let's leave it there :)09:31
hdimabialix: yeah :-)09:31
bialixvila, hdima: done09:31
* hdima test branching09:31
vilabialix: you were right ! I can branch with 1.15 !09:32
bialixwait for hdima09:32
vilabialix: well, still in progress with 1.15, will try bzr.dev then09:32
hdimabialix: you are right: I see the error :-))09:33
bialixyahoo!09:33
hdimaBut what about fix_branch.py then?09:33
bialixvila: ^09:33
hdimaIt seems it doesn't fix anything? :-)09:34
vilathere is a bug there, I suspect spiv didn't test with such a config, I don't know off-hand what difference write privileges imply, but obviously something :) jml ? Any idea about what lp does differently here ?09:34
jmlyes.09:35
jml(nyah-ah-ah)09:35
vilagreat, I'm so relieved :)09:35
hdimabialix: give me my rights back! :-))09:35
jmlLaunchpad has two different branch storage areas.09:35
jmlan upload area and the mirrored area09:36
bialixok :-P09:36
bialixdone09:36
jmlvia the SSH server, if you get a branch that you've got write access to, you always get the version in the upload area09:36
jmlthat gets pulled to the mirrored area with bzrlib, so the version in the mirrored area (which you get if you don't have write access) is always a working bzr branch.09:37
hdimabialix: thanks :-)09:37
bialixvila: you can leave the group yourself, I guess?09:37
vilabialix: branch ok with bzr.dev, you can toss my rights :)09:37
vilabialix: I'll try, wait09:37
* fullermd tosses vila a left, just when he wasn't expecting it.09:38
bialixhappy to help09:38
* vila watch the wreckage on the floor....09:38
jmlspiv: you still around?09:39
* hdima happy to help catch the bug09:39
vilabialix: done09:39
vilajml: you mean the branch in the mirrored aread is *not* working09:40
hdimavila: now you're lost a chance to help with the translation :-)09:40
jmlvila: working as far as bzrlib can tell :)09:40
vilajml: but exhibiting the bug right ? Oooooh, the script has fixed the uploaded branch, but the puller didn't realize it should update the mirrored one because the tip didn't change right ?09:41
jmlspiv: in r4126.1.1, you add a test that doesn't have an assertion, test_default_stacking_with_stackable_branch_unstackable_repo -- is this deliberate.09:42
jmlvila: bingo09:42
vilapfew... thanks bialix, that one could have stay hidden for a looooong time09:42
bialixvila: so now you can finally look at the patch :-)09:43
vilabialix: If you didn't interrupt me that much the review will have been finished at least 1h30 ago :-D09:43
vilabialix: nearly done09:43
* hdima thinks the patch need to be approved at least09:44
* bialix shuts up and hides somewhere09:44
vilabialix: doe09:47
vilabialix: done09:48
vilaI only ask for a minor tweak: adding a comment, other than that, congrats for that work09:49
glyphjml: so do you think you'd ever have call to do my backwards-trunk-merge thing?09:53
hdimabialix: Agreed with vila. I think we need to write something like this: "The following docs was translated to Russian: ..."09:54
jmlglyph: I don't think so.09:54
jmlglyph: two possible circumstances that I can think of --09:55
jmlglyph: first, if I was resuming a long-dormant branch, then in a sense I am starting a whole new line of work. I might do that sort of thing (then again, I might not)09:56
jmlglyph: the other case, when I have a really interesting conflict, I think I would instead do my normal thing and put in a detailed commit message.09:56
glyphjml: if you found a branch where someone (me) had done it a bunch of times, would it annoy you?09:59
jmlglyph: I don't know -- it's never happened that I've noticed :)10:00
jmlglyph: probably not. (I wonder what it would look like in bzr viz or bzr qlog)10:01
bialixhdima: can you adjust it, please?10:02
bialixvila: many thanks10:03
hdimabialix: yes10:04
vilabialix: thanks to you and your mates for doing that ! For so long (first revisions are from last August right ?)10:04
bialixyes, it was started by Alexey Shtokalo actually. But even before there was another attempt that failed10:05
bialixit's not easy job to do10:05
hdimavila: I believe we'll address duplication in the Makefile in the next patch because I don't like it too10:05
vilahdima: great !10:05
hdimaYes, and now we want to do it more officially :-)10:06
vilahdima, bialix : that's one more reason to land that patch quickly :)10:06
jmlbut let's not forget the other reason: if it's not in soon, it misses 1.16 :)10:06
bialixvila: I know it's too much for one day, but.. can you help us with PQM?10:06
* jml admires the shine on the RM trousers.10:07
hdimaActually I have some thoughts about i18n but I think it's too early for now10:07
bialixhdima: please! not now10:07
jmllifeless: you around?10:07
* bialix envies to jml10:08
hdimabialix: it's only thoughts :-)))10:08
vilabialix: no problem, I was thinking about that, but you'll need to push a new branch in lp:~bialix/bzr/whatever-as-long-as-you-tell-me so we avoid the bug10:08
fullermdjml: That's dried blood sweat and tears from previous RM's.  No cleaner in the world has managed to get it out...10:09
vilaerr lp:~bzr/bzr/whatever even10:09
jmlfullermd: heh :)10:09
vilajml: did you get the updated notes from BasicOSX ?10:09
bialixvila: I have no access to ~bzr10:09
bialixperhaps hdima has?10:09
vilabialix: bah, use lp:~bialix then, that should be fine as long as you do that with a recent enough bzr (1.15 should be fine)10:10
hdimabialix: no I'm not10:10
bialixvila: perhaps we should get you to ru-bzr group back :-)10:10
vilabialix: :-) Naah, no time to learn Russian :-)10:11
jmlvila: no, not yet.10:11
bialixvila: we can teach you some love words in russian...10:11
vila:-D10:12
bialix:-D10:12
hdimaand some slang of course ;-)10:12
bialixvila: new branch with the tweak: lp:~ru-bzr/bzr/doc-ru-1.1610:28
jmlВ огоро́де бузина́, а в Ки́еве дя́дька.10:28
bialix:-D10:28
jml(from http://en.wikiquote.org/wiki/Russian_proverbs -- I speak no Russian)10:29
hdimaLooks like unreadable UTF-8 for me :-)10:29
bialixhdima: I see it right10:29
bialixv ogorode buzina a v kieve dyadka10:29
hdimabialix: Other guys still use KOI8-R on IRC :-)10:30
vilalooks like perfect cyrillic for me :-)10:31
hdimaWow, Russian day on #bzr :-)))10:31
jmlI can't figure out where this test is supposed to go.10:37
jmlalso, I suspect that TestSmartServerRequestBzrDirInitializeEx's docstring lies.10:37
lifelessjml: yes11:20
jmllifeless: hi11:25
mwhudsonjml: no11:25
jmllifeless: I can't figure out which tests I'm supposed to be looking at here.11:25
jmlmwhudson: awwwwwww, c'mon, be a sport.11:25
lifelessok11:25
lifelesslets make a date; tomorrow say, and I'll look deeply with you11:25
lifelessI'm wellpast EOD11:25
jmllifeless: sounds like a plan.11:25
mwhudsonjml: no11:26
aquariusI bzr branched a launchpad project, using my access credentials (it's a project that I can write to). Since then, I've changed my launchpad username, so "bzr pull" says "Using saved parent location: bzr+ssh://OLDUSERNAME@bazaar.launchpad.net/" and then "No such Launchpad account". Can I tell bzr to change the saved location?11:30
james_waquarius: bzr pull --remember URL11:34
aquariusjames_w: and lo it works. Good shout, fella11:36
jmlgosh, it's been a while since I've seen 'fella' used colloquially.11:38
aquariusit's due for a revival, I think. Like "codswallop"11:38
jmlcodswallop I can see.11:39
jmlaquarius: are you going to EuroPython?11:39
aquariusjml: probably not, but since I'm only 10 miles away I may drop in for an evening or two of beer11:41
jmlaquarius: cool. I'll be attending -- would be cool to catch up.11:42
jmlaquarius: also, there's a Bazaar sprint on the Fri & Sat, which you're welcome to gatecrash. (See http://wiki.europython.eu/Sprints)11:43
aquariusI might be able to do that, I'm not sure11:45
vilabialix, hdima: landed11:54
=== vila is now known as vila-lunch
igcbialix: I've resubmited that patch for qversion as requested11:55
hdimavila-lunch: Cool! Thank you!12:04
spivjml: hmm, regarding that test, probably was intentional, but that was *ages* ago ;)12:11
=== vila-lunch is now known as vila
spivjml: It looks rather like a test that is of the "...and then this last step doesn't blow up" variety.12:12
spivjml: although it doesn't seem like it would be hard to sprinkle some assertions afterwards, for clarity.12:13
spivAlso, I've got "bzr pull -r N" from a stacked repo (into an empty repo), where "N" is in the stacked-on repo, down to 18 RPCs, none VFS.12:14
spivglyph: so, what you describe generates a nearly identical history to the standard "bzr merge trunk".  The only difference is that the order of the parents of the merge revision is swapped.12:18
spivglyph: so one thought that occurs to me is that there's probably an easier way do that than actually constructing a new branch on disk ;)12:19
spivglyph: but more importantly, I don't see why that makes the history any clearer.  Either way there's a big honking merge in the middle of your feature development history that you want to land.12:20
rockyhey the release notes url linked on the main page for 1.15.1 is 40412:55
pooliehi rocky13:07
rockyhello13:07
pooliefixed13:09
poolierocky: thanks for reporting it13:17
rockynp13:18
=== `6og is now known as Kamping_Kaiser
Milo-hey, is there a way of setting up 'default' permissions for newly created branches and uploaded files using bzr?14:45
Milo-my vsftp server's settings are completely ignored, and all new branches are created with 700 permissions, even though I want 75514:46
Spabbyhi folks, can anyone give me some advice what model is best for me to use for collaborative working using bzr please?14:51
SpabbyWe will be working on a zf based php project as a duo, with the development being done on a central LAMP server14:51
SpabbyI'm not sure how and if we can achieve this with bzr14:52
sevenseekerping vila14:52
vilasevenseeker: pong ?14:52
sevenseekergood morning, I was told you were knowledgeable about bzr+ssh14:53
vilasevenseeker: who said that ? :-)14:53
sevenseekerI want to use a pub key to connect to a machine but it is not named in the default way (I have many)14:53
sevenseekerummm, lemme check14:53
sevenseekerbueno :)14:53
vilasevenseeker: what os are you using ?14:54
sevenseekerclient is mac 10.5 and server is ubuntu 9.0414:54
vilagood, we are in civilized world then :)14:55
vilaman sshd_config14:55
sevenseekerhahaha14:55
sevenseekerwell I have ssh working fine14:55
LarstiQsevenseeker: is ssh-add feasible?14:55
sevenseekerhow do I make bzr use a specific key?14:55
LarstiQsevenseeker: if not, you could specify the key to use in ~/.ssh/config14:56
sevenseekeroh, well... lemme check14:56
sevenseekeroh, I see... never done that (LarstiQ)14:56
vilasevenseeker: As Larstiq said, no need to involve bzr hence: man sshd_config, I thought the variable was Identity but I can't find it anymore :-/14:56
LarstiQvila: think so14:57
vilaIdentifyFile ! man ssh_config not sshd you id...entity seeker :)14:57
sevenseekervila: I see, lemme check... had no idea that would help me until you mentioned it :)14:58
vilasevenseeker: so the idea is that you define IdentifyFile in some host section (I tested that weeks ago but I did it manually :-/ Time to start TDA test driven administration :-D)14:58
sevenseekersweet14:59
visik7ok I used bazaar for 1 year alone :)15:07
visik7now I'm using it in a team15:07
visik7few questions:15:07
Milo-he's been writing those questions for 10 minutes15:17
Milo-I bet it's something huge15:17
=== oubiwann_ is now known as oubiwann
visik7this is my workflow A and B has rev1 and A commit and push (rev2) to a shared branch, now B commit and push too (its own rev2) and got a diverged error it, B runs merge and a commit and push15:31
visik7Milo-: no I'm working and chatting and surfing and calling to the phone and a bunch of other things15:32
sevenseekerhowdy again, thanks everyone for your help and feedback15:33
sevenseekerusing ssh-agent I am able to push and branch remotely but I can't seem to get it working right, both push and branch TO the remote location only result in a dir with .bzr in it, and when I try and run 'bzr update' on it, it complains that it is NOT a working copy :(15:35
LarstiQsevenseeker: that is intended behaviour15:36
Peng_sevenseeker: Why do you want a working copy?15:36
LarstiQvisik7: go on :)15:37
sevenseekerwell all I want to do is push a branch to the remote server for development, the constraint is that my dev box I am pushing from is not reachable by the remote servers15:37
LarstiQsevenseeker: develpment in what sense? The .bzr control directory is everything bzr needs for publishing purposes15:38
LarstiQPeng_: I vote for inclusion of this question in http://bazaar-vcs.org/FAQ15:38
sevenseekerso say locally I branch foo to bar, make my changes and commit, now I want to push 'bar' to actually work on it in my test envrionment remotely15:39
sevenseekeryes, a FAQ on this would rock!15:40
visik7LarstiQ: so the question is before the push of B15:41
Peng_LarstiQ: That's a good idea. I'm not gonna write it, though. I'm a terrible writer.15:41
visik7how to handle the if A had push something ?15:41
* LarstiQ nods at Peng_ 15:41
sevenseekerright now I am tarballing it all up and throwing it on the remote location, but I figured there was a better way15:42
LarstiQsevenseeker: usually, one pushes a branch to a remote location, to then bzr pull/branch/merge from that location somewhere else15:42
visik7B -> 1 pull -> 2 on error-> merge ->3 commit ->4pull (goto 2)-> push ?15:42
LarstiQsevenseeker: is the remote location actually a workstation of yours, and not a central server?15:42
sevenseekeryes, it is a test machine (or dev on our production environment --> EC2)15:43
j_bakerI'm having a bit of trouble downloading anything at https://launchpad.net/bzr/+download ... Is it just my network connection, or is anyone else having the same problem?15:43
sevenseekerso no, not central server15:43
sevenseekeralthough I will need that soon15:43
LarstiQsevenseeker: you can create a working tree by using `bzr co`15:43
sevenseekerjust for using Trac15:43
LarstiQsevenseeker: and then `bzr update` to update the working tree15:43
LarstiQ(after subsequent pushes)15:44
sevenseekeroic, I wrongly thought co would 'pull' from another location, not use what is in the .bzr info15:44
sevenseekerdang, you guys rock15:44
visik7is my workflow complete ? or did I miss somethng ?15:44
sevenseekerI really appreciate it15:44
LarstiQsevenseeker: to see that clearer `bzr co .`15:45
sevenseekerI am still coming from svn, so used to that way, lol15:45
LarstiQvisik7: I'd do: `cd trunk; bzr pull; bzr pull ../feature-branch; (if that failed, bzr merge ../feature-branch); bzr commit; bzr push`15:46
LarstiQvisik7: alternatively, you could make use of checkouts and their lock-step development mode15:47
lukssevenseeker: hm, I wonder what are you used to with svn15:48
lukssevenseeker: because svn doesn't allow creating and managing working copies on remote servers15:48
LarstiQluks: `svn co` vs `bzr co .`15:48
visik7but on the last 2 commands between commit and push do you check if new changes are in ?15:48
sevenseekerI know, I meant that svn co pulled data from a remote source15:48
sevenseekernot pushing :)15:48
luksah15:48
LarstiQvisik7: no, because you had already pulled trunk to mirror remote15:49
visik7but how could you know if someone update the remote ?15:49
LarstiQvisik7: you would know if push said they diverged15:50
visik7oh ok15:50
visik7thanks15:51
LarstiQvisik7: as I said, checkout with it's check at commit time might suit you better15:51
visik7what's the difference between push/pull and checkout/commit a part that the branch is bound ?15:53
LarstiQvisik7: ehm, that's not the relevant grouping15:54
visik7ok I miss something15:54
visik7could you explain me please ?15:57
LarstiQvisik7: push/pull/checkout/commit are useable in both situations15:58
LarstiQvisik7: in fully distributed mode, making a new revision (commit) and publishin that revision (push) are decoupled15:58
LarstiQvisik7: in a central style (bound branch), commit will also make your revision available in the branch you are bound to.15:59
LarstiQvisik7: however, that doesn't diminish the use of push to publish revisions in other locations.15:59
LarstiQvisik7: commit will also check that you're not diverged, and suggest you run update if you are.16:00
LarstiQvisik7: in the fully distributed mode, update is used to bring the working tree at the same revision as the branch, as seen in sevenseeker's situation16:01
visik7so I don't understand how to use what you call "checkouts and their lock-step development mode"?16:01
LarstiQvisik7: for bound, update will bring the working tree (and local branch) up to date with the master branch16:01
LarstiQvisik7: if you're more familiar with a bound branch, use that term instead of a checkout16:02
visik7I suggest my team to unbound their own branck16:02
LarstiQvisik7: in that case, B can not commit to a state where he'd diverge from the shared trunk16:02
visik7I don't really like bounded branches16:02
visik7oh for that16:02
LarstiQyes16:02
stbuehlerI'm having fun with bzr-svn again... bzr push takes ages (discovering branches [...]), bzr dpush doesn't work, and i still don't get the svn rev ids for the commits i pushed in the bzr log16:02
LarstiQvisik7: if you don't want to use them, that's fine.16:02
LarstiQvisik7: you'll get diverged branches from time to time, and you'll have to merge16:03
LarstiQvisik7: if trunk is diverged yet again after you do that, you'll have to merge again16:03
visik7LarstiQ: I like unbound but I think that for other developers bounded branches are better16:03
LarstiQvisik7: depends on what they're comfortable with16:03
visik7they have never used VCS nor DVCS16:04
Milo-I don't want to run "bzr serve" as root, what kind of permissions do I have to set for my server's users in order to my 'bazaar' -user to have access to the branches?16:04
Peng_Milo-: That depends entirely on the permissions on your branches...16:05
Milo-the branches are automatically created with 700, which I can't seem to change16:05
LarstiQvisik7: that can mean they'll accept any new way of thinking :)16:05
Milo-haven't found a way to create them with some other permissions instead16:06
LarstiQMilo-: how are they created?16:06
Milo-when running bzr init ftp://my-ftp.my-domain.myTLD/branch16:06
visik7LarstiQ: yes but it's already difficult to explain a VCS I can't afford to explain DVCS they probably starts to running around screaming16:06
LarstiQMilo-: I'll mention `setfacl` and POSIX acls before I know what the situation is16:06
LarstiQMilo-: if you can, using something that is not ftp will be better16:06
visik7LarstiQ: so for B -> update -> merge if errors -> commit ->merge if errors ?16:07
LarstiQvisik7: right, then checkouts might be better for them16:07
Milo-ssh would be create, but chrooting it is harder16:07
Milo-erm16:07
Milo-great*16:07
Milo-not create, hah16:07
visik7B is my fellow developer :)16:07
LarstiQvisik7: commit -> update if mentions -> commit -> update if mentions, etc16:07
visik7so no steps before starts coding ?16:08
LarstiQvisik7: `bzr checkout url/to/master; cd new-checkout; *hack*; bzr diff; bzr commit;`16:09
Milo-setfacl -m u:myBazaarUser:rx hmm, I'll try that16:09
LarstiQMilo-: either I mistunderstand your question, or you're looking for group instead16:10
Milo-the users are in the bazaar group16:10
Milo-but the dedicated bazaar-user still can't access the files :/16:11
visik7LarstiQ: yes the checkout part is already done, I mean ... in the morning ... before everything take place a bzr update is suggested right ?16:11
Milo-and I need to find a way for bazaar to set up permissions for the group when ever it creates new files.16:11
LarstiQMilo-: paste from my situation:16:11
LarstiQsetfacl -m group:developer:rwx /bzr16:11
Milo-I don't want to setup dedicated bazaar server as root16:11
LarstiQsetfacl -m default:group:developer:rwx /bzr16:12
LarstiQvisik7: not needed, but doesn't hurt to get new revisions before you start working16:12
Milo-LarstiQ I get "operation not supported" when I run that16:12
LarstiQMilo-: feh, then your fs doesn't have POSIX acl support (turned on)16:13
Milo-ah16:13
LarstiQMilo-: in that case, you'll need to fall back to plain old unix permissions16:13
LarstiQMilo-: with setgid16:13
Milo-  ? ?    [*]     Ext3 POSIX Access Control Lists                           ? ?16:13
LarstiQMilo-: and appropriate umasks16:13
Milo-it's definitely there16:13
LarstiQMilo-: and the fs in question is ext3? :)16:14
Milo-indeed16:14
LarstiQmkay16:14
LarstiQMilo-: they really are the most convenient way of solving this problem16:14
LarstiQMilo-: could you pastebin the exact sequence?16:14
Milo-exact sequence?16:15
Milo-I rather ask something stupid than paste something stupid16:15
LarstiQMilo-: a transcript of the commands you typed in and their output16:15
LarstiQMilo-: the one that gave ris to 'operation not supported'16:15
Milo-http://codepad.org/9L366Wmt16:16
LarstiQMilo-: ok, and `mount | grep home` just to make sure?16:17
* LarstiQ googles the error16:17
Milo-/dev/sda2 on /usr type ext3 (rw,noatime)16:17
Milo-no 'home'16:18
LarstiQMilo-: ah, you might be missing some user-land utilities16:18
visik7thanks LarstiQ16:18
LarstiQMilo-: got libacl1 ?16:18
visik7see you later16:18
Milo-no such thing in the portage :o16:19
LarstiQMilo-: luckily you did a human grep for the information I was after anyway ;)16:19
Milo-I do have sys-apps/acl16:19
LarstiQMilo-: sounds about right16:19
Milo-which has access control list utilities, libraries and headers16:19
Milo-well, I do know around my setup16:20
Milo-but creating this dedicated user for bzr server is giving me a lot of trouble16:21
LarstiQMilo-: a dedicated user doesn't sound too sensible16:22
Milo-well, I don't want to run the server as root16:22
LarstiQthat sounds even less sensible :)16:22
Milo-not wanting, or running it as root?16:22
LarstiQrunning it as root16:22
LarstiQit has no business near root16:23
Milo-that's what I thought16:23
LarstiQMilo-: maybe we should take a step back and discuss what your desired outcome is?16:23
Milo-I've plenty of users on my server, which are there to use bzr, share their projects and such16:23
LarstiQright16:23
Milo-the users have their own accounts to do the changes, commits, etc16:23
Milo-and the bzr serve is there to let them share their projects as readonly (bzr branch bzr://..../branch16:24
Milo-)16:24
LarstiQok16:24
Milo-first I tried to do that with anonymous ftp user, but it hit the brick wall since bzr kept creating all the .bzr folders with 700 permissions16:25
Milo-and now I think this one is hitting the same brick wall as well.16:25
LarstiQMilo-: you don't want to provide readonly access via http?16:26
LarstiQMilo-: or even bzr+ssh:// to other users branches?16:26
Milo-that should also have the same issue, no permissions to the folders.16:26
LarstiQbecause they're using ftp to push their branches, and that results in 700 permissions?16:27
Milo-bzr+ssh would be okay, but that'd require a lot of configuring for my ssh settings and ensuring that ssh is still chrooted (for which, I haven't found a working tutorial yet)16:27
LarstiQMilo-: what umask is the ftpd employing?16:27
Milo-002216:27
LarstiQhmmm16:28
LarstiQMilo-: could you try a push with bzr+ssh:// or sftp:// to see if it has the same permissions?16:28
Milo-I don't want those users to have actual shell-access16:28
Milo-sftp:// only seems to work with default port16:29
LarstiQMilo-: regardeless of that, I'd like for you to test out and see what happens16:30
Milo-oh and sftp doesn't work if I'm blocking them from logging in16:30
LarstiQMilo-: if those _also_ get to 700, we have a problem somewhere else16:30
Milo-bzr: ERROR: No such file: '/test': [Errno 2] No such file16:31
Milo-that was with bzr init16:31
Milo-oh yeah16:32
Milo-sftp takes absolute path16:32
Milo-sftp created the repo with the right mask16:32
Milo-so it's an ftp issue16:32
LarstiQyeah16:33
* LarstiQ hates hates ftp16:33
Milo-But I can't let my users to use sftp, since I don't want to use default ssh port and I don't want them to be able to have ssh login rights16:33
LarstiQMilo-: that's fixable, but let's see what we can do with ftp16:34
Peng_I thought OpenSSH's sftp is known for screwing up masks.16:34
Peng_Or maybe it's group ownership. Anyway, it's something!16:34
LarstiQPeng_: fixed in a 5.x release16:34
Peng_LarstiQ: Oh, cool.16:34
LarstiQafaik istr16:34
Peng_...I'm pretty sure I'm not crazy enough to build my own OpenSSH, though. :D16:35
LarstiQPeng_: 5.1 is in sid and testing16:35
Milo-bzr+ssh:// also worked well16:36
Peng_LarstiQ: Well, I don't run sid and testing.16:36
Milo-so how to fix ftp16:36
LarstiQMilo-: if you could provide more debugging information on https://bugs.edge.launchpad.net/bzr/+bug/326543 that might help16:38
ubottuLaunchpad bug 326543 in bzr "Broken permissions over FTP for .bzr/repository (and others)" [Undecided,New]16:38
LarstiQMilo-: maybe run bzr with -Dtransport16:39
LarstiQMilo-: ie, `bzr -Dtransport push/init foo` etc16:39
Milo--Dtransport does what?16:39
LarstiQMilo-: server logs of your ftpd might also help debug this16:39
LarstiQMilo-: add verbose prints for transport (sftp/ftp/ssh/http) activity to .bzr.log16:39
Milo-ok16:39
LarstiQMilo-: as well as information on which ftp server you're using16:40
Milo-vsftpd16:40
LarstiQstandard enough at least16:40
Milo-oh forgot, I never received my launchpad confirmation16:41
Milo-something wrong with my mail-box. It decides to ignore some weird places16:41
Milo-probably something wrong with my own domain settings16:41
jseaboldWas wondering if someone could help me out.  I've found some help here on this problem a few weeks ago, but it persists.16:42
jseaboldI work on one branch on launchpad from two computers and even though I've committed and pushed visible changes to lp from one computer.16:42
LarstiQMilo-: if you do the debugging work, I can attach it to the bugreport :)16:42
jseaboldWhen I run bzr status on my other computer it says up to date with revision 1728 when the newest revision on the branch is 1730.16:42
LarstiQjseabold: `bzr status` compares your working tree with your local branch data. It does not check remotely.16:43
jseaboldsorry bzr update gives tree is up to date16:43
Milo-LarstiQ could you tell me exactly what you want for that report?16:43
jseaboldbut what it reports as up to date and what is on launchpad as the newest revisions is different16:44
LarstiQMilo-: sure. `bzr init ftp://` goes wrong, right? I'd like to see results of `bzr -Dtransport init ftp://` from ~/.bzr.log16:45
Milo-ok16:46
LarstiQjseabold: what does `bzr info` say your branch type is?16:46
jseaboldStandalone tree (format: pack-0.92)16:47
jseaboldLocation:16:47
jseabold  branch root: .16:47
Milo-woah currently I just keep getting this with all ftp-operations. http://codepad.org/1LhPZobe16:47
Milo-I might have broken my ftp16:47
LarstiQjseabold: right, standalone tree, not a checkout.16:47
LarstiQjseabold: you want `bzr pull`, not `bzr update`16:47
jseaboldLarstiQ: that was my next question.  thanks! So I should only use update on a checkout and pull on a standalone tree?16:48
LarstiQjseabold: for this usecase, yes16:49
jseaboldLarstiQ: wonderful thank you very much16:50
eydaimonbzr serve seems to not give me anything good when I run it. and by not good, I mean "erroreneric bzr smart protocol error: bad request 'GET / HTTP/1.1\r'".   I'm starting with `bzr serve`. Am I doing something wrong?16:50
eydaimonoh, it's not an http serve :/16:50
eydaimonis there a webserver type thing?16:50
LarstiQeydaimon: if you have a recent loggerhead installed, you can `bzr serve --http`16:50
eydaimonloggerhead?16:51
Milo-LarstiQ interestingly, everything else but the ".bzr" is created with the right permissions :/16:51
Milo-everything else but .bzr (and lock) is created with 75516:51
LarstiQMilo-: you mean, other uses of ftp besides bzr?16:51
Milo-no, when doing bzr init16:51
LarstiQMilo-: or, do you mean .bzr/repository is fine, but .bzr/ is not?16:51
eydaimonLarstiQ: is it sufficient just to get the latest bzr ?16:52
Milo-yes16:52
LarstiQMilo-: now that is weird16:52
LarstiQeydaimon: no, loggerhead is a seperate project16:52
Milo-but 'other' needs to have access to the .bzr if 'other' wants to checkout or create its own branch out of it16:52
LarstiQeydaimon: ie, as a loggerhead package in your distribution, or launchpad.net/loggerhead16:52
eydaimonok16:52
eydaimonthanks16:52
eydaimonno such option --httlp so I have to upgrade bzr anyway16:53
LarstiQMilo-: I'll note it on the bug, it seems relevant16:53
LarstiQeydaimon: no, you have to install loggerhead :)16:53
LarstiQeydaimon: the --http option is provided by loggerhead, not by bzr16:53
LarstiQeydaimon: have a look at the `bzr plugins` output16:53
LarstiQeydaimon: loggerhead 1.11    Loggerhead web viewer for Bazaar branches.16:54
eydaimongot it :)16:54
LarstiQeydaimon: that is included in my output16:54
eydaimonthanks much16:54
LarstiQMilo-: ah, a previous reporter also mentioned it16:54
eydaimonwould be nice if plugins were integrated in bzr like packages.. bzr plugin install loggerhead16:55
Milo-so there is hardly anything new coming from me16:55
Milo-I'm also using bzr 1.14.116:55
Milo-with python 2.5.416:55
LarstiQMilo-: can you try older versions to see if we can pinpoint when this change happened?16:55
eydaimonno port for loggerhead. hm16:55
Milo-I can only go back to 1.916:56
Milo-but I'll try 1.9, 1.10, 1.11, 1.12, 1.13.2 and the latest 1.1516:56
LarstiQMilo-: I'm hoping it's more recent than 1.916:56
LarstiQMilo-: updated the bug16:57
eydaimonLarstiQ: where would I make such a suggestion for feature besides here?16:57
LarstiQeydaimon: talk to bialix, iirc he did something like that in the past16:57
LarstiQeydaimon: I just do `cd ~/.bazaar/plugins; bzr branch lp:loggerhead loggerhead`16:58
eydaimongood advise, thank you16:59
Milo-bzr-1.9 inited .bzr with 700 :/ but it also created everything else with 700 permissions17:00
Milo-same result with 1.10, 1.11, 1.12 (.bzr and its subfolders and files are created with 700 permissions)17:07
LarstiQMilo-: ok17:07
LarstiQMilo-: it did change between 1.9 and 1.10 though?17:07
Milo-no17:07
LarstiQthe subfolders permissions?17:08
Milo-19:01:02   Milo- >> bzr-1.9 inited .bzr with 700 :/ but it also created everything else with 700 permissions17:08
Milo-so they're same as 1.10, 1.11, 1.1217:08
LarstiQvila: ^^ do you have an idea why ftp permissions on .bzr might be broken since at least 1.9? bug 32654317:08
ubottuLaunchpad bug 326543 in bzr "Broken permissions over FTP for .bzr/repository (and others)" [Undecided,New] https://launchpad.net/bugs/32654317:08
Milo-and 1.13.217:08
LarstiQMilo-: doh, didn't look at the correct end of the interval17:09
Milo-I'll try the 1.15 as well17:09
LarstiQMilo-: 1.9 through 1.13.2 differ from 1.14.1 in the permissions of the subfolders?17:09
Milo-yes17:09
LarstiQok17:09
Milo-1.14.1 created subfolders and files with right permissions17:09
vilaLarstiQ: hmm, strange, all file/directories should have the same permission, that bug wasn't on my radar, I'm sure there was at least one bug, but I was convinced it has been fixed17:11
Milo-hmm17:11
LarstiQvila: note, ftp, not sftp17:11
Milo-actually17:11
Milo-I17:11
Milo-nope17:11
vilayes ftp17:11
LarstiQok17:11
Milo-I'll paste you the permissions17:11
vilaoh wait !17:11
Milo-I re-did my tests :/17:11
vilaftp need server side support !17:11
vilaisn't there an option for that in vsftpd ?17:12
* vila refreshing memory a bit17:12
Milo-http://codepad.org/2WQbwSQp there you have it :/17:12
Milo-and those actually applies to all versions between 1.9 - 1.5 :/17:13
Milo-erm17:13
Milo-1.9 - 1.1517:13
Milo-so LarstiQ no, there wasn't any changes between 1.9 and 1.14.1, except I made a bad test.17:14
vilachmod on ftp is implemented via the SITE CHMOD command17:14
vilaMilo-: Do you have *one* bzr version that produces the right permissions ?17:14
Milo-no17:14
Milo-portage only goes down to version 1.917:14
Milo-file_open_mode=077717:15
Milo-local_umask=002217:15
Milo-those are my vsftpd.conf's settings17:15
vilaMilo-: Ha, ok, then I'd say vsftpd may not respect our commands, can do a single test and look at your .bzr.log17:15
vilaall _setmode commands should display the permissions asked17:16
* LarstiQ heads to jitsu training17:16
Milo-1.826  FTP site chmod: setting permissions to 0600 on /test06/.bzr/README17:16
Milo-:o17:16
Milo-that's from the logs17:16
vilaweird17:17
Milo-I'll paste it17:17
vilaMilo-: to the bug report ?17:17
Milo-http://codepad.org/yZ9Q8HYs17:17
Milo-I'm not receiving the confirmation mail :/17:18
Milo-so I can't create a bug-report17:18
Milo-something wrong with my email-configs17:18
vilaMilo-: ok, I've marked the bug as confirmed so we'll better track it from there17:21
vilabeuno: whoohoo, first time I update a tag in place :0)17:22
Milo-something weird is happening with my domain's email settings, launchpad is the second confirmed host that doesn't send mails through my domain, microsoft is the first one.17:22
jamhey vila, what are you still doing around :)17:28
vilajam: hey jam ! Fixing bzr-gtk pb :-)17:28
jamvila: I was curious if you had a chance to peek at the 'better_heads' code17:31
jamI'm guessing not17:31
jamanyway, I did an interesting check today17:31
jamabout how many nodes we "access" to determine heads()17:31
jamand it seems that GDFO isn't helping a lot there.17:31
jamIt helps a little17:31
vilajam: :-/ But I will spend ~4hours in the train tomorrow, your nudge came at the right momemnt :)17:32
jamas we access ~86% the total nodes17:32
jam(well the same number of nodes = _nodes[key] versus get_parent_map([keys]) sort of thing)17:32
jamon the flip side, w/ "linear dominator"17:32
jamwe access only 57%,17:32
vadi2Is it ok to have to commit after you do bzr merge each time?17:32
vilawhich graph ? bzr ?17:33
jamvila: right bzr.dev17:33
jamwhen doing a "heads()" check17:33
jamat merge revisions17:33
jam(comparing the two merge parents17:33
jam)17:33
jamI'd be interested to see the effect for stuff like per-file graphs, etc17:33
jamBut I figured this was a reasonable start at a real-world case17:33
jamI would guess that per-file graphs will be even more linear, and 'linear-dominator' will have a larger effect17:34
jamvila: what happened to your patch to change GC.annotate() to use a graph on the parent_map() rather than the VF itself?17:36
jamIt doesn't seem to be present in my bzr.dev17:36
vilahuh17:37
jamvila: actually, it could just be an old branch17:37
jamlet me check17:37
jamvila: old branch, sorry17:38
jamvila: anyway, linear_dominators is probably even harder to cache than GDFO17:42
jaminserting a new merge child needs to invalidate any entries that were referencing the parents, etc.17:42
vilajam: same complexity I'd say, and I think we need *both* anyway17:43
jamvila: not at all. GDFO is only mutated by ghosts17:43
jam'linear dominator' can be invalidated by a new child17:43
jamhttp://paste.ubuntu.com/192751/17:44
vilajam: oops. yes of course, too many eggs at once17:44
jamanyway, I won't distract you more17:45
vilajam: let me finish my submission for bug #38519117:45
ubottuLaunchpad bug 385191 in bzr-gtk "removal of ProgressBarStack has broken bzr-gtk" [Critical,Confirmed] https://launchpad.net/bugs/38519117:45
vilajam: as a side note, either you should start writing your graphs upside-down or we should ask qlog and bzr-gtk to write theirs upside-down :-D17:53
jamvila: time always flows down for me. "bzr log --forward"17:53
jamI don't really care what qlog does :)17:53
jamit is also a heck of a lot easier to write by adding more text below17:53
vila--forward.... vade retro performance satanas !17:53
jambzr log --short --forward -r -10..-1 is perfectly fast17:54
vilajam: I know your rationale :-) Just mentioning the fact that I sometimes mix things when switching my wet parser :)17:54
jamvila: I suppose we just need to teach vim how to 'invert' a graph :)17:57
jam / => \ etc17:57
jamand swaps the lines around17:57
vilactrl-w is not cut under xchat...ctrl-w is not cut under xchat...ctrl-w is not cut under xchat...ctrl-w is not cut under xchat...17:58
jam:)17:58
jamI had the same problem with ^L for a while17:58
jamOn my Ubuntu machine, Vim had problems displaying all the text, and ^L was refresh17:59
vilajam: or find the right way to inject your ascii art in dot17:59
jambut in Pidgin, ^L is "clear history"17:59
jamwhich... is painful when talking17:59
vilaI'm pretty at swapping ctrl and apple when switching from ubuntu to OSX but sometimes...17:59
vilaAt least I don't mixup ctrl-backspace with ctrl-alt-backspace anymore....18:00
jam:018:00
vilaso, what I had in mind is caching the first children with more than one children for each revision, and yes, this may have to be updated differently, but it will also help a lot for loading graph chunks18:13
vilaor avoid loading them18:13
jamvila: do you mean "first ancestor with more than one child"?18:16
vilajam: gee, time to stop, obviously I can't think or write clearly anymore :-/18:16
jamfor my work, I'm tracking "oldest ancestor with only one parent and one child"18:16
jamwhich is slightly different18:17
jambut fairly important for what I'm doing18:17
jamfor http://paste.ubuntu.com/192784/18:17
jamyours would have all of them point to A18:17
jammine has the left point to B, and the right point to C18:17
jamBecause heads(B, C) == heads(F, G)18:18
jam(sort of)18:18
jambut if you went back to A, you don't know enough18:18
jamanyway, I'm willing to be flexible if we find things that work better18:20
jamthat seems to be working for me18:20
jamI think your version could also be interesting18:21
jamI would just need to think more about the implications18:21
vilajam: same here (about flexibility), I need to play a bit with a couple of ideas to better *feel* the implications :-)18:34
vilajam: EOD for me I need still ned to pack for tomorrow18:34
jamvila: interestingly, caching the heads() for linear dominators seems to make "bzr annotate" about 38=>28s18:35
vilaa ga bo zu even still need to pack damn :)18:35
vilain the OOo case ?18:35
jamvila: in the "time bzr annotate NEWS" case18:35
jamI'm sure it depends on the structure of the file18:36
jambut NEWS has a lot of history, and a lot of "common introduced" lines to resolve18:36
jamI'm getting 2.3M calls to heads()18:36
jamhmm... only because I was accidentally combining the number of heads() calls with the number of parents stepped...19:10
jamso out of 135k calls to heads(), 126k are exact repeats (calls to revisions we've already resolved), and 7.8k are calls where we already know the dominator resolution19:11
jamleaving only 1.4k times that we actually need to walk the graph19:12
jamwhich then takes 5s out of 28.5s total time...19:13
vadi2How do I resolve a conflict where a file with the same name was moved into a folder with another file with the same name? content-wise, they're similar, so I merged content from one into another manually, and deleted the .moved file. however bzr still thinks there is an issue19:53
LarstiQvadi2: have you called `bzr resolve <file in question>`?19:55
vadi2Think that did it. Thanks, was just using bzr resolve before19:55
AnAntHello, I got a question20:31
hmelandAre anyone else seeing "bzr pull" output like "http://bazaar.launchpad.net/%7Eabentley/bzrtools/bzrtools.dev/ is permanently redirected to file:///home/hmeland/.bazaar/plugins/bzrtools/" when using the current development version og bzr-svn?20:31
AnAntlet's say I want to make changes to some branch lp:~user1/project20:31
AnAntso I do bzr branch lp:~user1/project20:31
AnAntwhich say downloads 60 MB20:32
AnAntthen I do my little changes, and commit, then I want to push to my own branch: bzr push lp:~me/project20:32
AnAntwill that push 60 MB to launchpad ?!20:32
Peng_AnAnt: With a recent version of bzr and (maybe) a recent branch format, no.20:33
AnAntPeng_: is 1.13.1 recent ?20:33
AnAntPeng_: and what format is recent ?20:34
AnAntPeng_: is pack-0.92 a recent format ?20:34
AnAnthmmm20:35
Peng_AnAnt: The feature is called stacking, and it has been supported since bzr 1.6, and the 1.6 disk formats. Newer versions will automatically upgrade the disk format. I don't know if 1.13.1 is new enough.20:37
Peng_AnAnt: It probably is. Try it and see!20:37
AnAntok20:37
AnAntthanks20:39
The_UserHi!20:46
The_UserI think my repository is broken: bzr co file:///myrepo/mybranch20:48
The_UserMessage:20:48
The_Userbzr: ERROR: Revision {<email>-<date>-<charsequence>} not present in "<file or folder>-<date>-<other charsequence>".20:48
The_UserWhen I create a new repository it works.20:48
The_UserThe error occures in 1.14 and 1.16 (bzr snapshot)20:48
The_UserWhat could I do?20:48
Peng_The_User: The developers may be able to help you, if you provide them with non-anonymized information. :P20:56
jelmermwhudson: hi20:57
garyvdmCan a file id contain unicode chars - or will it all ways be ascii?20:58
jelmergaryvdm: they should always be plain string objects, and afaiu they can only contain ascii characters21:00
jelmerbut I'm not entirely sure about that last bit21:01
garyvdmjelmer - so if I have to cast from a QString - I can use str()?21:01
garyvdmor should I use unicode()?21:01
jelmergaryvdm: you'd want str()21:02
garyvdmjelmer: Ok thanks21:02
jelmerthere shouldn't be a reason for file ids to ever be in a unicode object21:02
LarstiQgaryvdm: you might even need to encode from a QString21:03
garyvdmjelmer: I did test adding a file with unicode chars in its name - and it excluded all the unicode chars from the file-id.21:03
garyvdmno - str(QString) works fine.21:04
LarstiQgaryvdm: hmmm21:05
abentleyjelmer, garyvdm: file-ids may have unicode characters in them.21:06
garyvdmabentley - oh21:06
jelmerabentley: ah, ok21:06
The_User@Peng_ I could provide any information but I don't think that you could read the char-sequences, it's the same with different branches but with different filenames and charsequences21:06
abentleygaryvdm: If you want to test what's *possible*, rather than default behaviour, use bzrlib.21:06
LarstiQgaryvdm: ah, it seems str(QString) will already encode21:06
jelmerabentley: but always utf8 then?21:07
abentleyjelmer: No, unicode.21:07
jelmerabentley: I can't remember ever running across actual unicode objects for file ids in Bazaar API's21:07
LarstiQgaryvdm: str(QString(u"tähti")) → UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-2: ordinal not in range(128)21:07
jelmerabentley: where is that used?21:07
garyvdmLarstiQ: yes21:08
The_UserPeng_: bzr log crashes, should I print the backtrace?21:08
abentleyjelmer, garyvdm: http://paste.ubuntu.com/192914/21:08
LarstiQThe_User: pastebin it please21:08
The_Userokay21:09
abentleyjelmer: I don't claim it's used anywhere.21:09
jelmerabentley: \u doesn't get expanded in a plain string afaik21:12
mwhudsonjelmer: yo21:12
jelmerabentley: if I use a unicode object I get an exception about it not being a utf8 string21:13
jelmermwhudson: you were looking for me earlier, or was that about the qemu-kvm git repo?21:13
abentleyjelmer: Cool.  I guess they're utf-8 strings these days.21:13
mwhudsonjelmer: the ping was before i started sending you email21:14
jelmermwhudson: ah21:15
The_UserLarstiQ: Peng_: I've just removed the email, http://config.fsf.org/trac/public/pastebin/2621:15
LarstiQThe_User: you missed it at the bottom of the backtrace21:16
The_UserLarstiQ: No, it ends with "were doing when the error eccurred"21:18
The_UserLarstiQ: Oh sorry, unimportant21:19
LarstiQThe_User: check the KeyError21:19
LarstiQThe_User: you sniped off the actual command, was it a plain `bzr log`, no other arguments?21:20
=== vxnick_away is now known as vxnick
The_UserLarstiQ: No other arguments21:20
LarstiQok21:20
The_Userall information is displayed correctly21:21
LarstiQThe_User: and if you `bzr log -r revid:<that revision>` ?21:21
The_Userbut then there is the crash21:21
The_Useralso the checkout is executed (files get copied) but then it aborts21:21
The_Usersame error with -r revid:21:22
The_Userokay the checkout just creates a .bzr directory with some empty files and directories21:24
The_UserI think that's interesting: bzr log -p: "bzr: ERROR: bzrlib.errors.NoSuchRevision: KnitPackRepository('file:///repo/.bzr/repository') has no revision"21:27
The_Userwhat could be broken?21:28
The_Userit's exactly the same with bzr branch21:36
LarstiQThe_User: I'm a bit low on energy after training, sorry. Could you try `bzr reconcile`?21:36
The_Userwhat does this do?21:36
The_Usershould I create a backup?21:36
The_Userreconcile works in the repo but not in the branch21:38
The_Usersame keyerror with reconcile, check and log21:39
The_Userafter reconcile there is only one pack-file in repository/packs21:40
The_Useradd and commit work without any problems21:42
LarstiQThe_User: meh21:43
LarstiQThe_User: reconcile fixes some inconsistencies and problems like such, but apparently not this one21:44
The_User:(21:44
The_Userthanks21:44
The_Userlearned a new command :D21:45
The_Usercould bzr updates be a problem?21:46
The_Useri mean 1.16 instead of 1.14 or something like that21:50
LarstiQThe_User: shouldn't be21:54
LarstiQThe_User: does it look like https://bugs.edge.launchpad.net/bzr/+bug/355951 ?21:54
ubottuLaunchpad bug 355951 in bzr "KeyError when getting revision history" [Undecided,New]21:54
LarstiQThe_User: part of the backtrace looks similar21:55
pooliegood morning22:03
LarstiQhello poolie22:05
LarstiQpoolie: do you maybe have time to help The_User with  http://config.fsf.org/trac/public/pastebin/26 (perhaps bug 355951 ?)22:05
ubottuLaunchpad bug 355951 in bzr "KeyError when getting revision history" [Undecided,New] https://launchpad.net/bugs/35595122:05
LarstiQgetting things rolling atleast22:06
=== The_User is now known as The_User|afk
=== The_User|afk is now known as The_User
poolieThe_User: I think it is a dupe of bug 35595122:25
ubottuLaunchpad bug 355951 in bzr "KeyError when getting revision history" [Undecided,New] https://launchpad.net/bugs/35595122:25
poolieor rather you are hitting that bug22:25
poolieThe_User: could you please paste your traceback onto that bug22:25
poolieand probably subscribe yourself22:25
poolieand then also the output from 'bzr info' on that branch22:25
=== The_User is now known as The_User|afk
=== The_User|afk is now known as The_User
=== Kissaki^0ff is now known as Kissaki
=== The_User is now known as The_User|afk
pooliejml: today it's all about https://bugs.edge.launchpad.net/bzr/+milestone/1.1623:39
=== poolie changed the topic of #bzr to: Bazaar version control system | 1.15.1 released 09
poolie          June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ |23:39
poolie          http://planet.bazaar-vcs.org/23:39
jmlpoolie: yes. :)23:39
poolie          June, 2009 | http://bazaar-vcs.org | http://irclogs.ubuntu.com/ | today's focus: https://bugs.edge.launchpad.net/bzr/+milestone/1.1623:39
pooliesilly irssi23:39
jmlpoolie: once I get out of Launchpad meetings :)23:39
poolieand i filed bug 385719 :)23:39
ubottuLaunchpad bug 385719 in malone "hard to navigate to milestone bug page" [Undecided,New] https://launchpad.net/bugs/38571923:39
jmlhard. pshaw.23:41
jmlI do it all the time :)23:41
* mwhudson does it by editing the url :/23:46
poolieby typing?23:46
mwhudsonyeah23:47
mwhudsonwell, for launchpad-code, i have lots of launchpad-code milestones in the history23:47
mwhudsonso find one and change the version23:47
pooliejam, are you still around? just wanted to say hi23:47
poolieoh i was asking jml23:47
jmlpoolie: front page of project -> click the link23:48
jmlpoolie: but also URL hacking23:48
poolieyeah, it's actually fairly obvious from the project homepage, but i tend to think of it as an aspect of bugs23:50
poolieand from bug pages it's hard to reach23:51
jmlpoolie: so, I'm out of LP meetings now :)23:55
jmlpoolie: maybe we should have a call in an hour or so?23:56
jml(gives me a chance to handle email etc)23:56

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