/srv/irclogs.ubuntu.com/2009/02/04/#bzr.txt

keithyhi01:35
=== asac_ is now known as asac
keithyI just used the mac os x installer and it hosed by bazaar installation01:35
keithywhich bzr -> /usr/local/bin/bzr01:36
keithyok nevermind01:36
keithynew shell solved it01:36
mwhudsonigc: did you think about using btrees for revgraphcache?01:42
igcmwhudson: jam has told me I should but I'm yet to do that01:43
mwhudsonigc: ok, if jam thinks it's a good idea, it probably is :)01:43
mwhudsonigc: it seems i'm going to be working on loggerhead some more, and i want to use revnocache, so01:44
mwhudsonigc: need help with anything?01:44
mwhudsonigc: and i find the names confusing; is revgraphcache the way of the future?01:44
igcmwhudson: I would *love* some help with revnocache01:46
igcthere's a lot that can be done there and a small amount of it may make it into the core in the future01:47
igcmwhudson: I'll whip up a TODO file and commit that so you can see the priorities as I see them01:49
lifelesswho here has read the groupcompress stuff enough to grok the design01:54
mwhudsonigc: thanks01:57
lifeless3.3G corpus makes my laptop cry01:58
mwhudsonigc: TODO as i see it: incremental caching updating + use btrees02:02
mwhudsonigc: not sure there's much else tbh02:02
santagadalifeless: is bzr one of the projects that will be able to use snakebite?02:03
keithyhmm on windows where does bazaar ssh keep its config files?02:03
lifelesssantagada: snakebite ?02:03
keithyI want to put some ssh keys in there02:03
keithyhello lifeless02:04
lifelessmwhudson: incremental writes for incremental updates02:04
santagadalifeless: www.snakebite.org02:04
keithyI just updated to 1.1102:04
lifelesshi keithy, cool02:04
santagadalifeless: to sum it up they have one machine with 48gb of ram02:04
santagada:)02:04
mwhudsonlifeless: ah yes, btrees are write once?02:04
lifelessmwhudson: yes02:05
mwhudsonthat's something of a pain02:05
lifelessmwhudson: not really02:05
mwhudsoncould always abuse the heck out of sqlite again...02:05
mwhudsonlifeless: for this application it is, i think?02:05
lifelessmwhudson: you can build on top of it; I have a plan!02:05
mwhudsoni mean, it's less important than having to read the whole lot of it, for sure02:05
mwhudsonlifeless: ah!02:06
mwhudsonlifeless: tell me more02:06
lifelessmwhudson: and its important that they are write once, because our fs layer does not have updatable files per se02:06
lifelessmwhudson: due to sftp and ftp02:06
mwhudsonlifeless: well yes, i don't care about bazaar's needs here02:07
lifelessmwhudson: in the long term you do, because we need an answer in bzr itself, and if its different to what you do, its waste02:11
lifelessmwhudson: also write once has nice cache characteristics, and when you look at eq sqlite internals its essentially writing once at the page layer02:17
lifelessmwhudson: anyhow, take a series of btrees02:17
lifelessquery new->old02:17
lifelesstake first hit for a value02:17
lifelesswrite a special value for deletes02:17
lifelessand as the length expands and hits on old trees decrease, repack02:17
mwhudsoni guess you could do pack repo-like reshuffling too02:17
mwhudsonright02:18
keithyon windows where does bazaar ssh keep its config files?02:18
mwhudsonis the logic for this for pack repos extractable, do you think?02:18
lifelesskeithy: I'm not sure, I think it depends on your ssh client02:18
lifelesskeithy: its something bzr depends on but doesn't provide itself02:18
sohailhi, I have a shared repository and when I do bzr branch it is taking forever (> 2-3 minutes).. is there any way to figure out what is wrong?02:21
lifelesssohail: you're branching within the repository?02:21
sohaillifeless, I am doing bzr branch ~/code/bzr/master ~/bzr/code/bugfix02:22
lifelesssohail: so from the repository, to outside?02:22
lifelessor did you mistype one of those urls' ?02:22
sohaillifeless, well it seems that ~/bzr/code is the repository02:23
sohailso seems to be within...02:23
sohailbzr info ~/bzr/code/02:23
sohailShared repository with trees (format: pack-0.92)02:23
sohailLocation:02:23
sohail  shared repository: /home/sohail/bzr02:23
lifelesson one you said code/bzr02:23
lifelesson the other bzr/code02:23
sohailoops02:23
sohailyeah that's a typo02:23
sohailbzr/code in both cases02:23
enigmajelmer: I dug up more info about the "mergeinfo capable client" message.02:23
lifelesssohail: ok02:24
lifelesssohail: run bzr info on the result branch, pastebin the output please02:24
enigmajelmer: It doesn't seem like it's just a collabnet thing02:24
enigmajelmer: http://www.google.com/search?hl=en&q=Commits+require+mergeinfo-capable+client02:24
enigmajelmer: For example, there is some discussion of it here: http://groups.google.com/group/openbravo-development/browse_thread/thread/b2aa7aefe7cf14d602:25
enigmajelmer: Supposedly "subversive" 0.7.1 supports it. (I haven't heard of subversive.)02:26
sohaillifeless, http://rafb.net/p/Y29aDO61.html02:26
santagadahttp://www.orkut.com.br/Main#CommMsgs.aspx?cmm=18655944&tid=5297825684124574372&na=4&nst=21&nid=18655944-5297825684124574372-529806179565670467602:27
santagadasorry wrong channel02:27
enigmajelmer: I don't know if their code would be helpful at all. You can download it here: http://www.polarion.org/index.php?page=download&project=subversive02:28
lifelesssohail: ok02:28
lifelesssohail: so its a repository tree which means its creating a working copy02:28
sohailyeah, can I somehow make it so that there are no working copies in ~/bzr02:29
lifelesssohail: if you want to be able to edit the files at that path, thats normal; sounds like you have a big tree and the --hardlink option will help02:29
lifelesssohail: on the other hand if you don't want to be able to edit there02:29
lifelessjust touch ~/bzr/code/.bzr/repository/no-working-trees02:29
igcmwhudson: TODO added. see https://code.edge.launchpad.net/~ian-clatworthy/bzr-revnocache/trunk02:30
igcbeuno may be interested in this as well02:30
* igc lunch02:30
keithyok so I am using plink02:31
keithyhow confusing why they couldnt just call it ssh02:31
nDuffkeithy, ...for one, OpenSSH has that name, so overloading it would mean confusion.02:32
nDuffkeithy, ...also, plink does more than just SSH unless I'm badly mistaken -- it also has serial, raw socket, telnet, etc. support.02:32
keithyk so where does it keep its keys02:33
lifelesskeithy: I know nothing about plink; is there some specific thing you need to do - just ask, someone here may know02:33
nDuffkeithy, I believe it keeps them in the registry, though it should also be able to talk to any running Pageant instance02:34
nDuffkeithy, ...so launching Pageant and adding the keys through its GUI is probably the Right Thing.02:34
* nDuff isn't principally a Windowsy type, btw, so his advice should be taken with a grain of salt.02:34
sohaillifeless, ok thanks02:35
sohailI don't want to edit there, you are right02:35
keithyI cant be bothered with pageant, its not my server02:35
sohailthat did it02:36
lifelesskeithy: so, what do you need to do - just get it working for you on that machine?02:36
nDuffkeithy, ...hrm, you have plink but not pageant installed? They should both be bundled in the same PuTTY install package.02:36
keithybut aegpant is a daemon02:36
lifelesskeithy: userspace02:36
nDuffkeithy, right, but not a system service02:36
nDuffkeithy, ...runs as the current user in the tray.02:36
lifelesskeithy: its like ssh-agent, its normal to use it for each user02:37
* sohail uses pageant with bzr+ssh02:37
keithysigh something else to setup02:37
* nDuff wanders homeward02:37
keithythe current user is the admin of the box I dont have a user02:37
keithyI am vncing to the box over a openvpn tunnel02:38
keithyso I aleady have security02:38
keithyso I am happy to give a passwordless key to ssh02:38
lifelesskeithy: do that then02:38
keithyif I can only work out where to put it02:38
lifelessjust run up pagent02:38
lifelessI think you can right click and tell it to import a key or somethin02:39
keithywhich isnt installed as far as I can see02:39
lifelessoh :(02:39
lifelessI'd read plink documentation then02:40
keithyarrrgh02:42
keithyI cant download stuff02:42
keithyhmm "pageant is allready running"02:44
lifelessis it in the status area ?02:49
keithyaparently so02:53
keithybut it wants a ppk file02:53
lifelesstime for google ;)02:53
keithyputtygen is supposed to vonvert02:54
keithybut it only does private keys02:54
lifelessthats what you need isn't it ?02:54
keithymy private key is mine02:56
lifelessof course02:57
lifelesswhy don't you describe your use case02:57
lifelessI'm thoroughly confused02:57
keithyI want to give my public key to  ssh on the remote box02:57
keithyso he can log in02:57
keithyits almost as if no one has ever done this before02:57
lifelesshang on02:57
lifelessyou want to setup a ssh *server* on the windows machine?02:57
lifelessor a ssh *client*?02:58
keithyssh client03:00
lifelessif you are setting up an ssh client, it needs a private key03:00
lifelessthe ssh server holds the public key03:00
lifelessif its for your colleague to use, he should setup a private key of his own, and give the ssh server operator his public key.03:01
keithyok..03:03
keithyits late!03:03
lifeless:)03:04
keithywahoo it worked03:17
igcThat's it for me today - see everyone tomorrow03:30
lifelessciao03:31
keithythanks lifeless, time for bed03:42
lifelessspiv: the other odd thing about pdb:03:58
lifeless(Pdb) raise03:58
lifeless*** AttributeError: Pdb instance has no attribute 'do_raise'03:58
spivYeah.03:59
lifelessinvoked by04:00
lifelesstry:04:00
lifelessfoo04:00
lifelessexcept:04:00
lifelessset_trace04:00
jamesh... and now you've lost the exception from the program you're tracing04:00
lifelessjamesh: zigactly04:00
lifelessjamesh: because post_mortem is bust04:00
lifelessspiv: have you landed your fix yet?04:01
spivNo, but I may as well do that now.04:01
jameshlifeless: I posted an updated version of the python/valgrind patch that doesn't conflict with trunk (Python 2.7).  It was mainly NEWS file and autoconf generated files that had bitrotted04:03
lifelessjamesh: awesome04:03
lifelesspoolie: is there a bug for the progress ratio being clipped ?04:49
lifeless37809/4504:49
lifelessrather than /4583404:50
lifelesspoolie: ping05:01
lifelesswhat would  be nice, would be running a custom build of python with the packaged stdlib05:09
lifeless+ site-packages05:09
lifelessspiv: ping05:31
spivlifeless: pong05:32
lifelessis my memory faultier than usual05:32
lifelessI thought we (you and I even) fixed check to detect: text A compressed against text B that isn't actual meant to exist05:33
lifelessor isn't in the ancestry05:33
poolielifeless: pong05:33
lifelesspoolie: doesn't matter now, bombs away05:33
poolie:) ok05:33
spivlifeless: that sounds familiar05:33
lifelessspiv: care to confirm something for me05:33
lifelessgrab a repo object for bzr.dev05:34
spivlifeless: but I can never remember the precise details of that sort of thing without looking over the code/commit log, it's just a bit too subtle too stick in my head.05:34
lifelessI have a failing fetch of a text05:35
spivGrabbed...05:35
lifelessok05:35
lifeless.texts.get_parent_map([('intset.py-20050717175247-81cd658f9aaa2731', 'john@arbash-meinel.com-20051219174825-3046c2b52fda89dc')])05:35
lifeless->05:35
lifeless...(('intset.py-20050717175247-81cd658f9aaa2731', 'robertc@robertcollins.net-20050919060519-f582f62146b0b458'),)...05:36
lifelesst = r.revision_tree('robertc@robertcollins.net-20050919060519-f582f62146b0b458')05:36
lifelesst['intset.py-20050717175247-81cd658f9aaa2731'].revision05:36
lifelesserm05:36
lifelesst.inventory['intset.py-20050717175247-81cd658f9aaa2731'].revision05:36
lifeless'robertc@robertcollins.net-20050915133236-141471392006b464'05:36
lifeless'robertc@robertcollins.net-20050915133236-141471392006b464' != 'robertc@robertcollins.net-20050919060519-f582f62146b0b458'05:37
spivlifeless: yes, that's exactly what I see here.05:38
lifelessspiv: grah05:39
lifelessspiv: unless I'm reading that wrong, that means that there is delta of intset.py-20050717175247-81cd658f9aaa2731 to a text version that is probably spuriously introduced by another inventory05:39
lifelessnow I need to find out why my clone operation is dropping that text, and why we are not fixing that delta up05:40
spivThat's my reading too. :(05:40
lifelessbut - I started at 8, and this isn't going to be that short an investigation05:41
lifelessso, I'll look tomorrow05:41
spivIt does sound a lot like the check/reconcile issue I thought we fixed, but maybe that was a subtly different case...05:41
lifeless /wave05:41
spivlifeless: see you tomorrow05:41
spivlifeless: try not to get flashes of inspiration over dinner, it'd be terrible if you solved this tonight ;)05:42
=== spm_ is now known as spm
vilahi all07:34
ionel_mcis bzr supposed to work with py2.6 ?08:03
Peng_ionel_mc: Yes. More or less.08:09
Peng_ionel_mc: I don't think it's officially supported yet, but bugs are fixed whenever they're discovered.08:09
ionel_mcah, well, i got it to build (without the c-speedups)08:11
ionel_mcspeaking of that - are there any benchmarks in regard of the c-speedups ?08:13
=== gdmfsob is now known as mishok13
olliehey how can I add a dir but not its contents.10:40
ollieI am trying to do a bzr mv but I am running into already versioned problems.10:40
=== kiko-afk is now known as kiko
=== kiko is now known as kiko-afk
Peng_jelmer: ping13:28
Peng_Whoops, when you accidentally corrupt a bzr repo, don't do they same thing to your other copy of the repo...13:31
Peng_s/they/the/13:32
Peng_(Anyway, no big deal. Even if it's not recoverable, all it means is I'll waste a few MB of bandwidth pulling things again.)13:33
Lo-lan-doIs there a more proper way of testing for the existence of a shared repo than running "bzr info $path" and looking for "Shared repository" in the first line?13:41
Peng_Well, I'm sure you could do it using bzrlib.13:46
Lo-lan-doThis is going to be called by a (probably) PHP script, so not until bzrlib gets PHP bindings :-)13:47
Peng_Ah.13:47
Peng_You could check for the existence of $path/.bzr/repository/shared-storage, but that's evil, and may not work on older (or newer) repos.13:48
Peng_I wasn't going to suggest a hack like that, but you're already using PHP... ;)13:49
Takyou could use xmlinfo and check for /info/location/shared_repository elements13:49
Peng_Ah, that sounds good.13:49
Lo-lan-doIsn't that overkill?13:51
hnowhy?13:51
Lo-lan-doAlso, is that in core bzr, or is it a plugin?13:51
Peng_Lo-lan-do: xmloutput plugin13:52
Peng_Lo-lan-do: You could write a small Python script to do it using bzrlib.13:52
* Tak shrug13:53
Lo-lan-doWould it be better than calling bzr info?13:53
Peng_Lo-lan-do: Would what be better than who?13:53
Lo-lan-do(I'm *very* lazy, which is a virtue for programmers :-)13:53
Lo-lan-doWriting a script with bzrlib, vs. calling bzr info.13:53
Peng_Lo-lan-do: Well, I doubt "bzr info" is intended to be scriptable. Its output format could change in the future.13:53
hnofor example one change which may happen is localization, replacing all strings with native language ones. There may also be significant restructuring or even renaming of things.13:55
Lo-lan-doOkay.  I'll start with bzr info, and write a bzrlib script during (of after) the weekend, since I've been volunteered to learn some bzrlib and use it at FOSDEM.13:56
Takis there any plan to ever make, say, a C binding to bzrlib?13:58
jelmerPeng_: hi14:01
Peng_jelmer: Good morning. :)14:02
jelmerPeng_: 'afternoon :-)14:03
* jelmer is finally back in his native timezone14:03
Peng_Or that. :P14:05
Peng_Lo-lan-do: Here's a very simple script, if you want it: http://paste.pocoo.org/show/102739/14:12
james_wjelmer: hey, trying to use bzr-git and it's trying to import foreign_vcs_registry from bzr-foreign and it's not in that project, is one of them out of date?14:13
Peng_jelmer: So, um, about my ping. I have copies of lighttpd-1.4.x imported with both bzr-svn 0.4 and 0.5. I tried to pull from the 0.5 copy into the 0.4 copy, but bzr exited with "Newly created pack file ... has delta references to items not in its repository". Now "bzr check" fails with "parent_id ... not in inventory".14:19
=== kiko-afk is now known as kiko
Lo-lan-doPeng: Thanks.14:27
Takis there a way to get bzr shell not to lock the branch it's using while it's idle?15:01
Peng_Augh, another bzr repo bites the dust...15:11
* Peng_ shakes his fist at lighttpd and bzr-svn.15:11
Peng_Different error this time! :)15:11
Peng_This is killing me. If I "bzr branch" copies of A and B into a repo, and check, it's fine. If I then branch C, and check, there's an SHA-1 mismatch.15:17
Peng_If I create a new repo, and just branch C, it's fine.15:17
Peng_The upstream C is fine, but the upstream A and B are in a repo corrupt in a different way.15:18
jelmerjames_w, hi15:20
jelmerjames_w, do you have bzr.dev ? some bits of bzr-foreign are in bzr.dev these days15:20
james_whey jelmer15:20
james_wjelmer: ah, that will be it15:20
jelmerPeng_: Can you reproduce this using vanilla branches created with bzr-svn 0.5.0 ?15:22
=== Goosey_ is now known as Goosey
Peng_jelmer: Ehh. The whole point of the exercise is that I want my old 0.4 branches. :P15:37
Peng_I think "bzr check" goes a lot faster with a btree repo. :)15:38
Peng_...Wait, I'm not using a btree repo here. Huh.15:38
Peng_jelmer: No, I can't reproduce it.15:39
Peng_Sigh.15:42
=== fawek_ is now known as fawek
EnCuKouHello.16:33
EnCuKouIs there a proper way to simulate network failures in the bzr test suite?16:33
Necorohey guys - some months ago I moved my project from subversion from svn to bzr - unfortunatly some history was lost (450 revs => ~1/3 of total history)16:53
Necoroanyone an idea how to get this history back into my bzr branch?16:53
Necorobecause I liked to play around with subversion and sometimes changed the general dir layout ... which bzr-svn seems not to handle correctly16:54
Necorodepending on the parameters I pass to bzr svnimport I get different parts of the history - but not the complete one16:55
Necorogit-svn seems to handle it quite good (everything there) - but bzr-git does not want as I want ;) ...16:55
Necoro(and the last question is of course: how to merge it into the current branch...)16:56
Necoros/some months/one year/ ;)17:01
santagadaNecoro: have you tried svn->mercurial->bzr?17:02
Necorosantagada: nope ... but I thought, that the bzr-hg plugin is quite ... outdated17:02
santagadaNecoro: or merging the diferent runs of svnimport?17:02
Necorosantagada: merging won't work, because the history pieces are all disjunct17:03
santagadauhmm17:03
santagadaNecoro: there are other tools to move svn to bzr isn't it?17:04
Necoroprobably ... but in the end it should be possible to put my current branch on top of the old history ... so anything which produces completely differnt rev-ids won't work I assume17:05
santagadaNecoro: maybe then you can cherrypick the revisions after the svnimport into this new branch17:06
santagadaNecoro: but those are just ideas, I don't know svnimport17:07
Necorojelmer: am I reading correctly? - bzr-svn needs bzr-rebase-0.4.3 ... which is not released yet?17:08
Necorohmm - nvm ... going to use trunk17:08
jelmerNecoro, yes, that's correct17:15
jelmerNecoro, rebase is not required though17:15
jelmerNecoro, only useful if you need to run bzr svn-upgrade17:16
jelmerabentley, hi17:16
Necorojelmer: which is what I wanted to use ;)17:16
abentleyjelmer: hi17:16
jelmerabentley, Is it correct that merge looks at more than just the file id for path conflicts?17:16
jelmerabentley, I have a very obscure use case here (same file ids but no shared revision history)17:17
jelmerNecoro, is this repository public btw, and if not, what is the sort of thing that git-svn preserves but bzr-svn doesn't?17:18
abentleyjelmer: I think so.17:18
Necorojelmer: repo is public (https://svn.origo.ethz.ch/portato/) -- and the difference is quite simple: git preserves all ~650 revs, where as bzr only preserves ~25017:19
Takbzr thinks a branch is locked by a process that no longer exists - what's the best way to force removal of this lock?17:19
jelmerTak, bzr break-lock17:19
Lo-lan-doTak: Cut and paste the command it gives you?17:19
Necorojelmer: because at some time I moved the whole directory structure up one level (i.e. removed the top-level dir) -- and bzr either stops or starts here ;)17:20
Takbreak-lock seems to have worked, thanks!17:21
TakLo-lan-do: it was telling me: "Unable to obtain lock file: [...] Held by: [me] (Process #[somedeadprocess])"17:22
jelmerNecoro, have you tried: bzr svn-import --layout trunk0 <url> ?17:23
Necorojelmer: hmm - not yet17:23
Necorojelmer: http://dpaste.com/116602/17:28
Necoroimport worked (but seeing revno 148 it seems not to be correct) - but running svn log the error above happened17:28
jelmerNecoro, thanks, that seems to be the same issue as for which you reported a bug17:37
Necorojelmer: oh - ok17:37
jelmerNecoro, (svn-upgrade is pointless on a freshly cloned branch btw)17:38
Necorojelmer: it is not freshly cloned -- it is the one cloned about a year ago17:40
Necorowanted to upgrade the revision-ids so it could merge ;) (given that there is something to merge with ^^)17:40
jelmerah, ok :-)17:40
Necoroin theory it should be ease ... here I have the revisions i+1..HEAD and there I have 1..i ... now I just need to glue them together ;)17:42
jelmerNecoro, I'm trying to figure out what the issue is17:43
jelmerabentley, it looks like it will just give path conflicts but after I resolved that it seems to handle things just fine \o/17:47
=== mark1 is now known as markh
Necoroso ... what would work is to convince rebase, that it should rebase branch B on top of A - even if they do not share a common ancestor18:15
Necoro(because HEAD(A) = BOTTOM(B)-1) ... but can't find a way to do so18:16
jelmerNecoro, why would you need to rebase?18:19
Necorobecause I want to join branches A and B18:19
santagadaI still don't understand why a merge would not solve your problem... but I'm new with bzr18:19
Necorosantagada: in a merge, I would have all my history somewhere in a branch ;) - and not in the mainline18:20
santagadaNecoro: I think you have to somehow tell bzr that B is a checkout of A, and all of B revisions should be replayed on A18:22
Necorosantagada: yap18:22
santagadaNecoro: maybe rebase could do this, but I think there is probably a simpler way18:22
Necorowell ... "replay revisions" is exactly what the purpose of rebase is18:23
Necoro;)18:23
santagadaNecoro: also the checkout and stacked branch are similar18:23
jelmerNecoro, but why rebasing without common history?18:24
Necorojelmer: the history is common ... branch B starts right after branch A ends18:25
santagadajelmer: each of those branches are the result of diferent runs of svnimport18:25
jelmerNecoro, and git-svn imports this correctly?18:25
jelmerNecoro, in that case, it really is an issue with bzr-svn18:25
Necorojelmer: git-svn seems to just have not tried to split the svn-repo up in branch and tags etc, but just see it as ONE branch ;)18:26
jelmerNecoro, ahh18:26
Necoro(or I have just configured it wrongly ^^)18:26
jelmerNecoro, stitching the branches together this way won't work well with rebase though, as the file ids will be different18:27
jelmerNecoro, bzr-svn can import like git-svn does, as a single branch, but you probably wouldn't want that..18:29
Necorojelmer: so - I just did a "bzr svnimport --layout=root" and then an "bzr split" ...18:33
jelmerNecoro, right, that's how to do that..18:34
jelmerNecoro, that will work, but e.g. won't preserve tags as bzr tags and won't share history with other branches in the repo (as there's only one branch created)18:34
Necorotags can be added later on by hand ;) - and other branches are just ... well not existing/important18:35
Necorothe project is not this big18:36
Necorojelmer: btw: this time, the KeyError did not occur18:36
jelmerNecoro, no, as bzr-svn would be ignoring all svk data18:37
jelmersince there's no svk:merge properties set on the repository root18:37
jelmerNecoro, is this a one-time import, or are you going to push back to svn?18:37
Necoroone-time18:37
Necorojust want to re-add history18:37
Necorook - so I'll wait until this svn-upgrade bug is fixed. then I should be able to upgrade my current trunk and rebase it onto the svn-stuff18:41
jbalinthi18:45
jbalinti've posted a question regarding file ids i need to reconcile, if anybody has any input it would be appreciated: https://answers.launchpad.net/bzr/+question/5833718:46
jelmerjbalint: those two files were added indepedently in trunk and branches/branch_5_1 ?18:48
jbalintjelmer: no, it was a migration from an svn repo18:49
jelmerjbalint, I mean in the svn repo18:49
jbalintjelmer: i'm guessing it was a standard svn 'copy', i can take a peak. do you know how it would be indicated?18:49
jelmerjbalint: the entry in the "svn log -v" for the second revision (6636) would tell18:50
alfHello, is there a document/mail that describes what are the future plans for bzr? I keep reading about 'brisbane-core' but I can't figure out exactly what this is going to be like.18:52
jelmeralf: lp:~bzr/bzr/brisbane-core18:54
jelmeris where it lives, I think the commit log may be some indication18:54
jelmerI don't think there's a broad roadmap18:54
jelmerat least not aware of one18:54
jbalintjelmer: yeah, looks like some stuff was moved around at that rev18:54
jbalintjelmer: everything moved from /x/<whatever> to just /<whatever>18:55
jelmerjbalint, but what sort of operations ? Just "A" without "(from: /...)" ?18:57
jbalintjelmer: no, it shows "Copied from path" (i'm using tortoise svn)18:58
jelmerjbalint: For those individual files or the branch ?18:59
jelmerjbalint, It needs to be from the branch for bzr-svn to create matching file ids, as bzr doesn't support copies yet18:59
jbalintjelmer: what do you mean "from the branch" this is just a re-organization inside the branch http://www.improvedideas.com/files/svn_mv.PNG19:00
jelmerjbalint, ahh19:01
jbalinthold on a second, rev 6636 is interesting19:01
jelmerjbalint, I mean, only copies of the branch root will preserve the file id of any affected file19:02
jelmerin all other situations the file id will change19:02
jbalintjelmer: does svn have this same concept?19:02
jelmerjbalint: svn doesn't have the concept of file ids that have to be unique19:02
jelmerjbalint, and it supports copies, whereas bzr does not19:02
jbalintjelmer: so here is 6636, http://www.improvedideas.com/files/svn_mv2.PNG it looks like the merge into trunk re-arranged all the files19:03
jbalintjelmer: this was all done with the svnmerge python script at the time. but we're not even using svn anymore, so i need to figure out some way to be able to merge again - with bzr19:05
Necorojelmer: ok - invoking git-svn in the correct way, it actually produced what I was looking for ;) - though it took waaaay longer than with bzr - and it checked out the whole repo like ... 50 times19:05
jelmerjbalint, there isn't much that can be done about this until bzr gets support for tracking copies19:05
jelmerNecoro, what is it you're looking for exactly?19:05
jelmerjbalint, for the current situation, the only thing you can do really is to fix the conflicts19:06
Necorojelmer: checking out the svn-repo and deal correctly with the "one-level-up"-move and thus return the complete history19:06
Necoro(the same I got with bzr-svn-import --layout=root + bzr-split)19:07
jbalintjelmer: i'm willing to do that, but afaict i won't work because bzr wont merge files with different file ids19:07
jelmerNecoro, but that's importing the svn repository as a single branch and then just throwing some stuff out?19:07
jbalintjelmer: i get a contents conflict on every file19:08
jelmerjbalint, yeah, that's true. there's no way to associate more than one file id with a file as far as I know, but you may want to ask on the list.19:08
jbalintjelmer: ok. thanks for the info!19:08
Necorojelmer: true - git does it in a smarter way - there I really only have the trunk-data in the end -- though the complete one19:09
jelmerNecoro, so where does bzr cut off history?19:09
jelmerNecoro, since if there's enough info for git-svn, there should be enough for bzr-svn (which already tries to follow branch history completley)19:09
santagadaI think the problem was that Necoro moved the trunk dir around19:10
jelmersantagada, that's not a problem19:10
jelmersantagada, at least not with bzr-svn >= 0.5.019:10
Necoroupto revision X I had everything in /local/trunk - after rev X in /trunk ... and bzr splits at that X (i.e. I either get: 1..X-1 or X..HEAD)19:10
Necoroperhaps the SVK things mixed confuses bzr-svn ... and git-svn just ignores them ;P19:11
jelmerNecoro, what svn revision is that?19:11
NecoroX = 45419:11
sohailhey, I'm trying to rollback a specific set of checkins that occurred as a result of a branch merge19:36
sohailso I'm trying bzr merge -r 1020.2.1010..1020.2.1008 .19:36
sohailbzr claims to do stuff, even has a conflict, but then bzr st -v says nothing after I fix the conflict :-/19:36
sohailoh duh, I already rolled it out19:36
* sohail is a dumbass19:37
lifelessmoin20:42
kfogelIs loggerhead trunk generally stable?  (Production use okay for those willing to jump in and fix something occasionally?)20:43
lifelesskfogel: we run it on launchpad20:44
lifelesswell nearly20:44
lifelessuhm, I wouldn't have a loggerhead trunk on auto-update, in  production use20:45
lifelessbut I would run trunk, and test updates20:45
kfogellifeless: thanks20:45
mwhudsonyeah, launchpad generally runs near-trunk20:45
kfogelnot sure what "on auto-update" means -- is that a feature of loggerhead, or do you just mean "don't have a cron job updating it, do it manually and be prepared to roll back"?20:46
mwhudsonthough for some reason my attempt to get it updated in time for 2.2.1 failed :/20:46
speakmanhi folks, I'm stuck with ModelForms in forms.py when importing a model from models.py it just says "ImportError: cannot import name MyModel". But there IS a class MyModel(models.Model): in models.py. Anyone encountered this?20:49
speakmangosh wrong window20:49
MattCampbellI thought that sounded more like Django than bzr.20:50
speakman:D20:50
lifelesskfogel: the latter20:50
speakman(but it mostly sounds like an python issue..)20:50
mwhudsonspeakman: import models; print models.__file__ -- check you're importing what you think you are20:51
=== UdontKnow is now known as WHATEVER
* mwhudson reigns in his helpfulness again20:51
kfogellifeless: gotcha20:53
=== WHATEVER is now known as UdontKnow
lifelesskfogel: unless your cron job software is spelt 'sysadmin'20:56
kfogellifeless: my cron job is spelt "staging server", actually20:56
sohailis there an equivalent to svn up -r $FOO21:13
sohailoh bzr revert21:14
=== spiv_ is now known as spiv
sohailkfogel, are you the kfogel from svn21:45
Lo-lan-do...and from CVS, I think.21:45
Lo-lan-do(Well, at least from the book, I assume)21:46
sohailkewl21:47
kfogelsohail: same person, yup21:47
sohailis there any abbreviation for bzr branch ~/bzr/code/master ~/bzr/code/foo21:47
sohailkfogel, good to know I'm on the right track ;-)21:47
kfogelsohail: cd ~/bzr/code; bzr branch master foo21:47
kfogel:-)21:47
sohailkfogel, doh21:47
sohailproblem is on the other machine I have to type bzr branch bzr+ssh://blahblahblah21:48
kfogelsohail: well, bzr can remember source/dest branches once you've made a new branch, for example, see the --remember option to 'bzr push'21:49
kfogel(and to 'bzr merge', and perhaps other commands as well)21:50
lifelesssohail: we plan to make more use of relative paths21:50
spivThere are also some aliases, like ":parent".21:51
sohailhm, an alias sounds about right21:51
Lo-lan-doAlso the bookmarks plugin.21:51
Necoroor a (bash)function if you often access the same location: e.g: bb() { branch="blah/blah/the_branch"; bzr branch bzr+ssh://${branch} bzr+ssh://$(dirname $branch)/$1 }21:53
Necoro(where "bb blubb" is equiv. with: bzr branch bzr+ssh://blah/blah/the_branch bzr+ssh://blah/blah/blubb )21:55
sohailyep, was hoping to avoid a bash script since "the other machine" is windows21:55
Necorooh21:56
igcmorning22:00
mwhudsonkfogel: how is savannah starting loggerhead?22:06
kfogelmwhudson: I don't know, but feel free to post in the bug and ask Sylvain.  (I'm happy to do it if you want, but it might make sense to remove the intermediary.)22:11
kfogelmwhudson: I'm installing it locally right now to see if I can reproduce22:12
mwhudsonkfogel: ok, i posted to the bug22:12
kfogelthanks22:12
kfogelmwhudson: hmmm. and now I'm reading through the loggerhead README in trunk and see this:22:13
kfogel3) Paste Deploy  (optional, needed when proxying through Apache)22:13
kfogel   on Ubuntu package `sudo apt-get install python-pastedeploy`22:13
kfogel   or use `easy_install PasteDeploy`22:13
kfogelwonder if there's any connection22:13
mwhudsonkfogel: see my comment in the report :)22:14
kfogelmwhudson: hah22:14
mwhudsonmaybe i should just paste in a known working copy of prefixmiddleware into loggerhead and be done with this22:14
kfogelmwhudson: I hadn't yet read your comment (because I thought you'd posted to the Savannah bug, not the lp one)22:14
mwhudsonkfogel: ah22:14
kfogelmwhudson: I'm copynig over, np22:15
kfogelmwhudson: I'm not sure it makes sense to try to formally connect the savannah bug to lp22:15
kfogelif that can even be done22:15
mwhudsoni think it can be22:16
mwhudsonbut well22:16
mwhudsoneffort < payoff22:16
kfogelexactly22:16
mwhudsoni really really hate the way urls are generated in loggerhead btw22:16
mwhudsonbut i hate this in everything to do with the web i've ever done, so...22:17
kfogelmwhudson: hunh.  Really?  Maybe I haven't worked in web space enough; URL-generation never struck me as a particularly ugly process.  Now, communicating streamy data over HTTP is another matter...22:18
mwhudsonkfogel: loggerhead is probably worse than average22:18
mwhudsonbut there always seems to be repetition, at least22:18
kfogelmwhudson: oh.  Well, it's working at least!  http://localhost:8080/changes is serving my (of course) loggerhead-trunk branch22:19
mwhudsonkfogel: cool22:19
kfogelnever done anything with mod_proxy though, so not sure if this next step will work.  let's see22:19
mwhudsonso where paste deploy comes into this is that when proxying22:21
mwhudsonapache sends an x-http-forwarded-for header or something like that22:21
mwhudsonpaste deploy has some magic that looks at this and tweaks the environ so that the application thinks it's serving requests for http://external-host/ not http://localhost:8080/22:22
mwhudsonbut if paste deploy isn't installed (or you have a buggy version, though i can't remember if that's actually happened) this doesn't happen22:23
mwhudsoni should probably tweak serve-branches to complain if paste.deploy is not installed _and_ HTTP_X_FORWARDED_SERVER is set in the environment22:23
kfogelmwhudson: that would be a good idea, yeah22:24
* mwhudson isn't sure the new branching instructions on every loggerhead page are especially attractive :/22:37
lifelesskfogel: both url generation and stream data are fugly fugly fugly fugly22:37
lifelesskfogel: url's are a single namespace, but we want OLAP spaces basically22:38
kfogellifeless: OLAP?22:38
lifelesskfogel: and also want it to be easy to type in22:38
lifelesskfogel: online analytics of the branch22:38
mwhudsoncertainly >1 dimensional urls would make life easier22:38
kfogels/easy to type in/short/22:38
kfogel?22:38
RomDhi, I tried to download the latest version of this project: https://launchpad.net/~poppler-python22:39
RomDbut I'm getting this error:22:39
RomD bzr branch lp:poppler-python22:39
RomDbzr: ERROR: Invalid url supplied to transport: "lp:poppler-python": Series trunk on poppler-python has no branch associated with it22:39
kfogelThat is, length is a primary driver?22:39
lifelesskfogel: time is one dimension, content another, and don't even think about metadata analysis like searching/authors/bugs<->changes etc22:39
kfogelugh22:39
kfogelyeah22:39
lifelesskfogel: I8U66%rr# is short but not easy22:39
RomDis there any way to get the source code?22:39
* mwhudson watches bzr-avahi get excited when he runs loggerhead's tests22:39
lifelessRomD: sure is, head to launchpad and click on 'code'22:39
mwhudsoni guess i should be using bzrlib.tests.TestCase...22:39
lifelessRomD: it should have a listing of branches there22:39
spivmwhudson: yeah22:40
spivmwhudson: also, you might end up getting prompted for GPG keys and the like...22:41
RomDah thanks lifeless, didn't see that it shows the exact name there. forgot the "~" in front22:41
mwhudsonspiv: hm yeah, seahorse rescues me from that i guess22:41
mwhudsonkfogel: ok, i committed that fix22:42
kfogelmwhudson: that was *fast*22:43
kfogelmwhudson: does the issue update automatically?22:43
kfogelmwhudson: hmmm.  apparently not22:43
mwhudsonkfogel: well it doesn't really address the issue head-on22:43
kfogel?22:44
mwhudsonit just makes one possible cause slap you in the face rather than generate bogus links22:44
kfogeloh22:44
kfogelthat fix22:44
kfogelwell, that's still good22:44
mwhudson<mwhudson> i should probably tweak serve-branches to complain if paste.deploy is not installed _and_ HTTP_X_FORWARDED_SERVER is set in the environment22:44
kfogelit'll be much more apparent that one's setup is bogus then22:44
kfogelright22:44
mwhudson^^ that's the fix i was talking about22:44
kfogelmwhudson: noted in the issue22:47
mwhudsonkfogel: ta22:48
jmlI have a branch that merged into my project's trunk a long time ago23:15
jmlhow would I find out what revno of trunk the merge took place?23:15
lifelessjml: bzr missing trunk23:19
jmllifeless: which of the several dozen revisions is the answer?23:20
lifelessjml: the lowest number - 123:20
spivSomeone should write a when-merged plugin...23:21
igcbbl - errand to run23:44

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