/srv/irclogs.ubuntu.com/2008/07/11/#bzr.txt

izm99I have a branch stored on my webserver, and I did a checkout on it.  but I can't commit.  I get bzr: ERROR: Cannot commit to branch BzrBranch6('file://local-path'). It is bound to BzrBranch6(sftp.....') which is bound to sftp:same-path.00:35
izm99so BzrBranch6(sftp-path) is bound to sftp-path sounds circular... but I have no idea....00:36
LarstiQizm99: that sounds as if the branch on your server is a checkout.00:37
izm99LarstiQ: so how can I commit to it?00:37
LarstiQizm99: what does `bzr info` return for sftp:remote-path?00:37
izm99checkout root: .00:38
izm99oh sorry.. of remote path.. one sec00:38
izm99branch root: http://stevenbrown.ca/src/AttrDict/00:39
izm99bound to branch: sftp://blah@blah/src/AttrDict/00:39
izm99related branches: push branch: sftp://blah@blah/src/AttrDict/00:40
LarstiQand the bound branch is the same as that branch itself?00:40
LarstiQ'bound to branch'00:40
izm99i kinda fudged when I put it up there....  ¬_¬00:40
LarstiQizm99: if so, that's rather silly. Issue a `bzr unbind` on the remote branch.00:41
LarstiQizm99: after that, you should be able to commit in the local one.00:41
izm99oooh.. ok, i'll try00:41
izm99wait, do i have to ssh into the remote host to do that?00:42
LarstiQizm99: yeah, fraid so.00:42
izm99dang00:42
izm99bzr isn't actually installed on that.00:42
LarstiQif you're not afraid to touch .bzr we can do it without bzr installed.00:43
izm99i'm in00:43
izm99:D00:44
izm99(i have a local copy anyways, this is a learning exercise)00:44
LarstiQok00:44
LarstiQizm99: see .bzr/branch/branch.conf00:45
LarstiQizm99: it should have a bound_location and a boolean 'bound' option.00:46
LarstiQizm99: toggle the latter to false, and you should be good to go.00:46
izm99hmm....  it let me commit00:49
LarstiQizm99: so your problem is fixed now?00:50
izm99not really... it didn't actually change the files00:50
* LarstiQ needs a bit more context00:52
LarstiQwhere did you commit, and where didn't files change?00:52
izm99yeah, sorry, I'm trying to poke around...00:52
izm99Committing to: sftp://stiibu@stevenbrown.ca/home/stiibu/stevenbrown.ca/src/AttrDict/00:52
izm99added COPYING00:52
izm99modified attrdict.py00:52
izm99modified test_attrdict.py00:52
izm99Committed revision 2.00:52
izm99(woops username.. oh well)00:52
LarstiQthat looks like it worked to me.00:53
=== bac is now known as bac|away
izm99ya..00:53
LarstiQizm99: I'm guessing you're expecting the checkout on stevenbrown.ca to also have updated?00:53
izm99 bzr status http://stevenbrown.ca/src/AttrDict -> bzr: ERROR: Path(s) do not exist: http:/stevenbrown.ca/src/AttrDict00:53
izm99yes i am00:53
LarstiQthat doesn't actually happen.00:53
izm99oh.00:53
izm99i have to push?00:53
LarstiQizm99: no no, the .bzr file got updated fine.00:54
izm99(unless I'm bound)?00:54
LarstiQizm99: so the question is, what are you trying to accomplish?00:54
izm99i wanted to update the remote branch with my commit00:54
LarstiQizm99: if you just want to publish your branch, you don't have to do anything extra, since all bzr cares about is .bzr, and that's updated.00:54
LarstiQizm99: is your use case something like website deployment?00:55
LarstiQizm99: or do you want to be able browse the content of the branch?00:55
izm99yeah, i want the source to browsable, as well00:55
LarstiQizm99: ok, for the latter I'd probably recommend running loggerhead to do that.00:55
* izm99 googles00:56
LarstiQizm99: That's an actual webfrontend akin to things like viewcvs if you are familiar with that.00:56
izm99yes, I'm familiar00:56
izm99so the changes have been committed, but the actual files are not updated?  The changes are stored in the .bzr somewhere?00:57
LarstiQizm99: The changes have been commited, yes. The files outside of .bzr are not touched, I wouldn't call them 'actual files' though :)00:59
LarstiQizm99: so, if you wanted to updated the files there, you could do 'bzr update'00:59
izm99ooooh....00:59
LarstiQizm99: there is a plugin to ssh into the remote machine and run update after a push if you want something like that.01:00
izm99so I should pretty much at least install bzr on the remote machine...01:00
izm99I was trying to avoid any server stuff...01:00
LarstiQizm99: if you want to do code browsing there, yes.01:01
LarstiQizm99: the alternative is having to transfer all the files in the working tree every time, that's rather expensive though.01:01
LarstiQizm99: at this point I would step back and consider if browsing on the server is really what I want to do then.01:02
izm99hah.. ok, I believe you.. i just tried another checkout. :P01:03
* izm99 checks local bzr version01:03
izm99so, there's likely incompatibilities between bzr versions, right?01:04
izm99my local is : bzr 1.3.1, python 2.5.2;;  remote is : python 2.301:04
LarstiQizm99: depending on versions, yes. But you're not combining 0.11 with 1.5 are you?01:04
LarstiQizm99: ah see, we kinda depend on python2.4 or higher.01:04
izm99i'm just curious ... ya, that was my next question.01:05
izm99i figured the python would be too old.01:05
izm99>.<01:05
izm99is it a bzr option to transfer the working tree?01:06
poolieizm99: check out bzr-upload plugin01:06
LarstiQizm99: yes01:06
izm99hmm.. ok, should i take the debian or trunk branch of bzr-upload?01:12
LarstiQizm99: the debian branch is specifically for Debian packaging, it doesn't bring you other benefits.01:14
izm99oh ok.01:14
LarstiQizm99: it might mean that you can just apt-get install bzr-upload depending on what suite of Debian you are running. But bzr 1.3.1 looks older than what is in sid.01:15
LarstiQand I doubt it's in anything else at this point.01:15
izm99i'm using hardy01:15
izm99just searched, not there01:15
izm99i'll follow the directions to branch into .bazaar/plugins/ directory.01:16
LarstiQright01:16
izm99i'm guessing a lot of plugins have a hypen in the name...  it'd be nice if bzr had some install_plugin command that renamed the plugin branch appropriately when grabbing it.01:24
LarstiQyes01:25
izm99whoo! it worked.  Thanks for all the help!01:25
LarstiQizm99: so, _now_ everything you want to do works? :)01:26
izm99yes!  LarstiQ: Thank you very much.  :D01:27
LarstiQgood, good.01:27
* LarstiQ continues poking at python-nautilus.01:27
izm99^.^01:27
LarstiQfor some reason the nautilus-bzr stuff doesn't work when I think it should.01:28
LarstiQBut phatch has a nautilus extension that does work, so it _is_ possible.01:29
pygiit's so amazingly funny01:29
pygiyou know Novell folks also work/will work on nautilus-bzr, right? xD01:29
pygiwhat happened with the collaboration I though exists in FOSS world? :-/01:29
pygioh well01:30
LarstiQpygi: huh what?01:30
LarstiQhow should I know this?01:31
pygiat least I think that's correct, If I understood right01:31
pygiI'll have to investigate01:31
pygiLarstiQ, no idea, I'm just talking in general xD01:31
LarstiQpygi: the problem was that nautilus doesn't pick the script up from ~/.nautilus/python/, but it does look at /usr/lib/nautilus/extensions-1.0/python/01:32
* LarstiQ insers an extensions-1.0 in his home dir variant01:32
LarstiQpygi: I'd like to know more about that. Have you been at GUADEC this year?01:33
pygiLarstiQ, I haven't, no ...01:33
pygiLarstiQ, I'll investigate that more for you in the coming days, to see if I got it right01:34
pygibut I think I have, and there'll also be nautilus-hg, nautilus-git and similar01:34
LarstiQstrace ftw, .nautilus/python-extensions01:34
LarstiQpygi: riight.01:35
* pygi has to make them collaborate with you then =)01:35
LarstiQpygi: I admit to not having followed bzr lately.01:35
pygibut I'm sleeping now, it's 2:35AM, and I gotta get up in 3 hours and 25 minutes :P01:36
LarstiQpygi: so Mark Hammond and I discussed TortoiseBazaar today, and our idea was to use the same code at one side of the pipe, and/but write a small nautilus thingy that does the equivalent of windows shell.01:36
pygienjoy folks :)01:36
LarstiQpygi: have fun01:36
pygiLarstiQ, we'll talk about that tomorrow, ok?01:36
LarstiQpygi: yes/no01:36
LarstiQpygi: please do talk to me01:36
LarstiQpygi: but I'll be away untill Sunday/Monday01:37
pygiLarstiQ, ah, ok, then Monday it is :)01:37
LarstiQpygi: you can paste links at me and I'll read my backlog when I get back.01:37
pygisure, that works too perhaps :)01:37
* pygi is officially in sleep-mode01:37
LarstiQsigh, I'm reminded of why I didn't use nautilus in the first place.01:39
izm99LarstiQ: why not?01:39
LarstiQizm99: I recall there being some option to turn it off, but the main thing that is annoying me right now is it's autospawning.01:40
izm99LarstiQ: oooh... yeah, that bothers me sometimes too, actually.  never bothered looking for how to turn it off.01:41
izm99LarstiQ: but i'm interested to try the new tab interface...  :)01:42
LarstiQalso, I don't appreciate it chaning my root window.01:42
=== bac|away is now known as bac
LarstiQah, -n is helpful01:44
=== bac is now known as bac|away
LarstiQemilis_info: Just installed taglist (finally!), quick test looks great!02:03
LarstiQemilis_info: so thanks :)02:03
arjenAUhmm, branch lp:,mysql-server going since yesterday arvo... still going...02:03
igcpoolie: i have some user doc on stacked branches in progress. Will put a patch up later today.02:22
igcexplaining 'policies' is the main thing left to do02:22
poolieigc, hi02:25
dan1does bazaar support encrypted repositories? i searched and found only one plugin that released no code and has not been touched in a year. anyone know of anything else?02:26
pooliei think there's just that02:27
poolieso no, they're not supported02:27
dan1ok, thanks. i sent an email to the author asking about it.02:28
=== sm is now known as sm1
arjenAUI was going to ask, why... you can have it on an encrypted fs anyway02:45
pooliearjenAU: well it would be kind of nice to host it on an untrusted server02:46
arjenAUit's distributed, allover the place, bzr needs to know the pwd anyway... and so on. messy. and slow02:46
poolieit is a bit of an edge case02:46
arjenAUpoolie: well that's true I suppose. but would you really... that's tricky for other reasons02:46
poolieimo it's more of a cool feature than a useful one02:56
arjenAUpoolie: yup. nice for later. right now, aim for speed. the mysql-server branching is upsetting me a bit, fortunately its a one off but it's heading towards a 24hr thing02:57
pooliecould you be maybe pulling into or from a knit repository?03:02
=== bac|away is now known as bac
=== Linnk is now known as Tank|Away
pooliejml, i think i have a fix now03:39
pooliehappy to say03:39
jmlpoolie: sweet03:39
jmlpoolie: I am happy to hear it.03:39
libwilliamI was wondering what the default merge algorithm was. in the user reference it shows 4 options, diff3, lca, merge3 and weave but doesn't show what the default it.03:41
libwilliamis*03:41
mwhudsonlibwilliam: merge303:44
libwilliammwhudson, thanks03:44
* igc lunch03:56
=== sm1 is now known as sm
pooliearjenAU: so i can branch mysql-6.0 from launchpad in about 20 minutes04:55
poolieand my adsl link is busy with other stuff04:56
poolieit should be roughly comparable for you?04:56
arjenAUpoolie: i' grabbing mysql-server (that is all branches)04:56
pooliebut if you put them in a repo most of the data should be shared?04:56
arjenAUand I have ADSL2+.. it's not eating the bandwidth. it's just slow as. no idea what it's doing04:56
pooliecheck using bzr info they have the same format04:57
arjenAUhmm04:57
arjenAUremote? on lp?04:58
arjenAUpoolie: perhaps i'm confused somewhere. on my box I just do bzr init-repo mysql, cd mysql, bzr branch lp:mysql-server05:02
arjenAUflawed logic that that should be ok?05:02
arjenAUI think the repo-init was done with an old bzr, I've just restarted the whole thing and we'll see....05:03
arjenAUthat might've been the issue.05:03
arjenAUpoolie: would be godo to have bzr complain about version stuff between repo and the branch you're trying to get. also, perhaps have lp refuse ancient bzr clients to protect them against what I had the other day, namely bzr pulling about 20G of data and putting it nowhere. ate my iiNet allowance ;-)05:04
stewartpoolie: it'd be great if you could bug the launchpad ppl to have init-repo there, takes 7+hrs to push a mysql branch :(05:05
mwhudsonstewart: stacked branches coming soon!05:08
stewartmwhudson: yay :)05:08
mwhudsonin a couple of weeks i guess05:09
PengHow big is the repo for one branch of mysql-server?05:10
Pengstewart: FWIW, I push things to shared repos on my own server, and have Launchpad mirror from there. It still uses lots of my server's bandwidth, but pushing is quick.05:11
stewartPeng: 500mb or so i think....05:12
stewart$ du -sh ~/mysql/.bzr05:12
stewart619M/home/stewart/mysql/.bzr05:12
stewartthat's shared repo... but i'm pushing 6.0 branches, which is latest, so includes about all history.05:12
PengNice. I tried to branch it once on a VPS with very little memory and it almost died. :D05:13
stewartPeng: yeah... branching into shared repo is quite quick (2minutes for a new mysql branch being pulled from europe over bzr+ssh over ADSL1). wish it was that quick for pushing to lp05:15
mwhudsoni guess it05:16
mwhudson's not worth it with stacked branches looming, but otherwise i'd suggest getting a machine in the uk you could host a shared repo on and have lp mirror those branches, like Peng said05:17
PengYeah, exactly.05:17
stewartmwhudson, Peng: there's machines and stuff within Sun that i could do that with, although it involves going through people, not as direct as "bzr push lp:...."05:17
mwhudsonstewart: you can probably make it pretty easy actually (have you seen register-branch?) but well yeah05:18
mwhudsonstewart: hence why stacked branches are priority 105:18
Pengstewart: If you have to go through people, they probably won't appreciate you using that much disk space and bandwidth.. :P05:19
pooliearjenAU: yes, those commands are correct; yes, we should make it give a warning when doing a transfer or conversion that will be slow05:30
poolieor possibly on any access to a really old format05:30
poolieand as mwhudson says stacking should fix this on lp soon05:30
arjenAUpoolie: I think the latter was the prob. and there's no indication for it so blocking it would be fine05:31
arjenAUI mean the old format foo05:31
arjenAUitt's doing better now on the progress bar. sanity is prevaling05:31
poolieyay05:33
poolielittle things like a warning would make a big difference05:34
pooliei'll try to add one soon05:34
arjenAUyep. tnx.05:37
arjenAUpoolie: I'd say just block old stuff. say to upgrade.05:38
pooliejml, i think i'm on the home stretch now05:38
poolieor at least another stretch :)05:39
mwhudsonpoolie: yay05:42
jmlpoolie: yay05:49
pooliei have an change i should separate out that puts you into the debugger when a test fails05:50
poolieit's super useful05:50
pooliecan't believe i haven't done it before05:50
PengWait, yay what?05:50
poolieyay stacking is nearly landed05:50
PengOh, yay. :)05:50
stewarti have a suggestion, it'd be cool to have "bzr conflicts" print out a list of files directly, so you could: emacs `bzr conflicts`05:50
stewartoh... --text does that05:51
arjenAUpoolie: mysql-server 50 minutes. all done05:51
pooliestewart: yes, but it kind of annoys me it's not the default05:51
pooliealso it would be nice if we could run the editor for you05:51
PengHow exactly does stacking work? Does it cache X revisions locally? Does it cache all revisions starting at X?05:51
pooliethough emacs users might not prefer it05:51
pooliePeng: basically the second05:52
poolieit's not really a cache though05:52
PengYeah, I know.05:53
PengCan you (automatically) remove older revisions from the local repo?05:54
PengShould we always use stacked branches, or only when it's necessary?05:54
mwhudsonstewart: $ grep -c 'vim $(bzr conflicts --text)' /home/mwh/.bash_long_history05:54
mwhudson2305:54
mwhudson:)05:54
pooliepeng, if you're familiar with a union filesystem mount it's kinda like that06:03
pooliejml, mwhudson, i have only 3 more failures, all repetitions of the same test and i think i know why06:47
jml\o/06:48
mwhudson\o/06:48
mwhudsonpoolie: what exactly is in this branch btw?06:48
poolieintegration of stacking into trunk06:48
mwhudsonpoolie: branch7 etc but not the stacking policy?06:48
poolienot the policy patch but that's pretyt small06:49
pooliei know it does need to be merged too06:49
mwhudsoncool06:49
mwhudsonif it lands, i'll run a launchpad make check tonight against bzr.dev06:49
chandlercjelmer: known issue about apr-config and rst2html binaries being arbitrarily used by "make" in bzr-svn? (i have apr-1-config and rst2html.py here...)06:52
pooliechandlerc: what do you mean by 'arbitrarily'?06:53
chandlercit doesn't seem to do any detection of the path, or variable substitution06:57
chandlercbut i haven't looked directly at the makefile -- could be dead wrong06:57
chandlercpoolie: ahh, it seems RST2HTML is a variable, apr-config comes out of setup.py, but it actually keeps testing till it finds (correctly) apr-1-config, so the "error message" is just not swallowed06:59
chandlercpoolie: setting RST2HTML=rst2html.py fixed it right up, although it didn't fail fatally before, just didn't bulid the HTML docs, which is fine07:00
PengRandom: bzrlib/tests/ is 106k lines of code, including whitespace and everything.07:20
PengAll of bzrlib is 211k.07:21
Odd_BlokeMoin.07:53
PengHmm, I have an appointment in 6.5 hours. I should sleep or something.07:54
lifelessJc2k: pong08:02
lifelesspoolie: hi, can't skype from here, can use phone08:02
pooliehi lifeless08:02
pooliethat could be good08:02
pooliei can call you if you want08:02
lifelessjust starting a talk now, is 55 minutes ok for you? I'll ring - cheaper08:03
poolieok08:06
Odd_BlokeDo we have any test coverage figures for bzr?08:08
poolieno08:08
pooliethere may be some support for making it, i'm not sure08:08
vilapoolie, Odd_Bloke: I'm not aware of any figures, spiv may (he implemented the --coverage global option and used it at least for parts of bzr). I'm interested in such figures too.08:11
vilaand hi all :)08:12
pooliehello vila08:14
pooliei should mail you08:14
markhis there a particular reason the gtk plugin doesn't offer a 'glog' command?  Is it considered that gannotate is all you really need?08:29
markh(I'm hoping to directly reuse almost all of the 'g' commands for tbzr)08:30
fullermdI think 'viz' usually fills that role in -gtk...08:33
AfCmarkh: `bzr viz` fills that role08:33
markhahh, thanks.  I missed that as it doesn't start with 'g' :)08:33
PengMaybe someone should add an alias?08:34
AfCPeng: if you do `bzr help commands` everything says where it comes from. You can always just ` | grep gtk`08:34
AfCPeng: but perhaps an alias would be good - unless someone is planning on writing a glog that does something else.08:35
markhbut you do get "tricked" into thinking that gtk adds a new version of most common commands, but with a 'g' prefix08:35
fullermdWhich unfortunately fails when descriptions go to more than one line   :|08:35
* fullermd wishes for "bzr plugin-commands $FOO"08:35
markhbut I admit it was there for me to find :)08:35
AfCfullermd: aren't the descriptions single lines? If not, "oh"08:36
fullermdNot all.08:36
Pengfullermd: Maybe "bzr help plugins/foo" should list them.08:36
fullermdcvsps-upgrade-conversion Convert the old layout of branches to the new one.08:36
fullermd                         [cvsps]08:36
fullermdfetch-ghosts             Attempt to retrieve ghosts from another branch.08:36
fullermd                         [bzrtools]08:36
fullermd[etc]08:36
AfCYou'd think a project which refuses to feed its output to $PAGER would refuse to wrap its lines.08:37
fullermdI guess the gtk ones are all shor...   no, there's test-gtk, running onto a second line for the [gtk]08:37
AfCBut as to markh's query, all that we are discussing only applies if you've conceived of the problem as "there GUI commands I am looking for are in a plugin called '[bzr-]gtk' and so I should search down from that"08:38
Pengbug 220331 (in reference to a mailing list post, not what's going on here)08:44
ubottuLaunchpad bug 220331 in bzr "editor paths containing spaces are not parsed correctly" [Medium,In progress] https://launchpad.net/bugs/22033108:44
PengThank you, ubottu.08:44
Pengbug 109115 (same)08:44
ubottuLaunchpad bug 109115 in bzr "nicer error when unable to commit large files" [Medium,Confirmed] https://launchpad.net/bugs/10911508:44
lifelesspoolie: is your phone on ?08:49
poolielifeless: yes, i was on teh phone to amanda08:52
poolielifeless: try again?08:52
lifelessJc2k: http://bzr-playground.gnome.org/gnome/.mirror-log/changes <- the log09:01
Kinnisonlifeless: how goes guadec?09:05
markhit seems 'bzr viz' always shows a visualization of the entire branch - which is different than 'log'09:09
fullermdWell, I didn't say it was the same   :)09:20
* Odd_Bloke --> breakfast09:28
steltho With bzr, is there any way I can pull a specific commit from another branch, kind of like git cherry-pick?09:36
gourgit has cherry picking?09:37
lifelessgour: it records a single revid09:37
lifelesssteltho: yes you can, bzr merge -r x..y BRANCH09:37
gourlifeless: but that's still not like darcs' ?09:38
lifelessgour: not at all09:38
gour(due to different design)09:38
markhfullermd: you think there is scope to add a 'glog' command which is just a graphical version of 'log'?  Or maybe it is considered unnecessary?09:40
markh(I'm not asking anyone to do it - just if it makes sense!)09:40
lifelessmarkh: I think it does09:41
lifelessmarkh: though for full log it should look like viz :)09:41
markhlifeless: by "full log", you mean "log of entire branch"?09:42
markhI'm not sure what a log of multiple files should do.  Maybe it makes more sense for 'vis' to accept a filename?09:42
markhs/a filename/list of filenames/09:42
lifelessmarkh: sure; st09:46
pooliehello markh09:50
pooliejml, stacking passes all tests10:01
jmlpoolie: rock the cazbah10:02
=== Tank|Away is now known as Linnk
poolieand patch is sent10:09
lifelesspoolie: woo!10:09
poolielifeless: if you could read it that would be great10:09
pooliethere is some more that can be done but at least it passes10:09
poolieit's in the 'stacking status update' thread10:09
pooliehave a good weekend10:09
poolienow i should really log off10:11
poolienight10:11
a_c_manyone know of any good introduction videos for bzr, im trying to sell the development team/management on the idea, videos seems to get watched from start to finish, were as text gets skimmed or not read at all :)10:13
AfCIf there isn't, perhaps we should get a good one produced. That would be fun to be a part of, actually.10:16
markhpoolie: hi.  I'm at the bzr sprint at europython, which is quite cool!10:26
markhI wish I could work out how to get a group of talented people to work like dogs for free for a few days ;)10:26
steltho\leave10:32
james_wa_c_m: would you be after screencasts, or more presentational videos?10:35
Odd_Blokeneobug: Hey, just replied to your email.10:35
neobugok, thanks10:36
Odd_Blokeneobug: How did you send your changes to the mailing list previously?10:36
neobugOdd_Bloke: LarstiQ helped me10:37
neobugI just sent a mail with Mutt10:37
neobugand attached a bundle10:37
Odd_Blokeneobug: OK, you should be able to do exactly the same again, having committed your changes to the same branch.10:38
lifelessmarkh: hey there10:38
lifelessmarkh: who is sprinting?10:38
markhWouter was here yesterday, but there are a few new people who have never used or seen bzr too - which is quite amazing really10:40
markhA couple of [RFC] mails to the list are from such people10:40
lifelessmost excellent10:40
gourmarkh: save'em all ;)10:41
a_c_mjames_w: dont mind... just something text light, ideally with moving bits and sound ;)10:41
a_c_mjames_w: i just sent out one of the pdf presentations as a stop gap... but i doubt they would make it past all 50 odd pages10:42
Odd_Blokemarkh: On a side note, if you could encourage them to use '[MERGE/RFC]' rather than just '[RFC]', that makes not losing them much easier.10:42
james_wa_c_m: I've been working on some instructional screencasts. We haven't set up hosting for them yet, and there are only a few, but once I've got my current deadline out the way I hope to make some more.10:42
a_c_mjames_w: sounds good to me, ones on the different workflow situations and how to set them up / use them would be what my guys would be most interested in10:44
james_wa_c_m: I hadn't got that far yet, but that's the sort of thing that I would like to do. Unfortunately they are not quick to produce.10:44
markhOdd_Bloke: that is a convention that is news to me.  Wouter was actually mentoring those guys yesterday, but I'll try and make that happen for today.10:47
markhI think that none of the patches was really considered ready for merging though (IIRC, one of the new error messages suggested buying more RAM ;)10:48
uwsmarkh: which Wouter?10:49
markhI suggested adding "you idiot" to the end of the message ;)10:49
uwsV?10:49
uwsvH10:49
markhumm - not sure :)  The dutch one10:49
uwsyou're highlighting me :)10:49
uwsmarkh: i'm "the other dutch wouter"10:49
markhoh :)10:49
uwsbut I'm at guadec, so it's not me ;)10:49
markhum - the one with the Q at the end of his IRC nick10:49
uwsthogh we do have a bunch of bzr people around here as well10:49
uwslarstiq that is10:49
a_c_mjames_w: cool, are you on identi.ca ?10:50
markhyeah!10:50
james_wa_c_m: nope10:50
a_c_mjames_w: shame10:50
james_wheh :-)10:50
lifelessuws: larstiq10:54
lifelessbeuno:11:02
lifelessTraceback (most recent call last):11:02
lifeless  File "/srv/gnome-loggerhead/loggerhead/controllers/changelog_ui.py", line 45, in get_values11:02
lifeless    revid, start_revid, filter_file_id, query)11:02
lifeless  File "/srv/gnome-loggerhead/loggerhead/util.py", line 407, in locked11:02
lifeless    return unbound(self, *args, **kw)11:02
lifeless  File "/srv/gnome-loggerhead/loggerhead/history.py", line 458, in get_view11:02
lifeless    revid_list = self.get_file_view(start_revid, file_id)11:02
lifeless  File "/srv/gnome-loggerhead/loggerhead/util.py", line 407, in locked11:02
lifeless    return unbound(self, *args, **kw)11:02
lifeless  File "/srv/gnome-loggerhead/loggerhead/history.py", line 423, in get_file_view11:03
lifeless    revlist = list(self.get_short_revision_history_by_fileid(file_id))11:03
lifeless  File "/srv/gnome-loggerhead/loggerhead/util.py", line 407, in locked11:03
lifeless    return unbound(self, *args, **kw)11:03
lifeless  File "/srv/gnome-loggerhead/loggerhead/history.py", line 330, in get_short_revision_history_by_fileid11:03
lifeless    w = self._branch.repository.weave_store.get_weave(file_id, self._branch.repository.get_transaction())11:03
lifelessbreaks http://bzr-playground.gnome.org/robsta/gtk-css-engine/changes?start_revid=20&filter_file_id=gtk2.0-20080708104047-cvt44z7pck8smu4n-311:03
beunoew11:05
beunohm11:07
beunolifeless, that's using the latest lh-search?11:07
lifelessbeuno: I hope so :) - but its in history.py in loggerhead :)11:07
lifelessbeuno: its using the latest loggerhead-gnome-theme11:08
lifelessbeuno: http://bazaar.launchpad.net/%7Ebeuno/loggerhead/gnome_theme/11:08
beunothat file is empty11:09
beunoI wonder if that's what triggers the traceback11:10
lifelessbeuno: using weave_store triggers it11:10
lifelessbeuno: its running 1.6b3 bzr11:10
beunolifeless, where can I get a branch for that repo?11:11
lifelesshttp://bzr-playground.gnome.org/robsta/gtk-css-engine11:11
lifelessbbs11:12
beunolifeless, it doesn't blow up in trunk11:15
beunolooking at what may have caused it11:15
beunolifeless, pushed a revision that fixes it11:17
lifelessbeuno:11:20
lifelessTraceback (most recent call last):11:20
lifeless  File "/srv/gnome-loggerhead/loggerhead/controllers/changelog_ui.py", line 45, in get_values11:20
lifeless    revid, start_revid, filter_file_id, query)11:20
lifeless  File "/srv/gnome-loggerhead/loggerhead/history.py", line 376, in get_view11:20
lifeless    revid_list = self.get_file_view(start_revid, file_id)11:20
lifeless  File "/srv/gnome-loggerhead/loggerhead/history.py", line 342, in get_file_view11:20
lifeless    revlist = list(self.get_short_revision_history_by_fileid(file_id))11:20
lifeless  File "/srv/gnome-loggerhead/loggerhead/history.py", line 252, in get_short_revision_history_by_fileid11:20
lifeless    w = self._branch.repository.weave_store.get_weave(file_id, self._branch.repository.get_transaction())11:20
lifelessAttributeError: 'KnitPackRepository' object has no attribute 'weave_store'11:20
beunothat's odd, I don't get that traceback locally11:22
beunorunning bzr.dev11:22
lifelessbeuno: you're probably not actually using bzr.dev :)11:26
lifelessbeuno: check your python path11:26
beunomn11:28
beunodamn11:28
beunohow can I force bzr.dev in my python path?11:29
lifelessPYTHONPATH=path_to_bzr.dev ./serve-branches.py11:37
beunoand on a more permanent basis?11:38
lifelessinstall bzr.dev ? :)11:38
beunoyou and your complicated ways...11:39
beunohm, I still don11:40
beuno't get the traceback11:40
* beuno installs bzr.dev11:41
lifelessbeuno: its simple really - weave_store does not exist anyomore11:41
beunoyeah, I'll have to update that11:42
beunoI'd just like to reproduce it11:42
beunothere11:42
beunook11:42
beunoI'll file a bug11:43
beunothanks lifeless11:43
lifelessbeuno: so, can I suggest:11:44
lifelessput a import pdb;pdb.set_trace() statement at that line11:44
lifelessrun serve-branches, hit the page11:44
lifelessif the line triggers you'll be in pdb11:44
lifelessbeuno: then, import bzrlib; print bzrlib.__file__11:44
lifelessthat will tel you what bzrlib its finding11:45
beunooh, that's interesting11:47
beunolifeless, I'll try and get that fixed this evening11:50
lifelessbeuno: I'll fix it now I think then11:53
lifelessbeuno: users :)11:54
beunolifeless, argh, sorry. It's my last day here, and, again, tight schedule  :/11:54
awilkinsHi there, I think I may have found a bug in the HTTP response handling ; anyone know about that bit and want to talk about it?12:08
lifelessawilkins: vila is good to talk to12:21
awilkinsvila: Ping?12:21
awilkinsI'm going to put a bug up for this, I think, anyway.12:21
vilaawilkins: not interruptible right now, file the bug, I'll comment, associated tests are in test_http_response.py, if you encounter it in RL, please add relevant .bzr.log while -Dhttp is active12:22
awilkinsRighto12:22
lifelessbeuno: fixed, branch coming up12:30
lifelessok, fixed - http://bzr-playground.gnome.org/robsta/gtk-css-engine/changes?start_revid=20&filter_file_id=gtk2.0-20080708104047-cvt44z7pck8smu4n-312:37
markhso, any other competing GUI toolkits apart from gtk and qt? ;)12:41
markhhrmph - maybe I misunderstood - is there a QT UI toolkit for bzr at the moment?12:42
markhah - just needed the correct google-foo - QBzr12:43
lifelessbeuno: http://bazaar.launchpad.net/~lifeless/loggerhead/gnome12:46
beunolifeless, very cool, thanks. I'll merge that into trunk in a while12:50
lifelessbeuno: also, .keys()/.versions() are bad apis, don't use them :)12:52
beunolifeless, noted. There are still large parts of the code which are, well, inherited  :)12:55
Odd_BlokeI'm going to be away over the weekend, probably without Internet and certainly without time to spend on PQM/bzr stuff.13:20
Odd_BlokeSo if anyone wants anything, you have about 10 minutes. :p13:20
james_wanyone know an easy way in python to grab a file from http only if not modified compared to the local one13:29
james_wi.e. to set If-Modified-Since or similar?13:29
james_wbonus points if I can do it with the bzrlib transport.13:29
Odd_BlokeRight, I'm off.13:34
Odd_BlokeSee you all Sunday/Monday. :)13:35
james_wsee you13:35
markhjames_w: um - set the if-modified-since header? ;)13:39
markhOr If-None-Match is you have remembered the etag13:40
james_wmarkh: yeah, I'm looking in to it. I firstly need to translate from the modified time of the local file to the correct format13:40
markh(actually, you will have had to remember the date too)13:40
markhActually, that might not be good enough13:41
markha cached response will have a date in the past, for example, and the RFC says you should just treat the date header as a string, not as a date for this purpose13:41
markhso you probably need to remember a couple of headers at least13:41
markh(your requirements may be a little simpler, but in the general case, the above is true)13:42
james_wok, thanks, I'll look to see if these servers provide etags13:42
markhwell - etgas and date are the same problem for you13:42
markhyou need to remember *either* (or both, but either will do)13:43
markhso etags really isn't simpler than date, nor vice-versa13:43
markhI guess if you were suport luck, the etag may be in the HTML as a "http-equiv" tag (or however that is spelt)13:44
markhs/suport/super/13:44
james_wthis 'aint html, so that won't help unfortunately.13:45
markhbut I doubt it13:45
markhright13:45
james_wso you would recommend just saving the date and repeating it back.13:45
markhin an if-modified-since header, yeah.  Then you expect either a 304 or 20013:45
markh304 means not changed and no body will come, 200 means it has changed and the new version will come13:46
james_wthanks. Now I see why there isn't a simple bit of code I can steal.13:47
markh:)13:49
markhjames_w: ack - its not the "date" header you remember, its the "last-modified"13:51
markhbut the rest remains the same13:51
james_wthanks, I'm stubbornly not opening the RFC, so I'm sure to get some things response13:52
lifelessjames_w: you want to read the rfc13:53
lifelessjames_w: otherwise I will laugh at you :)13:53
james_wheh :-)13:53
markhyeah, sadly the RFC can't be avoided ;)13:53
markhits pretty approachable though13:53
lifelessjames_w: its a complex bitch to deal with, but doing it wrong will just fail13:53
lifelessabentley: http://advogato.org/person/robertc/diary/92.html14:12
* awilkins is also in _persnickity-RFC-implementation-land_14:13
awilkinsvila: Ping?14:13
vilaawilkins: pong14:15
* vila is interrupted but not available for too long :)14:16
awilkinsvila: Hi there ; just where this bug is is a matter of opinion ... but I think I've fixed it14:16
vilabug number ?14:16
awilkinshttps://bugs.launchpad.net/bzr/+bug/24758514:16
ubottuLaunchpad bug 247585 in bzr "Angle bracketed boundary lines from IIS cause failure" [Undecided,New]14:16
awilkinsAngle brackets are not permissible under RFC 2046, but Python also behaves badly by considering angle brackets to be quotes for the purposes of RFC 822 quoting (as far as I can tell)14:17
awilkinsSo I've resorted to passing all the boundary lines in reponse.py through rfc822.unquote() before they are checked14:17
awilkinsWhich fixes it14:18
awilkinsI think that's fair given the parameters (including boundary) all get the same treatment when the headers are parsed14:19
vilaawilkins: hmm, sounds reasonable, could you add tests to reproduce it (make it fail before your patch, succeed after) and send that to the list ?14:20
awilkinsvila: I knew that bit would be the most work :-P14:20
vilasince this will be very localized (with a comment explaining it :-) I think there is no point in refusing to work for IIS14:20
vilaawilkins: I think it's a matter of subclassing TestRangeFileMultipleRanges and redefining _boundary_line :-)14:21
awilkinsvila: Ah, well at least that'll be nice and quick14:22
awilkinsTestRangeFileMultipleRangesLikeIIS here we come14:22
awilkinsIt seems to use the same boundary string (qhich is someone hopscotching on their keyboard) all the time14:23
awilkinsq1w2e3r4t5 etc14:23
vilawho ? IIS ?14:23
awilkinsYes14:23
vilapfff, no further comment14:23
awilkinsI have half a mind to try some content with it's boundary string inside it and see if it copes14:23
vilawell, it shouldn't, we don't scan each part searching for the boundary line, we *know* where they should occur14:24
awilkinsYeah, but the RFC says it shouldn't happen - boundary strings should not occur in content14:24
vilathe boundary line mechanism is more a robustness encoding14:24
awilkinsBUt I have a feeling that this may be a kludge everyone uses14:25
awilkinsCan you imagine guaranteeing the non-occurence of a given string in a 4GB file on a busy webserver?14:25
vilaThe best would be if you can find another implementation known to work with apache2 and IIS needing multi-part and check how they did it14:25
vilaawilkins: You don't have to guarantee that, we *don't* search inside the part itself since we know its size14:26
awilkinsvila: True, it's just the RFC-driven pedant inside me :-)14:26
vilaContent-Range is *required*14:26
vilaok :)14:27
awilkinsquoth "The boundary delimiter MUST NOT appear inside any of the encapsulated parts14:28
awilkinsANyhow, thanks for the pointer on the test, that would have taken me a qhile to figure out14:28
=== mw|out is now known as mw
vilaawilkins: argh, then IIS is utterly broken of they always use the same one :-/14:30
vilas/of/if/14:30
vilanp, helping people provides tests helps bzr having more tests :-D14:31
awilkinsvila: It may use a different one if it detects it in the content, but since testing that isn't going to change IIS... I'm rather inclined not to bother14:31
vilaI'll check that when I'll review your patch (if I can find the time) but I'm pretty sure *we* dont't search for the boundary inside the part, so whether or not the multipart is RFC-compliant (for that particular point) should not be a problem14:33
awilkinsI don't see that anywhere either14:33
vilaon the other hand unquote may not be the best solution since after all, you *guessed* their RFC interpretation, may be they always put <> and in that case deleting only that may avoid false positives14:34
vilaawilkins: I suppose you can't check the sources for all available versions of IIS ? No ? Too bad :D14:35
cyberixis get_transport supposed to work when base isn't a directory?14:35
awilkinsvila: Only verified it on 6.0 and .7014:35
vilaawilkins: in the sources ??? :D14:35
vilacyberix: It' not supposed to be used with anything but directories...14:36
vilawhat is your use case ?14:36
awilkinsvila: Nope, but it doesn't vary on different content and it's always the same plinky-plonked string that some bored developer thought was an unlikely char stream....14:36
vilaawilkins: you can verify that by creating a file with many occurrences of it and querying multiple ranges of it14:37
cyberixvila: I'm tracking back a problem with someone trying to do a push on a bundle14:39
cyberixvila: That is not (yet) supported14:40
cyberixso I'd like to add an exception when someone tries to do get_transport on a file14:40
vilaYou can't14:40
cyberixoh bugger14:40
vilaget_transport do not even connect14:40
cyberix?14:41
=== gdmfsob is now known as mishok13
vilathe first operation on the transport that requires access will automatically connect14:41
cyberixoh14:41
cyberixWhere can I find the code that connects?14:42
vilayou may want to have a look at bzrlib.bundle.read_bundle_from_url and below to see how to deal with such cases14:42
vilacyberix: gee, in all transport implementations under bzrlib/transport/14:43
cyberixofcourse14:43
cyberixsorry I'm a newbie and a bit slow because I'm tired14:43
vilabut look at bzrlib.bundle.read_bundle_from_url first14:43
cyberixBut currently I'm not even detecting whether or not the file is a bundle14:44
cyberixYou try to push on a file -> I warn you and exit14:44
cyberixThe problem is detecting whether or not the target is a file14:44
vilatry pushing, trap exceptions14:44
vilaput pushing to a bundle sounds really like a strange idea14:45
vilabundles are not supposed to be updated14:45
cyberixI can see that14:45
vilareplaced, yes, updated, I fail to see how14:45
cyberixThe next step would be to tell the user he should do merge and send -o instead14:46
awilkinsvila: Confirmed, it does it even when serving a file packed with "--<q1w2e3r4t5y6u7i8o9p0zaxscdvfbgnhmjklkl>\r\n" and "<q1w2e3r4t5y6u7i8o9p0zaxscdvfbgnhmjklkl>\r\n" .. (but I bet apache makes a similar compromise)14:46
cyberixBut I want to get the checking to work first14:46
vilaawilkins: ok14:47
cyberixvila14:47
cyberix: does that sound more correct to you14:47
vilacyberix: That's called 'Look Before You Leap) and we try hard to avoid that14:48
cyberixThe problem is that some users might take the advice and go for it without thinking what it actually does?14:49
vila:-) It applies to code, not to humans14:50
vilaWhat is your idea big picture ?14:51
cyberixI don't think it is a lot bigger than what I already told you14:53
cyberix1) tried pushing to a bundle14:54
cyberix2) bzr complained about directories14:54
cyberixThere are no directories involved, so it is a bug14:54
cyberixThen I was told that instead of pushing to a bundle you are supposed to do pull/merge and send -o14:55
cyberixSo might as well tell that to the user who is trying to push into a bundle14:55
cyberixIt does not necessarily make sense to do that for him, because he might not expect the bundle getting mered into his tree when does push14:56
cyberixtelling him about the possibility might still help him14:56
markhcyberix is also at the europython sprint.  For background, we have been telling people that a bundle is basically a self-contained branch - so an enquiring person then tried to *push* to a bundle (its a branch, right? ;)15:00
markhso we understand and agree that's not supported - but we want to fix the error message in that case15:00
vilahmmm15:04
vilait's a self contained *read-only* branch15:04
viladoes that fix it ? :-D15:05
vilabut... bzr should already says 'not a branch' no ?15:05
vilaI don't think you need to go deep to the transport level to trap that15:06
cyberixI'm currently planning to go for something like...15:07
cyberix'Pushing to a file is not supported at the time.'15:07
vilaBut I don't think it will ever be supported since you will need to re-recreate the bundle anyway15:08
cyberixYep, might take out 'at the time'15:09
cyberixThen, if I managed to detect that the file is a bundle I might go with something like...15:09
cyberix'Bzr doesn't support direct push into a branch contained within a single file. Use merge to import the changes into your local branch, then use send with switch -o to publish a new single file branch.'15:09
vilahaaaa15:09
vilahmm15:10
vilathen you should do that in push itself and stay far above the transport level15:11
LarstiQvila: the current code tries to mkdir('.') on to_transport, which raises a FileExists, and then it assumes it was a directory15:17
LarstiQvila: the error message is rather confusing in that case.15:17
markhLarstiQ: aren't you supposed to be sleeping to prepare for your music festival? ;)15:17
LarstiQmarkh: I've caught up on sleep, showered and am waiting to be picked up :)15:17
=== jaypipes_mysql is now known as jaypipes
vilaLarstiQ: hi :D15:19
vilaare you referring to ensure_base implementation ?15:19
LarstiQvila: cmd_push code15:19
LarstiQvila: lines 79615:20
vilawow line 787 here, I lag :-/15:20
vilaAnyway, 1) You're in the right spot, 2) You just found an old XXX => You won !15:21
LarstiQ:)15:22
LarstiQheya emilis_info15:23
emilis_infoheya LarstiQ, how was your flight?15:23
emilis_info:)15:23
LarstiQvila: when I looked at transport, I didn't see a way to distinguish wether we're dealing with a file or a directory, so choosing which message to return is slightly tricky15:23
LarstiQbut maybe the error carries some information15:24
LarstiQemilis_info: scary :)15:24
emilis_infoLarstiQ, airline madness? :)15:24
LarstiQemilis_info: that is, the airport had a general (checkin) system failure, so nothing happened for half an hour15:24
LarstiQwe managed to leave on time, but the Moscow flight in front of me had people get checked in 5 minutes prior to scheduled takeoff15:25
emilis_infohmmm...15:25
emilis_infomaybe they were upgradins stuff15:25
emilis_info:)15:25
vilaLarstiQ: This will be inherently tricky, the best I can think of, once the FileExists has been raised, is to issue a stat() call (incurring roundtrip, but since it's error handling it could be acceptable)15:25
vilathen you can use st.st_mode to check if it's file or directory15:26
LarstiQemilis_info: seeing how stressed out the staff was, I don't think so ;)15:26
LarstiQvila: can we stat?15:26
vila*but* stat() is implemented on writable transports only15:26
LarstiQright15:26
* vila loves when answer cross question on the wire :)15:26
vilabut in your case, push requires a writable transport15:27
LarstiQvila: are we guaranteed to have a writable transport at that point?15:29
* LarstiQ hates dying phones 15:30
vilaLarstiQ: no, but a different exception will be thrown in that case when you try to nkdir()15:30
cyberixLarstiQ: So don't dye them.15:32
vilaAnd you get the get famous "http doesn't implement mkdir" error which confuse so many people :)15:32
* vila goes back to gdb for good...15:32
LarstiQcyberix: correct, good sir :P15:33
=== thekorn_ is now known as thekorn
LarstiQvila: have fun15:33
cyberixLarstiQ: You too. I'm soon going to call it a day.15:48
cyberixBut I'm not planning to give up the holy task.15:48
* ToyKeeper finally figures out what's making the labels in bzr vis overflow their parent widgets16:50
=== NfNitLoo` is now known as NfNitLoop
awilkinsCAn anyone tell me a smart bzr+http:// I can point a session at so I can see what it's supposed to look like in a debug proxy?17:46
Foskassesup17:46
awilkinsI'm about halfway to getting IIS to serve bzr over ISAPI17:46
james_wawilkins: I don't actually know anywhere that serves over bzr+http://, maybe someone has something set up.17:54
ricardokirknerhi. I have been struggling with that setup.. what is the problem?17:55
awilkinsricardokirkner: I have it returning "bzr message 3", and then the client just queries the parent folder ; repeat until 40417:55
awilkinsI think something is missing from my query17:56
awilkinsIt might be my WSGI shim though17:56
ricardokirknermhh.. sorry, that doesn't ring a bell...17:56
ricardokirknermy problems where related to not finding the repository, and to authentication17:57
awilkinsricardokirkner: I can tell bzr is running from the response ; I don't think it's finding the repository either17:58
awilkinsBut I think it's my WSGI calling script17:58
ricardokirknerI had it running with wsgi, and the script is extremely simple (it just bypasses everything on an url to bzr)18:00
awilkinsI;m not sure it's passing the RIGHT stuff18:01
ricardokirknerhere you can see my script: http://pastebin.com/d1d61242118:01
ricardokirknerthat, plus a few lines in http.conf, which I will shortly paste18:02
ricardokirknerhttp://pastebin.com/m7ec0f36618:05
ricardokirknerI am using mod_wsgi18:05
awilkinsI'm using IIS 7 and PyISAPIe18:05
awilkinsNot through choice, I hasten to add :-)18:06
ricardokirknerok.. then I dont think that will help you out... maybe it's a windows issue... I am sorry, I cant help you out there18:06
awilkinsI think I'm getting closer, it's accessing a bunch of files in the repo folder now18:06
chandlerc[g]hrm, I'm getting an odd error on "make" in bzr-svn18:16
chandlerc[g]  File "./setup.py", line 13, in __init__18:16
chandlerc[g]    super(CommandException, self).__init__(self.message)18:16
chandlerc[g]TypeError: super() argument 1 must be type, not classobj18:16
chandlerc[g]is my Python version too old?18:16
awilkinsWhat is your Python version?18:18
chandlerc[g]2.4.318:18
awilkinsI saw a comment in the commit log about remving a Python 2.5 -ism recently, could be18:18
chandlerc[g]hmm i'm working off of 0.4, so i would think i would have anything...18:19
chandlerc[g]and its in setup.py, which seems especially odd18:19
awilkinsjelmer: ^^18:19
* awilkins is successfully serving his repo from IIS using WGSI18:20
chandlerc[g]wow18:20
schonihttp://www.pennergame.de/change_please/3238442/18:27
awilkinsvila: On top of fixing that response bug, for good measure I got IIS running as an HPSS18:55
james_wnice work18:56
awilkinsjames_w: Well, I have a "poke hole in firewall" request for SSH going with my IT services crew.... I have this onimous feeling they are going to deny it, so this is insurance.18:57
awilkinsThis way I can just exploit a port that's already open to run an interactive application :-)18:57
chandlerc[g]Any idea why a KnitPackRepository would not be compatible with a KnitPackRepository??19:39
awilkinschandlerc[g]: Are you pushing over http:// ?19:40
chandlerc[g]branch over sftp://19:41
awilkinschandlerc[g]: Is one rich-root-pack and the other not?19:41
chandlerc[g]maybe?19:41
chandlerc[g]one is bzr-svn created, the other is a fresh "init-repo"19:41
awilkinsbzr-svn is by necessity rich-root-pack19:41
chandlerc[g]yea, rich-root-pack19:41
awilkinspass --rich-root-pack to your init-repo command19:41
chandlerc[g]just got shelled into tho remote machine19:41
chandlerc[g]ahhh19:42
chandlerc[g]thx19:42
awilkinsYou're welcome19:42
awilkinsI jsut got the exact same error for a totally different reason :-)19:42
chandlerc[g]hehehe19:43
chandlerc[g]its a bit... confusing. ;]19:43
awilkinsRich roots are set to become the default somewhen19:43
awilkinsBut I agree that the error is confusing19:43
vilaawilkins: Great !20:21
=== Guest47825 is now known as mark3
Mecha25hey, anybody know what bzr: ERROR: Transport operation not possible: http does not support mkdir() means?21:30
mtaylorMecha25: it means that http does not support mkdir()21:33
* mtaylor ducks21:33
jamMecha25: it is usually a sign that you tried to either 'bzr commit' or 'bzr push' to an HTTP url21:34
jamGenerally caused by something like "bzr co lp:project" without doing 'bzr launchpad-login' first. So it checks out the files from the anonymous read-only side.21:35
jamAlternatively, by doing "bzr push http://URL"21:35
Mecha25sorry, just got it working, I did need to add my login21:35
jamwhich is easier to fix, since you can just do "bzr push sftp/bzr+ssh/etc"21:35
Mecha25however, now I've pushed it, it has a branch format, but the code isn't there21:35
Mecha25what happened to the codE?21:36
libwilliammaybe bzr update?21:41
Mecha25I'll try that21:41
Mecha25says No Working Tree exists21:42
libwilliamor if you are pushing to launchpad wait about 5 minutes21:42
Mecha25oh21:42
Mecha25ok, it takes a while for it to get the code?21:42
libwilliamit always takes a while before the results show up21:42
Mecha25I just did it 3 seconds ago21:42
Mecha25cool then, I'll wait21:42
mmmultiworksdoes bzr have an external api or swg bindings at all?  I have a need for ruby integration22:06
mmmultiworksswig bindings, sorry22:07
libwilliamhttp://bazaar-vcs.org/Integrating_with_Bazaar22:07
james_wmmmultiworks: no, sorry, though I think there is a ruby version control API that supports bzr somewhere22:07
mmmultiworksthanks, I'll keep digging some more22:08
mmmultiworksjames_w: there is this one which I can use as a base probably22:14
mmmultiworkshttp://www.redmine.org/repositories/entry/redmine/trunk/lib/redmine/scm/adapters/bazaar_adapter.rb22:14
newz2000hi, wondering if something like this is possible or even a good idea...22:19
james_wmmmultiworks: http://rvcs.rubyforge.org/svn/trunk/README22:19
newz2000I have a config file for project that has a path in it. when I create a branch, is it possible for variable substitution to occur and update the path in the config file?22:20
james_wnewz2000: short answer: no.22:20
james_wnewz2000: long answer: no, but...22:20
newz2000ok. there's probably a better way then... if it were a good idea it would probably be easy and you all would be using it.22:20
james_wyou might be able to do that with Ian's tree filter stuff that will be in 1.6/1.722:21
=== mw is now known as mw|out
colbrachmm.. seems my tweaking of locations.conf yesterday worked. I now produce 2 BB responses on the bzr-gtk list with a patch22:50
gdoubleuI just did a merge, but then backed out with bzr revert.  Is there a command or option to clean up the unversioned files that stuck around?23:19
Pengbzrtools adds a clean-tree command that can do this (but read the help; by default it deletes a lot more).23:21
awilkinsbzr ignored | xargs rm   ?23:29
awilkinsMaybe not....23:29
awilkinsbzr ignored | grep -e ~\\d~ | xargs rm   ?23:30
awilkinsbest stick with bzr clean-tree --detritus I think23:31
gdoubleuthanks, I'll check that out23:34
[cliff]hi all23:47
[cliff]the guy I work with sent me a bundle via email, I'm trying to merge but I get this message: "bzr: ERROR: Not a branch:" followed by my branch path concatenated with the bundle's path.23:48
[cliff]how can I merge the bundle?23:48
PengOh, bug 247550 is why Loggerhead broke. Sorry for not getting around to reporting it..23:51
ubottuLaunchpad bug 247550 in loggerhead "Loggerhead uses deprecated weave_store in bzr 1.6" [Critical,Fix committed] https://launchpad.net/bugs/24755023:51
Pengbeuno: With the fix for bug 247550, is Loggerhead still compatible with older versions of bzr? Is it slower, or less memory-efficient or anything?23:51
beunoPeng, all those are really good questions, for which I don't have a educated answer for right now  :)23:53
beunoI need to get some sleep23:53
beunofly for 16 hours tomorrow23:53
Pengbeuno: Heh, okay. I might find out. Or not.23:53
beunoand I'll probably be myself again next week23:53
Pengbeuno: Yikes. Moving to the Googlunaplex?23:53
beunoPeng, let me know what your findings are  :)23:53
Pengbeuno: If you see lots of expletives and whining, you'll know. :)23:54
beunoPeng, it's called "user feedback"  :p23:54
LaserJockquick, semi-blasphemous question. Is it possible to *not* have "branches-as-directories"?23:54
PengLaserJock: Not at the moment.23:54
PengLaserJock: Well, you can use "bzr switch" a lot. And looms sort of do it.23:54
[cliff]how can I trace bzr execution? is there a switch?23:58

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