/srv/irclogs.ubuntu.com/2008/05/23/#bzr.txt

igcmorning00:00
hersonlspoolie: hi00:03
hersonlspoolie: where i found documentation of the loggerhead?00:04
=== yacc_ is now known as yacc
yaccI just wonder, is it possible to push a branch to two different branches concurrently?00:05
yaccbzr push a in one terminal and bzr push b in another?00:06
poolieyacc: yes, it should work, the readlock is not exclusive00:06
pooliehersonls: in the branch for it i think00:06
pooliewell, "it should work" sounds uncertain, i know it will work00:07
yaccOk, if I've got bzr installed on the target, and ssh access, should I be able to do something that works faster than sftp:// ?00:08
spivyacc: "bzr+ssh://" rather than "sftp://"00:12
spivyacc: it's not much faster than sftp yet, but I'm working on that right at the moment :)00:12
spiv(Some other operations are already faster with bzr+ssh:// though)00:12
yaccspiv: well, I'm nailed to 1.3.1 on Hardy anyway (the PPA was missing bzr-svn last time I checked)00:13
yaccHmmm, the stupid thing complains about not finding bzr, despite that it's installed via a .deb on the server *scratch-head*00:14
spivyacc: Does "ssh host bzr --version" work?00:14
yaccNope, isn't that beefy.00:15
poolielifeless: hi, pqm seems to be having a lot of trouble00:15
yaccspiv: ok, found the problem.00:16
yaccIt's not from a deb, it's in ~/bin :(00:16
spivyacc: you can still use it00:16
RhamphoryncusAnybody know of a grand trick to work around https://bugs.launchpad.net/bzr/+bug/150438?  Right now I'm afraid to touch it.  I'm thinking I should back up the whole repository, then probably end up recreating it all from my working tree :/00:16
yaccCan I?00:16
ubottuLaunchpad bug 150438 in bzr "AssertionError: Could not find target parent in wt in wt4 _process_entry" [High,Confirmed]00:17
spivyacc: you just need to set bzr_remote_path in your locations.conf (or BZR_REMOTE_PATH as an environment variable)00:17
beunols00:17
yaccspiv: locations => ~/.bazaar?00:17
beunoer, wrong window   :)00:17
yaccspiv: And as I have no such file, what's the format?00:18
spivyacc: Right, ~/.bazaar/locations.conf00:18
spivyacc:00:18
spiv[bzr+ssh://foo/]00:18
spivbzr_remote_path=/home/blah/bin/bzr00:18
yaccOk, ConfigParser with the URL as sections.00:18
spiv(Or maybe the URL needs to be the local path?  I forget.)00:19
yaccNope, it worked fine with the prefix of the remote url ;)00:20
spivAh, good.00:20
yaccAnd even an empty push is much faster than sftp:00:21
yacc8 vs. 14 seconds.00:21
yaccwall time.00:21
spivyacc: excellent00:21
spiv(though that's still a bit slower than necessary I suspect)00:21
yaccWell, both values are faster than bzr-svn ;)00:22
yaccBut then I guess I shouldn't complain, be happy that I can work with upstream without svn or svk ;)00:22
jelmeryacc, empty push with bzr-svn should only be a few seconds - or is that not what you're doing00:23
jelmer?00:23
yaccjelmer: well, actually the last time I did upstream it was 4 revisions.00:24
hersonlslifeless: you be here?00:24
yaccjelmer: Actually empty push seems to fine with 25s wall.00:25
jelmeryacc, I wouldn't call 25s fine :-)00:25
yaccjelmer: you are European too, so I would expect you better tuned to my cynism :-P00:25
jelmerheh, ok :-)00:26
jelmeryacc, are you running 0.4.10 ?00:26
yaccNope, 0.4.900:26
yaccjelmer: the Hardy packages in this case.00:26
jelmerok, 0.4.10 should be better in this regard00:26
yaccsvn 0.4.900:26
yacc    Support for Subversion branches00:26
yacc    /usr/lib/python2.5/site-packages/bzrlib/plugins/svn00:26
yaccjelmer: as I said I don't really complain. As the sole developer I do batch upstream pushes and nobody complains ;)00:27
jelmeryacc: ah, ok :-)00:27
jelmeryacc: In any case, if you can still reproduce this at the time you upgrade to 0.4.10, please file a bug00:28
yaccjelmer: It's a bi-weekly operation more or less to me, usually when I ponder bzr log output for creative timesheet comments ;) => so the performance is really fine for me.00:29
beunoabentley, I've pinpointed the single quotes problem, all I need is a good regex to catch the exceptions, and I think we're in business  :)00:55
hersonlspoolie: to resolve a text conflicts, i need run bzr revert first?00:57
beunohersonls, no, you have to actually resolve them. Take a look at the docs: http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#resolving-conflicts00:59
hersonlsbeuno: tanks01:01
beunohersonls, welcome'01:01
hersonlsi dont understand, i need uncommit to resolve conflict ?01:08
beunohersonls, no, why would you get that impression?01:09
hersonlsbeuno: i try, bzr resolve test.py01:10
hersonlsbeuno: and try merge again, and show me a message, "has uncommitted changes. "01:11
beunohersonls, you resolved all the conflicts and ran "bzr resolve test.py"?01:12
hersonlsbeuno: after try bzr resolve, no showme any messages01:13
spivhersonls: what does "bzr status" report?01:13
ToyKeeperbeuno: Single quotes?  As when escaping a command to run?01:14
ToyKeeperbeuno: Can you use os.spawnvp() instead?01:14
hersonlsspiv: modified:01:15
hersonls  teste.py01:15
hersonlspending merges:01:15
hersonls  hersonls 2008-05-22 Alteracao branch101:15
beunoToyKeeper, this is for exporting sqlite and importing into mysql/postgre01:15
ToyKeeperAh, okay.  :)01:15
spivhersonls: ok, so you have changes to commit.01:15
hersonlsbeuno: i need commit the resolv?01:15
hersonlsspiv: :D01:15
beunohersonls, yes, you need to commit every time you change the working tree01:16
spivhersonls: a merge edits the working tree, very much like editing it with your text editor.  Either way, you need to commit the changes to keep them.01:16
hersonlsbeuno: obviously :D01:17
hersonlsspiv: i can edit the file with <<<<<< TREE?01:18
spivhersonls: yes01:20
spivhersonls: http://doc.bazaar-vcs.org/latest/en/user-reference/bzr_man.html#text-conflicts01:20
=== mw is now known as mw|out
hersonlsspiv: i dont undersand, im brazilian and my english is bad01:48
sidneiniemeyer: oi?01:49
hersonlsspiv: i edit the test.py or teste.py.THIS ?01:49
niemeyersidnei: Yo!01:49
sidneiniemeyer: hey there!01:49
niemeyersidnei: How're things in the chimarrão land?01:49
sidneiniemeyer: don't know, im in houston right now :)01:49
spivhersonls: test.py01:50
niemeyersidnei: Oh, yeah.. might be hard to get good chimarrão there ;)01:50
sidneiindeed01:50
sidneiniemeyer: btw, you've been talked about a lot this week over here01:50
niemeyersidnei: Oh, good to head, I guess :-)01:50
niemeyerhear even01:50
sidneiniemeyer: just introduced some folks to geohash yesterday to solve a problem01:50
spivhersonls: the THIS/BASE/OTHER files are just for reference if you want to look at them.  You can ignore them if you like, and they'll go away when you run "bzr resolve"01:50
niemeyersidnei: Nice!01:51
niemeyersidnei: What was it about?01:51
hersonlsspiv: ok, i edit, and save file, and bzr resolve and finaly i commit, and push again.01:51
hersonlsspiv:  correct?01:51
spivhersonls: right01:51
sidneiniemeyer: trying to locate greek orthotodox churches within a certain range of a user-specified location01:52
niemeyersidnei: Aha, I see01:52
hersonlsspiv: i update in brach, when i see test.py, "<<<<<<< TREE" this thera01:52
niemeyersidnei: It's good to see it being useful in diverse situations01:52
spivhersonls: you need to remove that yourself01:52
spivhersonls: that's the conflict that bzr can't do automatically01:53
sidneiniemeyer: so, i just pushed that storm-mssql branch, long overdue01:53
spivhersonls: so you need to fix it manually01:53
spivhersonls: http://doc.bazaar-vcs.org/latest/en/user-reference/bzr_man.html#text-conflicts gives an example01:53
hersonlsspiv: removing ?01:53
sidneiniemeyer: now, im not very experienced with bzr, so i am wondering if i should run bzr merge and do another push or what01:54
niemeyersidnei: Ah, I just got the mail about it.  Thanks a lot for sending it.  We're lucky that you didn't end up killing it thinking it was safe indeed.01:54
spivhersonls: the two branches have both made different changes to the same part of the file01:54
hersonlsspiv: ok01:54
spivhersonls: generally, what you want to do is have *both* changes after the merge01:54
niemeyersidnei: That'd be terrific.  It shouldn't have bad conflicts since we haven't changed pretty much anything in the area of backends.01:55
sidneiniemeyer: got only one conflict apparently01:56
hersonlsspiv: more I corrected in one branch, I would not have to correct in the other after to make bzr push?01:56
sidneiniemeyer: so if i solve that i can just do another push?01:56
niemeyersidnei: Right, solve conflict/test/commit/push01:57
spivhersonls: once you've committed the merge, other branches that branch/merge from your branch will tend to reuse your conflict resolution.  Is that what you were asking?01:57
sidneiniemeyer: great, thank you01:58
niemeyersidnei: Thank you!01:58
sidneiniemeyer: i have to go now, if you have some time later or tomorrow, i have a different subject to talk to you about01:58
hersonlsspiv: yes01:58
niemeyersidnei: Sure thing, I'll certainly be around tomorrow.. just ping me01:59
sidneithanks. cya01:59
hersonlspoolie: i can import another branch in one branch?02:44
hersonlsspiv: i can Commit an unversioned file or tree into the repository.02:52
hersonls?02:52
pooliehersonls: by definition if it is unversioned you cannot commit it02:56
poolieyou must add then commit02:56
poolienot sure what you mean about imports02:56
hersonlspoolie: i import of athoner branch unversioned, for a new branch, for new versioned02:58
hersonlspoolie: you understand?02:59
pooliesorry no03:05
pooliecan you explain more in smaller steps?03:06
hersonlsyes03:06
hersonlsi have one branch with skel versioned03:06
hersonlsand i create another branch, and need a copy of skel, in this new branch for new versioned03:07
hersonlspoolie: ?03:10
hersonlspoolie: you understand03:23
hersonls,w03:23
hersonls?03:23
Verterokmoin03:48
beunohey Verterok03:48
Verterokhi beuno03:48
pooliehersonls: you can branch the skel underneath it if that's what you mean03:53
hersonlspoolie: one exemple of this, can be maked use: bzr export, and  bzr add in new branch03:54
* igc lunch04:24
pooliehersonls: you could do that04:28
bob2http://bramcohen.livejournal.com/52148.html05:07
mwhudsonsome of those things make sense05:09
mwhudsonhe doesn't have "use PQM" or anything like that on there though05:09
=== i386__ is now known as i386
lifelesshersonls: I am now06:45
lifelesspoolie: will inevestigate06:45
lifelessabentley: hi; might be able to this afternoon, otherwise travel will obliterate theweekend06:45
poolielifeless: hello07:01
pooliedid you mean investigate pqm?07:01
lifelessyes07:02
lifelessafter breakfast :P07:02
poolie:)07:04
pooliehow's czech breakfast?07:04
lifelessgood and bad :)07:05
lifelesslots of food07:05
lifelessnice eggs, but shell too often07:05
lifelesshttp://advogato.org/person/robertc/diary/83.html07:07
lifeless /wave07:09
spivAh, "bzr push -r NNN --overwrite" is broken with bzr.dev (but not my branch where I've rearranged some of the involved code).08:07
liwlifeless, the big pack file, ETA in 15 hours :(08:08
spivThat had me confused for a bit, I was expecting bugs to be the other way around :)08:08
lifelessliw: Not to worry, I shall play next week08:08
lifelesspoolie: web ui wasn't running08:09
lelitjelmer: hi! I tried using bzrlib.missing.find_unmerged() to get the list of missing revision as suggested by jam, but it still takes a *lot* of time, with 100% cpu...08:41
igcnight all - have a good weekend08:49
spivigc: g'night08:51
poolielifeless: was it just lost in a reboot08:53
lifelessyes, I think08:53
lifelesswe replaced the kernel after all08:53
pooliethanks08:54
pooliesteve told me what you discovered re socket performance08:54
pooliehow odd08:54
spivOh, what's the news there?08:55
* spiv calls it day08:59
lifelesspoolie: I think it was thread starvation08:59
lifelessspiv: the slow tests on pqm were the reader thread in remote* tests spinning on recv09:00
lifelessspiv: I postulate that some threading quirk in the dapper kernel combined with the GIL to lead to a priority inversion situation with the writer never activating09:00
spivlifeless: oh, funky.  So it seems to be gone now?09:01
lifelesswe replaced the kernel09:01
lifelessits reproducible on other datacentre machines09:01
spivInteresting!09:01
spivG'night.09:02
lifelessgnight09:02
lifelesssee you folk mondayish09:02
poolielifeless: are you still in prague?09:15
pooliehave a good/safe flight back09:15
pooliehope you avoid heathrow :)09:15
lifelessyes, avoiding heathrow :)09:18
pooliewell i think i'll call it a week too09:23
=== emgent_ is now known as emgent
alienbrainCan bzr read users from LDAP? Or is it possible to do by writing a plugin?09:28
pooliealienbrain: interesting idea09:30
pooliealienbrain: for what purpose?09:31
poolieprobably putting it into your systemwide nsswitch isbest09:32
alienbrainpoolie: usually organizations have centralized LDAP directories where departments are projects and people are recorded there. And the idea is that everything else should read from there.09:32
alienbrains/are/and/09:32
pooliesure but what in particular do you want it to read?09:32
alienbrainpoolie: which users has access to which repositories :)09:33
poolieoh i see09:33
pooliecould you send mail about this to bazaar@lists.canonical.com?09:33
pooliei have to go...09:33
alienbrainpoolie: sure, be aware I'm not a bzr user yet! :)09:33
alienbrainpoolie: thanks09:33
Jc2khey guys09:39
Jc2kam i right in thinking if i'm using bzr+ssh to push to server, that invokes the copy of bzr installed on the server?09:39
awilkinsJc2k: Yes, although you can tell it which copy to use by setting the correct env variable09:40
Jc2kawilkins: cool. can i use commit hooks to control where people can push to?09:41
awilkinsI don't know the hooks that well09:42
Jc2kok09:42
alienbrainpoolie: done09:42
lifelessJc2k: we tend to use file system permissions, because branches are direcotires11:41
lifeless*directories*11:41
lifelessJc2k: its certainly possible to add hooks to the bzr server to allow such control11:41
Jc2klifeless: file system perssions seems like a better idea11:42
PengDoes 'bzr pack' optimize the pack in any way?11:42
lifelessPeng: yes; it orders the revision texts topologically11:47
=== yacc__ is now known as yacc
sabdflspiv: fixing bugs before you even know they exist? that's neat12:49
liwthe default bzr storage format now supports tags; is there any reason not to convert existing branches/repos? I assume that's doable with bzr upgrade13:13
lifelessyes, just bzr upgrade in each branch13:14
lifelessfor network, do bzr upgrade sftp://url13:14
liwack13:14
lifelessrepo's do not need to change to supoprt tags13:15
lifelessjust the branch object13:15
liwfind / -type dir -name .bzr | ...13:15
lifelessliw: 'bzr branches'13:27
liwlifeless, bzr: ERROR: Transport error: [Errno 107] Transport endpoint is not connected: u'/home/liw/.gvfs/.bzr/branch-format' [Errno 107] Transport endpoint is not connected: u'/home/liw/.gvfs/.bzr/branch-format13:28
lifelessliw: interesting13:28
lifelessliw: is your gvfs session active?13:28
liwlifeless, I've no idea, how do I check?13:29
lifelessi dunno13:29
lifelesssabdfl: ping13:30
sabdfllifeless: pong13:30
lifelesscan rob savoye and I get together with you now ?13:30
sabdflsure, meet you at the reception desk in 513:30
lifelesswhere the admins are?13:31
sabdflyes13:31
lifelesskk13:31
=== mw|out is now known as mw
lifelessabentley: ping14:14
abentleylifeless: pong14:15
lifelessmake_mpdiffs14:15
lifelessif I read this correctly, all it needs from the internals of a versionedfile is the _extract_blocks facility14:15
abentleyI would think so.14:15
lifelessI'm thinking of putting _extract_blocks as a method on the objects yielded by the get_record_stream interface14:16
lifelesshow does that sound to you?14:16
lifelessI think one problem is that it would actually get the content before checking that it can extract blocks from it14:17
lifelessso for 1/200 (the delta chain length) we'd do more work14:17
lifelessalternative, I can keep it where it is if you'd prefer14:18
abentleyWell, I wonder if it would be extra handling vs getting the blocks from the versionedfile.14:18
lifeless(but migrated to the new api)14:18
lifelessso what I was thinking is that the get_texts is going to iterate the contents *anyway*14:18
lifelessbecause its going to be getting the contents of every version it wants to emit, plus the basis texts for the exit points of the dag14:19
abentleyAnd then extract_blocks only gives output against the build parent?14:19
lifelessright14:19
lifeless(as it does today)14:19
abentleyAnd then you have to figure out whether the build parent is the ancestor you want to diff against.14:20
lifelessfulltext.extrct_blocks -> None14:20
lifelesssomedelta.extract_blocks -> delta_parent, blocks14:20
abentleyI don't think it makes a huge difference to me.14:21
lifelesscool14:21
lifelessI think I'll leave it where it is in order to port code; then see how it fits in the location I proposed14:22
abentleyThere were two things about looms.14:23
lifelessshoot14:23
abentleyOne was the outstanding queue of patches.  I was wondering if you'd forgotten about them.14:23
lifelessI had; I wish there was a bb instance to remember them for me14:23
gourlifeless: nice post on the planet ;)14:24
lifelessgour: :)14:24
abentleylifeless: Well, I'll see what I can do about that.14:24
gourlifeless: it's very encouraging14:24
lifelessabentley: you could file 'merge requests' in launchpad for them into https://code.edge.launchpad.net/~bzr-loom-devs/bzr-loom/trunk14:25
abentleyThe other is that I fear my practical desires and your design ideas are in conflict re: record.14:25
abentleyBasically, I don't want to record.14:25
lifelessok14:25
abentleyI especially don't want to have an extra step be required for push to work properly.14:25
lifelessthere is room to use the working-loom to avoid needing to record, though it obviously costs in the ability to collaborate on ooms because of the loos of 3-way mergeing14:26
lifeless*or*14:26
lifelessauto-record at commit, which will incur a cost in storage/depth14:26
lifeless(and conflicts rather adly with handling merges and conflict resolution at the loom scale)14:27
abentleyI still don't understand when someone should record.  Doing it at push time sounds like you really should have done it earlier, but you're fixing it before it goes public.14:28
lifelessyou should record when you want people to be able to merge from you/before you merge from them (so you can revert)14:30
lifelessjust like in a branch you commit at the same points14:30
lifelessanyhow, I'm very open to finding some compromise that works; a pure tool with no users -> fail14:30
abentleyIt seems like I would want to record at every commit, more or less.14:31
abentleyPerhaps if I was merging from upstream, I would commit to all threads and then record.14:32
lifelessright14:32
lifelessI think if you bzr merge of looms actually did something it would be more obvious14:32
lifelessthere is room in the working-loom to do merge, but noone has written the code14:32
lifelessit basically needs to zip from the bottom up, doing a pull where possible or merge otherwise14:33
lifelessletting users resolve conflicts etc14:33
abentleyI would only want pull if the current revision was a lefthand ancestor of the other tip.14:34
abentleyBut basically I was agreeing with the notion of auto-record at commit.14:35
lifelessI'd like to get merge doing the right thing before doing that14:36
lifelessbecause at the moment noone is really collaborating on a stack of threads14:37
lifelessso its kind of like very early bzr where we didn't have merge :)14:37
lifelessI agree that there are some possible options in the implementation of merge; they mainly seem to be policy related14:37
abentleyEvery time I try to share a loom with someone, it doesn't work properly.  I haven't investigated.14:37
lifelessI'm -> coding again14:38
jmlis there a doc (or a good example) for extending an existing bzr command in a plugin?14:43
matkorWhat I have to do to have my patches sent Wensday to bzr-gtk@lists.canonical.com to  be visible in http://bundlebuggy.vernstok.nl/bzr-gtk/ ? As I understand it is right way of submiting patches for olive-gtk...14:47
matkorWho can vote for patches BTW ?14:47
awilkinsmatkor: If you're not a list member, your posts will languish in limbo on that mailing list14:51
awilkinsI had to subscribe to get my patches to arrive in the bundlebuggy in a timely fasion14:51
phanaticmatkor: the people who are considered the core contributors. like jelmer, beuno, abentley, schierbeck, vila...14:51
phanaticmatkor: but you could also request voting rights, since you contributed quite a lot in the past14:52
matkorawilkins: I think I am subscribed, as I get e-mails form list ...14:54
phanaticmatkor: it could be the temporary brokenness of bb as well14:55
phanaticmatkor: did you send patches or bundles, erm merge requests?14:55
matkorphanatic: I used bzr send <list> using kmail14:55
phanaticthen it should be fine14:56
tale_I've created a local branch of a project on launchpad.  I've made some commits to my local branch, but I haven't pushed them back to the main branch.  Now I see that the main branch has some new commits.  What command should I use to update my branch with the main branch's commits?15:26
Peng"bzr merge"?15:27
tale_so i don't need to specify the main branch?15:27
radixyes, "cd local-branch; bzr merge <main branch URL>"15:30
radix"bzr commit" (after reviewing them or running the unit tests or whatever)15:30
=== vila_ is now known as vila
bob2(bzr remembers where you branches from and considers that the parent url, by default, for pull and merge)15:32
vilaphanatic: thanks for promoting me as a gtk core dev :) What do I need to do to log into gtk-BB ?15:32
phanaticvila: oh, sorry, i thought you were one :) please ask jelmer for credentials, he runs the server.15:33
tale_thanks.  That worked.  I'm loving the capabilities of bzr.  I wish I didn't have to use Clear Case at work!  :-)15:34
radixhmm. if I used --fixes, how do I later find out what tickets a revision fixes? It seems it doesn't show up in 'bzr log' like --author does, which would be ideal.15:35
jelmerradix: "bzr viz" can show you, I'm not sure if there's a way to do so on the command line15:37
radixjelmer: I don't see it, maybe I don't have a recent enough version15:42
jelmerthere should be a "bugs" tab15:42
jelmerbut it's been added pretty recently15:42
matkorjelmer: Any idea why my tiny patches sent Wensday to bzr-gtk@lists.canonical.com to  be visible in http://bundlebuggy.vernstok.nl/bzr-gtk/ ?15:47
matkorjelmer: "to be visible" -> "are not yet visible"15:54
lifelesselmo: vostok; loggerhead; swapping?15:57
CardinalFang"bzr revid", like "bzr revno", would be very useful.16:05
CardinalFangAny takers?  It should be easy, I'd think.16:05
Odd_BlokeCardinalFang: File a bug if one doesn't exist. :)16:06
jelmermatkor, hmm, odd16:06
jelmermatkor, I'll see if I can find what causes it to break16:06
bob2heh, bzr lookup-revision $(bzr revno)16:06
fullermdCardinalFang: bzr revision-info | cut -f1 -d' '16:07
fullermdEr, -f2.16:08
luksbzr version-info --custom --template {revision_id}16:17
jelmermatkor, should be fixed now16:30
matkorjelmer: Thank you - should I  bzr send <list> again both patches ?16:52
matkorOh I see them :)16:52
PieterHi. I'm trying to use bzr fast-export on the bzr repository, but it fails when trying to find revision john@arbash-meinel.com-20050711051006-2d11704675600e9516:55
Pieterwhen doing a bzr log --show-ids, it can find a commit with that revision as parent, but not the revision itself16:55
Pieterhow is that possible? :)16:56
PengPieter: Same results here.17:03
Peng(For anyone else, it's r897, which does have two parents.)17:03
PengPieter: Maybe bzr made more ghosts in 2005. I dunno.17:04
=== yacc_ is now known as yacc
abentleyPieter: Bazaar supports revisions like that.  They're called "ghost revisions".17:12
jelmerlifeless, ping17:15
jelmerlifeless, just wondering if you have an eta on when you'll be updating your shallow-branch branch to bzr.dev17:17
Pieterabentley, Peng: ah, I didn't know that.. thanks :)17:17
Pieterdato: any chance on an easy fix to support ghost revisions in bzr fast-export? :)17:18
lifelessjelmer: EUDS17:24
lifelessjelmer: maybe on the plane17:24
Pilkyanybody here who could explain in a nutshell what it is that makes bzr slower than other systems?17:24
jelmerlifeless: k17:24
lifelessPilky: broadly; its mainly bugs17:25
gourPilky: it's not optimized yet, that's all ;)17:25
Pilkyheh17:25
lifelessPilky: in some cases we do do more work deliberately, to get a nicer user experience, but the delta in performance should be small once bugs etc are fixed17:25
lifelessPilky: we started with 'good ui' rather than 'fast performance'17:26
* gour likes such approach and that's why he migrated to bzr recently17:26
Pilkyjust started thinking about it as I was talking to a friend who uses mercurial and he can do a log on 1000 revisions in 0.25s, took me 1.9s to do a log on 5 revisions :P17:26
Pilkylifeless: much easier to improve bad performance than a bad UI ;)17:26
lifelessPilky: 'log --line' is more approximately what hg log does17:26
* pickscrape likens it to why Postgres is better than MySQL17:27
lifelessbbiab17:27
gourPilky: i never 'understood' hg, but bzr 'just clicked'17:27
Pieterwhy doesn't bzr log use a pager by default?17:27
Pilkygour: I never fully looked into hg17:27
PilkyI started looking at git and then glanced over hg before bzr took my attention17:28
gourPilky: i use(d) darcs for long time, but have chosen bzr as the next one17:28
Pilkyyeah, I used svn for half a year, used nothing for half a year then half used Xcode's snapshots feature for half a year17:29
gourPilky: git is, imho, too complex to invest lot of learning to understand its mechanisms...DVCS is just a tool, and bzr 'just works'17:29
Pilkyyeah agreed17:29
gourhg could be ok, but it does not match my mind :-)17:29
Pilkyin my normal use bzr's speed isn't too much an issue, more speed would be a nicety17:29
gourthat's why i liked darcs, but it has problems which are not so easy solved17:30
gouri agree. i do not need to handle linux kernel's history17:30
Pilkybut as I'm running unit tests against some code that calls bzr now, it starts to get a little bit painful17:30
gourPilky: the best it to play with bzr and see how it feels17:30
gourPilky: have you read http://www.advogato.org/person/robertc/17:31
Pilkyyeah, I've been using bzr for over a month now, it's just the speed annoys me slightly in my "not very usual" use case17:31
gourbzr's speed is constantly improving17:32
gour'cause it gets lot of attention lately17:32
goursoon it will be 'good enough' for all the tasks..17:32
PieterI hope bzr log path/ will get somewhat faster17:33
* fullermd hopes more that bzr log path/ will get somewhat useful.17:35
lelitspeaking of speed: jelmer, did you read my comment about find_unmerged() not being any faster than old way for me?17:40
Pilkygour: yeah, bzr seems to be getting new versions pretty frequently17:41
lelitit took 1h23min to fetch the missing changeset between an empty branch and bzr.dev (a local clone)17:41
Pilkythough I still haven't updated to 1.5 yet because the Leopard installer package hasn't been made yet (and I don't like going through MacPorts)17:42
gourPilky: right. another good reason to stay with bzr - regular (monthly) releases, active herd of devs and friendly #bzr community...what else you want?17:42
pickscrapeIt doesn't make coffee for me yet17:42
Pilkyheh, a GUI, but I'm working on that one ;)17:42
fullermdA marshmallow-pooping unicorn.17:42
gourlelit: hi lelit. optimizing tailor?17:42
Pilkya pony would be nice too :P17:42
lelitgour, no, just making it more powerful :)17:43
gourPilky: there are two guis gtk+ & qt17:43
Pilkygour: a native Mac GUI17:43
gourlelit: testing with fallback VCS, nice ;)17:43
lelityep!17:43
gourPilky: there is, afaik, native gtk+ port17:43
Pilkyby native I mean, designed for the Mac17:43
gouri see...no experience with Mac here17:44
lelitgour: and now it seems that tailor has first class support for either VCS!17:44
lifelesslelit: bzr --lsprof-file foo.callgrind17:45
gourlelit: keeping the whole history? have you seen my reply to DVC ml?17:45
lifelesslelit: post foo.callgrind somewere bzr devs can look at17:45
lelitlifeless: but I'm not using the bzr frontend17:45
* gour recommends tailor to everyone for the migrating csets tasks17:45
Pilkygour: well this is the mock up we have for bzr status in our OS X client: http://dropbox.mcubedsw.com/bazaarx/images/screenshot.png17:45
lelitbut I think that the bzr missing is using the same code path...17:46
lelitI'll try that17:46
gourPilky: looks nice & clean17:46
lifelesslelit: import bzrlib.lsprof17:47
lifelesslelit: retvalue, stats = bzrlib.lsprof.profile(thing, args etc)17:47
Pilkygour: yeah, it's what we're aiming for, plus we're hoping to integrate some Mac only stuff to make it better for Mac devs17:47
lifelessstats.calltree(open('foo.callgrind', 'wb'))17:47
gourPilky: keep up the good job17:47
lifelesslelit: you can look at it with kcachegrind yourself too; it will likely show something obvious:P17:48
Pilkygour: will do :)17:48
lelitlifeless: uhm, "bzr missing" is actually very fast, so I'm obviously doing something wrong...17:50
lifeless:P17:52
lifelessWell, time for the after conference event now17:52
lifelessso ciao!17:52
gourlifeless: take care ;)17:52
lamalexHi bzr folks, I'm trying to use bzr-svn, how does it handle authenticated checkouts?17:56
jelmerlamalex, see the FAQ17:57
lamalexer, any specific question?17:58
lamalexthe bzr-svn wiki page it links to doesn't exist17:58
jelmerlamalex, http://samba.org/~jelmer/bzr-svn/FAQ.html17:58
jelmerlamalex, Maybe there's a broken link somewhere - where did you find it?17:59
lamalexhttp://bazaar-vcs.org/FAQ#head-563231e3f43f95a0e818d54ed945fd7c72a32faa18:00
jelmerah, sorry - I meant the bzr-svn FAQ18:00
lamalex:P18:01
lamalexnp18:01
lamalexthanks for the link18:01
lelituhm, I found what seems a "no way out" condition with the tailor bzr backend :-|18:41
lelitit broke on http://pastebin.com/d8f22c27: what a strange patch indeed!18:42
lelithow should one interpret the "xml6.py" life? was it added? removed? renamed?18:44
fullermdxml6 existed before that branch.  In that branch, it was renamed to xml8 and a new xml6 was created.  Later in the branch, xml8 was deleted, and a new xml8 was created via a move from xml5 (and a new xml5 was created)18:49
fullermdIt shows removed on the old xml6 because the xml6->xml8, rm(xml8) was collapsed away so the move doesn't get shown.18:49
fullermdShowing the file-id's makes it clearer.18:50
fullermdremoved:18:50
fullermd  bzrlib/xml6.py                 xml6.py-20060823042456-dbaaq4atrche7xy5-118:50
fullermdadded:18:50
fullermd  bzrlib/xml6.py                 xml6.py-20080327235607-1skmbg4o9cd1o636-118:50
lelitfullermd: thnx, but how is that "bzr log" on that file does not brings up the previous (2006-08-23) patch?18:51
fullermdPresumably, because you're `bzr log`'ing from now, which means you're actually logging the file xml6.py-20080327235607-1skmbg4o9cd1o636-118:52
fullermdSo you only coincidentally see the changes to xml6.py-20060823042456-dbaaq4atrche7xy5-1 when they happen to have occured in the same revisions.18:53
fullermd3311.3.1 was the first rev where that [new] file existed, so it's the first you see.18:53
=== hersonl1 is now known as hersonls
catleeHello19:06
catleeI'm trying to use bzrlib to inspect a bzr repo19:07
catleeI'm using repo = BzrDir.open(pathToRepo), and then repo.revision_tree(rev) to get a Tree object19:08
catleeI want get a directory listing of one directory in the tree19:09
catleewithout walking the whole tree19:09
catleeis there a way to do that?19:09
lelit lifeless: solved! the problem was that the code needs to be wrapped by a lock!19:54
=== mw is now known as mw|food
=== hersonl1 is now known as hersonls
=== mario_ is now known as pygi
abentleycatlee: Are you trying to avoid listing subdirectories of the directory you are listing?21:13
catleeabentley, yes, I just want a shallow directory listing21:14
abentleyI don't know if we have provide a way to do that directly.  You could just look at InventoryDirectory.children, though.21:15
olyI have been looking in the docs for an overwrite local type command, basically i want to re pull the remote overwritting my local changes and resolving conflicts21:16
olywhat command should i use for such a task ?21:16
abentleyoly: pull --overwrite ?21:17
=== mw|food is now known as mw
olyi tried that but it says no revisions to pull21:18
abentleyAre you sure you're not up to date?21:18
olyi think because i did a pull, and it created a load of conflcits21:18
olyi am uptodate, its just a mess basically, hence why i want the latest version from the server21:19
abentleyOh, so you want "revert".21:19
abentleyIt sounds like your branch is up-to-date, but you have local, uncommitted changes.21:20
olynot sure is that a local revert ?21:20
abentleyYes.  It just changes the tree contents.21:20
olyprobably not what i want then21:20
olyi dont want a previous version, just all the files to match the online ones21:21
olyi did a commit at work of my very latest changes and want to pull them to this machine, but i must of made change here at some point and taken them to work on a memory stick instead of committing them21:22
abentleyWhen you run log, what's the latest commit?21:22
abentleyIs it the online one?21:23
olyyes21:23
abentleySo like I said before, your branch is up to date with the online one.  You just need to revert the changes in your tree.21:24
olylol, im confused now21:26
olybzr revert looks like its taking changes locally, so i thought i could then bzr pull --overwrite21:27
olybut it still says im upto date21:27
olyaha, i think its worked though thanks21:28
olyeven though i dont understand how21:28
abentleyThe first time you pulled, you had local, uncommited changes in your tree.21:28
abentleySo it updated your branch and left you with a dirty tree.21:29
abentleyThen you reverted, and it changed your tree to match the latest revision in your branch, i.e. the online revision.21:29
olyokay so its reverting to the latest online branch21:30
olythat makes more sense, thanks for clarifying that21:30
abentleyIt's the latest revision in your local branch.21:33
abentleyIt happens to be the same as the latest revision in your online branch.21:33
olyokay,21:35
=== j-dizzle is now known as jdong
lelityay! http://pastebin.com/d263128ed23:08
Pieterbzr log --line only show commits on the mainline?23:38
beunoPieter, yeap23:42
Pieterah, that's unexpected.. I'd thought it would just display each commit on a line23:46
=== emgent is now known as emgent`UDS
=== emgent`UDS is now known as emgent

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