/srv/irclogs.ubuntu.com/2010/03/28/#bzr.txt

jelmermwhudson: hey00:13
jelmermwhudson: yep (-:00:13
wgrantIs there a way to invoke the 'bzr up' with local commits semantics without being bound?02:37
wgrantie. pull trunk and merge your current branch into it, in the one branch.02:38
PengI'm sure you could do something involving "bzr log -r -1 --show-ids", "bzr pull --overwrite" and "bzr merge . -r revid:...", but...02:43
wgrantRight, that's what it would have to do.02:44
idnarbzr rebase?02:44
idnarmaybe not02:44
james_wwgrant: I often want the same thing, but haven't wanted it enough to write the plugin to do it yet02:44
wgrantIt'd be a trivial plugin, but it would be nice to have it easily available for everyone. Since Git people tend to do the 'merge trunk into branch, push branch over trunk' thing, because AIUI git parents are unordered.02:46
wgrantAnd it would be nice to have a very similar bzr workflow which works unbound, and doesn't replace the mainline history.02:47
NfNitLoopwgrant: Yeah, I do that workflow, but I do it by always having a clean mirror of upstream handy to merge onto.03:11
wgrantSo do I.03:12
wgrantBut others don't like that requirement.03:12
jelmerwgrant: git parents are ordered03:24
jelmerwgrant: that'd be roughly equivalent to just bzr merge .../trunk  && bzr ci -m "Merge trunk" && bzr push .../trunk, no?03:25
wgrantjelmer: But that changes the LHS history.03:31
wgrantIf I bzr up on a bound branch, trunk's tip replaces mine, and my local commits show up as a pending merg.re03:32
KralnSo I have a crazy question. Why does a 150 line change cause more than 360mb of transfer? (repacking texts)03:40
Kraln(- 371561KB   114KB/s | Fetching revisions:Inserting stream:repacking texts:texts 6235/7200)03:40
jelmerwgrant: it also changes the LHS history in Git, except Git folks don't seem to care about LHS history..03:44
jelmerKraln: it would only take so much data every so often (bzr was repacking your repository apparnetly)03:44
Kralnthis was a tiny commit!03:44
Kralnit's up to 400mb of transfer for 100 lines of changes, if that03:45
wgrantjelmer: Ah, I see.03:45
jelmerKraln: Repacking happens every X commits or so03:46
Kralncan I disable that? this is a *large* repo03:46
jelmerKraln: another 100line change right now won't require that much data to be transferred03:46
jelmerKraln I think you can disable it but it'll slow down your repository access in the long run03:46
Kraln400mb of transfer on a dsl line means it's been hours to make this commit03:47
jelmerKraln: an alternative is to use the smart server rather than sftp, in which case the repacking will happen on the server side03:47
Kralnhow do I set that up?03:47
jelmeruse bzr+ssh rather than sftp03:47
Kralnthat's it?03:47
jelmerKraln: I think so03:47
wgrantAs long as you have a recent bzr on the server.03:47
Kralnit's 2.1 or whatever03:47
jelmerwgrant: that said, I'm sure we'd welcome a patch to use the merge revision as the first parent rather than the previous local head03:47
wgrantjelmer: Oh, so we could just switch the parents at commit time?03:48
jelmerwgrant: yeah03:50
wgrantjelmer: True. That sounds much easier.03:50
Kralnhttp://dpb.pastebin.com/LaiDv5U103:51
Kraln:|03:53
Kralnhmm, the folder on the server is empty03:54
Kralnnot feeling too peachy-keen happy with bzr at the moment03:55
NfNitLooptry pushing with just sftp?03:59
mgiucaHello,04:12
mgiucawgrant just sent me a recent chat snippet from here, about replacing the LHS history with bzr merge / push04:12
mgiucaVersus Git.04:12
wgrantHi mgiuca.04:13
mgiuca"< jelmer> wgrant: it also changes the LHS history in Git, except Git folks don't seem to care about LHS history.."04:13
mgiucaI didn't know Git had LHS history at all.04:13
mgiucaJust thinking that in Bzr, if you have a local mirror of a branch, which has diverged, there's no simple way to 1. Merge, then 2. Push your changes up to the branch (eg on Launchpad) without reordering the LHS history on Launchpad.04:15
mgiucaExcept if you were bound, you could do an update.04:15
mgiucaMaybe wgrant already discussed this before.04:16
=== gnomefreak76 is now known as gnomefreak
=== ubuntujenkins_ is now known as ubuntujenkins
A4TechAll greetings. A bit strange question: I can host on the local machine to deploy the system bzr only without web?14:37
=== tro|| is now known as tro
=== lionel___ is now known as 5EXAAKZ44
bendjHi.  I'm trying to get my head around repos-in-repos ...  Iiuc, I can pull an external branch into my local repo, e.g.: bzr init myrepo; bzr branch myrepo/extrepo.18:18
bendjAm i then supposed to 'ignore' the extrepo dir, managing it separately?18:18
KilrooThat sounds like it would work, but I've never done it.18:20
KilrooInside the extrepo directory it will find the extrepo/.bzr directory first and go by that, and outside that directory it's been told to ignore it so it doesn't care that it's there.18:21
bendjKilroo: Ok, sounds reasonable.  Now, can it be further extended to 'nest' another branch under /myrepo/extrepo/YArepo, and manage *it* from the top/parent, myrepo?  I'm pretty sure I'm confused by this ;-)18:24
bendjKilroo:  More context might help ... what I'm trying to do it this -> https://lists.ubuntu.com/archives/bazaar/2010q1/067904.html18:24
bendjHas to do with, eventually, managing/staging Drupal sites ...18:24
bendjKilroo: I suspect that I maybe approaching this wrong in the first place :-/18:25
KilrooAh.18:25
KilrooStep 1: avoid Drupal.18:25
bendj:-p18:25
KilrooThat's just my personal experience.18:25
bendjKilroo: Actually, I'm using Pressflow ... that anybetter?18:25
KilrooNo idea.18:25
bendjKilroo: Fair enough.  Ignore that fact, then ....back to the bzr question :-)18:26
Kilrooright, reading18:26
bendjhehe ...18:26
Kilrooitem the first: I think it's .bzrignore, you seem to have omitted the r18:26
Kilroonot sure I've ever ignored anything without doing it through bzreclipse though so I may be wrong18:27
KilrooAh.18:28
bendjKilroo: sure, just a typo on my part for the post ... good catch18:28
KilrooI'm pretty sure the answer is no.18:28
KilrooI am not sure what would happen if you explicitly said to bzr add core/data/test.txt from /repos/site, but I'm fairly certain that once you've ignored core from in site, it never bothers to look at core or anything in it unless you specifically tell it otherwise.18:30
KilrooI guess I'd just test it, if I were you.18:30
bendjKilroo: Sound reasonable, too. So, likely that /myrepo/extrepo/YArepo would have to be 'bzr init'-ed as it's OWN standalon repo, and managed separately?18:31
KilrooI honestly don't know. You're beyond my level of experience here. I haven't ever needed to deal with a nested repository or a nested tree or anything...I usually have something along the lines of /foo/bar as a no-trees shared repository, containing /foor/bar/trunk and /foo/bar/feature/{baz,wiz,woz}18:34
Kilrooand then /foo/checkouts/bar, which I switch among the relevant branches18:34
bendjKilroo: Thanks, then. This all mostly (made) sense to me, until I was faced with this nesting bit ... then got a bit murky.  Like you said, testing/monkeying probably a good-thing.18:36
KilrooGood luck.18:36
bendjta!18:39
=== lionel_ is now known as lionel
=== jkakar_ is now known as jkakar
=== nlisgo_ is now known as nlisgo
mwhudsonhazmat: yay for https://code.edge.launchpad.net/~hazmat/loggerhead/speed-rules20:51
rniamohi20:59
rniamois there a web interface for bzr which is better than loggerhead and lighter than redmine or trac ?21:00
rniamo(better = you can download folder for example and having color syntax)21:00
mwhudsonrniamo: loggerhead has coloured syntax if you have pygments installed21:01
mwhudsonand there's a patch for downloading a folder somewhere i think21:01
rniamomwhudson : ok ill try, thanks,21:01
rniamoi didn't succeed to install the patch correctly21:01
mwhudsonah :/21:01
rniamowhen i click on download i had an error, something like loggerhead/static/projectxxx.tgz doesn't exist21:02
Peng..../static/? That sounds totally wrong.21:04
rniamomwhudson : i've installed pigments and i have no coloured syntax, where should i have to active it ?21:04
rniamoPeng : yes, totally but i merge manually so i can have forgotten something. I installed loggerhead from ubuntu packages21:05
Pengrniamo: You don't have to activate it. Um, what version of Loggerhead?21:06
rniamoPeng : 1.1721:07
PengYeah, that should support it.21:08
rniamo:(21:08
rniamodo i have to set language somewhere ?21:09
PengIt auto-detects it, which usually succeeds, unless the file is non-tiny, but the alternative would be risking exponential runtime by Pygments, so...21:11
rniamoPeng : ok, coloured syntax is ok, maybe the file was too tiny21:15
rniamoor maybe i had to restart loggerhead21:15
rniamois there a simple solution to download a folder as tar/zip or anything else from loggerhead ?21:15
rniamohow to install the "download" patch on loggerhead ?21:27
rniamoi have this erreor when i want to install the download as tar patch : http://www.friendpaste.com/28UailBMDogGgC6q9AHuFm21:32
Pengrniamo: Yes, you had to restart Loggerhead.21:32
rniamoPeng : it's ok for coloured syntax, thanks21:32
jelmerhow do I recursively ignore everything under a directory?23:18
mwhudsonjelmer: hello23:18
MethsSomething like this I believe: 'bzr ignore "dir/**/*"'23:21
=== Leonidas_ is now known as Leonidas
jelmermwhudson: moin23:23
mwhudsonjelmer: some interesting seeming bzr-git commits over the weekend :)23:24
mwhudsonjelmer: did you basically drop the trees table from the git.db file?23:24
jelmermwhudson: yeah23:24
mwhudson(bah)23:25
mwhudsonjelmer: cool23:25
mwhudsonjelmer: have you tested it with the kernel?23:25
jelmermwhudson: not yet, there's still some issues to work out23:25
mwhudsonjelmer: what's the migration plan?  is the file still called 'git.db'?23:25
mwhudsonah ok23:25
mwhudsoni guess we shouldn't try to sneak a bzr-git update into the next launchpad release then :)23:25
mwhudsongrr^223:26
jelmermwhudson: the file is still called git.db, but I've also worked on a BTreeIndex-based map23:26
jelmerwhich is significantly faster23:26
mwhudsonjelmer: ah ok23:27
jelmermwhudson: do you know the pydoctor maintainer for Debian/Ubuntu?23:43
jelmerit seems it's out of date for python2.6..23:43
mwhudsonjelmer: no23:49
mwhudsoni guess i could make a release or something and try and sneak that into lucid23:49
jelmermwhudson: that'd be great23:50
mwhudsonjelmer: can you upload it to debian, or do we need to try to find the maintainer?23:54
jelmermwhudson: we need to find the maintainer, but it seems it's team maintained and I know the maintainer who's done most of the uploads so far23:55
jelmermwhudson: if you can get a proper release out I'd be happy to take care of getting it packaged and into debian23:56
mwhudsonjelmer: http://people.canonical.com/~mwh/pydoctor-0.3.tgz ?23:56
mwhudson-?23:56
mwhudsonsha1 5fb79e1d84cc729e5731ff5a69275e5087b3e59c fwiw23:57
Takis there a quick way to determine at what bzr version a method got added? (specifically diff.get_trees_and_branches_to_diff)23:57
jelmermwhudson: wow, that was quick :-)23:57
Takalso, is anyone seeing issues using bzr with python2.6? (I'm seeing what appears to be filehandle leaks)23:58
mwhudsonsdist doesn't take too long23:58

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