=== BasicMBP is now known as BasicOSX [11:54] question on how bzr handles history and binary objects - let's say i have a repo where someone committed 100 jpgs in the first commit and it takes an excessively long time to clone. now, many commits later, if we bzr rm those jpgs, will the main branch still take ages to pull from LP? [12:03] achiang, it will for the first time, yes [12:03] achiang, they are there forever and ever* [12:04] *unless you do something icky like rebase and break compatibility with existing branches [12:04] beuno: are there any tricks i could play? [12:04] hm [12:04] rebase [12:04] yeah [12:05] can you bzr pull without grabbing all the history, perhaps? [12:06] maybe something related to "shallow" ? [12:06] achiang, I don't believe partial history was ever implemented [12:06] maybe a lightweight checkout [12:06] maybe [12:07] does bzr even have rebase? [12:07] bzr help says no [12:07] not by default [12:07] not built in [12:07] there's: http://wiki.bazaar.canonical.com/Rewrite [12:07] bzr-rewrite [12:08] achiang, keep in mind once you rebase, all existing branches out there are incompatible/unmergeable [12:08] ugh, yeah [12:09] it might be better to do a rebase and then create a brand new branch [12:09] * beuno nods [12:09] beuno: but what if the existing branches out there are only "leaf" branches... that is, i do not expect any incoming MP's from them? [12:09] achiang, then it shouldn't matter [12:10] they won't be able to pull anymore without doing something like --overwrite [12:10] beuno: could an existing leaf branch still successfully pull from lp:project ? [12:10] ah [12:10] a one-time --overwrite for the 1 or 2 people with the branch [12:10] yeah, all the answers around this are going to to suck :) [12:10] * beuno nods [12:11] if it's a small amount of people, it's manageable [12:11] changing the branch name isn't fun either [12:11] we actually have more consumers of that [12:11] achiang, well, if you create a new branch, LP maps whatever to lp:projectname [12:11] so I think that would be fine [12:11] (but they have ephemeral environments and do brand new pulls every time) [12:12] oh, that's interesting [12:12] lp:projectname is a symlink, in that sense [12:12] got it [12:12] so i currently have 'trunk' and lp:project maps to trunk [12:13] if i were to create say... trunc, i could remap lp:project to trunc? [12:13] could i then delete trunk [12:13] well, you have ~someteam/someproject/trunk [12:13] and rename trunc => trunk? [12:13] yes [12:14] (the trunc is short for truncate, which is what i want to do with those jpegs ;) [12:14] puns! everywhere! [12:16] * beuno regrets helping [12:16] boo [12:21] so this is interesting [12:22] the giant blobs were all added in literally -r 1 [12:22] but nothing else from -r 1 has survived over time [12:22] so i wonder if that means my rewrite command will be easier, since nothing from that bad commit even remains anymore [12:25] achiang, yeah, it may be easier to rewrite and chop off the first commit [12:26] how do i install this plugin? [12:28] note that everyone still needs to reclone [12:28] bob2: noted [12:29] achiang, IIRC, you throw it in ~/.bazaar/plugins [12:29] just branch it in there [12:29] ah, ok [12:32] achiang: please be warned that bzr-rewrite is a little bit rough around the edges [12:32] jelmer: define "rough" ? [12:34] achiang: its UI is a bit clunky, and there there are some open issues around how it rewrites branches [12:34] mmm... [12:36] now that i've discovered that -r 1 is my bad commit, perhaps i should restate my question/problem: how might i clone a bzr branch with everything *but* the first commit? [12:36] or Nth, commit, since in reality, i want everything from -r 4 onward [12:37] achiang: there isn't really a way to do that [12:38] you can do a lightweight checkout or a stacked branch to work around it [12:38] the revision will still be in your history, it just won't be pulled down to your local disk [12:38] maybe i'll just experiment with rewrite for a bit and see how far it gets me [12:45] o/ jelmer [12:45] hey beuno! [12:45] jelmer: so briefly, what would the syntax of bzr rebase be here? i'm trying to grok the help you wrote but it's not clicking. [12:45] beuno: long time no see - how are things? [12:46] achiang: you probably want something like run "bzr replay -r2..-1 /path/to/original/branch" from a newly inited branch [12:47] jelmer: will things get screwed up if i'm inside a repo? [12:47] jelmer, things are good! busy busy busy, so that doesn't seem to change over time :) You? I heard rumours you moved to London voluntarily [12:48] achiang: no, it will not change any existing revisions - just add new ones [12:48] jelmer: ok, thanks. i'll give it a shot [12:48] beuno: :) What are you hacking on these days? [12:48] beuno: I did indeed, working very close to the old C offices :) [12:49] jelmer, as good of a view? I'm doing a bit of everything nowadays, but the Ubuntu click appstore is probably the most exciting one [12:50] beuno: It's pretty much impossible to beat that view. :-) [12:50] beuno: Cool - that's the mobile side of things? [12:51] jelmer, well, it's the future of everything! but currently works best on phones and tablets, yes [17:54] Hello ! [17:54] Is there a way to search in log messages ? [17:54] ychaouche: yes, bzr-search [17:54] thanks jelmer === zyga_ is now known as zyga-remote