/srv/irclogs.ubuntu.com/2008/01/14/#bzr.txt

mtaylorabentley: so, I spoke with a friend of mine who runs email at uc berkeley... they just recently did some turbogears email integration work, so I wanted to see what they did for addresses00:00
mtaylorturns out, they analyzed a bunch of addresses they had in the system (about 1.5 million)00:00
mtaylor(you are right - there is no specced length limit)00:01
mtaylorbut _most_ of the email addresses were in the 30 char length and the really long ones were about 6000:02
mtaylorso they set it at about 150 chars and decided that if anyone with a longer address wanted to do anything they would just laugh at them00:03
=== spiv_ is now known as spiv
mtaylorthe link to the bzr repos on http://bazaar-vcs.org/QBzr is wrong - it should be either http://bazaar.launchpad.net/~qbzr-dev/qbzr/trunk/ or lp:qbzr01:42
mtaylorbzr branch https://launchpad.net/qbzr01:42
mtaylordoesn't even partially work01:42
=== jamesh__ is now known as jamesh
* igc lunch02:23
sechastainthere are coding standards for bzr, right?02:34
Peng_They're in the HACKING document.02:35
Peng_http://doc.bazaar-vcs.org/bzr.dev/en/developer-guide/HACKING.html02:35
Peng_Or doc/developers/HACKING.txt in the source, I think.02:35
sechastainthat's it02:35
sechastainthanks02:35
lifelessspiv: ping; can I nag you to review my breadth first search patch; its a dependency on 'more-find-ghosts' that you already tweaked.03:01
lifelessspiv: piong03:56
pooliehi lifeless03:57
cr3how can I revert a commit on many files?04:01
pooliebzr revert FILE ...04:01
sechastainuncommit04:01
poolieor bzr revert DIR04:01
poolieunless maybe you want uncommit instead?04:01
cr3poolie: yeah, uncommit would be awesome... checking manpage04:02
spivlifeless: ok, I'll do that now04:02
cr3first time I use this feature, absolutively cool!04:02
Peng_cr3: If you've already pushed, don't uncommit.04:10
cr3Peng_: thanks for the warning, but I was safe04:12
Peng_:)04:12
lifelessI poolie04:18
hacklberryif i want to use bzrsvn against svn 1.4.6 do i still need to apply the patch to the svn python bindings as described on the bzr homepage wiki? (i know i can look at the diff myself and figure that out, so just in case someone knows from top of their head...)04:20
fullermdNo, you lifeless.04:20
mtaylorhacklberry: well, it'll work without the patch, but the memory leak may hit you if the svn repos is really big04:20
mtaylorhacklberry: but I've been using it against svn for a while without problems (except for the memory leak)04:21
fullermdEr, AFAIK, the stock 1.4.x bindings won't work at all without the patch.04:21
Odd_BlokeI poolie?04:21
mtayloroh04:21
mtaylornevermind then... don't listen to me04:21
hacklberrymtaylor: thanks for the info, does the mem leak depend on the size of the whole svn repo or the size of a module one want's to work with?04:23
mtaylorhacklberry: depends on how you are branching it04:23
mtaylorhacklberry: I, most of the time, do bzr svn-import to get a bzr repos of the svn repos04:24
mtaylorhacklberry: at times, this takes a very, very, very long time04:24
hacklberrymtaylor: thanks04:26
mtaylorhacklberry: sure. but also fullermd is probably right about the patch - he's smarter than I am04:26
mtaylor:)04:26
mtaylorso ignore me about that04:26
fullermdOh, great, now my ego is gonna strut around all day....04:27
fullermdWe may be talking about different patches.04:27
fullermdThere IS a memory leak patch that prevents it from going out the window and down the road on big things.04:27
fullermdThat's not strictly _necessary_, especially if you have a small repo, but it's still a good idea.04:27
fullermdBut there's also a giant mega-patch that you _need_ with 1.4.x bindings, because they're useless, which I think basically updates them to 1.5.x bindinds.04:28
hacklberryfullermd: just for reference i was gibbering about this patch: http://samba.org/~metze/subversion-1.4.0-metze-python-bindings.patch04:34
jelmerhacklberry: yes, you will still need to update the patch if you are on subversion 1.4.x04:35
jelmerunless your distributions ships its packages with it04:35
jelmerDebian and Ubuntu do04:35
mtaylorah04:37
mtaylorthat's why I'm working fine "without" the patch04:37
* mtaylor doesn't understand people who don't use debian/ubuntu04:38
fullermdLinux?  That thing is still around?   :p04:38
mtaylorhehe04:38
* TFKyle doesn't understand people who do use ubuntu :P04:38
jelmerThe memory leak fix is not included in the Debian/Ubuntu packages yet04:39
* mtaylor stabs TFKyle in the eye04:39
hacklberryjelmer: thanks. OT:(huh distirbution - what's that :-) ? slack base here, the rest rolled from sources...04:39
jelmerbut will be included in the next upload to sid (and first import from sid from ubuntu)04:39
TFKyleubuntu's good though, they applied one of my patches for a while04:39
* mtaylor would be happier if he could figure out how to go through the dev process on either debian or ubuntu... 04:39
mtaylorbut I guess I haven't sacrificed goats in the right places yet04:40
* TFKyle typically uses gentoo, have ubuntu and a few BSD's installed in vmware though04:41
mtaylorthere are some times when it seems that after a branch I don't have a pull location set automatically04:42
mtayloris that just me being wrong, or are there times when that's true?04:42
jelmermtaylor: it'll only remember the branch location if there was none set previously or if you specify --remember05:03
mtaylorjelmer: so when I make a fresh clean branch, it _should_ remember the pull location, right?05:03
jelmerit may actually be set to the location you branched from by default05:04
jelmercat .bzr/branch/branch.conf05:04
lifelessok, Repository.get_parent_map is working05:06
lifelessshoud gzip the content I think though05:06
hacklberryjelmer: i installed svn 1.5.0 (dev build), but when i run 'bzr selftest svn' i got: bash-3.1$ bzr selftest svn05:40
hacklberrytesting: /usr/bin/bzr05:40
hacklberry   /usr/lib/python2.5/site-packages/bzrlib (1.0.0 python2.5.1.final.0)05:40
hacklberryERROR: bzrlib.plugins.svn.tests.test_branch.WorkingSubversionBranch.test_create_checkout05:40
hacklberry    _get_global_config() takes exactly 1 argument (4 given)05:40
hacklberry[10/722 in 4s, 1 errors] bzrlib.plugins.svn.tests.test_branch.WorkingSubversionBranch.test_create_checkout_lightweight                                                                Segmentation fault05:40
abentleylifeless: Perhaps even bzip?  Probably lots of redundancy in revision ids.06:18
spivabentley: bzip is a pretty large leap in processing cost, IIRC.06:27
abentleyspiv: Sure, but on today's hardware, it could still be very cheap.06:30
spivYeah.  Worth experimenting with.06:30
spivI'm guessing in the context of ~64k of graph data it won't be worth it, but that's purely a guess :)06:31
abentleyIs it going to be 64K compressed or uncompressed?06:32
spivabentley: good question ;)06:33
spivabentley: lifeless just posted (and I just reviewed) a smart method that just does 64k uncompressed.06:34
fullermdbzip2 is awful slow.  zlib's a lot faster, and will probably get you enough of a saving to not notice the difference on less than a couple megs...06:39
brilliantnuthi anybody knows about 1.1?07:27
AfCbrilliantnut: are you subscribed to the bazaar project mailing list?07:27
brilliantnutno, only to announce07:28
brilliantnutbut I keep browsing thru  those archives for info on 1.1, did I miuss something?07:30
AfCbrilliantnut: Martin wrote a ... oh, damn. Well, whatever07:33
lifelessabentley: 64 on the wire is my current 'sweet spot' for requests07:48
lifelessabentley: so if we compress it, ~64k compressed07:48
lifelesswith 64k uncompressed we do 4 round trips to get those 100 commits07:49
lifelessspiv: thanks for the reviews; I'll reply to the tomorrow morning. Some stuff I agree with, some I don't :)07:49
lifelessspiv: in particular, I want the tests for the two variants of the searcher protocol to be single units; to avoid skew being added by one-or-other tests;07:50
* igc dinner08:05
rjekIs there a place I can branch the current release version from?10:07
rjek(ie, not http://www.bazaar-vcs.org/bzr/bzr.1.0/ but something like http://www.bazaar-vcs.org/bzr/bzr.current/)10:08
Lo-lan-doIf you do that, then you'll be left out with a diverged branch when a new version is published.10:09
rjek(pref. one I can fetch with 0.90 :)10:09
rjekWhich is the issue I'm wanting to solve.10:09
rjekie, when a new release is made, I can just bzr pull.10:09
Lo-lan-doYou can't do that, since each release comes from a different branch.10:10
datorjek: s/current/dev/, but you need 0.92 for that10:10
fullermdReleases aren't cut from the trunk, they're cut from their own branches.10:10
datoah10:10
datoI misunderstood rjek10:10
rjekThat's a shame.  OK.10:10
fullermdWell, I imagine he misunderstands himself too   ;)10:10
* dato releases his stuff from $project.stable10:10
fullermdWhy do you want a release branch instead of trunk?10:10
lifelessrjek: http://bazaar-vcs.org/bzr/bzr.0.92/10:10
rjeklifeless: I'm fetching bzr.dev.knits atm.10:11
rjek(which 0.90 can grock.)10:11
lifelessrjek: the url I gave will give you 0.92, and 0.92 can grok it10:11
lifelesssorry, 0.90 can grok it10:11
rjekI know.10:11
Odd_Blokebzr.dev is normally pretty solid, so I run from that in most places.10:12
rjekBut if it's suggested that I go for bzr.dev, is bzr.dev.knits not just bzr.dev except in the older format that pre-0.92 versions can read?10:12
fullermdYes, it is.10:12
Odd_BlokeAnd possibly a few hours out of date.10:12
rjekRight, I'll get that then.  Going via an intermediate version is a faff. :)10:12
* fullermd is still pulling the .knits variant.10:12
lifelessrjek: yeah, we try to allow reasonable overlap for folk10:13
lifelessbut we do keep finding things we can do better10:13
fullermdAw, bzr.dev.as.weaves isn't around anymore?  Shucks...10:13
lifelessfullermd: we're not masochists10:14
fullermdI'm sure there's evidence to the contrary in the code still   :p10:14
brilliantnutpoolie: would you have any idea of what happened to the 1.1 release of bazaar that was scheduled on 11th Jan?10:21
pooliebrilliantnut, yes, i've just been delayed in making it10:22
poolieshould be out tonight10:22
poolieit will have no substantial changes from 1.1rc110:22
datopoolie: it is very minor, but 1.1 still claims pack-0.92 is experimental. http://bundlebuggy.aaronbentley.com/request/<20080114093341.GA6173%40chistera.yi.org>10:22
* rjek wishes to upgrade as 0.90 is painfully slow for even the most trivial of tasks.10:22
brilliantnutok. Thanks :) I've been waiting for 1.1 since ages.10:23
datowell10:23
datopoolie: er, well, never mind really, because with pack-0.92 being default, it won't show under "experimental formats" in `bzr help formats`, I just realized of that.10:24
dato(so it only affects rich-root pack)10:24
pooliebrilliantnut, do you mean since december?10:24
poolieor were you waiting for 1.1 because you don't use 1.0 releases? :)10:24
brilliantnutyeah,10:24
brilliantnutno, we tried out 1.0, and found that it was missing something for our particular situation10:25
fullermdI don't trust 0.9x releases.  I've been waiting for 0.19 forever   :|10:25
pooliebut it's fixed in 1.1?10:25
pooliethat's good10:25
brilliantnuttalking to jelmer here helped us understand that there was a patch going in which would solve our problem.. spiv was making that patch.10:26
brilliantnutso, we have been waiting for 1.1 since then..10:26
Odd_Blokespiv: No pressure. :p10:26
brilliantnutWe had scheduled time on Saturday to migrate from CVS to bzr 1.1 :(10:26
brilliantnutyeah, spiv, no pressure.10:26
awilkinsAre we discussing the reason that the replay branch doesn't work with a 1.0 client (KnitRepository error?)10:26
awilkinsIs KnitRepository the bit that handles branches of differing format versions?10:27
poolieKnitRepository is a set of imprementations10:28
poolieum, i'd have to see the bug or error msg10:28
awilkinsJapanese implementations :-) ?10:28
awilkinshttps://bugs.launchpad.net/bzr/+bug/18280310:28
ubotuLaunchpad bug 182803 in bzr "Replay branch appears broken" [Undecided,New]10:28
ubotuNew bug: #182803 in bzr "Replay branch appears broken" [Undecided,New] https://launchpad.net/bugs/18280310:30
rjekWhat does "bzr: ERROR: Cannot convert to format <RepositoryFormatKnitPack1>.  Does not support rich root data." mean when doing bzr upgrade?10:35
Peng_rjek: What format are you currently using (bzr info)?10:39
rjekbzr info doesn't say, but I believe it's knits.10:40
fullermdCheck the first line of output.10:41
Peng_rjek: You're using a rich-root or subtree format, which includes metadata that non-rich-root formats like pack-0.92 don't support. Try upgrading to rich-root-pack.10:41
rjekAh, yes: dirstate-with-subtree10:41
rjekWhat is a rich root, anyway?10:42
Peng_rjek: Try rich-root-pack, then.10:42
rjekbzr: ERROR: Cannot convert to format <RepositoryFormatKnitPack4>.  Does not support nested trees10:43
rjek:)10:43
Peng_rjek: pack-0.92-subtree then.10:43
Peng_rjek: Older formats didn't store any information about the root directory of the branch. Rich root formats do.10:43
rjekOK, pack-0.92-subtree works, although I have no idea what it means, and the option appears to be undocumented in "bzr help upgrade"10:44
Peng_rjek: Yeah. Subtrees are kind of experimental, so they're hidden.10:45
Peng_rjek: Rich roots were invented as something between the regular formats and subtree formats that wasn't experimental.10:45
rjekAnd what is a subtree?10:46
Peng_rjek: With rich roots, you can use bzr split and join (make a directory in a branch into its own branch, and vice versa).10:46
Peng_rjek: No idea. :) Something more advanced than that I guess.10:46
datoPeng_: no, split/join are with *subtree, not with rich-root alone10:46
Peng_Bah.10:47
Peng_What's the point of rich roots then?10:47
Peng_They're enough for bzr-svn.10:47
Peng_Why?10:47
fullermdBecause they store the root identity, which (AIUI) bzr-svn uses to keep from going nutbar coping with svn's soi-disant branching schemes.10:48
Peng_Heh, ok.10:48
awilkinsAnyone using the eclipse bzr support? Any good?10:53
brilliantnutawilkins: not yet.10:54
brilliantnutawilkins: I tried it out, but it doesn't support the full range of eclipse team tasks that cvs/svn does.10:55
jelmerI thought split/join worked with rich-root too11:22
jelmersubtree is for by-reference nested tree11:22
datooh11:25
datoPeng_: ^11:25
Peng_:D11:28
Peng_So subtrees are like svn externals?11:28
jelmerPeng_: Yep11:30
Peng_Ok.11:31
Peng_I think I finally understand the whole mess.11:31
Peng_Shouldn't rich-root-pack be named pack-0.92-rich-root?11:32
fullermdThat would blow our 2-dash budget...11:32
jelmerfullermd: (-:11:33
=== asac_ is now known as asac
fullermdHm.  added seems to be b0rked...12:25
Odd_Blokefullermd: !testcase ;)12:28
fullermdI'm more of an idea rat...12:28
glyphHello bazaarians ... what do you call bazaar users?  bzrkers?  Anyway, I've got bzr 1.0 and bzr-svn installed from debs, and I just checked out a pretty massive svn project.  It seems to be working great (although I haven't tried a "push" yet), but I'd really like to use a shared repository locally12:51
glyphunfortunately shared repositories seem to be incompatible with bzr-svn12:51
glyphcan someone explain how this could work to me?  I think I'm not understanding the vocabulary around how init-repository and formats work12:52
jelmerglyph: Shared repositories work12:52
glyphjelmer: Cool.  How do I do it? :)12:52
jelmeruse the format bzr-svn needs: bzr init-repo --rich-root-pack12:52
Odd_Blokeglyph: How did you create the sha... oh, jelmer will save the day. :)12:52
glyphjelmer: also, may I say, you are a god among men12:53
Odd_Bloke+112:53
glyphjelmer: Any chance you could make the error messages a bit more explanitory?  The fact that it talks about SubversionRepository and KnitRepository is a bit confusing - it made me think that the right thing to do was bzr init-repository --format subversion, which does... something else :)12:54
rjekheh12:55
jelmerglyph: The error is from bzr, not from bzr-svn unfortunately12:55
glyphoh, and also - I just spent like 3 hours checking out all 110MB of history; how can I convert this branch to use a shared repository without repeating that?12:55
glyphjelmer: sure, but I was assuming you could write patches for either :)12:55
Peng_glyph: bzr branch into the shared repo.12:55
jelmerglyph: Create the shared repository, then use "bzr branch" to clone that data into the shared repo12:55
jelmerglyph: True :-)12:55
glyphjelmer: OK, I was going to try that next12:56
glyphjelmer: also, I'm a little concerned about actually using "bzr push" to put stuff into the svn repository.  Should I be?  It seems to be working fabulously so far, but, uh12:57
jelmerglyph: Concerned about what specifically?12:58
Lo-lan-doI usually keep a bound branch for that12:58
glyphas far as I can tell it uses heuristics to determine what a "branch" is, and I'm not sure what the different URLs really mean to bzr.  Can I, for example, pull from an svn+ssh URL to a branch (a copy of /trunk, in /branches), then merge from that locally, then push to trunk, and get something in svn that looks about right?12:59
Lo-lan-do"bzr commit" commits both to bzr and svn, "bzr pull" from another branch does the right thing, etc.12:59
glyphLo-lan-do: "the right thing" seems a little scary.  For example, if you merge trunk into a branch, can svn still tell what's going on? :)13:01
=== mrevell is now known as mrevell-lunch
Lo-lan-doActually, the bzr "merge" operation does strange things.  I usually keep to pull and push.13:02
glyphare you using bzr-svn for read-only operation?13:03
Lo-lan-doNo13:03
glyphpresumably "pull" won't work sometimes, if you have conflicts13:03
Lo-lan-doBut I don't do advanced branch stuff in bzr.13:03
Lo-lan-doFor the few non-svn branches I have, I usually rebase before pulling into svn.13:03
glyphrebase?13:04
glyphPardon, I'm still a bit of a bzr newb13:04
Lo-lan-doIt's another plugin13:04
glyphI'm playing with bzr-svn because it looks like it's finally getting to the point where I can do real development in bzr without actually disturbing any of the projects I work with (in svn)13:04
Lo-lan-do(Still one of jelmer's though :-)13:04
* glyph reads the package description13:05
glyphI have no idea what this means :)13:05
Lo-lan-doIt takes all the revisions you've committed since your branch diverged, then applies them on top of the tip of the remote branch and commits them back.13:05
Lo-lan-doSo the history stays linear, and you can pull your branch into the svn one13:05
glyphhmm13:06
glyphLo-lan-do: I *think* I know what you just said13:07
glyphactually no I don't.13:07
Lo-lan-doIt's still not optimal, but that's what you get for using SVN :-)13:07
glyph"applies them on top of the tip"13:07
glyphdiverged from ... what?13:07
Lo-lan-doOkay.  Assume a branch, that we'll call trunk, with revisions A, B, C and D.13:07
Odd_Blokeglyph: If you diverge from trunk, rebase takes your fork of the branch and reapplies it to HEAD.13:07
Lo-lan-doAssume another branch, called foo, started from trunk at point C.13:08
glyphOdd_Bloke: I think I like where Lo-lan-do's explanation is going ;)13:08
Lo-lan-doYou commit E and F on top of foo.13:08
Odd_Blokeglyph: ^_^13:08
Lo-lan-doC is the last common ancestor for the branches, right?13:08
glyphLo-lan-do: Yes, this makes sense13:08
glyphLo-lan-do: It's helpful to use letters rather than numbers, because svn has given me nearly irreparable brain damage in this regard ;-)13:09
Lo-lan-doBut you can't pull foo into trunk, because there's one rev on trunk not in foo (D)13:09
glyph(I have to keep repeating to myself, "directed graph of revisions" over and over again just so I don't start hemmorhaging blood out of my brain when I type "bzr branch")13:09
Lo-lan-doSo what you do is rebase foo on trunk.13:09
Lo-lan-doWhat "bzr rebase ../trunk" does is this: it uncommits E and F, then pulls D, then re-applies E and F on top of D.13:10
glyphLo-lan-do: OOoooooohhh...13:10
Lo-lan-doOf course, since D changed the tree, what it actually commits is E' and F', with slight changes.13:10
Odd_Blokehttp://paste.pocoo.org/show/21271/ is my attempt to outdo Lo-lan-do. :D13:10
glyphLo-lan-do: So this is trunk in SVN and foo in bzr13:10
Lo-lan-doOdd_Bloke: I think you got it wrong13:11
Odd_BlokeLo-lan-do: How so?13:11
glyphLo-lan-do: this is _seriously_ awesome.13:11
glyphLo-lan-do: Does this, or can this work with branches in svn as well?13:11
Lo-lan-doglyph: Note you can get conflicts during rebasing, obviously, if D conflicts with E and/or F13:11
spivglyph: the downside of rebase is that it throws away history13:12
glyphLo-lan-do: for reference, here is what we do right now, without bzr, to do what would be in a bzr repository a straightforward merge from trunk: http://www.divmod.org/trac/wiki/MergedForward13:12
glyphspiv: you know me.13:12
glyphspiv: I _LOVE_ throwing away history.  So much.13:12
Lo-lan-doI use trunk as a branch bound to SVN13:12
spivglyph: it generates a new history, but anyone who branched off your branch will be in a bit of a mess.13:12
Lo-lan-doOdd_Bloke: Missing primes, and/or wrong ordering13:12
glyphspiv: Oh.  That is unfortunate.  I guess they could rebase as well but it would cause them some pretty severe suffering.13:12
spivglyph: no worse than keeping the same sort of branches-of-branches in plain SVN (which keeps no history in this sense at all, at least not in any useful way)13:13
glyphbranches-of-branches in SVN is just not worth the trouble13:13
glyphthe math required to not kill yourself is too hard for any human being to od13:13
Odd_BlokeLo-lan-do: OK, you win. :p13:14
glyphspiv: I am starting to think of experimentally developing a few Twisted or Divmod branches in bzr13:14
glyphspiv: Trying to think about the best way to go about that so as not to be overly disruptive.  I am very excited right now because it looks like as of 1.0 and the matched release of bzr-svn, it's actually up to the task13:15
spivbasically, if you have a branch off F with revision G, and do the rebase Lo-lan-do described, you suddenly have two branches with different revisions making very similar changes.13:15
glyphspiv: It seems like the best way might just be to keep trunk in SVN, and push bzr branches elsewhere13:15
spivSo you're risking messy conflicts, as I'm sure you can imagine.13:15
glyphspiv: yes13:15
Lo-lan-doglyph: I've documented a setup I have on http://mail.gnome.org/archives/f-spot-list/2008-January/msg00035.html13:15
Lo-lan-doI don't do any rebasing in there, only merges, but that's not a problem since I don't have commit access to SVn anyway :-)13:16
spivLo-lan-do: ooh, you do f-spot dev with bzr?  I made a checkout of that with bzr-svn to start hacking on a bug I found, but never played with it much...13:16
glyphLo-lan-do: *perfect*!13:16
glyphOK now I'm getting too excited.13:16
spivLo-lan-do: but I still want to fix that bug :)13:16
Lo-lan-dospiv: I do, but only locally.13:16
* spiv reads13:16
Lo-lan-dospiv: Fix the bug, submit a patch to Bugzilla, and tell me the number so I'll create a new branch with it, and merge it into my superpatch branch13:17
glyphSqueeeeeeeee13:17
glyphOK I guess I need to propose this on the mailing list13:17
Lo-lan-do(I'm currently tracking 14 patches :-)13:18
glyphHmm13:20
glyphThe main reason I need to push to svn branches is to avoid disrupting our review process13:20
glyphoh right, now I remember other problem with using bzr here - when I push to trunk in svn, I want to destroy as much history as possible :)13:24
glyphLo-lan-do: let's say I do13:24
glyphbzr get svn+ssh://.../trunk; bzr branch trunk foo; cd foo; bzr commit; bzr commit; bzr commit; bzr push ../trunk; cd ../trunk; bzr push13:25
glypham I going to get 3 revisions in trunk, or 1?  It's important to me to be able to reduce that to 1 somehow13:25
glyphin the absence of SVN being able to understand that this is a single logical "merge" operation, our release manager is going to want to look at a log of trunk and see only one revision for each merge13:26
luksif you merge foo to trunk, instead of pushing foo to trunk, you will get only one13:26
Lo-lan-doWhat luks said13:27
glyphluks: Interesting13:27
glyphluks: That is pretty much exactly what I want13:27
luksbzr will still all of them, but svn only the merge13:27
lukser, still see13:27
glyphluks: "(08:02:51 AM) Lo-lan-do: Actually, the bzr "merge" operation does strange things.  I usually keep to pull and push."13:27
glyphluks: That worries me though ;)13:27
Lo-lan-doI think it does strange stuff when you merge from svn into bzr, then pull(or push) the result into svn.13:28
luksLo-lan-do: what kind of strange things?13:28
luksI practically use bzr-svn only for merging svn branches, and it always worked fine for me13:29
Lo-lan-dosvn sees a series of commits based not on D but on C (from my earlier scheme)13:29
luksif you merge, it sees only one commit13:30
luksas it pushes only the mainline13:30
glyphluks: is this documented somewhere?13:30
luksnot sure, but bzr-svn will push always only the mainline commits13:31
Lo-lan-doYeah, but if you merge from svn into bzr and then pull the result into svn again... you get surprises.13:31
luksthat is, the non-indented ones from bzr log13:31
luksLo-lan-do: pull into svn?13:31
luksyou mean push?13:31
Lo-lan-doWhichever13:32
Lo-lan-do(I pull into a branch bound to svn)13:33
luksoh, I can see how that causes problems13:34
luksbecause pull can change the mainline13:34
luksbut I personally wouldn't pull to a svn checkout13:34
bialixhi guys13:34
bialixI can't find 1.1 branch. Is it not public (yet)?13:35
glyphluks: hmm13:35
luksLo-lan-do: push to the svn branch would complain about diverged branches13:35
glyphluks: what if I'm working in a bzr branch, and I want to merge in the svn trunk?13:35
glyphhere's what I would think would not give me any surprises13:36
luksbzr branch svn+ssh:// trunk; cd ..; bzr branch trunk foo; cd foo; bzr ci; cd ../trunk; bzr merge ../foo; bzr ci -m 'Merged foo'; bzr push13:37
luksthis should work without any surprises13:37
luksoh, you might want to add 'bzr pull' before the merge, to avoid the need for rebasing13:37
glyphbzr branch svn+ssh://.../trunk; bzr branch trunk foo; cd trunk; bzr pull; cd ../foo; bzr merge ../trunk; bzr ci; edit stuff; bzr ci; cd ../trunk; bzr merge ../foo; bar ci; bzr push;13:37
glyphhah, cool13:38
glyphI *think* we said the exact same thing13:38
luksyou usually don't need the 'bzr merge ../trunk' step13:39
luksunless you have a long lived branch and you want to sync it with trunk13:39
glyphluks: that's exactly the case I'm thinking about13:39
Peng_bialix: It may not be on Launchpad, but http://bazaar-vcs.org/bzr/bzr.1.1/13:39
=== Peng_ is now known as Peng
luksbut either way, this should work fine13:39
luksjust don't do: cd trunk; bzr pull ../foo; bzr push svn+ssh://...13:40
luksor the other way around: cd foo: bzr push --overwrite ../trunk13:41
glyphluks: OK.  *That*, I definitely don't want to do :)13:41
glyphluks: as I understand it, pulling and pushing generate multiple mainline revisions, which is exactly the case I don't want13:41
luksyes13:41
glyphluks: am I phrasing that properly?13:41
luksI think it's better to think of it in terms of mirrors13:42
luksbzr push/pull will mirror a branch13:42
spivglyph: "generate" is a misleading verb for that, I think13:42
licornahi13:43
glyphI really need a version of bzr-gtk that works with 1.0 so I can visualize this :(13:43
spivglyph: the "new" revisions already exist in another branch, no new revisions are made.13:43
brilliantnutglyph: bzr-gtk dos work with 1.013:43
glyphbrilliantnut: Oh?13:43
* glyph looks at a webpage13:43
glyphoh, so it does13:43
glyphI guess I'm just waiting for debs then13:44
Lo-lan-doThey are in sid13:46
bialixPeng_: thanks13:46
glyphLo-lan-do: I'm using gutsy13:46
glyph(and and bazaar-vcs.org's gutsy repository, and jelmer's personal unstable repository)13:46
lukshttps://launchpad.net/~bzr/+archive13:47
luksit seems to have 0.93 for gutsy13:48
glyphhuh13:48
glyphgood to know13:48
=== mrevell-lunch is now known as mrevell
glyphluks: should I get rid of those other two repositories I just mentioned and go from PPA instead?14:03
jelmerafaik the ppa is not actively maintained14:05
glyphI guess I'll just download the one deb I want :)14:07
glyphhmm14:08
glyphman, I love gdebi14:08
glyphthe experience of clicking on a web page and getting an "install" button is just awesome14:09
licornaif I want to make a local branch and push it to a central location, in this 'central location' is not necesary that bzr is installed, right=14:28
licorna?14:28
licornajust need a ftp server?14:28
LeoNerdIndeed; anything that can host files in some way is sufficient.14:29
LeoNerdsftp and http work well14:29
rjekYou can push to http?14:29
rjekActually, I meant to ask that: can bzr use HTTP PUT to push to http:// URLs?14:29
licornadon't know. i'm new14:30
ubotuNew bug: #182849 in bzr "bzr bind to unknown host causes internal error" [Undecided,New] https://launchpad.net/bugs/18284914:30
licornahow to use a non standard port in sftp (I'm using port 21 for firewall issues)14:34
licorna??14:34
licornaI mean, bzr push sftp://...14:34
Lo-lan-doDeclare it in your .ssh/options file?14:34
Lo-lan-doOr maybe sftp://foo:21/path14:34
=== cprov is now known as cprov-lunch
licornaOh, you're right, thanks14:35
Odd_Blokelicorna: For reference, which suggestion was correct?14:47
Lo-lan-doBoth, I suppose :-)14:55
arne^hello, I'm trying to use bzrlib in a python script. I was able to figure out how to do things like bzr init, add, commit but I'm stuck with a way to do bzr cat for old revisions (working on a local workingtree). Can anybody give a pointer where to look?14:55
rjekOooh, that reminds me: are there C bindings to bzrlib so I can call it from C programs, and easily bind it to other languages?14:59
ubotuNew bug: #182856 in bzr "Error 2 during merge resulting in many conflicts" [Undecided,New] https://launchpad.net/bugs/18285615:01
luksarne^: tree.get_file_text(file_id)15:07
luksand tree.path2id(path) to get the file_id15:07
wingocongrats on 1.0 :)15:19
wingoquestion.15:19
=== abadger1991 is now known as abadger1999
wingodo by-reference nested branches work yet?15:20
jelmerwingo: They're still an experimental feature15:21
jelmerand will only work with the various -subtree formats15:21
wingook15:21
=== cprov-lunch is now known as cprov
rjekOther than the speed issue, there's only been one issue I've had with my migration to bzr, and that's the apparent constant changing of the on-disc format. :-/15:26
rjekOh, and the lack of ability to do what I want authentication-wise, but Kinni's looking into that for me :)15:26
lukswhy is changing of the format bad?15:28
jelmermaybe bzr should just do as some other vcs'es do and upgrade silently between on-disc like some other VCS' do :-)15:29
luks*cough*git*cough*? :)15:30
rjekluks: Because it's a ballache when you don't have a smart server to abstract the differences.15:30
arne^luks: thx, but I'm having problems to get a tree which represents the correct revision ...15:34
luksrepository.revision_tree(revision_id)15:34
arne^repository can be a local working copy?15:35
luksno, tree.branch.repository15:35
luksif 'tree' is a working tree15:36
arne^ah, ok, I will try it. thank you15:36
=== mw__ is now known as mw|brb
ubotuNew bug: #182899 in bzr "reconcile must be run in a branch root" [Undecided,New] https://launchpad.net/bugs/18289916:36
=== mw|brb is now known as mw
arne^luks: my code is working now, thanks for your help!17:11
luksyou're welcome :)17:13
=== brilliantnu1 is now known as brilliantnut
ekimushmm can I somehow place Revision Identifiers in the source (looking for a substitute of subversions $Date$ $Author$... - svn:keywords) - or do I want something completely different like a custom plugin or hook?18:34
ekimusok I just found the specs about KeywordExpansion, sadly "Implementation branch: none yet" - well I'll wait :)18:44
fullermdekimus: The current solution is using 'version-info' in your build script to stuff the version somewhere.18:44
fullermd(or some similar mechanism; I do some sed'ery in one project to stick bits in a header file)18:45
ekimuswell I guess we can live without that, since I carefully set up trac with hooks to react on commit messages a year ago so far they haven't used it. guess they can than live without svn:keywords too...18:54
fullermdOf course, now that you've said that, there'll be a peasant uprising tomorrow demanding keywords.19:00
* brilliantnut wants keyword expansion19:02
* fullermd does too. And a pony.19:04
* beuno points to Canonical's owned pony, Woody19:05
beuno(yes, the secret is out)19:06
brilliantnutCanonical has a pony?19:11
brilliantnutwhich project?19:11
beunobrilliantnut, they sponsor an actual pony19:12
fullermdSponsor?  What does it do, figure skate?19:12
beunobut I'm not a Canonical person, so I don't know much more then that and a some picture I got and used in slides as a "Why use Ubuntu"19:13
fullermdCome to think of it, I would *totally* pay to see a donkey do a double axel.19:13
beunolol, interesting, now we know where Canonical gets all that funding...   :p19:13
deepjoyfullermd: or a monkey do bzr checkout http://en.wikipedia.org/wiki/Infinite_monkey_theorem19:14
beuno"figure skating ponies"19:14
deepjoy:-)19:14
beunobtw, has anyone seen this: http://juliank.wordpress.com/2008/01/13/a-small-benchmark-bazaar-git-mercurial/19:16
beunobzr seems to loose on all tests19:16
beunowhich contradicts http://bazaar-vcs.org/Benchmarks/SpaceEfficiency19:17
lukswell, you know how benchmarks work19:18
fullermdYou pick up the computer, hold it at a carefully-chosen angle, let it fall, then measure the mark on the bench?19:19
brilliantnutspeaking of peasant uprisings, demanding stuff, rumour had it that 1.1 was about to be released today? *cough*poolie*cough*19:19
lamontis it possible to edit the commit message on the most-recent commit?19:21
luksbzr uncommit, bzr commit19:21
beunowell, I just added a comment, but maybe someone a bit more knowledgable should contact the guy19:21
minghuaHow to undo a merge?  I can revert all the files that are changed, but the "bzr status" still shows "pending merges".19:38
datobzr revert19:38
minghuadato: Ah, that works.  I must did something stupid last time I tried.  Thanks!19:42
abentleyminghua: reverting specific files won't clear pending merges.  You should do "bzr revert" with no arguments to clear pending merges.19:51
minghuaabentley: Yes, dato gave the same (although less elaborated) answer.  And it works, thanks!19:52
abentleyminghua: I saw, I just wanted to make it really clear.19:53
mtaylorstatik: where was it you were saying did the save-commit-messages already?20:56
statikmtaylor: qbzr20:56
mtaylorstatik: I looked in qbzr and didn't see it20:56
mtaylorstatik: I also didn't see a "save message and don't commit" button20:56
statikmtaylor: save_message() in commit.py. There is no button, it just works if you hit cancel20:57
mtaylorstatik: ahhh20:58
mtaylorstatik: ok. that's what I was missing. thanks20:58
elmohow fragile is bzr nested tree support right now?21:04
elmoI know there's a subtree format, but it (or publicizing it) seems relatively controversial21:04
elmoI don't care about performance, and I'm only dealing with local non-distributed branches21:04
mtaylorelmo: I don't believe nested tree support is ready-for-prime-time yet21:05
elmomtaylor: may-eat-my-data not ready?21:05
lifelesselmo: with larstiqs patch it might work21:05
mtaylorelmo: not-even-pushed-into-trunk not ready21:05
elmobother21:05
lifelesshi statik, guess what I'm going to ask you :)21:06
statiklifeless: :) sorry, don't have it yet, but it's still on the top of my todo list staring at me21:07
* lifeless adds an i to it21:08
mtaylorstatik: ok, found the code. thanks21:14
jampoolie: ping22:09
lifelessjam: hi22:13
lifelessjam: poolie is on some sort of call22:13
jamlifeless: yeah, I'm supposed to be on it with him22:13
pooliethat's why he was pinging...22:13
jamhe wasn't there yet :)22:13
lifelesspoolie: lol22:13
elmoLarstiQ: ping?22:34
LarstiQelmo: just-before-sleep pong22:34
elmoLarstiQ: can-wait-till-tomorrow-then22:34
LarstiQelmo: well, I'll hang around for a couple more minutes22:35
LarstiQelmo: ah hmm22:36
LarstiQelmo: depends on how actively you want to exercise it22:36
* LarstiQ hasn't spent time on it for too long though22:37
elmoLarstiQ: I'd just like to try it :)22:38
elmoLarstiQ: is there an easy way to get a patch that I might slap onto bzr 1.0?22:38
elmoor should I just suck it up and force your branch onto current bzr.dev?22:38
LarstiQelmo: I think there will be quite a lot of conflict resolving you'd have to do22:39
elmoLarstiQ: either way?22:39
LarstiQelmo: either way. You _could_ try playing with split/join as they are in 1.0, but in that case be sure to, in a given hierarchy, not have subtrees with the same name.22:40
LarstiQie, root/sub and root/sub/sub will give you problems.22:40
elmook, that shouldn't be a problem22:40
elmoLarstiQ: but, FWIW, if you cooked up a current bzr.dev or bzr 1.0 patch, I'd be happy to run on a bunch of servers and give you some real world testing22:41
elmo(if that'd be useful, if not, I'm happy to try just 1.0)22:41
LarstiQelmo: how early on would you want to do testing?22:42
elmoLarstiQ: how do you mean?22:42
LarstiQelmo: well, you could be comfortable with testing something I'd submit for bzr.dev inclusion but like some real world usage, but not earlier on when there are still bugs to iron out.22:43
elmoLarstiQ: if you're relatively confident bugs will be 'explode' bugs rather, than insidious non-obvious data corruption bugs, I'd be happy enough to test pretty early on22:44
LarstiQcool22:44
elmo'cos I can reset to last night's .bzr trivially enough22:44
LarstiQelmo: I'll certainly take you up on that then.22:44
elmoLarstiQ: neato22:45
elmotgabjs22:45
elmoerr, thanks22:45
* LarstiQ goes to bed now 22:45
dato23:34 <elmo> LarstiQ: can-wait-till-tomorrow-then22:57
dato23:35 <LarstiQ> elmo: well, I'll hang around for a couple more minutes22:57
dato23:36 <LarstiQ> elmo: ah hmm22:57
dato23:36 <LarstiQ> elmo: depends on how actively you want to exercise it22:57
datoI think my ctrlproxy lost a line there.22:58
elmodato: nah, larstiq just read scrollback to divine my intent22:58
elmodato: (we're talking about his nested trees++ branch)22:59
lifelessspiv: I have replied to your reviews, there is one open question about the value of _returning; I propose 'next' and 'next_with_ghosts'23:04
spivlifeless: that sounds fine to me23:05
=== jamesh_ is now known as jamesh
lifelesspoolie: jam: when do you want this call23:33
* igc breakfast - bbiab23:46

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