/srv/irclogs.ubuntu.com/2008/03/13/#bzr.txt

schierbeckpoolie: it would be extremely awesome, but i think it needs to wait until there are python bindings for gio00:01
schierbecksometimes i wish bzr had a shared library in c00:01
schierbeckand perhaps a gobject wrapper00:01
LeoNerdReminds me.. I need to have a play with the Python CPAN module, see if I can use bzrlib from perl00:04
mtaylorhey guys - what's the bottom of the revision graph look like?00:31
mtaylorlike, If I start from the top, getting the tuple of revisions attached to the top revision, and then walking down the tree from there, how do I know I've hit bottom.00:32
mtaylorwill a revid have an empty tuple?00:32
* mtaylor answered his own question00:44
mtaylorit is, in fact, an empty tuple00:44
james_whow do I get a list of versioned files that are not present on the disk?00:51
james_wWorkingTree.list_files doesn't list missing ones.00:52
james_wtree.changes_from doesn't list them in removed.00:52
james_wperhaps I have to use the inventory and work out paths on my own.00:52
james_walso, how do I get the root directory of a WorkingTree?00:59
lifelessjames_w: iter_changes01:09
lifelessjames_w: wt.abspath('.')01:10
=== kiko is now known as kiko-zzz
james_wthanks.01:10
james_wI've got something with inventory, but wt.unversion([ids]) doesn't like it if you give it two ids, one for a directory, and one for a file in that directory.01:11
james_wfor path, ie in tree.inventory.iter_entries():02:16
james_w    file_id = ie.file_id02:16
james_w    if file_id == tree.get_root_id():02:16
james_w        continue02:16
james_w    relpath = tree.id2path(file_id)02:16
james_wraises NoSuchId too much for my liking.02:17
Odd_BlokeMorning.02:22
james_wMorning Odd_Bloke02:25
=== mwhudson_ is now known as mwhudson
* mwhudson thinks people are not sleeping at the approved times of the day!02:34
* Odd_Bloke has a project due in in around 12 hours.02:36
Odd_BlokeAlso, I woke up earlier than intended.02:36
thumperOdd_Bloke: ooh, what type of project?02:36
Odd_Blokethumper: A stock trading game for Deutsche Bank.02:38
Odd_BlokeAs part of our "Group Software Development Project".02:38
thumperOdd_Bloke: and the rest of your group are working too?02:38
Odd_Blokethumper: Well, I didn't want to do it in Java, so we're using Django.02:39
Odd_BlokeWhich means that I'm doing the majority of the coding.02:39
Odd_BlokeBut they get to mess around with all the templating stuff.02:39
thumperOdd_Bloke: sounds like you're doing the majority of the work02:42
Odd_Blokethumper: I'm doing the majority of the coding, they're doing the final report.02:45
Odd_BlokeSo the work load is probably fairly even, but the work I'm doing doesn't become entirely useless to me in around 13 hours. :p02:46
chadmillerHow does one deprecate a function in bzr src?  I see the decorator and version id.  Is that the current version?03:04
chadmillerThe to-be-released next version, that is?03:05
Odd_Blokechadmiller: The release in which it was deprecated (which is normally the to-be-released version).03:06
chadmillerThanks.03:07
bob2HACKING.txt has some details about it (but not that specific answer)03:08
james_wchadmiller: @deprecated_function(one_four) is probably what you want.03:09
chadmillerAh.  Are we too close to one_three, then?03:09
chadmillerGuess I'll have to add one_four.03:10
james_woh yeah, it's not frozen yet is it? one_three is probably better then.03:10
james_wunless it's going to take a little while, and you will end up having to go with one_four anyway.03:10
chadmillerNope.  This is a simple patch.03:11
bob2lifeless: will shallow branches save network traffic, ram and diskspace when branch'ing?04:17
jmlbob2: not sure about memory, but for network traffic and storage, compared to standalone branches the answer is yes.04:19
jmlbob2: not sure about branches in a shared repository though.04:19
bob2yay04:19
bob2trying to branch emacs has taken all my linode's memory for half an hour04:20
jmlahh :)04:20
jmlare you branching directly from a remote server?04:21
bob2yeah04:21
Odd_Blokebob2: If you check out the webpage, there is a ready-made repository tarball you can grab.04:22
Odd_Blokebob2: At http://bzr.notengoamigos.org/04:22
bob2Odd_Bloke: I know, I wanted to see how annoying actually using bzr with it would be :)04:22
Odd_Blokebob2: How often are you expecting to be branching the full emacs history when developing on emacs? :p04:23
bob2hah, more wondering how much complaining emacs developers are about to start doing04:24
nxvlShi04:26
nxvli'm looking for a getting started web04:26
nxvlor some development documentation to start04:26
Odd_Blokebob2: As rms has said bzr is the way to go, I'm sure they'll get over it. ;)04:29
bob2haha04:29
Odd_Blokenxvl: http://doc.bazaar-vcs.org/latest/ has the latest bzr docs.04:29
bob2nxvl: to start developing with bzr, or to start developing bzr itself?04:29
PengApparently emacs went with bzr. Congrats. :)04:36
nxvlbob2: bzr itself04:36
Odd_Blokenxvl: http://doc.bazaar-vcs.org/latest/en/developer-guide/HACKING.html is the main Developer Guide, which is worth having a look at.04:38
Odd_Blokenxvl: What sort of thing are you looking to do?04:38
Penghttp://lwn.net/Articles/273117/ / http://lwn.net/SubscriberLink/272853/835e7363ca833e6a/04:38
nxvlOdd_Bloke: i'm thinkinf on olive right now, but i will be more hapopy with the crypt and communication part04:40
bob2ah, it's lwn day again04:41
bob2oh no someone made a ssh lib for java called "jaramiko"04:41
Odd_Blokenxvl: Olive is part of the bzr-gtk plugin (https://edge.launchpad.net/bzr-gtk), and jelmer or phanatic (and perhaps beuno?) can probably help you out there.04:41
Odd_Blokenxvl: As to the other stuff, posting to the list with your interests might help you find something to work on (if there isn't already something specific you're thinking of).04:42
nxvlOdd_Bloke: i will take a llok at the list, thank you!04:43
=== lamont` is now known as lamont
lifelessbob2: they may reduce peak memory in some cases05:05
lifelessbob2: definiately disk space05:05
lifelessbob2: definately less network, though obviously if you do 'log' will will have to go to the net for more stuff05:20
LaserJockhmm, anybody know what the status on bzr-svn is?05:21
LaserJockjelmer said a while ago he'd have new packages up on the PPA but I haven't seen anything yet05:22
bob2lifeless: awesome05:22
Odd_BlokeLaserJock: He was finalising the release a couple of days ago, I think.05:30
Odd_BlokeThough I can't really tell you any more than that. :)05:30
LaserJockk05:31
fullermdThere were a pile of commits in my mailbox from him earlier...05:38
mlhlifeless: what sort of state is config-manager in?  Would you recommend it or perhaps something else?07:49
mlhyour page mentions a python rewrite but no more details07:51
lifelessmlh: 'working'08:03
lifelessmlh: but nested trees are concptually better08:03
mlhI was thinking of something for someone use svn to use instead of svn:external08:15
mlhbut ta08:16
ubotuNew bug: #201725 in olive "TypeError on close Olive-gtk" [Undecided,New] https://launchpad.net/bugs/20172508:45
ubotuNew bug: #201727 in bzr-gtk "gcommit fails when committing to sftp server" [Undecided,New] https://launchpad.net/bugs/20172708:55
ubotuNew bug: #201733 in bzr-gtk "Tags with underscore in viz" [Undecided,New] https://launchpad.net/bugs/20173309:30
=== kiko-zzz is now known as kiko
=== mrevell is now known as mrevell-afk
awilkins20173311:17
awilkins201733#20173311:17
awilkins201733#201733#11:17
awilkins#20173311:17
awilkinsApologies11:17
fullermdYou missed #201733#20173311:38
awilkinsI was just trying to provoke ubotu11:50
=== mrevell-afk is now known as mrevell
lamontawilkins: for that you want to say: bug 20173313:18
ubotuLaunchpad bug 201733 in bzr-gtk "Tags with underscore in viz" [Undecided,Confirmed] https://launchpad.net/bugs/20173313:18
awilkinsTA.13:18
awilkinsWhy hasn't bzr got a "bzr copy" ? (I presume the revision model doesn't allow for files to have history trees, just linear revision history?)13:19
james_wawilkins: it is desired to have that, but it is very tough to do with our current model13:20
lamontawilkins: I expect that a merge would kinda force a tree, no?13:20
fullermdMostly a combination of nobody having time to get to it, and nobody being willing to fully define the semantics.13:20
* lamont searches for the equivalent of 'git branch -l' in bzr (list of the branches in the current tree)13:20
awilkinsgit just intrinsically supports this kind of thing because it just versions whole trees, yes? So it would notice if you split a file up or joined two together?13:21
awilkinslamont: I don't mean "branch revision tree" I mean "file revision tree"13:22
fullermdThat's one way of looking at it, I guess.  Another is "git doesn't track anything anyway, so tracking copies as well as anything else comes naturally"13:22
luksawilkins: it would notice if you tell it to notice13:22
* awilkins still isn't comfy with git13:22
luksbut it's hard to do it "the bzr way", because bzr assigns a file-id to each file13:22
luksand you can have two files with the same file-id13:22
fullermdThere's nothing conceptually difficult about referencing file splits/joins.  It's deciding what the implications of that are that bogs you down.13:23
awilkinsAnd the file doesn't have a "parentId"13:23
awilkins?13:23
luksparent-id is it's parent directory13:23
luksbut there is no parent-id in on the history line13:23
luksno 3d trees for bzr :)13:24
lamontawilkins: ah, as in "bzr cp a b" to make file b a copy of file a?13:24
awilkinsYes13:24
awilkinsWas just an abstract thought, I don't have a real use-case for it ATM13:24
lamontand yeah, git does that automatically, since the id of a file is the sha1 of the file13:24
lamontor some such13:24
luksthe id in git is it's name13:25
lamontok13:25
=== cpro1 is now known as cprov
fullermdA difficulty is that there are a lot of operations smashed together in that one umbrella.13:25
lukssha1 is it's revision id13:25
fullermdSplitting a file is one.  Merging isn't covered at all, but would need to be.  And then there's really-copying...13:25
awilkinsTHe revision id of he file, or the tree?13:25
lukswell, in git it's called "object id" I think13:26
lamontawilkins: the revision id of the object.  whatever "object" happens to be.13:26
awilkinsAh. /me hasn't studied git13:26
lamont(current head, patchset, etc)13:26
lamontso did bzr ever grow the ability to have two branches in one .bzr tree, and switch between them?  or is it still "directory-per-branch, have a nice day?"13:27
awilkinslamont: shelve is sort-of-there13:28
luksit's more "directory-per-branch, have a wonderful day!"13:28
awilkinsOr you can keep a no-trees repo of branches and use a checkout, and switch that13:28
luksin bzr is branch the primary object, unlike git where you work primarily with repositories13:28
lamontok13:29
lamontthat's going to be a fun paradigm shift to bounce back and forth across13:29
lamontluks: about the time I quit using bzr last, there weren't repositories...13:31
james_wlamont: yeah, switch and cbranch can approximate it.13:31
james_wlamont: or bzr-loom can do it if your branches have a string total ordering.13:32
lamontstring total ordering?13:32
james_wno, your branches are dependent on ones lower13:33
james_wthink quilt patch series.13:33
lamontok.  (quilt: how to implement a revision control system in the source package.  see also: dpatch)13:34
james_w:-)13:34
lamontalso known as "my revision control system sucks for merging, so we're going to reimplement that to make it less painful"13:35
lamontwell, on one front, anyway13:35
=== thekorn_ is now known as thekorn
lamontthe only other reason for using quilt or dpatch is because you don't want to make would-be contributors learn your VCS-of-choice13:36
=== FreeNode is now known as herb
lamontcould someone remind me what the bzr equivalent of 'gitk --all' is?  (or even without the --all...)13:39
james_wthere is not equivalent to all.13:39
james_w--all sorry13:39
james_wbzr viz is equivalent to gitk13:39
lamontbzr: ERROR: unknown command "viz"13:40
lamontwhat magic piece am I missing, I wonder13:40
james_wapt-get install bzr-gtk13:40
awilkinsYou need the gtk plugins13:40
lamontbzr-gtk?13:40
james_wprovides gtk GUI for some things, e.g. viz - history viewing13:41
lamontbzr, bzrtools, and bzr-gtk are all installed on the box...13:41
awilkinsIt's "vis" nativelt, it was written by a Brit :-P13:41
awilkins(but there is an alias for viz)13:41
fullermdActually, it's "visualize"...13:42
lamontbzr: ERROR: unknown command "visualize"13:42
james_wlamont: are you running bzr from source?13:42
awilkinsIt's visualise13:42
luks`bzr plugins`13:42
awilkinsnot  visualize13:42
lamontbzr plugins13:43
lamontlaunchpad13:43
lamont    Launchpad.net integration plugin for Bazaar.13:43
lamontso obviously something b0rked between the bzr 1.2 and the bzr-gtk 0.93 versions I have...13:43
james_wif you are not using the system bzr it won't pick up the system plugins.13:43
james_wah, you need to upgrade bzr-gtk then.13:43
lamontthat was what I was just thinking...13:43
* lamont refrains from commenting on the packaging decisions that lead to 5 packages that must all be upgraded together and are built from separate sources13:44
awilkinsNeeds a meta-package that gathers them13:45
awilkinsapt does that, no?13:45
lamontwell, given that I have to backport bzr and bzrtools to dapper each release anyway, I'll just add bzr-gtk to the pile, for my happiness13:46
james_wwe can't do it yet as the bazaar package FTBFS13:46
lamont??13:46
awilkinsF**ks the basic file system?13:46
lamontawilkins: fails to build from source13:46
james_wbazaar is the baz package, we want to make it a transitional package for that, and a meta package for bzr, bzrtools, bzr-gtk, etc.13:47
lamontjames_w: and you mean source package: bazaar?  or some other package?13:47
james_wbut we can't as it FTBFS, the maintainer is pretty AWOL, and no-one with the skills to debug the failure is that bothered about doing so.13:47
* lamont notes that bzr-gtk 0.93.0-1 is the current version, sighs13:51
fullermdI thought 0.93 worked fine with 1.2.13:51
lamontfullermd: well, I do freely admit that I'm running my backport of 1.2, since I had to install that on a bit over 100 systems before it actually built on dapper.13:52
lamontin the ppa, that is13:52
lamontI'm not sure if the version in the ppa is the result of my patch making it back to someone, or if it's different work13:53
james_wlamont: you can check ~/.bzr.log to see why the plugin didn't load.13:53
lamont0.104  encoding stdout as sys.stdout encoding 'UTF-8'13:55
lamont0.105  bzr arguments: [u'viz']13:55
lamont0.106  looking for plugins in /home/lamont/.bazaar/plugins13:55
lamont0.106  looking for plugins in /var/lib/python-support/python2.5/bzrlib/plugins13:55
lamont0.106  Plugin name __init__ already loaded13:55
lamont0.106  Plugin name __init__ already loaded13:55
lamont0.148  Traceback (most recent call last):13:55
lamontthat?13:55
lamontah.. it's looking in python-support13:55
lamontnow to figure out why that is13:55
lamontbeacuse it's a muppet.  that's why.  broken build for me.  yeah!13:56
lamont(iz a gutsy build of round 1 of dapper building, which took 2 rounds to get right)13:56
lamontthanks13:56
* lamont didn't know about .bzr.log13:56
fullermd'bzr version' shows a lot of that sort of info too.13:56
lamontbzr viz love.14:04
lamontthanks14:04
james_wlamont: glad it works for you now.14:06
lamontre: bazaar ftbfs... given that the answer to _ANY_ question about baz is 'switch to bzr', I expect that a package that hasn't changed in a year could be summarily executed...14:10
james_wlamont: except that manoj doesn't want that.14:11
james_wthough he hasn't stepped forward to maintain the package.14:12
lamontand bazaar-vcs.org delivers its own packaging, and could easily introduce an epoch and shoot the debian package in the head.14:12
lamontthat is, if the user is mixing bazaar-vcs.org and debian repos14:12
fullermdDidn't tla absorb pretty much all of the baz changes by the last release?14:12
* lamont didn't care enough to ever look back at tla14:13
james_wI don't know, I've never used either.14:13
lamontwhen I unified all my packages (into git) the issue I had was that I couldn't find a sane way to migrate from baz to git.  and the cvs trees were kinda ugly (don't ask...) so in the end I just committed release tarballs into the git tree so as to have some history, and went from there.14:15
lamontthat was over a year ago, iirc.14:16
lamontsince then, I've been encouraged to use bzr...  so I do.14:17
lamontOTOH, I don't see myself switching existing bases anytime soon..  at least not until I get a lot more comfortable with bzr14:18
fullermdYeah, switching acids is a lot easier.14:19
abentleylamont: The bazaar package is kept around to provide a way of converting Arch/Baz archives to bzr.14:20
lamontwell, given that (1) I'm comfortable with git and (2) need to use it anyway (kernel stuff), the result is that I get to learn both.14:21
lamontabentley: then it needs to get fixed...14:21
fullermdGit seems pretty well positioned to turn into "you have to learn it, because something you care about is going to end up using it"14:22
* lamont plans to don his pedant hat and crusade for the FTBFS since gutsy(?) bazaar 1.4.2-5.3 binary to get removed from hardy+1 14:23
lamontfullermd: that's a long winded way of saying it has a significant user base14:23
fullermdMy way sounds more erudite.14:24
lamontmind you, your way is also the base reason for why bzr needs to be taught to interoperate (read and write) with git:// protocol14:24
lamontso that users who like the bzr UI, but have encountered said git-using software, can continue to be happy14:25
* lamont test-builds bazaar in gutsy, just to see if it's ftbfs there, or if it's just finally b0rked in hardy14:26
fullermdIf that doesn't turn out to be self-defeating...14:26
lamontabentley: and if bazaar is ftbfs in lenny, you can bet that it stands a fair chance of being dropped from lenny before release.14:26
lamontyep.  ftbfs in gutsy14:27
* lamont throws it against the feisty wall14:27
abentleyThe issue AIUI is that at least one of the libraries it requires has been received API-incompatible updates.14:27
lamontfullermd: the alternative is to make sure that there's enough software in bzr to force the users to learn both.  In which case, the git crowd will write a git UI for bzr.14:28
james_wthe failure is in the testsuite, so it's not incompatible to the point of failing to compile.14:28
abentleylamont: Please no14:29
lamontabentley: please no which?14:30
abentleyNo git-like UI for Bazaar.14:31
lamont_I_ have no plans to write one14:31
lamontif bzr repos ever get significant traction, you can bet that someone in the git community will, though14:31
abentleyGit has unaccoutably horrid UI.14:32
lamontand it wouldn't be a "git-like UI"... it'd be git talking to a bzr repo, just like {git,bzr}-svn do today14:33
lamontgit has an unaccountably horrid UI that is loved and/or used by many.14:33
lamontexposing the index to users has a big advantage for at least one use case that I regularly have14:34
fullermdFrom what I understand of how git-svn works, that will lead to long flames about the bzr CLI startup time...14:34
lamontspecifically, when I want to require that I type in exactly which files I want in this commit, rather than accidentally committing things that I didn't mean to.14:34
luksbut how often do you need that and how often do you commit all files?14:35
lamontit may be that the best stall tactic would be to implement a bzr repo interface that sits on top of a git repository and plumbing... dunno14:35
lamontluks: the use case is specifically /etc, being kept in $VCS for revision history/blame, and multiple users making changes on the box simultaneously.14:36
lamontI didn't say it was a common use case... it's one that _I_ regularly bump into14:36
luksI personally think that's using the wrong tool for the job14:37
luksbut that's just me14:37
fullermdI certainly don't take issue with the idea of a workflow involving pre-noting the files you want to be dealt with.  It's got any number of use-cases.14:37
lamontwasn't my decision14:37
fullermdBut it being the _default_?  That's another matter....14:38
lamontfullermd: then give me the option to do that in bzr..14:38
lamontand the ability to set the default on a per-.bzr instance14:38
luksI'd really hate if bzr had 'bzr edit', which people were suggesting on the ML, as the default14:38
fullermdIf I could get my magic wand recharged...14:38
igcmorning all14:41
* fullermd waves at igc.14:42
igchi fullermd14:42
fullermdWaitaminute.  It's morning _here_.  What are YOU doing saying 'morning'?14:42
igcI'm in sunny Chicago at pycon14:42
abentleylamont: It would be pretty easy to add an --explicit-files parameter to commit, so that it would fail if no files were specified.  Would that satisfy your use case?14:44
lamontabentley: can I make that be the default for some particular .bzr instance?14:44
lamontbranch/repo/checkout/whatever we call that14:45
lamontthat is, does .bzr have a file under it that is default args for various commands?14:45
abentleyNo, you could default it using an alias, but that's global.14:45
abentleyallowing .bzr to specify command parameters would not be safe, because the branch author may not be you.14:46
lamontabentley: and for most repos, I'd want to not require --explicit-files14:48
lamont~/.bazaar-defaults allowing me to specify it for a branch would work, I suppose...14:48
lamont(or whatever file it wants to be..)14:48
lamontthat is, I as a user would like to be able to say "when I'm in this tree, require explicit files, everywhere else, don't"14:48
fullermdTheoretically, such a thing could be set in locations.conf.  I'm not aware that the file format allows any sort of implicit nesting, though.14:48
abentleyThe format does.14:48
abentleyBazaar only looks for aliases in bazaar.conf, though.14:49
fullermdOh, it does?  I didn't know that...   I thought you only got the one level.14:49
lamontso does this mean I should file a bug asking for --explicit-files and a way to specify default commit parameters in locations.conf?14:51
lamontbranch: could not determine source revision from directory: /build/lamont/bazaar-1.4.2/debian/build/baz/tests/workdir/test-1-workdir14:51
lamontFTBFS in _FEISTY_.14:51
lamontwell... feisty + security14:51
lamontactually, all the build-deps came from feisty14:51
james_wlamont: you could file a bug asking for an explicit-files config option, that is more what you want I think.14:52
james_wUnless you want to alias it for all branches.14:52
abentleylamont: ideally, you would submit the idea to the mailing list.14:55
* lamont is seldom ideal.14:55
lamont:-(14:55
lamontthat would involve finding the mailing list, which would take about 15 extra seconds14:55
abentleylamont: It's not a bug, it's a feature request.  Bugs don't usually require much discussion.  Feature requests are ususally improved by them.14:57
lamonttrue14:59
* lamont marks 201823 wishlist15:00
fullermdPlus, abentley will hunt you down and drive a spear through you if you file feature requests as bugs   ;)15:00
Af1I know you guys don't care much about advocacy, but if you want GNOME to not switch to Git, we're really going to need to find some core GTK and GNOME people to start publicly endorsing Bazaar real soon now, or it's going to be too late.15:02
=== Af1 is now known as AfC
awilkinsWhat are they in now, SVN?15:04
awilkinsI see that you mirror their repo on Launchpad15:05
ubotuNew bug: #201823 in bzr "please add an --explict-files config option" [Wishlist,New] https://launchpad.net/bugs/20182315:05
* awilkins hears abently polishing his stick15:06
awilkinss/stick/spear/phallic-euphemism of choice/15:06
abentleylamont: If you insist on using launchpad instead of participating in discussion, could you at least use blueprints, not bugs?15:06
lamontabentley: I'll see what I can do.15:07
lamontI15:07
AfCawilkins: the import on Launchpad is unfortunately useless because you can't use bzr-svn with it to push changes back to the origin project.15:08
lamontI'm working on overcoming a year plus of dealing with bzr pain by ignoring bzr...15:08
awilkinsAfC: Yes, that is a bummer ; maybe if there was a plugin that emitted SVN flavoured patches?15:09
fullermdHeh.  "bzr made me cry, so I fixed it by using git for a while.  Now I'm much happier with bzr"    :>15:09
awilkinsAfC: If you attached some properties to it you might even get it to round-trip15:09
AfCawilkins: the worst part is that there are already a lot of people using git-svn to do their work; with released bzr-svn taking ~ 1 week to pull GTK down it's really not viable for me to recommend it to people15:09
lamontfullermd: it's more "bzr made me cry.  so I use git for development.  and now my job requires me to use bzr for at least some stuff."15:09
awilkinsAfC: Maybe it would be possible to adapt a svn-fast-export to emit a bzr-svn repo?15:10
lamont"so now I drip tears on the floor in #bzr and the bug tracking system"15:10
AfCAnd such comments have to be taken seriously. We cannot tell lamont here that his opinion is wrong. It's his opinion.15:10
fullermdPfft.  Don't be interruptin' my "random IRC commenting to avoid irritating code-shuffling work"'ing with the facts!15:10
lamontAfC: sure you can15:11
AfCawilkins: that would be awesome if it would work.15:11
AfCfullermd: :) :)15:11
AfCfullermd: I agree. Facts are overrated.15:11
lamontfullermd: I think you mean "Stop introducing facts into the argument" :-)15:11
awilkinsAfC: I don't know of any reason why it shouldn't ... but I'm not the expert on bzr-svn.15:11
lamontor has that argument morphed since Oxford, I wonder...15:11
AfCawilkins: it's probably worth a try15:12
* AfC admits that he doesn't quite understand the difference between the previous generation of import tools and *fast*15:12
fullermdYKYAANW: you read that, and your first thought is "Huh?  'o' and 'r' aren't valid hex digits..."15:12
awilkinsAfC: fast-import takes a sort of lingua-franca of version control from a stream ; the fast-export streams it out15:12
james_wI think git-fast-import is fast because you can do it all in one lump, rather than the usual load of forking.15:13
* awilkins has a shufty at the features that bzr-fast-import tacked onto git-fast-import15:13
AfCI would imagine that unless jelmer et al deliberately made bzr-svn compatible with the revisions created by bzr-fast-whaver, then it won't work15:14
AfCby accident.15:14
james_wthere were then fast-export tools written to export the format, and bzr-fast-import written to allow bzr to use the stream format.15:14
AfCI could be wrong15:14
awilkinsI don't know which bot dtermines the revids15:14
james_wI don't know enough about bzr-svn to say, but I think you may need more metadata in the stream to do it right.15:14
james_wbut the question is would that be any faster than bzr-svn?15:15
awilkinsIf the export end determines revid you could "season" an existing svn-fast-export to emit it15:15
AfCjames_w: if you can't use bzr-svn to return changes back to upstream, then bzr-fast-import won't work.15:15
AfC(in the case of the requirement I am articulating)15:15
AfC(as I noted yesterday, I probably could have picked an easier case than 19,000 revisions of GTK, but hey, I'm at a GTK hackfest :))15:16
awilkinsI agree with his use case in a more general sense ; round-tripping with SVN is something that will be a major driver for adoption of any new VCS15:16
james_wAfC: I agree, but I'm saying that I'm not sure if there is a reason that fast-import should be any faster than bzr-svn.15:17
awilkinsSince server infrastructure is often under the control of people who don't care or understand15:17
AfCawilkins: well, if we can't get it right in the next 2 weeks or so we will lose GNOME15:17
awilkinsjames_w: I can think of at least one reason15:17
awilkinsjames_w: One thing bzr-svn is use one write-group for each revision15:17
AfCAnyone know if jelmer did his next bzr-svn release yet? I know that spiv and jelmer did some great improvements in London15:17
lamontthe initial import from svn into $VCS doesn't need to be particularly fast, if I can do something in $VCS to fetch anything new, and can push my commits back to the svn server as svn commits15:17
awilkinsIt means the repo is repacked after every revision ; it's good in the "live use" case beacuse it means you can resume a broken pull15:18
james_wAfC: I haven't seen it, I checked bazaar-announce earlier today.15:18
awilkinsBut it really slows it down for the "big pull"15:18
awilkinsThere are two ways it could improve markedly ; one, shallow history, two, much faster initial import15:18
AfCjames_w: (I think it turns out that if shallow branches had existed a while back, and if bzr-svn was able to use them, then we'd be sorted; to use bzr to work with [in this case svn based] GTK I only need the ability to get most recent revision or so)15:19
awilkinsI agree, I seldom care about much beyond the last few tens of revisions (if that)15:19
awilkinsAfC: There's a 0.4.8 release on the stove for 1.215:20
AfCstove?15:20
awilkinsJust a mannerism15:20
AfCI know what it means. I just don't know whether you mean that it is released or not\15:21
awilkinsWell, it's not linked but you can pull from the branch15:21
awilkinsTell a lie, the branch is on launchpad now15:22
kikohey15:22
awilkinsAFAIK spiv/jelmer didn't change the one-write-group-per-revision thing though15:22
kikohow do I back out a merged revision?15:22
AfCEverytime I ask around here if it is safe to use bzr-svn from VCS the answer I get is "no"; admittedly if he is in the mode of doing a release instantaneously then it cannot be but safe.15:22
kikodo I just generate the reverse diff15:22
kikoor is there something saner?15:22
awilkinskiko: You can do an uncommit15:22
awilkinsbzr uncommit15:22
AfC`bzr uncommit`15:22
AfC*unless*15:22
awilkinsYou'll be left with the merge diffs in your tree15:23
AfCthe revision has propagated,15:23
AfCin which case yes, you will have to commit a reverse15:23
kikoawilkins, AfC: other stuff has landed after that, though :-(15:23
kikoI only want to back out that merge.15:23
luksbzr merge -r X..X-115:23
AfCkiko: little choice then. Just create a reverse diff.15:23
AfCkiko: what luks said :)15:24
kikook, cool.15:24
AfCkiko: use `bzr diff -r n..n-1` will help you make sure you have what you want15:24
awilkinsAfC: AFAIK the 0.4.8 branch is stable15:24
awilkinsAfC: It's been tagged, it's a release15:26
AfCawilkins: fair enough.15:27
AfCawilkins: thanks for the heads up. Will attempt to pull.15:27
AfC^$#!#@ damn it.15:28
AfC $ bzr branch http://bazaar.launchpad.net/~jelmer/bzr-svn/trunk bzr-svn15:28
AfCbzr: ERROR: Repository KnitPackRepository('file:///home/andrew/vcs/launchpad/.bzr/repository/') is not compatible with repository KnitRepository('http://bazaar.launchpad.net/%7Ejelmer/bzr-svn/trunk/.bzr/repository/')15:28
AfCWhy is Jelmer's repo not packs?15:28
AfCand more to the point, why doesn't this just work?15:28
awilkins< AfC> Why is Jelmer's repo not packs?15:28
jelmerhey folks15:29
* awilkins waves15:29
AfCjelmer: strange thing,15:29
jelmerawilkins: One sec, I'll upgrade it15:29
AfCI tried to grab your bzr-svn branch, and15:29
AfCbzr: ERROR: Repository KnitPackRepository('file:///home/andrew/vcs/launchpad/.bzr/repository/') is not compatible with repository KnitRepository('http://bazaar.launchpad.net/%7Ejelmer/bzr-svn/trunk/.bzr/repository/')15:29
AfCMostly, I'm surprised that this was an error at all. I thought we capable of interoperating and all15:29
jelmerAfC: Right, my bzr-svn branch uses a subtree format15:29
abentleyAfC, diffs are not the only solution.  A reverse merge will do the trick.15:29
AfCabentley: right15:30
awilkinsWe were also discussing the possibility of svn-fast-export | bzr-fast-import , whether it would/could be compatible with bzr-svn and whether it would be faster than bzr branch svn+http://15:30
AfCabentley: that's what luks said15:30
AfCabentley: a very nice feature on Bazaar's part.15:30
jelmerawilkins: That's a lot harder than it sounds. fast-export doesn't provide the right information15:30
abentleyYou're welcome :-)15:30
jelmerI discussed this a little bit with igc at the sprint15:30
awilkinsjelmer: But presumably you could take an existing svn-fast-export implementaion and hack it, or decorate it?15:31
awilkinsOr is fast-import protocol not rich enough?15:31
jelmerawilkins: Yes, but there's no reason why that would be any faster than bzr-svn itself could potentially be15:31
jelmerawilkins: The fast-import protocol is not rich enough15:31
AfCjelmer: Three days later I'm still only 45% through branching GTK with bzr-svn. I'm very much looking forward to trying 0.4.815:32
awilkinsAfC wants GNOME and GTK to have an epiphany about bzr15:32
=== kostja is now known as kostja_osipov
AfCjelmer: I remarked earlier that I think that if shallow branches had existed a while back, and if bzr-svn was able to use them, then we'd be sorted. But that's not the case, so {shrug} we deal with what we have.15:32
AfCawilkins: well, it's worse than that. If we do not actively convert some key people Real Soon Now, we will lose out to Git.15:33
kostja_osipovstatik: I sent a note on the bug report15:33
luksAfC: is that a bad thing is they prefer to use git?15:33
AfCToo many people are already using git-svn to talk to svn.gnome.org. There won't be a central decision, but it's happening on inertia.15:33
luks*if15:34
statikhi kostja_osipov! great, thank you15:34
* awilkins just wants a VCS that tracks merges and has a good Eclipse plugin and works well on Windows15:34
lukssvn 1.5!!!15:35
* luks hides15:35
AfCluks: {shrug} if you believe that Bazaar is a better tool, then yes. I certainly don't want to use Git ever again for anything, so the fact that most of the people around me today are talking about Git (and making me cringe for how crazy it is)15:35
luksdunno, I personally couldn't care less what people use if it fits their needs15:35
kostja_osipovstatik: do you meet physically? would be nice to come over to a) get some training b) point out the missing features c) have no ambiguity as to whether there is or there is no speed problem15:35
awilkinsluks: I forgot to say "also tracks renames properly"15:36
luksoh, then svn 1.5 is out :)15:36
awilkinsBesides, the Eclipse support will be AGES15:36
statikkostja_osipov: in moscow? probably not, but I'm sure we can work something out in realtime. maybe even video conference15:37
awilkinsATM I have rudimentary Eclipse and Java support through the client library in bzr-svn15:37
kostja_osipovnot in moscow, :)15:37
awilkinsATM I have rudimentary Eclipse and Java support through the client library in bzr-eclipse15:37
abentleyluks: It is nice when people can work together instead of each doing their own thing.15:37
AfCIt was a pleasure to work Verterok last week on the bzr-eclipse plugin. It's coming along really nicely.15:38
jelmerAfC: Sorry, PCI hardware bug hang my laptop again15:38
abentleyAnd it can hurt cooperation if people are using different tools that don't work well together.15:38
luksabentley: people will always use different tools, though. no matter how hard you try15:38
lamontgit prior to 1.5 had an abysmal UI.  git 1.5 is at least usable.15:38
AfCjelmer: that's ok. The network here is shit (and overloaded) too15:38
luksand git is definitely not going away anytime soon15:38
jelmerAfC, awilkins: Basically, the main thing that is making bzr-svn slow at the moment is the fact that it has to generate consistent deterministic revision and file ids15:38
awilkinsjelmer: What's the algorithm for that?15:39
AfCjelmer: understood15:39
lamontluks: and given that, making tools interoperate is a good goal.15:39
lukssure15:39
jelmerawilkins: It's described by the mapping.txt file in bzr-svn15:39
AfCjelmer: [please don't forget to fix your repo if you get a chance... I would like to pull your code if I can]15:39
awilkinsjelmer: Is it one of those things that might benefit from a pure C module?15:40
awilkinsNot that my C is any good :-)15:40
jelmerawilkins: I think we can gain a lot simply by improving the logic behind the current Python code15:40
awilkinsIs it all in mapping.py?15:40
jelmerawilkins: I've started factoring out the mapping code so this is easier to do15:41
jelmerawilkins: Yes, mostly15:41
jelmerI'm looking into using pyrex for the python bindings for subversion btw15:41
jelmerit's much easier than I thought, and I regret not having looked into this earlier15:42
awilkinsWould that fix memory leaks much?15:42
awilkinsWould it avoid SWIG :-)15:42
jelmeryes, both :-)15:42
* awilkins applauds15:42
fullermdAfC: It can't be 'fixed' so you can pull it into that repo...  you'd have to put it standalone somewhere.15:43
awilkinsAfC: Pull it somewhere outside of your big repo, then move the folder into the plugins folder15:43
awilkins(an ignore-repo switch for bzr branch would be useful here)15:44
fullermdYou could probably do that via init'ing it with the -subtree format; I think that'll create a standalone in that place, since the repo isn't compatible.15:45
AfCawilkins: yeah. It seems pretty whacked the way it is now.15:45
fullermd(then pull'ing)15:45
AfCfullermd: interesting15:45
fullermd(I haven't tried, of course, but It Stands To Reason(tm))15:46
AfCyup15:46
james_wthat should work, yep15:46
awilkinsIt seems to still keep it's revisions in the parent repo though15:48
jelmerAfC: I've upgraded it to pack-0.92-subtree15:48
AfCUm... there's no 0.4.8 tag in that branch.15:48
AfCawilkins: where did you see such a tag?15:48
AfCjelmer: sweet15:49
awilkinsAfC: In the 0.4.8 branch15:49
awilkinshttp://people.samba.org/bzr/jelmer/bzr-svn/0.4.8/15:50
awilkins(also on launchpad)15:50
awilkinsls15:51
AfCOk. Unusual that trunk wouldn't contain that, but whatever.15:51
awilkins0.4.8 contains at least one cherrypick there...15:51
jelmerAfC: 0.4.8 isn't released yet and is being stabilized15:51
* awilkins presumed the tag meant stable, sorry15:51
AfCjelmer: ah. Others were saying otherwise. Thanks.15:51
awilkinsIt still works well for me :-)15:52
awilkinsThat reminds me, must have another try at converting my Big Fat Repo15:52
awilkinsIt wouldn't be faster over file:// would it? It seems to be CPU limited whenever I try it15:53
jelmerhmm, the pyrex stuff actually appears to be faster than the swig bindings, too15:56
datojelmer: these pyrex bindings would substitute the existing ones upstream?15:57
jelmerdato: no, they'd be included with bzr-svn15:57
datook15:57
awilkinsAre they API compatible with the existing ones?15:57
luksnot that surprising, swig generates quite awful bindings15:57
jelmerdato: subversion generates bindings for a large range of languages and they have to maintain API compatibility15:58
Stavroshell16:00
Stavroshello, rather16:00
Stavroscan i merge multiple commits into one?16:00
awilkinsAre they at the tip of the branch?16:01
Stavrosit's a theoretical question at this stage, so let's assume both ways :P16:01
awilkinsIf they are, you can uncommit them and then recommit the changes as a single revision16:02
Stavrosoh16:02
Stavrosisn't there a command to do that?16:02
Stavrosi'm guessing no16:02
awilkinsbzr uncommit16:02
Stavrosno, i mean merge them16:02
Stavrosanywhere in the history16:02
awilkinsNo idea16:02
luksbzr usually doesn't commands for automatic destroying of history :)16:03
Stavroshmm, i thought there was one16:03
Stavrosmaybe it's in git?16:03
luksvery likely16:03
=== bigdo2 is now known as bigdog
Stavroshmm16:03
fullermdYou can make a new rev containing those two revs in various ways.  But you'll have to recreate every rev after that point too, so you generally don't want to do that.16:03
awilkinsIs this "rebase" or some other abomination?16:03
Stavrosawilkins: no idea, i have never used git16:03
fullermdI think it's a 'feature' of git's rebase.16:03
awilkinsAh16:03
datoyes; of git rebase --interactive, in particular.16:04
awilkinsYou could { bzr branch tree newtree -r n-1 ; cd newtree ; bzr merge tree -r n-1..n+1 ; bzr commit ; bzr merge tree -r n+3 } ?16:05
Stavrosawilkins: true, but it's not worth it, i was just wondering if there was a command16:05
luksStavros: what's the use case for this?16:05
luksI mean, in git people use it because they use almost-plain patches to send changes around16:06
Stavrosluks: committing not-quite-finished code so you can sync/run-test it, and then convert them all into one when done16:06
fullermdI've occasionally speculated about a full "history rewriting language", where you can define a spec of how you want to mutate history, and hand that off to an interpreter that goes off and does it.16:06
fullermdInteresting way to mentally occupy a couple hours.16:06
luksStavros: why not just normal merge?16:07
awilkinsStavros: Do that sort of thing on a feature branch, and merge it when tested16:07
jelmerfullermd: that's actually what git rebase -i does16:07
jelmerto some degree16:07
Stavrosthe "unclean" commits remain unclean, though16:07
fullermdWell, only if you wrap expect around it or something   :p16:07
awilkinsStavros: That way it becomes a single "merge" revision in the target branch (listing the full history from the merged branch)16:07
luksStavros: they are part of the history16:07
luksmaybe one year later you will wonder what it's done that way and those unclean commits will help you16:07
awilkinsStavros: You'll have no unclean commit on the main line, just in the subhistory of the top revision16:08
luks*why16:08
Stavrosaha16:08
fullermdI don't think it can do all the mutations you'd want, either.16:08
Stavrosso it'll be one revision number?16:08
luksone mainline revision, yes16:08
awilkinsStavros: Yes, it's one revision number, with a list of branch revisions inside it's history16:08
Stavrosgood, that should do then16:08
fullermdFrex, the nuclear * problems.16:08
Stavrosit's just that my OCD flares up when I check in nonworking code16:09
awilkinsYou must write a lot of unit tests :-)16:09
Stavrosi try :(16:09
=== kostja_osipov is now known as kostja|brb
=== kostja|brb is now known as kostja
=== kostja is now known as kostja_osipov
jelmerman, I really should've looked at pyrex earlier16:30
jelmeralmost done wrapping the core ra functions in just 2.5 hours16:30
Stavroswhat's ra?16:31
jelmerStavros: Subversion Remote Access API16:31
Stavrosah16:32
Stavroscan bzr push to subversion yet?16:32
jelmerStavros: Has been able to do so for more than a year16:33
Stavrosoh16:36
Stavroswhy have i been using svn then? :(16:36
Stavrosare there any caveats?16:36
schierbeckhi jelmer16:36
* awilkins is up for building/testing the pyrex bindings on win3216:38
jelmerStavros: Speed is the main thing at the moment16:39
jelmerschierbeck: hey16:39
Stavrosah, i don't mind16:39
jelmerawilkins: cool16:39
Stavrosi have to do svn copy from time to time to copy revisions to the release folder, can i do that with bzr-svn?16:39
schierbeckjelmer: i'm looking at fixing bug #93652 regarding lock handling ui16:40
ubotuLaunchpad bug 93652 in bzr-gtk "Lock handling" [Low,Confirmed] https://launchpad.net/bugs/9365216:40
schierbeckyou're talking about complaining if there's a write lock on the branch being viewed by the viz?16:41
awilkinsStavros: I think you can push new branches into svn with bzr-svn (jelmer?)16:41
awilkinsNot tried that feature yet :-)16:41
jelmerschierbeck: one sec16:42
jelmerStavros: yep16:42
Stavroshmm16:42
Stavrosjelmer: how do i do it exactly, do you know?16:42
jelmerStavros: bzr svn-push16:42
Stavrosah, thanks16:43
jelmerschierbeck: Yep, that's about write locks16:43
jelmerschierbeck: I think currently it writes an error message about the lock to the terminal16:43
schierbeckjelmer: is there a way i can safely put a branch in a write-locked state?16:44
schierbeck(for a longer duration)16:44
jelmerschierbeck: Branch.open("foo").lock_write(); sleep(2000)16:45
schierbeckokay16:45
Stavroshmm, i installed the bzr-svn windows installer but it can't find either the svn plugin or the svn bindings16:46
awilkinsStavros: What I do it install the plugin by branching it inside my %appdata%/bazaar/2.0/plugins folder and the binding by unpacking libsvn and svn folders into c:/python25/lib/site-packages16:49
Stavrosoh, that should work, thanks16:50
Stavrosdon't i need patched bindings though?16:50
awilkinsYes, get them from http://d5190871.u44.websitesource.net/bzr/16:50
schierbeckjelmer: hmm, it doesn't seem that Branch.is_locked() and Repository.is_locked() do what i had thought16:50
jelmerschierbeck: You may want to have a look at the implementation of the break-lock command in bzr core16:51
Stavrosawilkins: ah, that worked, thanks16:52
Stavrosgetting "bzr: ERROR: Permission denied: ".": Can't get password" now16:52
Stavrosdo i need bzr co or bzr branch?16:52
schierbeckjelmer: yeah, probably16:53
jelmerStavros: non-ssh authentication doesn't work on Windows unless you have Subversion 1.516:54
schierbeckjelmer: for an initial implementation, with just a decent error message, couldn't i just catch LockNotHeld?16:54
jelmerschierbeck: Not sure I understand what you mean - the bug is about hooking into the bzrlib code that errors about existing write locks16:58
awilkinsStavros: Do something that needs auth (like grab a lock) using the svn client and cache your password16:59
schierbeckyeah, but i'm trying to get an incremental understanding of this: a LockNotHeld exception is raised when trying to unlock a branch with a write lock on it16:59
awilkinsStavros: And you want to bzr branch svn+http://16:59
Stavrosawilkins: it's svn://17:00
schierbeckthe sequence in which the viz operates is unlock lock_write unlock lock_read17:00
awilkinsStavros: That should be fine17:00
schierbecki would expect an exception to be thrown when read-locking a write-locked branch, but nothing happens17:00
jelmerschierbeck: Yes, and that shouldn't change. We should hook into the code in bzrlib that currently prints to the terminal17:01
awilkinsStavros: You might want to init a rich-root-pack branch and pull into it, it's more recoverable if there is a problem (like memory issue which crop up on large repos)17:01
Stavrosaha, let me do that17:01
schierbeckjelmer: hmm, okay17:02
Stavrosdone, but there's still the auth issue to counter17:02
schierbeckideally, i could just check if there is a write-lock on the branch, and err out17:02
james_wAfC: ask and you shall receive :) -> http://planet.bazaar-vcs.org/17:02
awilkinsStavros: Do an svn lock svn://project/trunk/randomfile and svn will cache your password17:03
Stavrosawilkins: i did a commit to the server using tortoisesvn, do i need to do it in the folder i want to pull in?17:03
Stavrosoh, let me try with the client17:03
schierbeckahh, Branch.peek_lock_mode()17:04
awilkinsUnlock the file afterwards :-)17:04
Stavrosit was already cached, apparently17:04
Stavrosstill nothing, though :/17:04
awilkinsHmmph, I had some issues with this.17:04
AfCjames_w: oh, good show. Well done.17:05
Stavrosjames_w: what was that in response to/17:07
james_wStavros: Myself and jam were having a discussion at the sprint, and AfC suggested that one of us write up the discussion to show the thought that goes in to the design decisions, and where some tradeoffs are made.17:08
=== kiko is now known as kiko-fud
james_wStavros: and also partly due to the last two links.17:09
Stavrosah, thanks17:10
james_wAnyone know if there is a good general algorithm to take a set of actions and their weight and pick the set of actions with the highest weight?17:11
james_wwhere you can't just take them all I mean.17:11
james_wor maybe not a general algorithm, but a set of principles or something?17:11
Stavrosawilkins: i have the bzr-server conversation if you want17:12
schierbeckfor the love of god, a little documentation in bzrlib would make my life a whole lot easier... Branch.get_physical_lock_status()17:13
james_wor at least what the class of problem is called so that I can google for myself.17:14
Stavrosdoes anyone have an idea why i can't pull with svn-bzr? maybe i need the svn client in the PATH?17:16
james_wStavros: you shouldn't. What's the error message you get?17:16
Stavrosbzr: ERROR: Permission denied: ".": Can't get password17:17
Stavrosi sniffed the packets, if anyone speaks svn17:17
jelmerStavros: non-ssh authentication doesn't work on Windows unless you have Subversion 1.517:19
james_wStavros: http://bazaar-vcs.org/BzrForeignBranches/Subversion/FAQ17:19
Stavroso17:19
Stavrosi thought you meant for http17:19
james_wStavros: the second question might apply.17:19
Stavrosjames_w: it probably does, let me get 1.517:20
Stavrosany idea where the 1.5 binaries are? :/17:22
nirHow can I have a generated file that is not under version control, but bzr export will export it?17:23
nire.g version info file, used in a makefile to compile build number into a product17:23
james_wStavros: 1.5 isn't released yet :)17:23
Stavrosnot even prerelease binaries?17:24
Stavrosyou built me up just to tear me down, didn't you!17:24
james_wStavros: they might be available, I'm not sure.17:24
james_wnir: I don't think that is possible.17:24
Stavrosjames_w: can't find anything on the site, so i don't think so17:24
schierbeckjelmer: okay, i've done some initial ui17:25
schierbecki'll work more on it later, got an appointment now17:26
schierbeckadios!17:26
awilkinsHey, someone with wiki admin rights unlock editing FortuneCookies, I want to put "bzr push does not update the remote tree!!!!!!" in it.17:27
nirLooks like I need to edit the exported tar.gz17:27
awilkinsStavros: You can find builds of 1.5, but I'm not sure about the 1.5 python bindings17:27
jelmerStavros: I doubt there are any available for Windows yet17:28
awilkinshttp://merge-tracking.open.collab.net/servlets/ProjectProcess?tab=417:30
awilkinsThere are windows binaries there, but not the Python bindings (which need building AFAIK)17:30
Stavrosit's ok, i'll wait then :/17:31
awilkinsAt the speed Jelmer is going, we could have spanky new pyrex bindings by the end of the day....17:32
james_wnir: you can export to a directory.17:33
ubotuNew bug: #93652 in bzr-gtk "Lock handling" [Low,In progress] https://launchpad.net/bugs/9365217:36
statikawilkins: you want the push_and_update plugin17:40
statikit's very nice17:40
awilkinsstatik: No, I don't have a need for it, but it has to be the most FAQ in here17:41
awilkinsPerhaps having it as a page cookie would increase awareness as a kind of background noise :-)17:41
luksI don't think even having it on the homepage would :)17:42
fullermdI wouldn't think it would.  I mean, bzr _tells_ you every time you push...17:43
awilkinsMaybe it should print it in flashing red.17:44
fullermdPop up a little speech balloon, with a trumpet flourish sound effect.17:44
awilkinsAdd a switch --i-understand to bzr push that has to be used to make it work.....17:47
fullermd"I, fullermd, by running this command, do assert and warrant that I am of sound mind and body, and have been apprised of and reviewed the document BZR-E-238634.7, entitled 'Push does not update remote working trees', and further affirm [...]"17:49
awilkinsMake the user sign the "allowed-to-use-push" file with a GPG key that corresponds to their current whoami.17:51
=== mwhudson_ is now known as mwhudson
=== kiko-fud is now known as kiko
jelmerany pyrex experts awake?17:58
jelmerhmm, I guess that means no :-)18:10
=== pmezard_ is now known as pmezard
fullermdI think jam does, but he's doesn't seem to even be nominally here today...18:13
=== Demitar_ is now known as Demitar
=== mrevell is now known as mrevell-dinner
=== mw is now known as mw|lunch
=== mw|lunch is now known as mw
ubotuNew bug: #201934 in bzr-webserve "Inventory of files, get latest version" [Undecided,New] https://launchpad.net/bugs/20193420:21
=== andrea-bs is now known as BeeBot
=== BeeBot is now known as andrea-bs
ubotuNew bug: #201935 in bzr "Improve performance of bash completion (caching) (dup-of: 84822)" [Undecided,Invalid] https://launchpad.net/bugs/20193520:31
announcerRev 3272: (bialix) Significantly reducing execution time and network traffic bialix@ukr.net20:43
statikpoolie: ^ there you go20:43
mwhudsonhey, cool20:43
statikmwhudson: until it blows up20:44
mwhudsonstatik: ever the optimist20:44
mwhudsonthe first line of that commit message is more exciting than the whole thing20:44
announcerRev 3272: (bialix) Significantly reducing execution time and network traffic bialix@ukr.net20:44
statikok, announcer, we know that one already20:45
statikthat one was my fault20:45
statikit should be all set now.20:45
orospakrhttp://blog.orebokech.com/2008/03/emacs-in-bzr-initial-impressions.html21:36
mwhudsonwow, revision-info could do with some common-case speeding up21:48
mwhudsonb.get_revision_id_to_revno_map() ?21:48
mwhudsonoh, and revision_history()21:50
ubotuNew bug: #201956 in bzr-gtk "Document bzr-gtk keybindings" [Undecided,New] https://launchpad.net/bugs/20195621:51
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash21:59
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:04
=== jelmer_ is now known as jelmer
=== jelmer is now known as jelmer_
=== jelmer_ is now known as jelmer
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:09
mwhudsonannouncer: shut it22:10
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:14
jelmermwhudson: Do you have any idea who owns announcer ?22:15
mwhudsonjelmer: statik22:16
yaccmwhudson: announcer has just a bad memory and has to repeat a number of times so he doesn't forget this gem of information ;)22:16
* jelmer wonders what the benefits of announcer over cia are22:17
yaccjelmer: well, it's not torturing you by mistake ;)22:18
yaccjelmer: I meant interogate firmly ;)22:19
jelmerheh22:19
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:19
jelmerhmm, is this going to continue every 5 minutes?22:20
jelmers/continue/repeat/22:20
yaccnor does it kidnap you and throw you in an unmarked plane to fly you to some idyllic tourismus hotspot22:20
yaccjelmer: well, most IRC clients have support for ignoring ;)22:21
jelmerstatik: ping22:22
jelmerstatik: That's mainly useful for stuff you'd like to ignore but can still be interesting for other people22:22
jelmerI don't think that's the case here22:23
jelmeranybody with pyrex karma around?22:23
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:24
mwhudsonjelmer: i think pyrex is bad for the soul, but i know a bit about it22:25
jelmermwhudson: If you think pyrex is bad for the soul, you should try swig ;-)22:25
jelmermwhudson: I'm trying to create a class from some pyrex code but need to set two C members in it22:26
mwhudsonjelmer: well yes, swig is worse22:26
mwhudsoni don't see what the problem is with just writing c, to be honest22:27
jelmerand I can't figure out a way to do it. There's no way to create an __init__ that takes C pointers22:27
jelmermwhudson: Too much work22:27
mwhudsonoh, ok, that goes beyond my pyrex knowledge already22:27
jelmermwhudson: ah, ok22:28
* jelmer just redid most of the python subversion bindings in ~5 hours using pyrex22:28
jelmerIt's just this last bloody thing that's I can't seem to get right22:29
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:29
* TFKyle stabs announcer22:30
mwhudsonwhere is igc22:30
mwhudsonhe's sending email but not on irc?22:30
jelmeryeah, same thing for John22:30
james_wI think they are at/on the way to PyCon22:34
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:34
mwhudsonooh22:35
mwhudsonright22:35
mwhudsonbzr revision-history in the emacs import takes ~8 seconds :/22:35
=== asak_ is now known as asak
datomwhudson: but not with your patch :-P22:36
datoah22:37
mwhudsondato: no, i only did revision-info22:37
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:39
datostatik: is announcer yours?22:41
datostatik: it's misbehaving22:41
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:44
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:49
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:54
pooliehello22:56
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash22:59
mwhudsonhi poolie23:00
jelmerhey Martin23:00
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:04
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:09
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:14
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:19
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:24
schierbeckhi jelmer23:29
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:29
jelmerhey Daniel23:31
schierbeckjelmer: i'm playing a bit with launchpad edge, and i'm pretty impressed. do you think we at one point would be able to switch to using it to handle merge requests?23:32
jelmerschierbeck: Can it deal with merge requests by email yet?23:33
schierbecki'm not sure, i'm playing around with a toy project to get a sense of the features23:34
schierbeckif not, i'll add it to the lp bug tracker23:34
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:34
* arjenAU hears an echo23:35
mwhudsoncan someone kick announcer please?23:35
jelmerpoolie and lifeless are the only people with op rights23:35
jelmerpoolie: ping23:36
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:39
jelmer_crap, that's the 4th time today23:43
jelmer_my PCI BUS is being crappy23:43
=== jelmer_ is now known as jelmer
awilkinsThat's one sick computer23:43
jelmeryeah :-(23:44
awilkinsI remember sitting with a diagram of motherboard interrupt lines trying to work out which slot to stick my Audigy in23:44
awilkinsCreative cards really hate sharing interrupts23:44
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:44
awilkinsHmph, apparently, announcer does not respond to polite hints like "/msg announcer FUCK OFF"23:45
awilkinsjelmer: What's your bindings problem.... I'm not familiar with pyrex but I do have experience writing horrible P/Invoke calls from VB6 :-)23:46
jelmerheh23:46
awilkinsCheers, lifeless23:47
jelmerlifeless: our hero23:47
lifelessnp23:48
lifelessbrb23:48
jelmerawilkins: see my description a bit earlier23:48
jelmerawilkins: I'm trying to pass C variables rather than python objects to a class constructor somehow23:48
awilkinsCallback?23:49
jelmerno, not that23:49
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:49
jelmerargh23:49
announcerRev 3274: (Neil Martinsen-Burrell) Explain version-info --custom in the User ian.clatworthy@canonical.com23:50
awilkinsSeems to be unstuck, at least23:50
jelmerI don't think so. That's the revision that was just merged by pqm23:50
jelmerit's probably just announcing the tip of bzr.dev constatntly23:50
awilkinsIt was stuck on 3273 before23:51
awilkinsSeems to be 5 minute intervals23:51
awilkinsjelmer: Would extension types solve your problem?23:52
jelmerawilkins: not sure what you mean?23:52
awilkins"wrap arbitrary C data structures and provide a Python-like interface to them"23:52
jelmerit's a very pyrex-specific problem23:52
awilkinsWhat's the constructor you're trying to call?23:54
jelmerI can't create a constructor with c types as arguments23:54
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:54
announcerRev 3274: (Neil Martinsen-Burrell) Explain version-info --custom in the User ian.clatworthy@canonical.com23:54
awilkinsjelmer: So have a constructor with extension types as arguments and define extension types to pass to it23:55
awilkinshttp://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/extension_types.html  ?23:55
announcerRev 3273: (jam) Fix moving directories to root nodes. john@arbash23:59
announcerRev 3274: (Neil Martinsen-Burrell) Explain version-info --custom in the User ian.clatworthy@canonical.com23:59

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