[00:01] <TresEquis> DebbieWork: branch /proj/brA -> /proj/brAdev, hack on brAdev, comit (lather, rinse, repeat);  then "push" brAdev->brA when ready
[00:01] <spiv> Good morning
[00:02] <TresEquis> for extra bonus points, brA can be "bound" to a remote branch, so when you push brAdev -> brA, it also pushes to the remote branch
[00:04] <DebbieWork> TresEquis: Ok, that sounds the most straightforward.  And do heavyweight chekouts @ remote locations?
[00:06] <poolie> GaryvdM: no, just delayed for silly reasons, should be out today
[00:07] <GaryvdM> poolie: Ok - understand.
[00:10] <TresEquis> DebbieWork: the "bound" branch (/proj/brA) can be a checkout of the remote branch
[00:12] <TresEquis> making it "heavyweight", and inside a share repo, makes it possible to unbind if needed (e.g., while disconnected)
[00:14] <DebbieWork> TresEquis: Sure thing.  But @ my local box, that's remote to the source repo's origin, I'd *checkout* to my local machine, typically, right?
[00:14] <DebbieWork> This sentence: Let's start by saying there is nothing you can do with a Checkout that you can't do with plain Branches. A Checkout just enables different defaults and workflow helpers.
[00:14] <DebbieWork> has me trying to figure out the which/when bits ...
[00:14] <TresEquis> checkouts work by default like SVN / CVS
[00:15] <TresEquis> your commits get pushed to the remote server, and you have to be up-to-date to commit
[00:15] <TresEquis> you might check out the workflows doc:  http://doc.bazaar.canonical.com/bzr.2.1/en/user-guide/bazaar_workflows.html
[00:17] <DebbieWork> TresEquis: Yah, saw that.  I can image using any/all of them :-/  I'm hoping to use what's typical in CivicSpace/Drupal land, so I can chat with them about stuff.  Hoping emmajane will be able to share a comment/recommendation or two.
[00:18] <igc> morning
[00:18] <DebbieWork> TresEquis: @ #drupal I just learned that Drupal.org is "moving to git", but for my purposes, I don't think that matters at all.
[00:20] <igc> TresEquis: it's not easy to run 'make html' in a given directory inside Explorer yet
[00:20] <DebbieWork> TresEquis: Given your example, "then "push" brAdev->brA when ready"  What would you typcally do, e.g., when it's time to publish to the web?  publish brA directly? Or 'branch brA brAprod' and publish brAprod?
[00:21] <TresEquis> igc:  I was looking to hack on the tools / commands stuff to make it easy.  I just want to know where to start looking, rather than having to read the whole BE codebased
[00:22] <igc> TresEquis: you can configure "local application" tools though so one option is to try writing a script that changes directory there before running 'make html' say
[00:23] <igc> TresEquis: ah - ok
[00:24] <TresEquis> DebbieWork: remote server as the "canonical" / published branch and working dir;  locally, I make a "heavyweight checkout" if it in my shared repo, then branch from the checkout for development
[00:24] <igc> TresEquis: lib/extensions/tools.py is the core of the tool support
[00:25] <TresEquis> I can commit to the dev branch without touching the published side
[00:25] <igc> TresEquis: see https://code.edge.launchpad.net/~simon-kersey/bzr-explorer/add-bzrexec-tool/+merge/22522 for a nice patch to improve things
[00:25] <TresEquis> when I "push" inside my dev branch, it updates the heavyweight checkout, which in turn pushes to the remote server
[00:25] <TresEquis> igc: thanks -- I didn't see code there to interpret command line, tc.
[00:25] <igc> TresEquis: I'll hopefully review that patch today
[00:27] <igc> TresEquis: hmm - why are you expecting to interpret the command line?
[00:27] <DebbieWork> TresEquis: Bingo! That makes sense, and does what I think I want!  And I didn't even have to make sens asking for it ;-)
[00:28] <poolie> hi igc
[00:28] <TresEquis> igc:  I want to figure out how the %(foo)s expansions are done
[00:28] <TresEquis> e.g., to add new names if need be
[00:29] <TresEquis> for instance %(pool)s resolves to a file:///.... URL, which can't be passed to commands like 'cd'
[00:30] <igc> TresEquis: see lib/app_suite.py
[00:30] <igc> hi poolie
[00:30] <TresEquis> igc:  thanks
[00:31] <DebbieWork> Dinner-time!  Thanks everybody! Helped a lot :-)
[00:32]  * GaryvdM -> bed. Bye all.
[00:33] <TresEquis> night all
[01:03] <bendj> After commiting changes in a checkout, what't the right way to delete the checked-out directory, if I don't want it around anymore?  Just 'rm -rf' the dir? Do I need to do a 'bzr remove' or 'bzr remove-tree'?
[01:04] <spiv> bendj: just rm -rf
[01:05] <bendj> spiv No need to tell it's parent repo (if I've checked out into a shared repo for example ...) about the removal?
[01:05] <bendj> Oops, its.
[01:05] <spiv> bendj: nope
[01:05] <bendj> Great, thanks.  Confusing keeping track of what's keeping track of what!
[01:07] <poolie> hello spiv
[01:07] <poolie> i'm going to start cutting 2.2b1
[01:12] <spiv> poolie: yay
[01:12] <poolie> actually i really am
[01:12] <poolie> but it will help me concentrate if you can clear the new bugs
[01:12] <spiv> Ok
[01:13] <poolie> thanks
[01:18] <bendj> I've got a shared bzr repo containing multiple branches & checkouts.  If I want to update to all the latest sources, I can certainly enter each branch/checkout and pull/update/whatever.  Is there a *single* command that can update everything to the most current?
[01:23] <fullermd> There's a multi-pull command in bzrtools.  It's basically the moral equivalent of `find . -is-a-branch | xargs bzr pull`
[01:25] <ctrlsoft> fullermd: the /moral/ equivalent?
[01:25] <fullermd> Well, immoral equivalent, maybe.
[01:33] <bendj> fullermd Got it.  Took me a minute to figure out its an addition plugin ...  Is that typically the approach used for "assembling" a project for final-publication ( a book, a website, whatever) from numerous, disparate sources?
[01:34] <bendj> Agh! it's
[01:34] <bendj> (always bass-ackwards!)
[01:36] <poolie> wow launchpadbugs (used by check-newsbugs) is strange
[01:43] <poolie> which is https://bugs.edge.launchpad.net/bzr/+bug/354985
[01:47] <ctrlsoft> poolie: strange in what sense ? :-)
[01:47] <ctrlsoft> check-newsbugs should probably be ported over to launchpadlib now, it's more widely available
[01:48] <poolie> yes, it should be
[01:49] <poolie> just the object proxy abstraction in eg /usr/share/pyshared/launchpadbugs
[01:49] <poolie> for a moment i expected this had been ported to use the api
[01:49] <wgrant> python-launchpad-bugs predates the API by quite a while.
[01:49] <poolie> mm
[01:49] <wgrant> Any remaining users of it are wrong.
[01:50] <poolie> and was probably very useful before it existed
[01:50] <poolie> right, that bug says we should move away from it
[01:50] <wgrant> Right.
[01:50] <poolie> i wonder if its ubuntu package description should be updated
[01:50] <wgrant> It should probably be removed from Lucid.
[01:50] <wgrant> Only two packages depend upon it, and they both also use launchpadlib.
[01:51] <wgrant> And fixing that for five years isn't going to be fun.
[01:51] <poolie> k
[01:51] <poolie> bum de dum "please wait"
[01:54] <poolie> wgrant: but it would need upstream changes to detangle those packages?
[01:54] <wgrant> poolie: Well, upstream for both is Ubuntu, but yes.
[01:55] <poolie> well, https://bugs.edge.launchpad.net/ubuntu/+source/python-launchpad-bugs/+bug/552953 if you want to say your piece
[01:55] <poolie> title corrected
[01:56] <wgrant> ubuntu-qa-tools should be easy to port -- it already mostly uses launchpadlib. bughelper will be harder, since it doesn't yet. But that might indicate that it's mostly abandoned.
[02:10] <poolie> jelmer, lifeless, it would be interesting, maybe next week, maybe in belgium, to look at making looms fit with jelmer's named branch work
[02:17] <ctrlsoft> poolie: yeah
[02:28] <TresEquis> igc: I was able to get my new command type added
[02:28] <TresEquis> just pushed the branch to LP and proposed a merge
[02:29] <igc> TresEquis: cool. I'll take a look later today
[02:29] <TresEquis> thanks for the pointer
[02:29] <TresEquis> BTW, I couldn't figure out how to run the tests
[02:29] <igc> TresEquis: no problem
[02:29] <eydaimon> how can I see the current revision number?
[02:29] <Meths> bzr revno
[02:29] <eydaimon> bzr log | head? is there an easier way?
[02:30] <eydaimon> ok, thanks
[02:30] <TresEquis> it might be good to have a HACKING file which tells how
[02:30] <igc> TresEquis: Explorer don't really have any tests currently
[02:30] <TresEquis> ok, then I don't feel guilty for not adding any ;)
[02:31] <igc> TresEquis: the current HACKING page is http://doc.bazaar.canonical.com/explorer/en/development.html
[02:31] <fullermd> Heck, you added tons of 'em.  At least doubled the previous total.  Maybe tripled  ;p
[02:31] <TresEquis> that page needs a "Running the Tests" link, once it is relevant ;)
[02:32] <igc> yes :-)
[02:45]  * igc back in a few hours
[02:50] <poolie> lifeless, where does the python-testtools in the pqm chroot come from? the testtools ppa?
[02:57] <lifeless> the sysadmin archive
[03:00] <poolie> oh of coursne
[03:00] <poolie> but as a custom backport from lucid or karmic?
[03:09] <lifeless> no idea sorry
[04:12] <DebbieWork> ping emmajane
[04:13] <emmajane> DebbieWork, what's up?
[04:14] <DebbieWork> emmajane: Hiya!  Folks in here said I shoud ask you :-)  Have a question about using bzr with CivicSpace/Drupal layout ...  Can bzr do this:
[04:14] <DebbieWork> (sec, typing ...)
[04:14] <emmajane> DebbieWork, errr I'm not sure how useful I'll be. It's pretty late here. :)
[04:17] <DebbieWork> can it, or should it?
[04:17] <DebbieWork> emmajane: bzr init-repo ./TOP_DIR; cd ./TOP_DIR; brz branch DRUPAL_BZR_REPO ./myDrupal; cd ./myDrupal; bzr branch MY_FILES ./sites/mySite
[04:17] <DebbieWork> What I'm trying to do , of course, is put together my drupal site tree from multiple branches, and manage it as one.
[04:18] <DebbieWork> emmajane: Just looked up!  Sorry, if it's late -- np!  Another time.
[04:18] <emmajane> I keep all sites as completely unique branches.
[04:18] <emmajane> you mean the /sites folder, right?
[04:19] <DebbieWork> emmajane: Yah, the /sites folder.  How do you include them in the Drupal install tree, then?  symlink?
[04:19] <emmajane> i.e. I'm not sure what the advantage would be of merging www.example.com with www.foo.com.
[04:19] <emmajane> just a sec
[04:20] <DebbieWork> emmajane: Nah, I'm only talking about one site (for now).  Just trying to understand how best to separate the branch pulls of drupal source and my files ...  Seems like it should be two separate branches.
[04:21] <DebbieWork> Don't know how to embed one branch UNDER another, since the /sites folder needs to be UNDER the drupa site install 'top'
[04:21] <emmajane> DebbieWork, this is how I do it: http://www.flickr.com/photos/emmajane/4480852752/
[04:22] <emmajane> I remove /sites from the drupal folder and then symlink that back in
[04:22] <emmajane> I don't version drupal core.
[04:22] <emmajane> I let CVS take care of that for me.
[04:22] <emmajane> when I'm hacking on core then I hvae that in a totally separate place from my live sites and I put core (but not sites) under version control.
[04:23] <emmajane> http://horncologne.com/content/nice_server_setup_helps_streamline_upgrades that's sort of what I do.
[04:23] <emmajane> (as far as the directory structure goes)
[04:23] <emmajane> even sites I don't really put under version control though. Just themes.
[04:24] <emmajane> (but I'm not a module developer)
[04:24] <emmajane> i.e. I *only* version the stuff I will be editing.
[04:25] <DebbieWork> emmaja Cool!  Thanks for the reference, too!  So when you CVS up your core, you've an ignore set for the symlink?
[04:25] <emmajane> CVS ignores symlinks by default IIRC
[04:25] <emmajane> CVS is stupid. :)
[04:25] <poolie> hello emmajane
[04:25] <poolie> rebooting, biab
[04:25] <emmajane> DebbieWork, I also don't CVS up core.
[04:26] <emmajane> I download a new version and adjust the symlink.
[04:26] <emmajane> that's why there's drupal5.22 and random other older versions kicking around.
[04:26] <emmajane> (also: yes, i ought to be shot for not upgrading my D6 installation)
[04:27] <DebbieWork> emmajane: Hehe!  Actually, I'm debating CivicSpace, or going with Pressflow (Just found that! Neat!) and rolling my own.  Pressflow maintains in/with bzr, Iiuc.  Same principle applies, I guess.
[04:27] <DebbieWork> Although I'd like to follow the Pressflow repo.  Thinking of some variation of  http://xdeb.org/node/1249
[04:28] <emmajane> I don't have the capacity to follow links. :)
[04:28] <emmajane> sorry. too tired.
[04:30] <DebbieWork> emmajane: Np!  You've been a help already :-)  That link is ""Bazaar workflow for developing Drupal based web sites".  Talks about multiple branching levels of Pressflow source, source+modules, source+modules+customizations etc.
[04:30] <emmajane> if you're just deploying drupal you probably don't need to worry at that level.
[04:32] <emmajane> poolie, hey :)
[04:32] <DebbieWork> emmajane: I'm w worrier! :-)  Lots of grey hair, doncha kno ;-)  Anyway, I just got lost in all the options bzr presents.  Really helpful to get your take on it.  Seems that there are countless discussions about how to stage Drupal/CivicSpace/etc, but few best-practice recommendations.  That I've found anyway.
[04:33] <DebbieWork> emmajane: Hoping your book (which will arrive tomorrow, I hope :-D) will help with same on the themeing end of things!
[04:33] <emmajane> Do you know the term "bike shedding"? ;)
[04:34] <emmajane> I say: put the stuff you edit under version control and get on with life. :)
[04:34]  * emmajane is a minimalist though.
[04:36] <DebbieWork> emmajane: "Bike shedding".  Ha!  My brother in law has a big one.  Chock full of old motorcycles.  But I get your point :-)
[04:36] <SamB_XP> the point is arguing about what color to paint it ;-)
[04:36] <SamB_XP> you can even do that after you already made a bikeshed, IRL ;-P
[04:37] <emmajane> :)
[04:37] <fullermd> What's to argue?  Turquois, obviously.
[04:39] <DebbieWork> Hm, since 'stupid' CVS nicely ignores symlinks, I'll presume that 'smarter' bzr doesn't.  Does it follow symlinks and version-control the file under them, or simply version control the link itself?
[04:39] <emmajane> bed time for me.
[04:39] <fullermd> The link itself.
[04:39] <emmajane> DebbieWork, g'luck with everything. :)
[04:40] <DebbieWork> Thanks :-)
[04:40] <DebbieWork> emmajane Nighty nite!
[04:40] <DebbieWork> fullermd: Is there an option to follow the link?  I've found requests in '08 for that capability, but haven't found a resolution yet.
[04:41] <fullermd> Not AFAIK, no.  That would get into all sorts of icky questions about what to do when it points outside of the branch, frex.
[04:42] <poolie> ok so i'm going to pull a bit more on lazy command loading
[04:42] <fullermd> What a coincidence.  I was going to go be lazy a bit more on pull command loading.
[04:42] <poolie> since that is paged in
[04:42] <DebbieWork> fullermd: K, good point I suppose.  Anyway, good to know. Thanks.
[04:47]  * Tak agree @ turquoise
[05:13] <SamB_XP> wait a minute, someone just mentioned bikeshedding in a #haskell-unaffiliated channel?
[05:13]  * SamB_XP didn't realize that before ;-)
[05:14] <lifeless> SamB_XP: http://haskell.bikeshed.com/
[05:15] <Tak> bikeshedding predates haskell
[05:38] <poolie> lifeless: istm .testrepository should be ignored?
[05:39] <lifeless> poolie: yep
[06:09] <igc> back
[06:20] <poolie> hey igc
[06:28] <igc> poolie: it might be good to announce 2.1.1 and 2.0.5 today
[06:28] <poolie> igc, yes, i think so
[06:29] <poolie> i think in general it would be good to announce the whole bundle of releases together
[06:29] <igc> poolie: also, I'd like to find out why the website build script is failing
[06:29] <poolie> but in this case there is too much of a gap between them
[06:29] <igc> I just tested it here and it worked fine for me
[06:29] <poolie> maybe it's a python2.4 thing
[06:29] <igc> maybe
[06:30] <igc> I guess we can guard against that field not being here and continue working
[06:31] <lifeless> poolie: so, as discussed yesterday, a call now ?
[06:32] <poolie> give me a couple of minutes to file this rt
[06:33] <lifeless> sure
[06:41] <poolie> igc: works
[06:42] <igc> thanks
[06:42] <poolie> well, "doesn't crash" :)
[06:42] <igc> :-)
[06:43] <igc> poolie: hmm, the developer blog isn't rendering at all
[06:43] <igc> poolie: so maybe it's a firewall thing accessing that location?
[06:45] <lifeless> poolie: ring when you're ready
[06:46] <poolie> someone else called; ok
[06:47] <lifeless> heh
[06:49] <poolie> igc, it says "fetching data from bazaarvcs....."
[06:52] <igc> poolie: it's weird
[07:16] <vila> hi all !
[07:37] <igc> hi vila!
[08:09] <lifeless> wow http://xkcd.com/ today
[08:11] <nlisgo> whats your preferred comparison tool for the mac? I just discovered FIleMerge
[08:18] <vila> lifeless: history navigation ftw ! (up and down arrows work :)
[08:33] <jszakmeister> anyone here familiar with the bzr-email plugin?
[08:40] <vila> jszakmeister: better ask your question anyway, familiar depends on the area your question is related to...
[08:40] <poolie> hello vila
[08:40] <vila> hey poolie !
[08:40] <bialix> hi poolie
[08:41] <jszakmeister> I'm just trying to understand some of the documentation for bzr-email.  In one section it says:
[08:41] <jszakmeister> The URL of the branch is determined from the following checks (in order):
[08:41] <jszakmeister>  - If the configuration value 'post_commit_url' is set, it is used.
[08:41] <jszakmeister>  - If the configuration value 'public_branch' is set, it is used.
[08:41] <jszakmeister>  - The URL of the branch itself.
[08:41] <jszakmeister> How does it determine the URL of the branch itself?
[08:43] <jszakmeister> And I'm curious about why no emails get sent for push by default?
[08:44] <jszakmeister> (I think I want to enable them, but I'd like to understand the philosophy behind it more before making that decision). :-)
[08:45] <jszakmeister> And, I have one more: in the docs it says "if not supplied defaults to the email address reported
[08:45] <jszakmeister> by ``bzr whoami``" but is that of the person doing the commit?  Or is that the ``bzr whoami`` of the hosting provider?
[08:46] <jszakmeister> (In my case, Apache)
[08:48] <poolie> on the last one, it would be whereever the plugin is actually running
[08:48] <poolie> isn't bzr-email normally client-side?
[08:49] <jszakmeister> I dunno. :-)  This is the first time I've ever looked at it. :-)
[08:50] <jszakmeister> How do you ensure that an email always gets sent with a commit to a public branch then?
[08:52] <poolie> http://doc.bazaar.canonical.com/bzr.dev/en/admin-guide/hooks-plugins.html
[08:53] <jszakmeister> Heh.  Wonder how I missed that?  I'll take a look at one of the other alternatives. :-)
[08:55] <lifeless> poolie: jszakmeister bzr-email can be client or server side
[08:56] <jszakmeister> I was just looking at that again, and getting ready to ask that question. :-)
[08:56] <lifeless> no emails on push by default because if installed client side that results in emails on commit and then on push
[08:56] <jszakmeister> Ah.
[08:56] <jszakmeister> Makes sense.
[08:56] <lifeless> on a server side install you want it set to send on push
[08:58] <jszakmeister> How is this typically configured server-side?
[08:58] <jszakmeister> Via the branch.conf or through locations.conf?
[08:59] <lifeless> yes
[09:00] <jszakmeister> ?
[09:00] <jszakmeister> Is one preferred over the other?
[09:00] <lifeless> not really
[09:00] <lifeless> up to you
[09:00] <lifeless> if one was preferred,t he docs would say so :)
[09:01] <jszakmeister> Does the branch.conf follow the branch when cloned?
[09:01] <lifeless> no
[09:01] <jszakmeister> (or at least some of it's settings).
[09:01] <jszakmeister> Okay.  So I don't need to worry about things propagating unexpectedly. :-)
[09:04] <igc> poolie: what branch did 2.2b1 come from? lp:bzr/2.2 is 6 weeks old
[09:04] <jszakmeister> I think I need to look at that a little more.  I'd like to avoid having an admin go and configure a branch every time a new one shows up (which kind of points to using locations.conf), but...
[09:05] <poolie> igc i'm confused why there would be a 2.2 branch
[09:05] <poolie> igc, also, my merge to 2.2 bounced because of a python2.4 issue, i think
[09:05] <jszakmeister> then I don't want to have to edit the locations.conf by hand every time either.  Screams for a script to help me.
[09:05] <igc> poolie: not sure. I recall jam asking for one
[09:07] <igc> poolie: also wrt the website, I think we should just revert index.html for now
[09:07] <igc> and disable the build.py script from running
[09:07] <igc> poolie: we an sort out the feed issue after you get back from leave
[09:07] <igc> s/an/can/
[09:08] <poolie> ok i'll do that now
[09:15] <lifeless> jszakmeister: you could do locations.conf, though we don't supoprt bzr:// soft chroots all that well in there
[09:15] <lifeless> johnf posted something about this a while back, I think
[09:15] <lifeless> checkt he bzr-email bugs perhaps?
[09:17] <jszakmeister> I'll take a look...
[09:17] <jszakmeister> BTW, what does "soft chroots" mean?
[09:17] <lifeless> inside bzr serve
[09:17] <lifeless> we don't use the disk url for branches
[09:18] <lifeless> we use a chroot:// url, which normal path traversal can't break out of
[09:18] <lifeless> only code that explicitly unwraps it can - so it enforces configuration of writable/accessible roots
[09:18] <lifeless> bbiab
[09:23] <jszakmeister> And that's a problem because it may affect how the branch is looked up in locations.conf?
[09:23] <lifeless> yes
[09:23] <lifeless> I don't remember what johnf did to deal with this
[09:24] <jszakmeister> Okay.  I'll search around a bit... the initial searches haven't turned up anything though.
[09:46]  * igc dinner
[10:26] <lelit> hi all, does bzr allow giving access only to particular subtree of a repository, ala svn? I'm going to do a complete switch from svn to bzr, and I'm currently looking for the best fit
[10:26] <bialix> no
[10:26] <lelit> ok, thanks
[10:26] <bialix> you have to put every subtree into separate branch
[10:27] <awilkins> Or put up with it and arrange your build system to cope with it
[10:27] <awilkins> There are still advantages to atomically versioning co-dependant packages
[10:28] <bialix> both scmproj and bzr-externals has support of snapshots for achieving this goal
[10:28] <lelit> awilkins: not sure I understand... what I need is to give only a subset of my "whole thing" to some other developer
[10:29] <bialix> lelit: split your whole thing into components
[10:29] <awilkins> lelit, Then that needs to be in a separate branch
[10:29] <lelit> then of course my "build system" (and deploy) take the whole thing into consideration
[10:29] <lelit> ok
[10:29] <bialix> and then assemble the whole thing in similar fashion as with svn:externals
[10:29] <lelit> ah
[10:30] <bialix> lelit: you may find bzr-externals plugin very useful for this
[10:30] <lelit> didn't know about bzr-externals (this will be my first serious use of bzr...)
[10:30] <bialix> there is also scmproj
[10:30] <bialix> but it seems people like bzr-externals more
[10:30] <lelit> ok, thank you
[10:31] <bialix> lelit: if you don't like to use command-line, then bzr-externals will be the best choice
[10:33] <lelit> another simple doubt: I'm a darcs guy, and am wondering about its interactive "commit" feature; I know about the shelves, but is there some kind of wrapper/plugin that simplify its usage?
[10:33] <lelit> bialix: that's not a problem for me
[10:33] <bialix> lelit: check interactive plugin
[10:33] <lelit> great
[10:34] <bialix> shelve has support of using external editor to edit hunks
[10:34] <bialix> I find this very cool
[16:06] <jml> can I set submit branch for a branch on the command line?
[16:07] <IslandUsurper> jml, `bzr merge --remember`
[16:07] <IslandUsurper> or maybe push --remember
[16:08] <IslandUsurper> no, push branch is different from submit branch
[16:26] <gustavonarea> Hello, I'm trying to migrate a couple of HG branches to Bazaar, but I'm getting the following error: http://pastebin.com/A6CaLXfM
[16:28] <gustavonarea> This is how I got there: http://pastebin.com/V5YAV4Yb
[16:29] <gustavonarea> "cleanup" is a clone of "trunk", and it has ~100 revisions which haven't been merged into trunk
[16:30] <bialix> do you have shared repository there?
[16:30] <gustavonarea> bialix: no, I set them up with "bzr init bzr-trunk" and "bzr init bzr-cleanup"
[16:31] <bialix> then execute following in the parent dir of bzr-trunk: bzr init-repo .
[16:31] <bialix> then: cd bzr-trunk; bzr reconfigure --use-shared
[16:31] <bialix> delete bzr-cleanup; bzr init bzr-cleanup
[16:32] <bialix> then try again last fast-import
[16:32] <gustavonarea> bialix: will try that
[16:32] <bialix> bzr fast-import --import-marks=initial-trunk-raw-frontend.marks cleanup.fi bzr-cleanup/
[16:37] <gustavonarea> bialix: http://pastebin.com/7UTA5WtS
[16:37] <gustavonarea> maybe i should start it all from scratch, using a shared repo?
[16:37] <bialix> mmm, you can
[16:37] <bialix> but it seems there is bug
[16:38] <gustavonarea> yes
[16:38] <bialix> gustavonarea: can you try again with fresh shared repo, and don't create bzr-trunk / bzr-cleanup branches manually
[16:38] <bialix> jam: can you suggest something about this traceback?
[16:39] <jam> bialix, gustavonarea: other than knowing that there is an open bug on bzr-fastexport wrt "_find_ancestors" I don't really have an answer
[16:40] <bialix> oops
[16:40] <gustavonarea> bialix: you mean some thing like "bzr init-repo bzrrepos; cd bzrrepos; bzr init trunk; bzr init cleanup" ?
[16:42] <bialix> gustavonarea: without last two `bzr init xxx`
[16:43] <bialix> but as jam said there is open bug
[16:43] <gustavonarea> bialix: ok, i'll try that
[16:44] <bialix> maybe you need to downgrade fastimport plugin
[16:46] <gustavonarea> bialix: that wouldn't be a problem -- what version/revision should I use?
[16:46] <bialix> the one as in the Karmic
[16:48] <gustavonarea> ok, i'll downgrade it
[16:54] <bialix> gustavonarea: ask in the bzr ML as well about fast-import issues. Author of fastimport is igc, he's in the AU timezone
[16:54] <gustavonarea> bialix: good idea; thanks :)
[16:59]  * bialix disappears
[16:59] <maxb> gustavonarea: Have you considered using bzr-hg instead of bzr-fastimport?
[17:00] <maxb> Also, I know there's a bug in bzr-fastimport concerning marks export/import. I mean to try to fix it at some point.
[17:01] <gustavonarea> maxb: not really, although there's no special reason, it's just that fast-import seems like the recommended method. I just want to convert all our Mercurial branches to Bazaar once and get rid of Mercurial. Is bzr-hg suitable for this?
[17:03] <maxb> I believe it is, though, I think it currently lacks support for importing mercurial tags properly. However, this should be trivially fixable afterwards even with a 10 line shell script, as the Bazaar revision-ids assigned are based on the hg hashes with a static prefix
[17:04] <maxb> So basically you'd just turn the .hgtags file into a series of 'bzr tag' commands using trivial text manipulation
[17:07] <maxb> One bonus with bzr-hg is that there's no need to manipulate marks files, nor reprocess the common history for every branch
[17:07] <gustavonarea> i wouldn't mind doing that if everything else works. Do you know of any pointers to start with? I couldn't find documentation in the branch, and http://wiki.bazaar.canonical.com/BzrForeignBranches/Mercurial and http://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-hg-projects.html don't offer much information
[17:07] <maxb> And if you discover an extra hg branch later that was left behind, it will be easy to import
[17:07] <hazmat> anyone know how to work around a pycurl cert error with bzr-svn .. ala http://gist.github.com/351996
[17:08] <gustavonarea> maxb: it seems like I can simply do "bzr branch my-hg-branch bzr-branch" -- am I right?
[17:09] <maxb> Yes, it really should be that simple :-)
[17:09] <gustavonarea> maxb: whoa, I'll definitely give that a try then! Thank you
[17:15] <maxb> The tags should be fixable post-import with:  cat .hgtags | while read sha tag; do bzr tag -r revid:hg-v1:$sha $tag; done
[17:17] <maxb> Anyone: Is 'bzr qlog' totally broken on Lucid at the moment?
[18:04] <MvG> Investigating qbzr issue from bug #544928 with current bzr.dev, I find BZR_PLUGINS_AT doesn't work for me: within the plugin dir, running ``BZR_PLUGINS_AT="qbzr@$PWD" ../bzr.dev/bzr help'' prints usage instructions and "error: invalid command 'help'". Same for any other command. Did I miss something, or is this a bug in this great new feature?
[18:06] <MvG> Is there any other way to override a per-site qbzr setup?
[18:15] <ctrlsoft> jam: hi
[18:15] <ctrlsoft> hazmat: hi
[18:15] <hazmat> hi ctrlsoft
[18:16] <maxb> BZR_PLUGINS_AT?
[18:16] <hazmat> hi jam, i was curious if you could send your loggerhead cache plans out to the bzr list
[18:16] <ctrlsoft> hazmat: can you work around that error by using svn+https://
[18:16] <ctrlsoft> hazmat: pycurl doesn't support self-signed certificates afaik
[18:17] <jam> morning
[18:17] <MvG> maxb: Yes, as documented in NEWS, from bug 82693.
[18:19] <jam> hazmat: I can. I was hoping that *somebody* would give feedback before I send it to the primary list
[18:21] <hazmat> ctrlsoft, cool, thanks that did the trick
[18:39] <ctrlsoft> jam: it looks like the inventory is the most significant slowdown in imports
[18:39] <ctrlsoft> jam: InventoryDirectory.children in particular
[18:39] <ctrlsoft> jam: is there anything I should/should not do?
[18:41] <jam> ctrlsoft: 'most significant slowdown in imports'. Meaning when doing a conversion, the time spent seems to be in ID.children gathering
[18:41] <jam> my guess...
[18:41] <jam> any directory with > 200 children is going to page in all of the CHK pages
[18:42] <jam> to get whatever subset it has
[18:42] <jam> (one of the side effects of using 255-way hash mapping is that all children end up on random pages.)
[18:42] <jam> Anyway, what are you doing with ID.children?
[18:42] <jam> path2id checks?
[18:42] <jam> id2path checks?
[18:42] <ctrlsoft> jam: comparing the children between the base inventory and the contents of a new tree in git
[18:43] <jam> ctrlsoft: you don't get a delta from git?
[18:43] <ctrlsoft> jam: no, though I'm working on making dulwich produce a delta
[18:43] <ctrlsoft> by comparing the base tree and new tree in git rather than comparing the base inventory from bazaar and the new tree from git
[18:44] <ctrlsoft> that seems to have a *significant* impact
[18:47] <jam> ID.children is known to be pretty bad in chk
[18:48] <jam> as mentioned above
[18:48] <jam> essentially, ID.children for a moderately sized directory will load the whole inventory
[18:48] <ctrlsoft> jam: right, which is pretty bad in this case :-)
[18:49] <ctrlsoft> I just changed the algorithm in bzr-git and now I can import 3k kernel revisions in 700 seconds
[18:49] <jam> so, for bzr, the data is sorted by file_id
[18:50] <jam> so you can generate the delta by file_id much faster than by directory
[18:50] <jam> If you need to do it by dir, then it is going to probably be slow
[18:50] <jam> Inventory.iter_changes(other_inv) should be pretty fast for CHK
[18:51] <ctrlsoft> except I don't yet have other_inv, that's what I'm trying to create :-)
[18:51] <jam> ctrlsoft: you just have a tree?
[18:51] <jam> yeah, so the data layout in git is by path, the data layout in bzr is by file_id
[18:52] <ctrlsoft> anyway, I'll try to eliminate more uses of ID.children - thanks for the hints
[18:52] <jam> comparing the two is generally going to be O(tree)
[18:52] <jam> so doing deltas in the same format whenever possible is a good idea :)
[18:53] <ctrlsoft> yeah, looks like it :-)
[19:24] <ctrlsoft> jam: so it's faster to do path2id(path) than parent.children.get(name) ?
[19:25] <jam> should be
[19:25] <jam> but I'm not positive if we've actually improved it
[19:25] <jam> it also depends
[19:25] <jam> if we've already loaded children, then obviously the latter is faster
[19:26] <ctrlsoft> jam: but if I can avoid ID.children otherwise?
[19:27] <ctrlsoft> jam: then path2id will be faster?
[19:42] <jam> So we can answer path2id without having to load the actual inventory objects
[19:42] <jam> I don't know if we actually *do* yet
[19:43] <jam> but we have a index specifically on path => id
[20:40] <bendj> The examples @ 'bzr ignore --help' provide two different options (http://pastebin.com/Taqi035Z) for the same goal ("Ignore .o files under the lib directory").
[20:41] <bendj> Do those two _really_ do the same thing?
[20:43] <maxb> One is a glob, the other a regular expression. I would imagine that is what the examples are demonstrating
[20:50] <TresEquis> Python turns the glob into a regex under the covers for you
[20:59] <bendj> maxb: ANy hints as to where the use of "RE:" is actually documented?  I'm searching the latest/en/user-reference/... docs, and have yet to find it.
[21:00] <bendj> ah, nm ... under "Patterns" ...
[21:35] <ctrlsoft> jam: thanks
[21:35] <ctrlsoft> jam: removing all ID.children references sped up the imports a lot
[21:35] <ctrlsoft> jam: the main bottleneck now is add_inventory_by_delta()
[21:36] <jam> ctrlsoft: my main guess is the inefficiency is that we have do deserialize the old stuff repeatedly, since we get new CHKInventory objects that don't know about the old ones
[21:42] <ctrlsoft> jam: well, I'm quite happy with the improvements so far
[21:43] <ctrlsoft> jam: combined with some cache fixes this should bring down the kernel import time from > 4 months to ~5 hours :-)
[21:43] <jam>  that is fairly significant :)
[21:47] <idnar> heh
[22:42] <jardern> Anyone have experience with TortoiseBZR on WinXP64?