/srv/irclogs.ubuntu.com/2009/03/05/#bzr.txt

jelmeryay, bzr-svn is now feature complete \o/00:28
spivjelmer: oh?00:28
jelmerspiv, annotate and eliminating svn-push were the last remaining bits00:28
james_w\o/00:30
spivjelmer: sweet00:30
* james_w opens the champagne00:30
pooliewow way to go00:31
spivjelmer: someone on another channel asks about svn:externals ;)00:33
jelmerspiv: that requires bzr itself to support them first :-)00:33
spivjelmer: :)00:33
jelmerthe server side ("bzr svn-serve" or "bzr serve --svn") is also not done yet00:34
spivjelmer: that's ok, neither is native "bzr serve" ;)00:34
mwhudsonjelmer: yay00:48
mwhudsonjelmer: will there be a 0.6 or will this be 0.5.3 ?00:50
jelmermwhudson, 0.5.3 or 1.0.000:51
mwhudsonjelmer: cool00:51
mwhudsonjelmer: are you going to make lp:bzr-svn non-remote again at some point?00:51
jelmermwhudson: Only if there's some way to keep the copy on launchpad up-to-date rather than between 0 and 8 hours out of date00:52
mwhudsonit _should_ be possible to write a hook that uses the api to request a mirror by now00:53
mwhudsonbut i don't think one has been written00:53
poolielifeless: trailing whitespace just bit me too00:54
lifelessheh00:56
lifelessjelmer: grats00:56
lifelessjelmer: there is an xmlrpc thing you can call, apparently.00:56
poolieah actually no00:57
poolieit was a literal tab, and that was worth catching00:57
lifelessheh00:57
lifelessyes they are worth catching00:57
pooliedid you resubmit your test_source patch?00:58
poolieif not i will00:58
jelmermwhudson, yeah, I still need to look at that00:58
jelmermwhudson, or hope somebody else does :-)00:58
mwhudsonjelmer: i'll take your requirements on board :)00:59
lifelesspoolie: no, because marius said he would00:59
lifelesspoolie: the more clean version00:59
Jerubnow I remember one of the issues with bzr-svn, it gets exponentially slower as it goes.01:00
jelmerJerub, Which version are you using?01:01
Jerub0.501:01
jelmerJerub, try 0.5.201:01
jelmerthat should be significantly faster01:01
jelmerin particular on large repositories01:01
mwhudsonjelmer: why don't you use hosted branches btw?01:01
Jerubjelmer: well, I've just cancelled the svn-import that had been going for over an hour01:04
Jerubjelmer: so I hope this is faster.01:04
jelmermwhudson: It ties me into Launchpad, over which I have no control.01:06
jelmermwhudson: Hosting on a different machine and mirrorring into launchpad (which is still done, just not into lp:bzr-svn) means there's always a backup01:07
jelmer*also means01:07
mwhudsonfair enough01:07
mwhudsonthough i hope launchpad isn't going to go away any time soon :)01:07
mwhudsonwe have backups on tape too01:08
Jerubwhy bother? raid is good enough to back everything up.01:08
spivJerub: raid isn't very good at preserving data eaten by fat fingers :)01:09
mwhudsonor fires01:09
spivmwhudson: pfft, nature01:10
JerubSorry, I couldn't help it. My sarcasm exploded over the channel.01:10
Jerub(I've actually had an office fire, and recovered from offsite backups)01:11
spivJerub: :)01:12
mwhudsonhttp://www.facebook.com/pages/Bazaar/128354670412?sid=7bd5847db77e5312163ecf237785b8c9&ref=s01:13
spivJerub: backup strategies is a topic a bit like editor or vcs preferences...01:13
spivmwhudson: that's a bit random01:13
spivMaybe we should replace our wiki with a myspace page ;)01:14
Jerubspiv: I think until you've had to count the minutes until the wholesaler turns their phone system on in the morning so you can ask for immedate delivery of half a dozen servers, you can't really appreciate the value of offsite backups fully.01:17
lifelessigc1: how are you going01:18
lifelessspiv: also, I've a _huge_ long pull going from python.org01:18
lifeless1448 byte packes01:18
Jerubjelmer: is there a reason I should be told to upgrade to svn 1.5 if I'm using svn 1.5 already?01:19
lifelessjelmer: hours now :(. So not sure sure why01:19
spivlifeless: 1448 is better than 510!01:19
Jerubjelmer: also, this is /significantly/ faster. after 20 minutes I'm past branch discovery and on copying revisions, last run I'd not gotten through 75% of branch discovery01:20
lifelessspiv: 510 was the window size :(01:20
mwhudsonspiv: we should use facebook for canonical's calendaring needs!01:21
jelmerJerub: The 1.5 warning should be fixed in the next version01:21
Jerubjelmer: awesome01:22
lifelessspiv: I've stopped it after 99m01:26
lifelessspiv: oh! I have an idea01:26
lifelessspiv: ping01:27
james_wyou're going to try TCP/spiv?01:27
lifelessjames_w: no, I think we might be partial-reading from the socket01:27
lifelesswhich will lead to acking less than we can01:27
james_wah01:28
Jerublifeless: have you straced it to see how big the reads are?01:28
lifelessJerub: about to01:28
spivlifeless: pong01:29
lifelessspiv: see before01:30
spivHmm, read sizes?01:30
spivlifeless: it should always be trying 64k when reading from a TCP socket01:32
lifelessspiv: yeah, I've just validated that01:32
lifelessspiv: and its often getting way less01:32
lifelessrecvfrom(4, "\0\1\242B406\ntexts\n\nknit-ft-gz\n2160@6"..., 65536, 0, NULL, NULL) = 579201:33
lifelessrecvfrom(4, "cc4771:python%2Ftrunk:Lib%2Ftest"..., 65536, 0, NULL, NULL) = 144801:33
lifelessrecvfrom(4, "\2\377\255\223\273\262\333 \20\206{?\3056\231\330\216\344"..., 65536, 0, NULL, NULL) = 579201:33
spiv(It is less optimisitic when reading the pipe from a bzr+ssh connection, but that's not the issue here obviously)01:33
lifelessspiv: however, we haven't tested raw protocol from the dc01:34
lifelessspiv: it could be :P01:34
riyoHello all! Let's see how much I can learn tonight. First time VCS user, reviewed CVS/SVN/Git, and all those other ones, and decided on this one ^_^02:14
riyoJust because the commands made alot more sense, then those other ones. Like "whoami", simple, lol02:14
riyoAnyways, just got through the quick user guide, and my question is this. Okay, I commit my file, lets say I finished my project, and want to look back, how do I do that?02:16
lifelessbzr log?02:16
riyoLike, what Im trying to say, I'm working on my project, and I decide to try something new. So I go route A, decide it's "okay", and start going a different route, route B, can I do that? And revert back to the "fork" in the road02:17
riyoI don't know, I tried that in the documentation, it worked, but isn't working now. And It just showed my commits, not the file itself :/02:19
riyoalso, bzr diff, and log, aren't working anymore, wtf02:24
riyodo I have to specify a file or something?02:24
riyobzr log filename ?02:24
poolieriyo: no, they default to the whole tree02:26
poolieriyo: are you in the right directory?02:26
riyoYeah I am02:31
poolieso what do you mean by not working?02:32
pooliedo you get an error msg?02:32
riyoLet me upload a picture ^_^02:33
riyohttp://i44.tinypic.com/141teu8.png02:35
riyoThere, is it supposed to do that? It just shows comments, which btw, is that a mispelling? commits?02:35
poolie:)02:35
pooliethat's what bzr log is meant to do, yeah02:36
poolie'committer' is the person who committed02:36
riyoIs that pronounced "comment-er", or "commit-er"?02:36
pooliethe second02:36
pooliethey're called commits, not comments02:37
riyoBut...they....are comments, lol02:38
riyoHow confusing.02:38
riyoAnyways, what's the point? Don't I want to see what source code of mine changed?02:38
pooliei don't know, do you? :)02:39
riyoUgh, yeah, otherwise theres no point, lol02:40
riyoI wish it was just a hotkey, for a "snapshot", and I could scroll through each picture, lol02:40
spivriyo: you can do "bzr diff -c 2" to see changes made in commit 2.02:41
riyoWTF does that mean, lol --> @@ -0,0 +1,1 @@02:43
riyo...is this some sick joke :P02:43
lifelessriyo: thats standard notation for showing a textual change of a file02:43
lifelessriyo: it means from line 0, for 0, to line 1, for 102:44
riyoThis is overly complciated.02:45
riyoIs this really the answer I'm looking for?02:45
riyoCause heres my problem.02:45
riyoI create php websites, take the index.php file for example. I work on it, but before I do, I make a backup, just incase I mess up everything02:46
riyoI end up with 100's of copies, lol, untill I'm finished or have scraped it.02:46
riyoIs this my solution?02:46
spivriyo: yes02:47
spivriyo: you might find that some of the GUI tools make exploring the saved history a bit easier02:47
lifelessriyo: with bzr you won't need as many copies, the bzr-upload plugin can make deploying your websites easier02:48
spivriyo: if your installation has the "qbzr" plugin, then "bzr qlog" is quite good.02:48
spivriyo: if you just want to view a file as it was at an earlier revision, use "bzr cat -r 2 path/to/file"02:49
riyoI wish there was a video tutorial. If I ever get the hang of this, I'm so making one.03:14
riyobzr: ERROR: QBzr require at least PyQt 4.1 and Qt 4.2 to run. Please check your install03:16
* igc1 lunch03:17
lifelessspiv: doing get_parent03:36
jmligc1: ping03:39
igc1hi jml03:50
jmligc1: hi03:50
jmligc1: I have a story about logging that I'd like your help with03:50
jmligc1: I've heard a rumour that you touched log last?03:51
igc1jml: :-)03:51
jmligc1: so... what I want to do is find all the commits that I've made to Launchpad via PQM since the last release.03:51
jmligc1: the way I can tell if a commit was mine is if I'm the author of one of the parents of a mainline revision03:52
jmlI can write that as a predicate function with little to no worries03:52
jmligc1: what I want is a way of passing a predicate function to show_log to filter the revisions I see.03:52
igc1jml: hmm03:53
igc1jml: log needs restructuring and vila and I still don't agree on how03:54
jmligc1: ok.03:54
lifelessI'd do a filter03:54
lifelessit can buffer a little and so on and feed it out03:54
jmligc1: so, doing 'if foo(revision): yield revision' is going to be a bit slow, obviously03:54
lifelessthen give the filte ra predicate as a parameter03:54
igc1jml: I think we ought to add a --user option (or something like that) that matches on a name ...03:55
lifelessigc1: +1 on more capabilities, -1 on new options, I'd really rather agree on a search language and use that03:55
jmlwhat I *really* want is Bazaar Query Language03:55
igc1possibly propagatng upwards to the mainline as file filtering does03:55
lifelessigc1: so that bzr-search can do it fast03:55
jmllifeless: great minds :)03:55
igc1BQL is Python :-)03:56
igc1jml: as a short-term thing ...03:56
igc1log --line -n0 | grep Lange03:57
igc1make it a contenxt grep if that helps03:57
jmligc1: ... and then filter that to find the mainline revisions ....03:58
igc1lifeless: bzr-search is nice but it doesn't exclude making log easier to use03:58
igc1bzr log --user me03:58
igc1and03:59
igc1bzr log --user @names-in-file03:59
igc1have plenty of value to casual users - a query language is just too advanced for them03:59
igc1lifeless: we can use bzr-search behind the scenes to make it efficent of course04:01
jmligc1: so, if I could do that and then only see mainline revisions which I pqm-submitted, I'd be happy04:01
igc1iff it's installed04:01
jml(although the *real* bug there is that PQM doesn't set author)04:01
igc1jml: right04:02
igc1jml: but even if it did, there would still be a use for seeing mainline revisions where a user authored one of the merged revisions04:02
lifelessigc1: bzr log -m user:me04:03
igc1I guess the new multiple author field could simplify that04:03
jmligc1: I do think some sort of domain-specific language/API for specifying searches would be a good idea.04:03
lifelessigc1: bzr-search is orthogonal yes, but adding many many options is not great04:03
igc1jml: so *just* matching against a revision isn't smart enough04:04
jmligc1: agreed.04:04
jmlalthough it's smart enough if I'm writing the revision-matching function :)04:05
lifelessigc1: I wasn't proposing depending on bzr-search, I was proposing that many-options is not a better UI04:06
igc1jml: but log, except for file filtering, isn't structured that way btw04:06
lifelessigc1: the revision filters are iterators, or they were04:06
igc1lifeless: sure04:06
lifelessigc1: so it should handle arbitrary filtering just fine04:06
jmligc1: ok04:06
igc1but the level filtering takes out merged revisions it's never going to display before those iterators are called04:07
igc1so log -n0 only passes you the mainline revisions04:07
igc1it's all part of "don't generate stuff you don't need"04:08
igc1"smart" filtering like jml wants means ...04:08
mwhudsonhello knowledgeable people04:09
mwhudsonwhat port does git talk to the internet over?04:09
igc1a revision filter needs to say "give me everything and then post filter the levels out"04:09
igc1except for file filtering, we don't do that currently04:09
igc1lifeless: I like the -m user:me idea btw04:10
lifelessigc1: can't the level filtering happen as a normal filter in the chain so you can get there first?04:11
igc1lifeless: there's a high cost (> 60 sec overhead) for getting all levels for mainline for large repos04:12
igc1s/for/vs/04:12
igc1we only want to do it if we really need to04:13
Jeruboh wow, bzr-svn 0.5.2 actually worked.04:14
igc1jml: so the short answer is ...04:15
igc1post processing log --line -n0 is an order of magnitude easier than extending log as you want right now04:15
igc1hmm - maybe 2 orders of magnitude04:15
jmlheh, ok.04:16
jmlI'm going to try for a middle way, writing my own crappy log-like command.04:16
igc1lifeless: on anotrher topic and answering your earlier Q, I'm making much better progress ...04:17
igc1thanks to your assistance yesterday04:17
igc1I'm hacking repodetails as discussed04:17
lifelessspiv: ping04:18
Jerubjelmer: why does bzr-svn count down for 'discovering revisions' while doing a bzr pull04:18
igc1though *generating* branches in the new formats is still proving painful04:18
igc1upgrade works for development5 but simply refuses to for ...04:19
igc1formats like gc-plain-chk255, even for really simple branches04:19
igc1at least now I know enough to stand a chance of traking down the problems04:20
spivlifeless: pong04:20
lifelessspiv: tommorrow I'm likely to be largely offline04:20
lifelessspiv: and its freeze then04:20
lifelessI'm just finishing off branch.get_parent verb04:20
lifelesshave you been working on stacked pull ?04:20
igc1though the immutable nature of CHKInventories means fastimport is currently out of service as a test branch generation avenue04:21
spivlifeless: no, not yet :/04:22
lifelessigc1: if fastimport was mutating invnetories inRevisionTree's, it was being naughty04:22
lifelessigc1: thats *never* been a intended capability04:22
Jerubcrud, that was my problem. I thought I wanted bzr svn-import when I actually wanted bzr checkout04:22
igc1lifeless: it wasn't04:22
igc1it was copying the basis and then using the API (add/del, rename, remove_recursive_id) to build the new one04:23
lifelessok04:23
lifelessthat would be slow04:23
lifelessusing CommitBuilder would be better04:24
lifelessbecause it will calculate the per file graph for you04:24
igc1it now has a code path for building deltas and calling create_by_apply_delta() but the root handling is still screwing me around04:24
lifelessigc1: how so?04:24
lifelessessentially there are three interfaces for adding data to a repository - fetch, repository.add_revisions, and get_commit_builder04:25
lifeless*any* other code path is immediately suspect and probably a reimplementation of one of the others04:25
igc1it's not clear what the initial root_id of the first inv should be04:26
igc1I was setting it to inventory.ROOT_ID but then the root mproperty was falling over 'cause self[root_id] didn't exist04:26
igc1also does the first delta need an entry for the root?04:27
igc1that sort of stuff is very unclear04:27
igc1I think the first revision is now genewrating but a subsequence call to directories() is falling over04:28
igc1anyhow, I'll leave fastexport on hold and get back to repodetails04:29
lifelessyes it does04:29
igc1lifeless: fwiw as well, fast-export was *much* quicker not going through commit-builder, at least many months ago04:29
lifelessigc1: so, either fast-import was buggy, or commit-builder was04:30
lifeless:P04:30
igc1commit-builder is good for adding one revision but not optimise at all for multiple revision loading04:30
lifelessigc1: I don't see why it would be different04:30
igc1lifeless: let's talk about it next week04:31
lifelessigc1: anyhow, lets ignore that; we have shiny new things04:31
eferraiuoloI wrote a blog post detailing my Bazaar setup on my Mac. I thought others maybe interested and wanted to share it with the community:04:36
eferraiuolohttp://925html.com/techniques/using-bazaar-on-a-mac/04:36
jmllifeless: just landed your addSkip patch04:47
=== r0bby_ is now known as r0bby
lifelessthanks04:50
lifelessso subunit's one needs a review04:51
lifelessciao05:27
Kamping_Kaiserhm. almost an entire branch without a status updae :\05:43
poolieeferraiuolo: nice06:00
* fullermd sure hopes those streaming changes will improve committing in checkouts across the smart server :|06:23
spivfullermd: almost certainly.  You're welcome to try installing bzr.dev and letting us know how it goes :)06:28
fullermdWell, I have bzr.dev.  Just only on the client side   :p06:28
fullermdJust messes with your flow when commit takes upward of 20 seconds...06:28
spivYeah.06:28
fullermdI'm just trying to figure out whether that's an actual failing of bzr, or a clever trick somebody added to convince people not to work directly on trunk...06:29
spivPersonally, I think it's a failing.06:30
spivI think there are valid use cases for working on a checkout of trunk.06:30
fullermdMan, some people just don't know how to help build a good conspiracy theory...06:31
fullermdThe proper response would have been something like "Not only is it _intended_, it was intended by SPACE ALIENS, who encoded those coding choices in our DNA while forcing us to build the Pyramids."06:33
fullermdThat way not only do we have an excuse for why it happens, but we demonstrate that bzr is the oldest VCS at the same time.06:35
fullermd(it was just only circa 2005 that it was translated into python from limestone...)06:35
wgrantspiv: There are also often valid use cases for working on a checkout of a branch that multiple people are working on at once...06:40
spivwgrant: right06:42
vilahi all07:35
vilajfroy: pong07:39
jfroyvila: yo07:40
jfroyso, I implemented a crude keychain auth provider.07:40
jfroyPlugin, that is.07:40
vilajfroy: great, publish it on lp :)07:40
jfroyI ran into one limitation, and one weird thing while doing so.07:40
jfroyvila: I need to clear it with Apple legal first.07:41
vilajfroy: ? You're working for Apple ?07:41
jfroyYeah07:41
vilaok07:41
jfroyI managed to get Bazaar approved for inclusion in internal builds of Mac OS X :)07:41
vilajfroy: congrats :)07:42
jfroyAnd I want to bundle a few useful plug-ins with it.07:42
jfroyEh, well git and hg are already there, but anyways.07:42
jfroyOK, so first of all, the realm isn't passed down to auth providers07:42
jfroyI trivially patched bzr.dev to do so07:43
vilajfroy: send a patch so I can review it07:43
jfroyIt's useful to look up Subversion repository passwords since they are stored as "<scheme://host:port/path> realm" generic passwords07:43
jfroySecondly, the authentication.conf section *name* is passed to the auth provider07:44
vilabzr-svn is taking care of that, so I thought we already fixed the realm bit with Jelmer...07:44
jfroyUnfortunately, the credentials are needed for probing07:44
jfroyotherwise, you get prompted *twice* for your credentials.07:44
jfroyit's a miserable user experience, in other words07:45
vilajfroy: if the auth provider knows about the credentials, you don't get prompted07:45
jfroyyes. that's quite correct07:45
vilaif it doesn't (and *because* we don't save credentials so far) you get prompted twice07:46
vilathat's the actual limitation07:46
jfroyI understand that -- the keychain auth provider works beautifully07:46
jfroybut it needs all the information to do a useful search07:46
jfroyhost, port, realm, path, username07:46
jfroytechnically, it doesn't need the username07:46
vilaayou should have them as part of the credentials parameter in decode_password07:47
jfroySo in any case, passing the auth section name to providers seems odd. Your own netrc plug-in looks for the key "host" in the credentials argument, yet that's *never* stored in the credentials dictionary by bzr.dev07:47
vilaif you don't, that's a bug I should fix07:47
vilaAuthenticationConfig.get_credentials should certainly set the credential attributes from the received parameters, it seems it still doesn't07:49
* jfroy pasted http://pastie.textmate.org/40807807:49
vilaNow that you mentioned it, it may be that Jelmer worked around that and I thought he fixed it when in fact it's still to be fixed07:49
jfroythat's the current code in bzr.dev07:50
jfroyso basically in my prototype I hacked some code to create a new AuthenticationConfig object, load its config (private method, bad), get the section using the provided name, and get at the info I need.07:50
vilajfroy: yup, that's where things should be tweaked, damn, no realm there :-/07:50
jfroyAnd even that's not a good solution, since a partial patch based on the keys in the section is possible. The information should come from the actual request.07:51
jfroybzr-svn itself handles authentication through the svn libraries07:51
jfroythere's no work to be done there07:51
jfroythe probing process is entirely in bzrlib07:51
vilajfroy: we agree, when I say add the attributes to credentials, I'm talking about the actual request ones07:51
jfroyright07:51
vilaincluding realm07:51
jfroyWhat I was worried about is that I didn't understand at all how the code works, since with that code, *your* plug-in is also broken07:52
jfroyit depends on a 'host' key being set in credentials07:52
jfroyand that's clearly not being done07:52
vilajfroy: it could be that the tests are not good enough07:52
* jfroy pasted http://pastie.textmate.org/40808107:53
jfroyfrom the netrc plug-in07:53
vilajfroy: indeed, it seems I'm testing at a too low level to catch that and that the tests always provide a host07:53
jfroyit seems there's a disconnect in the credential provider plug-in protocol / interface07:53
jfroyIf you want, I can provide a comprehensive patch to address those issues tomorrow.07:54
jfroyThere are other issues07:54
vilajfroy: sure !07:54
jfroyNamely one of performance07:54
jfroyget_user and get_password both use get_credentials07:55
vilajfroy: note that I'll be traveling for the next 48 hours so there will be some lag07:55
jfroyand they don't cache07:55
jfroywhich implies credentials will be searched for / fetched on average twice07:55
jfroythat's fine, I'm aiming at getting this in 1.1307:55
vilajfroy: don't bother about performances here, that's called once per connection which will cost far more anyway07:56
jfroyI think the changes are low risk enough to be OK.07:56
jfroythat's not necessarily true07:56
vila1.13rc1 is due tomorrow, but try anyway07:56
jfroyFor instance, someone conscious about security might authorize bzr to access his or her keychain only once07:56
jfroyunder this code, he will get prompted twice07:57
jfroygranted, the keychain provider could cache07:57
jfroyBut it seems to be a flaw that should be addressed upstream07:57
vilayou're talking about UI here, not performance and yes, the keychain provider can cache07:57
jfroyI'm not going to include that in my patch, it's a secondary and separate issue07:57
jfroyThe last thing is a ER for later.07:58
jfroyWe could add a "probe username" method to the credential provider interface.07:58
jfroyCertain providers, like the keychain one, can provide credentials with only a the request parameters.07:58
jfroyThat is, you can wildcard the username and request "give me any item that matches the server part of things"07:59
jfroyThis would allow bzr to match the user experience of svn07:59
jfroyI'm wondering if get_user might not already allow for this to happen08:00
jfroyAnd damn, rc1 tomorrow huh....08:00
pooliehello jfroy08:00
jfroypoolie: greetings!08:01
vilajfroy: there is bug #321918 to address that I think08:02
ubottuLaunchpad bug 321918 in bzr "ability to register credentials providers that are always queried" [Wishlist,Triaged] https://launchpad.net/bugs/32191808:02
jfroyAh yes, true, unless the provider is configured in authentication.conf it won't happen08:03
vilajfroy: that's the point, user choice is always respected08:04
jfroyI don't think that's correct08:04
jfroyNot entirely08:04
vilajfroy: the user is right08:04
vilaneither you and me can change that :)08:04
jfroyRespecting user preferences is of the utmost importance08:04
jfroy*however*08:04
jfroyUnless the user takes explicit action, defaults should reflect the user's *expected* behavior08:05
jfroyAnd on Mac OS X, as far as credential storage and queries go, that's the keychain.08:05
viladefault applies when user says nothing08:05
jfroyyes, agreed08:05
* igc1 dinner08:05
vilaOnce your plugin register itself as being always queried unless the user says otherwise, you get what you're asking for08:06
jfroyyes, that's the ideal user experience I'm aiming for.08:06
vilajfroy: we all agree there08:06
jfroyBut there should definitely be a way to disable the provider globally or for a specific host.08:07
jfroyIn any case, that's not for the 1.13 timeline08:07
jfroyI'm hoping I can write a narrow enough patch for the config module it will make it past what I assume are very stringent requirements for including a patch in a release that's reached RC.08:08
vilajfroy: don't get focused on releases, send your patch, I'll do my best to get it included asap, even if asap is 1.14 :)08:09
jfroyI suppose.08:10
poolievila, i guess you'll be leaving within 24h?08:12
vilapoolie: yup in less than 8h even08:13
poolievila, so should it be you, or bob tanner for 1.13 RM?08:15
pooliei'd like to expand the group of people who do it but08:15
pooliehe isn't on the core team yet and it's kind of a high responsibility place to starte08:16
pooliestart*08:16
vilaIf we can shift the dates by a week, that will be perfect for me08:16
poolieyou'd do it on your last day here?08:16
pooliethat would be ok, except that beuno and james_w would rather we do it sooner so it's in jaunty08:17
vilabecause cutting a release while traveling is a sure recipe for disaster08:17
pooliewe can probably still get it in if we do rc1 tomorrow but not if it's a week later08:17
pooliei know08:17
pooliewhat do you think re bob?08:17
vilaThat would indeed be the first time someone without vote or pqm access will be RM, which make that harder if only on technical ground08:18
vilaOtherwise I'm fine with bob, as I said I can act as the backup so may be I can team with him and try a double-head RM :)08:19
LarstiQjseutter: did you get it to work?09:12
=== montywi|zzz is now known as montywi
mattionshi10:43
mattionswhere can I find the plugin for network manager?10:43
mattionsthe link in the website lead to an empty directory10:44
mattionsDoes anybody knows how to make bzr-svn remember my svn password11:22
mattions?11:22
=== quicksil1er is now known as quicksilver
igcnight all12:39
loxshttp://dpaste.com/6962/       --- this happens when I try to use bzr on a network drive. Everything is fine when I use it on a local drive. Any ideas?12:49
mneptokloxs: sorry, haven't used Windows in >10 years12:56
loxsme too... :(12:56
mneptoknot that it's a Windows issue per se, but backslashes and drive letters make me run away in fright. :)12:58
spivloxs: not sure, but what sort of network drive?13:03
loxsspiv, it's a novell share13:04
spivloxs: it looks like the problem is something like a network drive where "mkdir mydir; touch mydir/myfile; mv mydir foo; cat foo/myfile" isn't reliable13:04
loxsthe strange thing is that it worked till yesterday (before reinstall of the system)13:05
spivloxs: i.e. bzr has renamed a lock directory, then gone to read the info file out of that directory (to make sure it really is the lock this process owns), and suddenly the info file is gone.13:05
spivloxs: it's quite likely to be an intermittent issue if I'm right; i.e. if you try again a couple of times it might work.13:06
spivloxs: also13:06
spivloxs: it would be interesting to know if S:/Bespoke/Cashless Vending/Cashless13:06
spiv Vending/Database/trunk/.bzr/checkout/lock/releasing.n0oxup06wmyexxs1agxg.tmp/in13:06
spivfo13:06
spivstill exists.13:06
loxsspiv, nothing in the lock directory13:07
spivloxs: hmm, interesting!13:07
spivloxs: I don't know what could cause that.  It's possible that it's due to wacky network filesystem semantics, but I struggle to imagine plausible network drive behaviour that would cause that.13:07
loxsyou are probably right... as it used to work yesterday13:08
spivloxs: a bug report would be appreciated, though.13:08
loxsspiv, what kind of information should I supply for this?13:08
spivloxs: the error message, the traceback from the bzr log file (see 'bzr version' for its location), the fact its a network share, and that the info file isn't there when you look manually13:09
spivloxs: oh, and of course that it's *novell* share :)13:10
loxsok, I'll do it now13:10
spivloxs: plus anything else you think interesting, but we can always ask for more info if necessary.13:10
spivloxs: feel free to just paste this IRC conversation into the bug report if that makes your life easier ;)13:11
loxsthanks :)13:12
loxshm, spiv... in the log file... before the error you saw, there it says that it's some kind of translate error    File "bzrlib\transport\__init__.pyo, line 307, in _translate_error13:18
loxsyesterday, the locales of my workstation were different13:18
spivloxs: that's not related to locales13:22
spivloxs: that's code for turning errors accessing files and directories from platform-specific into bzr-internal error codes.13:23
loxsspiv, https://bugs.launchpad.net/bzr/+bug/33822013:30
ubottuLaunchpad bug 338220 in bzr "bzr fails on a novell share on windows" [Undecided,New]13:30
loxsspiv, actually the lock directory is not empty... only the windows explorer can't see this files O.o13:35
loxswhen using dir through the command prompt, they are there13:35
spivloxs: interesting.  So it does have an 'info' file?13:38
loxsyes13:38
loxsand the bad part... that files has broken encoding  bits in it ....13:39
spivOk, then I guess my first hypothesis is correct.13:39
spivOh?13:40
loxssome of the letters in that file are "squares" probably the encoding on the novell share differs from mine13:40
loxsno, no problem with this... the squares are unix line terminators13:41
spivOh, right.  Yes, bzr will always use \n as the line terminator in that file.13:42
=== UdontKnow is now known as root
loxsspiv, when I enable the "show system folders" option in windows explorer, now I can see these "missing" directories14:07
loxsbut bzr still doesn't work14:07
=== root is now known as Wowbagger
salgadoSource format does not support stacking, using format: '1.6'14:23
salgado  Packs 5 (adds stacking support, requires bzr 1.6)14:23
salgadoI got that when trying to push a branch to Launchpad.  does it mean bzr will push all history on that branch?14:24
beunosalgado, yes14:26
beunotry upgrading the repository  (ie ~/canonical/lp-branches)14:26
beunoupgrade --1.914:26
beunoyou can do 1.6, but 1.9 is fater14:26
salgadobeuno, I don't think it did, though.  it took only a couple minutes to complete14:27
salgado(just finished)14:27
beunos/fater/faster14:27
beunothat was a very bad typo14:27
beunosalgado, try:  bzr info14:27
beunoit should tell you14:27
salgadoShared repository with trees (format: 1.6)14:28
beunoand the branch?14:28
salgadoI've pushing branches from this repo for ages, and stacking always worked14:28
salgadoRepository tree (format: unnamed)14:28
beunosalgado, but rsync sometimes breaks stuff14:29
beunowhere do you get unnamed?14:29
salgadoI got that error after interrupting a push which was working fine (i.e. no message about stacking not being supported)14:30
salgados/error/warn14:30
salgadobeuno, on the branch I was trying to push14:30
beunosalgado, delete de branch and push again14:30
beunoAFAIK, there's no way to resume pushing a stacked branch14:30
salgadoright, I was not trying that14:31
salgadothis is another branch14:31
salgadothe one I interrupted I deleted14:31
spivsalgado: 1.6 is a stacking-capable format14:38
spivsalgado: there's a bug that for some reason bzr.dev sometimes thinks that source branches in a stacking-capable format aren't in a stacking-capable format.14:39
salgadospiv, for some reason one of the branches in my (1.6) repo ended up created in a different format (unnamed, it seems)14:39
spivsalgado: so bzr gives that bogus warning.  And "upgrades" 1.9 source branches to 1.6 on the server :(14:40
salgadosounds like what I just saw14:40
spiv"unnamed" isn't a format as such, it's just "bzr info" getting confused.14:40
spivIt gets confused if the combination of branch format and repo format is outside a very narrow set :(14:41
spivinfo -v can be helpful when that happens, because it will describe the components formats individually.14:41
spivsalgado: jml filed the bug, feel free to subscribe and/or update it with some info14:41
spivsalgado: we want to fix it for the 1.13 release, although at this stage I'd be doubtful about it getting fixed in time for 1.13rc114:42
spivsalgado: also, upgrade to 1.9 already ;)14:42
* spiv -> zzz14:43
salgadothanks for the help spiv.  I'll do that14:43
vilaspiv: does 'second push failed to complete a fetch set' rings a bell ?14:45
mattionsis there any way to tell the bzr-svn tool to remember my subversion password? I have to type two or three times every commit.14:58
jelmermattions: you can get subversion to cache your password for you14:59
mattionshow?14:59
jelmermattions, force subversion to cache the password somehow, e.g. by running "svn ls <url>"14:59
mattionsit's strange15:01
mattionsi ran it and it still ask the password15:01
mattionstwice, actually15:01
mattionssvn 0.4.16dev015:01
mattionsBazaar (bzr) 1.9dev15:02
jelmeryou may need 0.5 for thi15:02
jelmers15:02
mattionsI see15:02
mattionswell, I'm on intrepid15:02
mattionsis there any bzr packages?15:02
mattionsI mean 0.5 is available for intrepid?15:02
mattionsok, found it15:03
mattionsI'll try15:03
mattionsjelmer: one more question: is the network-manager plugin dismissed?15:03
jelmermattions, dismissed ?15:04
mattionsthe link brings to an empty directory15:05
jelmerit's a bzr branch15:05
mattionsah15:05
mattionsand nothing is showed15:05
mattionswhen you look from http15:05
mattionsok, thanks :)15:06
mattionsthe network-manager plugin is not on the PPA right?15:19
jelmermattions, no15:20
jblountI have a branch that gives me "No Public branch set for /path/to/branch_name" on pqm-submit, and I'm a little lost on how to fix this.15:20
jblountThe public branch is a lp branch15:20
jseutterLarstiQ: Yes, it works fine now.  The problem was with me, not bzr. :)15:30
jamjblount: echo 'public_branch = lp:...' >> .bzr/branch/branch.conf15:44
jamOr configure a policy in ~/.bazaar/locations.conf15:45
jblountjam: Thanks for the help, I had my ~/.bazaar/locations.conf b0rked and didn't remember where the setting came from.15:49
radixDoes anyone know what all needs to be upgraded (software & branch-formats & repository-formats) in order to take advantage of stacked branches (on Launchpad)?15:52
jamradix: generally your repo needs to be upgraded to 1.6 or newer (I recommend 1.9 a lot)15:53
jamwhich implies the bzr version15:53
radixjam: on which side?15:53
jamradix: Launchpad already supports 1.9 and newer15:53
jamso just the client15:53
radixboth sides? only server? only clients?15:53
jamor is there another server involved?15:54
radixjam: sure, launchpad supports 1.9, but my repository there is not on 1.9 format15:54
jamradix: so if you upgrade your local repo to 1.915:54
jamwhen pushing to LP15:54
jambzr will create a new branch+repo that can stack on older formats15:54
radix(at least, I don't think it is. I can't figure out how to check what repo format my lp repo is in)15:54
jamyou *can* upgrade the repo on LP15:54
jamand there are reasons to do so15:54
jambut it isn't necessary15:54
jamstacking cares that the Stacked branch is in the new format, not the stacked-on branch?15:54
jamdoes that make sense?15:55
radixjam: okay, so I should just tell all my developers to upgrade to >= 1.9 and do "bzr upgrade --1.9" in their repositories (anything about branches?)15:55
jamradix: it is good to upgrade the branches, but not strictly necessary15:55
jamas we will auto-upgrade when we need to15:55
radixokay, I'll do this and find out whether it speeds up new branch pushing for my team15:56
radixthanks very much for the advice jam :)15:56
jamradix: what team?15:56
radixlandscape15:56
radixjam: I think what you said about stacked vs stacked-on makes sense, yes.15:57
salgadojam, if I have a 1.9 repo with a 1.6 branch inside it.  what happens if I create a new branch out of the 1.6 one; will it be 1.6 or 1.9?15:57
radixjam: but did you actually mean the "Stacked branch's repository" instead of "Stacked branch"?15:57
jamsalgado: 1.9 branches == 1.6 branches. Only the repo changes15:57
salgadooh, cool.  so upgrading my repo to 1.9 (from 1.6) should be everything I need to do?15:58
jamradix: for the most part, yes. The stacking location is actually set in the branch (so if you had a shared repo, with lots of stacked branches, they could potentially be stacked on lots of different locations)15:58
jamsalgado: yep15:58
radixI think there used to be a message printed to the console when doing a push that used a stacking branch, but now I don't see those any more.16:00
radixoh awit16:00
radixthere it is!16:00
radixokay, I think I got it working :-)16:00
jelmerluke-jr, ping16:01
jamradix: so pushing up a stacked branch doesn't have to push the whole history, but at the moment the data it *does* have to push is a bit slower to transfer than before16:01
jamso for *small* projects, stacking isn't a win yet16:01
jamlandscape may be big enough16:01
radixyeah, Landscape is definitely big enough16:01
jamI believe if everything goes as planned, 1.13 will fix some of the remaining rough edges16:02
radixour repo is 39MB, and that's really painful for the brazilians and the italians16:02
thekornjelmer, I think I fixed 294396, now I would like to test my changes, is there any way to test olive without installing it system-wide?16:14
jelmerbug 29439616:14
jelmer?16:14
ubottuLaunchpad bug 294396 in bzr-gtk "Branch, get... cancel, fail" [Undecided,In progress] https://launchpad.net/bugs/29439616:14
jelmerthekorn, you should be able to run it in-place16:15
thekornyeah, sorry, bug of course16:15
jelmerthekorn, I just mentioned that to trigger ubottu as I wasn't sure what bug or project that was16:16
thekornhmm, it always picks the version from /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/branchbox.py16:17
jelmerthekorn, you'll need bzr-gtk installed in ~/.bazaar/plugins/gtk16:27
thekornjelmer, no this also did not work, "Unable to load plugin 'gtk' from '/home/markus/.bazaar/plugins'", so I just tested my fix in a gtk.Window with two instances of this widget16:35
jelmerthekorn, please check ~/.bzr.log16:36
thekornjelmer, http://paste.ubuntu.com/126791/ looks like another bug, maybe my bzr version is too old16:38
jelmerthekorn, yes, your bzr is too old16:38
thekornjelmer, do you know off hand which version I need16:39
jelmer1.10 or 1.11 I think16:40
thekornok, getting 1.12* from the PPA now16:41
thekornjelmer, ok, thanks for your help, it worked now, adding a branch with a fix now to this bug16:45
jelmerthekorn, bzr-gtk doesn't use merge proposals on launchpad17:05
jelmerthekorn, please submit the merge request to the bzr-gtk mailing list17:06
thekornoh, ok17:07
jelmerPeng_, do notifications work for lp:bzr-svn ?17:08
=== thunderstruck is now known as gnomefreak
nekohayohey there, I have someone trying to push to launchpad and getting an error that it's locked... while not being able to break the lock17:09
nekohayoanyone knows what's going on in http://pastebin.ca/1353627 ?17:11
jamnekohayo: your lp:// url either needs 3 / or none17:15
jambzr break-lock lp~woutc/specto/specto-woutc17:15
jamsorry17:15
jambzr break-lock lp:~woutc/specto/specto-woutc17:15
jamor17:15
jambzr break-lock lp:///~woutc/specto/specto-woutc17:15
nekohayoon the other hand, why was bazaar giving a false suggestion then?17:16
jamnekohayo: well, it was using a three / url, though it should have stripped the extra numbers from 'lp-XXXX'17:17
nekohayois that a known bug?17:18
jamnekohayo: I believe I've seen that bug reported before, yes17:19
nekohayojam: ah, https://bugs.launchpad.net/bzr/+bug/255062 I guess17:24
ubottuLaunchpad bug 255062 in bzr "Advice to "use bzr break-lock lp-NNNN:///..." is incorrect (dup-of: 250451)" [High,Confirmed]17:24
ubottuLaunchpad bug 250451 in bzr "bzr suggests wrong URL for break-lock with a LP hosted branch" [High,Confirmed]17:24
=== salgado is now known as salgado-lunch
jelmerrocky, hi18:04
=== montywi is now known as montywi|food
seb_kuzminskyi'm transitioning from a git repo to bzr, and i want to reorganize it a bit in the process18:06
seb_kuzminskywe've got an upstream tarball and a bunch of local patches18:06
seb_kuzminskythe old git repo has the contents of the tarball as its first commit18:07
seb_kuzminskythen a bunch of commits of locally-generated patches18:07
seb_kuzminskythen another patch from upstream, then more local stuff, etc18:07
seb_kuzminskyit's all in a single branch in the git repo18:07
seb_kuzminskywhat i want in the new bzr repo is an "upstream" branch without any of our stuff in it, and a "local" branch18:08
seb_kuzminskythe local branch should ideally consist of a branch off the first upstream commit, then some local commits, then a merge from the second upstream commit, etc18:08
seb_kuzminskybut i'd settle for importing the old git repo as the "local" bzr branch, as long as I could sensibly diff and merge between upstream and local after the inital setup is done18:09
seb_kuzminskyso i used git-fast-export | bzr fast-import to turn the git repo into a bzr "local" branch, and that worked great18:09
seb_kuzminskythen i made an "upstream" branch and committed all of upstream's stuff there18:09
seb_kuzminskybut now when i diff between the bzr branches, it doesnt seem to think the identical files are identical...18:10
seb_kuzminskyit seems to (correctly) think that the upstream and local branches don't share history18:10
seb_kuzminskyso my question (finally!) is:  can i fool or bribe bzr into thinking that upstream and local are related now?18:10
seb_kuzminskysome kind of a fake merge perhaps?18:11
jelmerseb_kuzminsky, not afaik18:11
seb_kuzminsky:-(18:11
jelmerseb_kuzminsky, the only option you have is to recreate one of the two branches18:11
seb_kuzminskywhat do you mean?18:11
jelmerand while recreating it using the same file ids the other branch is using18:11
jfroymorning18:14
jfroyI have a small patch to submit to bzr, is it as simple as using bzr send?18:15
seb_kuzminskyjelmer: i'd be happy to throw away the current broken bzr repo and re-create it in some new way, but i dont know how18:16
jelmerjfroy, yep18:21
jfroyGotta provide an email now :p18:21
jfroySend to bazaar@lists.canonical.com?18:21
jelmeryep18:22
jelmerseb_kuzminsky, Unfortunately, I don't think there's a way to do that yet18:22
jfroywell that's awesome18:22
seb_kuzminskyjelmer: ok thanks, i'll just do it by hand18:24
seb_kuzminskyluckily our history is pretty short ;-)18:24
rockyjelmer: heyo18:33
jelmerrocky, was wondering if you could three revision properties in the cluemapper repo18:38
jelmerwould be set by older (broken) versions of bzr-svn 0.518:38
jelmerunsetting them would fix svn-import18:38
jelmerrocky, bzr:base-revision on r51218:39
rockyoh18:41
rockythat should be doable18:41
rocky"if you could three revision properties" ... think you missed a word there18:41
jelmersorry18:42
jelmerif you could remove three revprops18:42
rockywhat would be the easiest way to remove them?18:44
rockyand on what paths?18:44
iliahi all18:52
iliaI have a question18:52
iliaanybody knows, how can I edit branch history? I need to change commiter's e-mails only.18:53
beunoilia, you can't18:54
beunoit's immutable18:54
beunoyou may be able to use bzr-rebase plugin, but it will make the branch incompatible with all the rest18:54
jelmerbeuno, rebase doesn't change that sort of thing18:56
jelmerrocky, revision properties are set on the revision not on a particular path18:56
jelmerrocky, svn propdel -r512 --revprop bzr:base-revision <url> should do it18:56
iliaI have last 13 commits in a branch, which are my own18:58
iliaand I did it with wrong e-mail18:58
iliaI can branch from 13 revisions ago and make all changes in a single commit with a right e-mail, but it's an ugly solution18:59
beunojelmer, it doesn't?  I thought it let you re-commit in a sense19:00
rockyjelmer: done19:01
iliabueno, what do you mean by "incompatible"?19:01
beunoilia, revision IDs change, so existing branches will be completely different and unmergeable19:03
iliathere were no new branches during last 13 revisions19:04
rockyjelmer: any part of Clue* you're most interested in ?19:05
iliai.e. the revisions I want to edit are currently only in one branch19:05
jelmerrocky, just browsing19:06
pfanellihey, i am trying to setup pqm and can't figure out what goes in the queue and how to get it in there19:07
pfanelliany ideas?19:07
jelmerrocky, seems to still be there19:09
beunopfanelli, you have to send the location of a branch to PQM19:10
beunowhich PQM should be able to access19:10
beunoyou send those with the bzr-pqm plugin19:10
beunowhich IIUC, it sends it in through RPC with a gpg signature19:10
pfanellii am running bzr 1.12, i have the bzr-pqm and bzr-email plugins loaded, i setup the public and target branch settings in the .bazaar/locations.conf file...19:12
pfanellii my 'work' branch, i am running 'bzr pqm-submit -m "pqm submit test"...19:13
pfanellii also did the 'bzr pqm-submit with a dry-run - and i can see that the email that is going to be emailed to pqm is gpg'ed correctly19:14
pfanelliand the pqm user is getting the email19:14
pfanellithen i run the 'pqm -v -d --run' command, but i don't see anything in the queue19:14
LarstiQpfanelli: pqm can be a bit difficult to setup19:14
pfanellibut i have to say that it is awesome19:15
pfanelliall of this sw is awesome :)19:15
LarstiQthank you :)19:15
pfanelliyou guys are fantastic (i have been trying to find a way to start helping you guys out)19:15
=== salgado-lunch is now known as salgado
pfanellistarted looking at bzr bugs, but not sure where to start19:17
pfanelliwho would be the correct person to ask about setting up pqm?19:20
rockyjelmer: i issued your cmmand... .svn said property was deleted ... not sure what else19:21
rockyjelmer: is there a specific path i have to delete it from?19:22
rockyi'm just doing it at the root of the repo19:22
LarstiQpfanelli: Odd_Bloke, lifeless and Kinnison have set up pqm before, but maybe I can try to help debug too19:22
pfanelliLarstiQ: cool/thx, i am sooooo close on this, just trying to figure out what to ask next :)19:23
LarstiQpfanelli: does pqm need to pick the mail up and enter it in the queue maybe?19:24
LarstiQpfanelli: the mail arrives for the pqm user, what happens next?19:24
LarstiQpfanelli: is there a procmailrc involved?19:24
jelmerrocky, hmm, that's odd19:26
pfanellii took a guess and thought maybe that when i would run 'pqm --run' that it would read the mail in /var/mail, but when i ran 'pqm -h' is said that --run would process the queue...19:27
pfanelliso that's what got me thinking that, there has to be something in the queue to process19:27
jelmerrocky, svn propget --revprop -r512 bzr:base-revision https://dev.serverzen.com/svn/cluemapper still works19:28
pfanellii think i have a chicken-and-egg thing going on here 8)19:28
LarstiQpfanelli: let me take a gander at the pqm source19:29
rockyjelmer: http://cluebin.appspot.com/pasted/8926219:31
jelmerrocky, it's lying!19:31
jelmerrocky, :-)19:31
rockylol19:31
jelmerrocky, do you allow changing of revision properties in hooks/pre-revprop-change-hook ?19:31
jelmerrocky, you may have to temporarily edit that in order to be able to remove revision properties19:32
jelmeralthough it should also be giving you an error rather than silently ignoring you19:32
rockyjelmer: i've never intentionally changed anything in hooks/pre-*19:32
rockyjelmer: there is no pre-revprop-change script ... just the .tmpl one19:34
jelmerrocky, For now, you should be able to just create one that jsut does "exit 0"19:34
jelmerrocky, and remove it afterwards19:34
rockyk19:35
pfanelliLarstiQ: man that's a good idea, i am gonna' look at the unit tests for pqm (man, why didn't i think of this earlier)19:36
rockybah, having ssh issues19:38
jsledI've a branch ("trunk") at revno 6797, and another ("remote") at 6667, which was the last point at which I sent a mergedirective to a coworker.  Why would `bzr send -o update ../trunk` report "Bundling 0 revision(s)."?19:41
rockyjelmer: ok, i think i've done it ;)19:48
jelmerrocky, thanks! :-)19:48
jelmerjsled, there are no revisions in remote that are not in trunk19:49
jsledAh.  Cause I'm exactly backwards.  *ahem*  Sorry.19:49
jsledjelmer: thanks.19:51
jelmerrocky, the second one is r589, for which bzr:base-revision should also be removed19:55
rockyjelmer: i just removed that file =P19:55
jelmerrocky, s/file/property ?19:55
mwhudsongood morning19:56
jelmerhey mwhudson, abentley19:56
abentleyjelmer: morning.19:56
jelmerabentley, could you give bundlebuggy a kick?19:56
jelmerit doesn't seem to be responding atm19:56
rockyjelmer: no, the pre hook file that allowed me to delete the rev properties =P19:56
jelmerrocky, ahh :-)19:57
jelmerrocky, sorry19:57
jelmerrocky, bzr check said there were 3 such revisions19:57
rockyah ok19:57
jelmerrocky, so there should be another one after the one I just reported19:57
rockyjelmer: ok, that one's removed19:57
abentleyjelmer: restarted19:57
jelmerabentley, thanks19:58
jelmerrocky, thanks19:58
jelmerrocky, the last one is r59120:11
rockyjelmer: done20:12
jelmerrocky, merci20:18
jelmerjfroy, how are you using the netrc plugin?20:20
=== sdboyer-laptop_ is now known as sdboyer-laptop
=== sdboyer-laptop is now known as Guest31946
jfroyjelmer: sorry back20:32
jfroyI'm using using netrc myself20:32
jfroyBut the code is clear20:32
* jfroy pasted http://pastie.textmate.org/40869420:33
jfroyit at minimum expects a 'host' key in the credentials dictionary20:33
LarstiQoh, that sounds familiar20:33
jfroyand the netrc tests synthesize credential dictionaries with a 'host' key set.20:33
LarstiQdid I not report that bug? :(20:34
jfroyhowever AuthorizationConfig never did set that20:34
jfroyLarstiQ: maybe :p I honestly didn't check.20:34
jfroyMy patch was written with my keychain credential store plug-in in mind, but also conforms to the expectations of the netrc plug-in.20:34
LarstiQjfroy: it's entirely possible, bad larstiq has not been getting to many things on his todo list20:34
fullermdThat keeps other things on the list from getting lonely.20:35
LarstiQyes, but any time now they might petition the UN for recognition of their own nation.20:38
fullermdHah!  Fat chance.  They're your vassals, totally dependant upon you for any sustenance or boon you might grant them!20:39
fullermdYou're just demonstrating the point by starving them out, see.  Clenching the iron fist.20:40
pigmejHi everyone,20:47
pigmejHow to get commit message from bzrlib ?20:47
LarstiQpigmej: for a given revision?20:48
pigmejYes20:48
pigmejI cannot find that in docs...20:48
LarstiQpigmej: revision.message20:49
pigmejhmmm20:49
LarstiQpigmej: say, 'from bzrlib.workingtree import WorkingTree; tree = WorkingTree.open('"."); print tree.branch.repository.get_revision(tree.last_revision()).message20:50
pigmejHmm20:50
pigmejI'm going in other way...20:51
pigmejlike20:51
pigmejmy_branch=branch.Branch.open(....)20:51
pigmejrepo=my_branch.repository20:51
pigmejrepo.lock_write()20:51
pigmejand then revtree=repo.revision_tree(rev_id)20:52
pigmejrev_id is previously set to my_branch.last_revision() in that "example"20:53
pigmejis it better to go trough WorkingTree?20:53
pigmeji need branches "support"20:53
LarstiQno, this is fine20:55
LarstiQso then20:55
LarstiQrepo.get_revision(rev_id).message20:55
pigmejthanks ;)20:56
pigmejbtw I think that the better api documentation is needed ;d20:56
LarstiQpigmej: revision_tree() gets you the RevisionTree of that revision, not the Revision object itself20:56
LarstiQpigmej: where did you look to find this information?20:57
LarstiQpigmej: ie, what do we need to change to have better helped you?20:57
LarstiQpigmej: patches welcome btw ;)20:57
pigmejhttp://starship.python.net/crew/mwh/bzrlibapi/20:57
pigmejhere for example ;d20:57
pigmejand there http://bazaar-vcs.org/BzrGivingBack20:57
LarstiQok, and then, at what pieces of that did you look?20:58
pigmejLarstiQ: Finally i fetch20:58
pigmejrevison=revtree.inventory()20:58
pigmejLarstiQ: anyway what is the best way to fech binary files content ?21:04
LarstiQpigmej: I don't know about "best", but I'd do "fileid = revtree.path2id('NEWS'); fileobj = revtree.get_file(fileid)"21:09
pigmejLarstiQ: so the same way that me :d21:09
pigmejI'm going to write some bzr_wiki ;-)21:09
pigmejweb wiki engine managed via bzr ;)21:10
pigmejjust for fun ;d21:10
LarstiQpigmej: ah ok, cool :)21:10
LarstiQpigmej: I don't know how up to date the ikiwiki bzr backend is, but you could look at that too21:10
LarstiQpigmej: but keep us posted about your progress :)21:11
pigmejLarstiQ: mine "bzr_wiki" in final ver should have full web access to naturally21:11
pigmejI will see :)21:11
LarstiQpigmej: are you aware of http://bazaar-vcs.org/Integrating_with_Bazaar btw?21:15
pigmejI have read this :)21:16
pigmejFrom that I have revtree ;-)21:17
LarstiQok :)21:17
ferringbcurious, anyone seen failed locks w/ "Transport operation not possible: readonly transport" when doing bzr pull $URL -d $CHECKOUT , yet have it succeed fine when doing cd ${CHECKOUT} & bzr pull $URL # ?21:20
poolieferringb: that is strange21:46
* ferringb thought so21:46
ferringbsolution atm is to kill the checkout, which sucks a bit though21:47
poolieferringb: does it tell you which transport is readonly? or does the traceback in ~/.bzr.log  give any clues?21:47
ferringbforgot about ~/.bzr.log21:47
poolieis it a checkout bound to another branch?21:47
ferringbsec21:47
jammorning poolie21:49
ferringbpoolie: remote, bzr server is chucking it21:54
pooliehello jam21:54
ferringbpoolie: re: checkout bound to another branch, if by that you mean is the checkout w/in a repo... yes, tis.22:00
ferringbthe branch it's pulling from, that side has a similar setup although I'd expect bzr server to handle that- the odd thing is that bzr-server does lack write perms to those directories (intentionally since commits aren't routed through it since when we deployed it bzr-server was raw and questionable), although those issues aren't seen for other ops22:01
=== montywi|food is now known as montywi
pfanellithis stuff (bzr, pqm, cm, etc...) is fantastic!  I have been working today trying to get pqm setup and working with bzr. I forgot the link in pqm over to the bzr code. I ran the pqm tests and it said I was using 1.13 but needed 1.12. So I ran 'bzr revert -r date:2009-02-13' on my bzr.dev and presto it works.  That's the motto 'it just works'.  Fantastic :)22:28
ferringbpoolie: figured out an additional naggle actually. that co came from a different upstream branch, iow foon.com/repo1, the pull --overwrite fails when it attempts foon.com/repo2 over the same co23:01
spivjam: btw, the numbers for time spent generating a stream for the network are 22% in fileids_altered_by_revision_ids, and 16% because _read_records_iter_raw is used rather than _read_records_iter_unchecked23:07
pfanellianother pqm ?...I have the 'mail_reply=1' set in my .pqm.conf file, but when I run 'pqm -v -d --run --report' i am not seeing any mail reply?  Any ideas why?23:20
=== montywi is now known as montywi|zzz
pfanelliany pqm guru's out there? Is this a bad time of the day/night/23:54
pfanelli?23:54

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