/srv/irclogs.ubuntu.com/2009/06/01/#bzr.txt

lifelessmoin00:06
igcmorning00:38
beunoPeng_, jusy sasw your reviews01:17
beunothanks01:17
Peng_Oh, you're welcome.01:18
beunoI wonder what that TooManyConcurrentRequests thing is about01:21
Peng_Soo. Anyone got IPv6 access? Run an IPv6 bzr server?01:28
beunotoo crazy for me  :)01:30
Peng_I missed my medication and wound up setting up an IPv6 tunnel on my server. :D01:30
=== arjenAU2 is now known as arjenAU
lifelessbeuno: TMC is a masking error01:33
lifelessbeuno: it means that some code is trying to make smart RPC calls a after an error left the smart connection in a bad state01:34
lifelessbeuno: e.g. attempting to unlock a lock after the server bailed01:34
lifelessbeuno: -Dhpss can be a useful way to get some info on it01:34
beunolifeless, ah01:34
beunohrm01:34
Peng_lifeless: Oh, thanks.01:35
lifelessfixing it requires finding the fault,and correcting it so that when this failure occurs it leaves the connection in a good state01:35
lifelessbb is down :(01:36
beunoI wonder how to get loggerhead to do that for me01:37
lifelessbeuno: try:except; :P01:37
lifelessbeuno: there is another possible cause01:37
lifelessbeuno: which is using a single connection from threads01:37
lifelessbeuno: smart connections do not overlap requests, you need separate connections if you want to make a second request before the first is finished01:38
lifelessor finally, if you have a generator response, you need to exhaust the generator before making new requests01:38
Peng_lifeless: You mean a multithreaded server or a multithreaded client?01:41
lifelessPeng_: user of a connection01:42
Peng_Wait, where does TMCR happen? Client or server?01:42
* Peng_ 's brain isn't fully engaged today.01:42
lifelessPeng_: could happen on either, but in practice clients have a much larger surface area to get wrong01:42
Peng_FWIW, the subject of this is https://code.edge.launchpad.net/~beuno/loggerhead/serve-config/+merge/6821#comment1755901:47
Peng_I just realized that there might be two smart servers in play which...is totally confusing.01:47
lifelessthere are two in play01:50
lifelesswhere is the exception coming from01:50
lifelessthe bzr client, or loggerheads client ?01:50
Peng_lifeless: bzr client.01:51
Peng_I think.01:52
lifelessdo this01:52
lifelessstart loggerhead in one terminal01:52
lifelessrun  bzr log in another01:52
Peng_Yeah, that's what I did. The bzr client is the one that displayed the traceback, but it's possible it got it somewhere else. Or something.01:55
lifelessso that means that the client is leaving a hpss connection in a bad state01:56
lifelessrun with -Dhpss01:56
lifelessits likely getting an error from loggerhead01:56
lifelessthough I didn't know that loggerhead provided hpss calls over its http connection01:56
Peng_lifeless: It doesn't, yet. Though there's a branch up about it.01:57
Peng_Like I said, my brain is pretty fried right now.01:57
lifelessPeng_: does this branch do that?01:58
lifelesssoliciting for reviews of02:00
lifelesshttps://code.launchpad.net/~lifeless/bzr/Commands.hooks/+merge/693602:00
Peng_lifeless: No.02:00
lifelessPeng_: in any event, if the exception is in the client, debug the client02:01
lifelessyou'll find a bug there for sure; once fixed we can see whats wrong with loggerhead02:02
lifelessand as I said before -Dhpss is a good starting point02:02
lifelessthat said, if you're fried. Go sleep.02:02
lifelessigc: ^ if you have a few that branch would love a review02:04
igcshall do lifeless - consider it done02:05
lifelessigc: thanks02:05
igci.e. I'm about to spent today reviewing all I can02:05
igcbbiab03:17
* igc lunch04:24
=== timchen1` is now known as nasloc__
tc-ruchoI have a little question that I should know, but since I've heard bzr now uses git's packs.... bzr tracks files? or content? I mean if it tracks content with solid renaming05:30
lifelesstc-rucho: bzr does not use git's packs.05:31
lifelesstc-rucho: bzr tracks file names and content separately; it has excellent renaming support.05:31
tc-rucholifeless: http://bazaar-vcs.org/BzrVsHg#Mercurial%27s%20Earlier%20Advantages   then what's that?05:34
lifelessa wiki page?05:34
tc-rucho....05:34
lifeless:) seriouslly, give me a sec to refresh my memory05:34
tc-ruchoI mean that about "Git's format - packs"05:34
lifelessthe page is accurate, as it says 'similar to'05:34
lifelessgit's packs are a different format to bzr's packs05:35
lifelessthey are conceptually similar05:35
tc-ruchook, the question of the million. If I take a file with history, split it in two, then save in 2 different files; will bzr track that it's just a reallocated content or treat this as new coded being entered into the repository?05:36
tc-rucho(git would track the content and this would keep history of every single line in the two resulting files)05:36
lifelesscurrently bzr considers it new content05:39
lifelesswe have a plan to address this05:39
lifelessigc: thanks; I hadn't seen your reply06:12
igclifeless: np06:13
lifelessI think of New Features as things for developers-using-bzr, not plugin authors so much06:13
lifelessand that plugin authors should be reading 'Internals'06:14
lifelessigc: replied - thanks for catching all the little noise in that patch06:40
igclifeless: cool. I'll take a look. As I said, it looked pretty promising so I'm keen to get it through review06:41
lifelessI'm fading right now06:42
lifelessbut if you have any questions feel free to chat here for faster turnaround06:42
=== abentley1 is now known as abentley
bialixdoes it only for me http://doc.bazaar-vcs.org is not available?08:50
bialixmain site works ok08:50
bob2wfm08:51
Peng_me too08:51
awilkinsQuestion : (sorry, I know I could read the source), are all commit times stored UTC and presented local-time?08:53
Peng_Hm.08:55
Peng_awilkins: Well, by default they're presented in their original time zone08:55
awilkinsSo, if I commit at 0800 on a server in PDT, when I pull that revision to UTC the time will still say 0800 and not 0000 ?08:56
awilkinsOops, 1600 (confusing!)08:56
Peng_ISTM that on disk, a UTC timestamp and the offset from UTC are stored.08:56
* awilkins has the opportunity to test this08:56
Peng_awilkins: Look at $ bzr cat-revision -r 12308:56
Peng_awilkins: What do you mean, "pull that revision to UTC"?08:57
awilkinsPeng_: Pull the revision into a branch hosted on a box running in the UTC timezone (or rather, GMT. Which is BST at present anyway)08:57
awilkinsAlthough I think UTC should be a valid locale.....08:57
Peng_awilkins: The local time zone won't change the revision's data.08:58
Peng_awilkins: Like I said, ISTM that the UTC timestamp + time zone offset are stored on disk. With that information, bzr can display it using the orignal time zone, local time, or (theoretically) anything else; it's all the same time, so it doesn't matter.08:59
awilkinsPeng_: No, but does it change the presentation of the commit time ; - will 0800 PDT display as 1600 in the BST zone (because that's when it happened)08:59
awilkinsI'm checking this now08:59
awilkinsOk, the logs have zone into08:59
awilkinsinfo08:59
Peng_Yeah.09:00
awilkinsRight, so logs jsut display the time + zoneinfo09:01
Peng_awilkins: From "bzr help log": "  --timezone=ARG        Display timezone as local, original, or utc."09:01
awilkinsI think my questions are probably more about qlog now then09:01
Peng_I definitely don't know anything about that.09:01
awilkinsAnd qlog seems to do it right by me - it uses local09:01
Peng_You could compare with "bzr log" to see what qlog doe -- yeah.09:01
awilkinsOk, I'm glad that's all in order :-)09:02
awilkinslifeless: ?09:06
awilkinsWho else is a loom-person?09:06
AfCDoes anyone know off-hand if there is a newer version of push_and_update than 0.2dev around?10:48
awilkinslifeless: ?11:58
=== mrevell is now known as mrevell-lunch
=== mrevell-lunch is now known as mrevell
=== gdmfsob is now known as mishok13
cdecarlohi, a friend and I are working on a project together and we decided to go with a decentralized with a shared mainline workflow, however, I want to work on more than one machine, I can do that right? I'm coming from svn and the only way to do that there is to make a lot of commits, but with bzr I can just treat my working copy both ways, peer-to-peer for me and team colaboration for us, right?14:06
beunocdecarlo, yeap14:14
cdecarlobeuno: thanks14:16
cdecarlobeuno: and that's b/c bzr isn't tied to a repos in the way svn is right? each working copy I have is a repos in itself?14:17
beunocdecarlo, exactly14:17
beunoas long as you use "bzr branch" and not "bzr checkout" to get the branches14:18
cdecarlobeuno: sweet14:18
=== fta_ is now known as fta
mattlhey, can anyone recommend a bzr hosting service that isn't launchpad or savannah? :)15:10
LeoNerdWhat's a "hosting service"..?15:10
LeoNerdbzr doesn't need anything special on a server.. Anything you can HTTP from, or FTP/SFTP to will suffice..15:10
mattlright, but i'm thinking of something which also provides trac and backs things up, etc.15:11
LeoNerdhmm.. personalyl I've never had much luck with trac against bzr.. It doesn't quite understand it15:12
LeoNerdAnd for backup I just use rsync. Though probably I should use bzr push15:12
awilkinsWait for July and Launchpad goes OSS....15:20
awilkins(apart from the bestest bits, alas)15:21
lukswhat will that solve?15:21
awilkinsNot much15:21
awilkinsWell, it might give me some more options15:21
awilkinstwas directed at mattl15:21
mattlawilkins: code hosting part won't be free software.15:22
mattlwhich is why i'm looking at non-launchpad options.15:22
luksI know, but "wait for LP to go OSS" doesn't seem as a very useful answer to "recommend a hosting service"15:22
mattlheh15:23
mattli might be waiting a while15:23
lukswhat's wrong with a regular web hosting, though?15:24
mattli want a bug tracker too. ideally one that can actually work with bzr.15:24
lukssourceforge? if you don't mind a crappy bug tracker :)15:25
mattlheh.15:25
awilkinsBugsEverywhere, but I have my reservations about how useful the in-tree-tracker model is15:25
mattlsame problem as launchpad.15:25
luksI'd still just setup my own trac15:26
awilkinsSourceforge has an OSS version15:26
mattldoesn't need to be bugs in bzr... just something that can see that, for example, a commit message that closes a bug.15:26
awilkinsYou could write a hook that pokes at Trac's XMLRPC15:27
awilkinsLast time I tried something with that I was pleased at how easy it was15:27
luksyou could also just add a link to the trac comment when you close a bug15:28
mattlwell, i am wondering what tracbzr does...15:28
luksand from the other side you have many local bzr tools15:28
awilkinsqbzr has a "fixes" entry in it's commit dialog - which trackers does that work with?15:28
luksawilkins: bzr commit --fixes just stores metadata about the bug urls, nothing else15:29
awilkinsAha, it goes with te fixes arg for commit15:29
awilkinsluks: Is there a hook that has access to that data?15:29
luksit's in the revision object15:29
luksso any hook can access that15:29
dvheumenhey, I wanted to try bzr-svn, but I got an error about the module 'tdb' not supporting the attribute 'open'. I couldn't find anything on the gmane mailinglist search. Anyone got an idea?15:30
awilkinsNeeds a newer tdb version? What OS are you on?15:30
awilkinsAnd how did you install bzr-svn?15:31
jelmerdvheumen, you need a new version of tdb or to deinstall tdb?15:31
dvheumenjelmer: hey, I think it was your package I used, from the archlinux AUR repository15:31
jelmerdvheumen, I don't do archlinux packaging, I'm upstream15:32
dvheumenjelmer: ow okay, than I'm confusing you with someone else ... no matter :P15:32
dvheumenjelmer: I'll try finding a new tdb package, tnx for the info15:32
mattlluks, awilkins... thanks for your help :)15:33
dvheumenjelmer: what version should I minimally have?15:34
jelmerdvheumen, Git snapshot from after december I think15:34
dvheumenokay15:35
rotundCan someone tell me if there's a way to have a file in VCS, but I ignore updates unless explicitly asked to update it?15:59
rotundI know it's a weird request, but there's files generated by the IDE that really should never need to update.  They also contain window positions and recently used lists.  Obviously, we don't care about those.16:00
jelmerrotund, I don't think there's anything like that at the moment16:05
lukscan't the new wt views do something like that?16:06
lukse.g. svn (or at least tortoisesvn) has a ignore-on-commit changelist16:06
lukswhich is not processed by status/diff/commit unless you explicitly ask it to16:07
rotundjelmer: Thanks.  That's what I thought.16:07
rotundwhat's a wt views?16:07
dashmorning16:11
dashi'm trying to reacquaint myself with the use of loom16:11
dashi've got a codebase in an svn repo that's been copied from the original project's repo16:12
dashi.e., one revision was copied, no history is shared between them16:12
dashi'm using bzr-svn and I want to develop a set of patches that can be applied to my current branch, and then adapted for application 'upstream'16:14
dashdo I understand correctly that to produce a series of patches like that, i'd do 'up-thread' for each, commit my changes, then do 'down-thread' and use the diff result as the patch?16:15
adarandoes anyone here use bzr on windows? i'd like to know how ssh works with (using the windows installer package)16:30
sidneiadaran: you'd use putty, much the same way it's setup for subversion16:32
adaransidnei, i don't have putty installed - and yet it seems to work "out of the box"16:32
sidneiadaran: oh, it might be using paramiko then16:32
sidneiwhich is a python library for ssh16:32
adaransidnei, i simply installed it and i can do bzr ls bzr+ssh://foo.bar just fine - which, of course, bothers me =)16:32
LarstiQadaran: bzr has support for multiple ssh providers16:33
dashdoes the windows install use paramiko?16:33
adaranLarstiQ, that's fine. i just need to find out which one it uses at the moment and see if it's secure enough16:33
LarstiQadaran: openssh and putty at least, but what might be going on is the bundled pycrypto+paramiko in this case16:33
LarstiQadaran: try to supply -Dtransport and look at .bzr.log?16:34
LarstiQdash: the all in one installer? I'd certainly think so16:34
sidneiim pretty sure the installer bundles paramiko (im working on setting up a nightly build for the installer and it's a requirement)16:34
LarstiQsidnei: cool16:34
adaranLarstiQ, where'd that .bzr.log end up?16:36
luksbzr version should tell you16:36
adaranin "My Documents"16:37
adaranoh boy..16:37
vxnickis --no-trees implied when running bzr init-repo? I haven't used it on an old repo but I don't see the files in its directory16:37
LarstiQadaran: bzr --version will say, it differs over windows versions afaik16:38
adaranLarstiQ, it's using paramiko, it seems16:38
LarstiQvxnick: it does. Long time ago it didn't.16:38
vxnickLarstiQ: thanks16:39
LarstiQvxnick: see `bzr reconfigure` if you want to change that.16:39
vxnickdon't want to change it, just wanted some clarification :)16:39
LarstiQok :)16:39
=== herb__ is now known as herb
=== beuno_ is now known as beuno
adaranhmm, where am i supposed to put my keys btw?16:44
adaranon windows, that is16:44
LarstiQI don't know with bare paramiko16:44
luksparamiko uses the putty key agent16:45
LarstiQadaran: it's not mentioned in the userguide?16:45
adaranLarstiQ, i'll go have a look16:45
luksPageant16:45
LarstiQluks: pageant, or is that something else?16:45
LarstiQah16:45
jamanyone know if there is a new qbzr version?17:03
jamI thought that 0.10 or 0.9.10 was due "real soon now"17:03
jambut I don't think it has been released yet17:03
jambtw, jelmer didn't mark subvertpy 0.6.6 as a release on https://edge.launchpad.net/subvertpy, but I see it as a tarball in http://samba.org/~jelmer/subvertpy/17:04
jamAnyone know why?17:04
jamI suppose he didn't put 0.5.4 in  https://edge.launchpad.net/bzr-svn17:04
jamAnd I *know* that exists...17:05
dashCrud17:16
dashis there no way to rename threads in a loom?17:17
LarstiQjam: 0.6.1 is the last bzr-svn release I'm aware of17:21
jamLarstiQ: which brings up a good point, are we supposed to be switching from the 0.5.x series to 0.6.x?17:21
jamI'm pretty sure I packaged 0.5.4 for bzr-1.1417:21
jam(since that was the state of the release script.)17:21
LarstiQjam: I've uploaded 0.6.117:23
LarstiQjam: johnf has been doing the ppa for bzr and bzrtools, I've been doing bzr-svn17:23
LarstiQjam: I have no clue about windows installers17:24
LarstiQjam: but yeah, I'd go with 0.6.x17:24
jamhmm... it seems we still only have qbzr-0.9.8 in the ppa17:24
LarstiQbzr-gtk is also old17:24
jamLarstiQ: what about subvertpy 0.6.6 ?17:24
jamI saw a release on jelmer's web page17:25
jambut it doesn't seem to be tagged in whatever trunk I have17:25
jamhmm.. and we only have 0.6.1 in the ppa17:25
LarstiQjam: I'm not taking care of that (yet)17:25
LarstiQjelmer might be at pinkpop right now17:25
* LarstiQ looks at the subvertpy changelog17:27
LarstiQjam: there was no bzr-svn 0.6.1 release either I could find btw17:27
LarstiQjam: I'm willing to take responsibility for subvertpy too. I'll ask jelmer about 0.6.6, and clearer announcing in general17:28
jamsure17:29
jamAs for 'clearer announcing' I don't often remember from email17:29
jamso just having things tagged in the appropriate overview page works best for me17:29
LarstiQjelmer pinging me on irc works best for me :)17:30
jamwell, I have to package about 4 different ones for the bzr release...17:30
* LarstiQ nods17:30
LarstiQjam: I notice https://edge.launchpad.net/~subvertpy/+archive/ppa has 0.6.1 only too17:30
jamoh, and do you know if he has a "0.6-mirrored" like 0.5?17:31
jamThe windows build host has messed up dns17:31
jamso I have to manually register every domain name I want to access17:31
LarstiQsubvertpy or bzr-svn?17:31
jamso having everything on LP helps me a lot17:31
jambzr-svn17:31
LarstiQtrunk is atm, but that's not stable17:31
LarstiQ(stable, as in pointing to 0.6 always)17:32
jamright, I just saw that17:32
jamI don't care specifically about 0.617:32
jamjust 'trunk'17:32
jamin the past he had switched to having everything hosted at people.samba.org rather than lp17:32
jamhe seems to have switched back17:32
LarstiQjam: no, hosting is at samba, lp mirrors17:33
jamLarstiQ: at one point, jelmer had it to17:33
* LarstiQ nods17:33
jam"bzr branch lp:bzr-svn" would actually download from samba17:33
jamI don't know *how* he made that work, but it did17:34
jelmerjam: remote branches17:34
LarstiQjam: oh, https://code.edge.launchpad.net/~jelmer/bzr-svn/0.6 does exist17:34
jelmerjam, which is different from mirrorred branches17:34
jamsure17:34
jamanyway, /me => lunch for now17:34
LarstiQjelmer: we just discussed subvertpy 0.6.6 not being clearly tagged/if it should be packaged (windows installer/ppa)17:35
LarstiQjelmer: do you want me to take care of subvertpy for the bzr ppa too?17:35
jelmerLarstiQ: I've fixed the tag for 0.6.617:37
jelmerLarstiQ: If you can, that would be awesome17:37
LarstiQjelmer: sure.17:37
LarstiQjelmer: should I start on 0.6.6 now, or are there reasons to stay away from it?17:38
jelmerLarstiQ, no, 0.6.6 should be fine17:39
LarstiQk17:39
jelmerLarstiQ, actually, it seems there's enough changes to do a 0.6.717:39
LarstiQok :)17:40
LarstiQjelmer: should I also care about https://edge.launchpad.net/~subvertpy/+archive/ppa ?17:40
jamjelmer: so I should use 0.6.6 for bzr-1.15?17:43
jelmerjam: Ideally 0.6.7, which I've just pushed17:44
jelmerand tagged17:44
jamseems to be going17:45
=== brainsik_ is now known as brainsik
LarstiQjelmer: do you use something for release automation?18:23
Kissakiyou can't ignore changes on a tracked file, right? eg, never commit that file anyway (so you don't have to deselect it each time)18:25
LarstiQKissaki: correct. You could unversion it.18:26
LeoNerdI've often wanted a "bzr freeze PATH" command18:27
LarstiQKissaki: or perhaps an appropriate idiom is to version a template, copy, edit and ignore for local use.18:27
LarstiQLeoNerd: what would that do?18:27
LeoNerdYup. exactly for that use case... that a repo contains a template config file for general use. Each checkout on a machine edits it for local use18:27
LeoNerdA "bzr freeze"ed file is never looked at, presumed to always be pristine18:27
LarstiQah18:27
Kissakik, thx18:27
LeoNerd"bzr stat" will not show changes, "bzr commit" will not submit it18:27
LarstiQyou might be able to pull that off with a plugin18:28
LeoNerdOffhand I can't quite think on the behaviour what might happen if upstream has a patch for it.. Do we attempt to merge locally anyway, or just ignore it?18:28
LeoNerdIt suggests the commands 'freeze PATH', 'unfreeze PATH' and 'frozen' (to list them)18:28
Kissakithe file not being selected for commit would be enough really...18:28
LarstiQKissaki: -x18:28
Kissakihm?18:29
LarstiQKissaki: bzr commit -x filetoexclude18:29
Kissakiah, hmm18:29
LarstiQKissaki: if aliases work per branch, you could alias commit to that18:29
LarstiQnot sure, and seems a bit risky to me18:29
Kissakiwell, -x doesn't even work for qci18:30
LarstiQthe requirements keep mounting! :)18:30
LarstiQKissaki: file a bug on qbzr18:31
LarstiQpersonally, as I said, I'd reevaluate wether the file needs to be versioned in the first place18:31
Kissakiyes, it has to... But I think that setting I changed doesn't even change the proj file itself... :P18:32
Kissaki-h doesn't list -x for qci, so it's probably supposed to be that way18:33
LarstiQKissaki: hmm, I'd think it's an oversight for qci18:34
luksyes, it's just a missing feature18:34
LarstiQKissaki: oh boy, a (VS) project file?18:34
LarstiQyeah, those things are irritating18:34
Kissakiyep18:34
jelmerLarstiQ, I hope to use moap at some point19:05
LarstiQjelmer: ah19:06
LarstiQjelmer: I had  http://liw.iki.fi/liw/unperish/ in mind, hand't heard of moap before19:08
LarstiQjelmer: liw coincidentally (and some other .fi Debian people) I'm meeting up with this week in Amsterdam. If you want to join us you're welcome.19:09
jelmerLarstiQ, I hadn't seen unperish before :-) I like the idea behind moap but it doesn't work well enough in practice, I'll give it a try19:11
jfroyjelmer: sorry it took so long, finally updated https://bugs.launchpad.net/bzr-svn/+bug/34206519:12
ubottuUbuntu bug 342065 in bzr-svn "KeyError due to missing file id while running bzr check on SVN repository" [Undecided,Incomplete]19:12
jelmerLarstiQ, sounds like fun19:12
jelmerbleh, somebody should make up a word for gezellig in English19:13
jelmerjfroy, thanks19:13
LarstiQjelmer: kodikas, viihtyisä, seurallinen; according to my dictionary ;)19:14
adarani've been trying to branch or checkout a remote repository on windows xp. however, after downloading all the data, the tree is built (according to the status message), after which only a ton of gibberish is put out in my console. can anyone tell me why?19:21
sidneinever seen that before19:22
adarantrying with torquoise bzr now, see if it makes any difference. i've had RAM problems before (apparently, 1,25 GB page file were needed, which is an awful lot to download and extract ~ 50 MB of data to 500 MB), but i've had no more warnings about that when making the last attempt19:23
adaransame error with the GUI19:27
LarstiQadaran: could you pastebin that?19:29
adaranLarstiQ, no, it's too large19:29
adaranLarstiQ, I need to find a way to capture the head of it first. it seems to dump a lot of binary data19:29
adaranLarstiQ, i get python repr()'s of some binary stuff19:30
LarstiQadaran: that certainly sounds wrong19:30
adaranLarstiQ, shouldn't bzr produce a log?19:31
LarstiQadaran: yup. `bzr --version` tells you where it's stored19:31
adaranaw, shit. it's grown to 200 MB and notepad can't open it :P19:32
adaranLarstiQ, http://pastebin.com/m18f9561 -- there19:36
adaranLarstiQ, bzr check on server runs fine19:37
ddaaHopefully, this the appropriate place to rant about hg.19:50
ddaaI'm trying it on a new project19:50
ddaaand boy, is their "log" feature broken.19:50
ddaaI understand why they spend so much time destroying their history with queues and rebase kind of gross stuff.19:51
ddaaThe reason is that log just displays everything flat, in order in which it got into the repository, no merge hierarchy.19:51
* ddaa feels better19:51
fullermdPfft.  You're missing the point, man.  It's FAST.19:52
* ddaa hits fullermd with a plank studded in spiky and rusty nails19:53
ddaafullermd: thanks for helping my catharsis :)19:54
fullermdI've sometimes thought the rabid joy of gitk springs from the same well, actually...19:54
* Kinnison grins19:54
ddaaKinnison: hello you cuddly red-haired man.19:55
ddaahgk does help, but then this "flat log" attitude then engenders the "fast forward pull on no divergence" idea, which just completely screws away the notion of a mainline.19:57
fullermdWell, they dovetail.19:58
ddaaThe log breakage engender a whole view of how to do dvcs, which is just WEAK.19:58
fullermdIf your tool doesn't do anything useful with the first parent path, it won't aim at workflows which preserve it, which makes it useless, which makes it not preserved, which...19:59
Kinnisonddaa: salut19:59
fullermd's why trying to explain across that divide just ends up with both sides looking puzzled.19:59
ddaaIt produces a tool that makes people think "let's do the svn dogpile branch thing, except distributed".19:59
ddaafullermd: actually, you can prove this is a bad idea by pointing that some implications are absurd.20:00
fullermdOnly to people who care about and pay attention to theory   :p20:01
ddaaSpecifically, the idea that people should not do small frequent commits because it pollutes the logs.20:01
fullermdOh, they can do small frequent commits.  You just use rebase to squish them together logically later.  See how easy it is?20:01
ddaaYou do not need to pay attention to theory to find value in "oops, I have done shit in the last 30 min, let's do revert"20:02
ddaafullermd: that precludes early sharing of work.20:02
fullermdNah, you just tell all your peers to rebase on your new rebase.  That's what distributed means, isn't it?20:03
ddaaNo it isn't.20:03
ddaaI need to finish this presentation about "Why Bazaar is better"20:04
ddaaOr "Advanced Bzr"20:04
ddaaTo explain all the non-obvious stuff that people new to do DVCS just don't see.20:05
dashyes, the ability to get a clean trunk log is the #1 reason I decided to sue bzr over hg20:05
dashs/sue/use/20:05
sevenseekerI might not be looking in the right places, but where are good docs on bzr-svn workflows?20:05
rbriggsatuiowais there a way to do a bzr ignore that is only local?20:05
rbriggsatuiowato my working copy?20:05
ddaarbriggsatuiowa: no, there isn't.20:06
rbriggsatuiowaalright - thanks20:06
jelmersevenseeker, whatever workflow works for bzr itself should work for bzr-svn generally20:06
fullermdrbriggsatuiowa: You can add per-user ignores, but they affect any of your branches.20:07
rbriggsatuiowathat's fine20:07
sevenseekerok, I am doing this wrong then.  I did 'bzr checkout foo' and then I can't branch from foo with 'bzr branch foo foo_branch'20:07
ddaaActually, my distaste for hg just crossed the line where I'm willing to discard history instead of waiting for someone to fix bzr-hg.20:08
rbriggsatuiowaI have one config file I don't want checked in when I'm on our production machine20:08
jelmersevenseeker, what about it doesn't work20:08
jelmersevenseeker, ?20:08
rbriggsatuiowawhere do I add the per user ignore?20:08
fullermdrbriggsatuiowa: That's in ~/.bazaar/ignore I believe.20:08
abentleyddaa, rbriggsatuiowa: .bzrignore doesn't have to be versioned.  So if *none* of the ignores need to apply to others, you can do that.20:08
rbriggsatuiowathanks20:08
dashthe other nice thing about bzr is that you can do almost everything without having to change your thinking from svn :)20:08
sevenseekerjelmer: let me clean this out and try again... troubleshooting I did silly things I think20:09
ddaaAnyway, let's try this thing. Maybe I'm going to realize that I do not actually care about clean mainlines.20:11
dashquelle horreur20:12
ddaaActually, I can't help it... I do care.20:12
ddaa(wow, it took me all of one minute of pondering)20:13
sevenseekerjelmer: no .svn or .bzr in any workingcopy dir20:13
sevenseekerjelmer: this was via 'bzr co http://foo.bar/svn/foo'20:14
jelmersevenseeker, that should create a .bzr directory in the checkout20:14
sevenseekerok it did, just not further down... I was expecting .svn dirs for some reason (habit I guess)20:15
jelmersevenseeker: bzr only creates a control directory in the root20:16
sevenseekerok, so if I want to split up then I just do smaller checkouts?20:16
jelmersevenseeker: "bzr co --lightweight" will create .svn directories20:16
sevenseekercan I bzr branch off of subdirs then?20:17
jelmersevenseeker: yeah, you should be able to20:17
sevenseekerok, I will try this... thanks a bunch20:17
jelmersevenseeker: I'm not entirely sure though, it only works because of the nature of svn if it does20:18
beunojelmer!20:18
jelmerbeuno: Hey!20:19
jelmerback in .ar?20:19
beunojelmer, hi20:19
beunoyes!20:19
beuno:)20:19
beunoit's cold20:19
beunobut feels-like-home cold20:19
beunoso not too bad20:19
beunohow about you?20:19
sevenseekerjelmer: success! thanks again20:27
jelmerbeuno, It's actually not too bad here, though not as good as bcn20:27
jelmersevenseeker, np20:27
beunojelmer, did you see my comment about your broken branch?20:28
beunothe loggerhead-smart one20:28
jelmerbeuno, yeah, just tried to submit using a bundle20:29
jelmermaybe that'll work better20:29
* LarstiQ hugs ddaa 20:29
jelmerI suspect I have a broken repo somewhere though not sure how it was corrupted20:29
LarstiQadaran: aha20:30
=== nevans1 is now known as nevans
adaranLarstiQ, there may be memory problems20:30
LarstiQadaran: could you try `bzr reconcile` instead/next to `bzr check`?20:30
adaranLarstiQ, copying the repository (in a zip) to windows works, then i can branch it locally on the machine20:31
=== nevans1 is now known as nevans
LarstiQadaran: ah, and maybe save a copy of that zip?20:32
LarstiQadaran: which bzr version is this?20:32
adaranLarstiQ, checking20:33
adaranLarstiQ, won't be able to hand out a zip, sorry20:33
adaranLarstiQ, commercial stuff20:33
LarstiQadaran: that's fine20:34
adaranLarstiQ, 1.3.1 on the server20:35
adaranLarstiQ, latest windows release on the client20:35
LarstiQreproducability is the main thing.20:35
LarstiQadaran: ok20:35
* ddaa hugs LarstiQ back20:36
adaranLarstiQ, i'm thinking it may be memory20:36
* LarstiQ wonders if it is bug 34797920:36
ubottuLaunchpad bug 347979 in bzr "KnitCorrupt listing _KnitGraphIndex when pulling" [Undecided,New] https://launchpad.net/bugs/34797920:36
LarstiQddaa: I have recently started using hg (for sphinx), hadn't figured out how to use log properly yet, postponed it in the hope I'm missing something.20:37
ddaaLarstiQ: I'm pretty sure you're not missing something.20:38
LarstiQyou make me think so too.20:38
ddaaA lot of strange thing the git/hg folks care about make sense once you realize they are working around a broken log...20:39
ddaaand going in direction that would be wrong with a working log.20:40
LarstiQnot having a mainline does make some things simpler/faster.20:40
ddaaSure. Not tracking dir renames too.20:40
LarstiQfair enough.20:40
ddaaA lot of things are simpler when you only solve half the problem.20:40
ddaaI think the bzr people as a community are really bad at explaining what those things are that they are solving better than the competition.20:41
* LarstiQ nods20:41
adaranLarstiQ, what's with the huge memory usage as well? i've seen my page file go up to 1,4 GB or so for a 450 MB source repository20:42
adaranLarstiQ, is that a bug or "normal"? it seems a bit much20:42
LarstiQadaran: let me dig up a mail/bug for you20:42
LarstiQadaran: short answer, right now, that's about to be expected I'm afraid.20:43
ddaaLarstiQ: BTW, did you mean "simpler/faster" to implement, or to use?20:43
LarstiQadaran: https://bugs.launchpad.net/bugs/10911420:44
ubottuUbuntu bug 109114 in bzr "commit holds whole files in memory" [Medium,Confirmed]20:44
LarstiQddaa: program model/implement. No claims about that being a simpler user model or not.20:45
LarstiQddaa: I'm personally unconvinced by the rebase arguments that an unrebased history will become unwieldly.20:45
ddaaIt does become unwieldy when your log is broken.20:46
LarstiQddaa: _but_ bzr does have performance problems due to issues related to the mainline20:46
jelmerbeuno, I think I'm going to just recommit20:46
LarstiQddaa: mainly the O(history) topological sort for the dotted revnos numbering20:46
LarstiQor well, possibly less if you can find a merge point faster20:46
beunojelmer, cool, thanks20:47
ddaaLarstiQ: mainly, that translates into "log is slower", right, or does it commonly affects other operations?20:47
LarstiQddaa: log20:47
ddaaSo, the alternative is "broken log" and "slower log".20:47
LarstiQddaa: igc did a lot on this front, one change is to not display non-mainline revisions by default20:48
LarstiQddaa: ie, bzr log -n1 vs bzr log -n020:48
ddaaThere would certainly be value in having a hierarchical log that does not show dotted revnos20:48
LarstiQddaa: surely git/hg people must deal with their log some way?20:48
ddaaAFAICT, they deal with it by requesting that people do not make frequent commits, or collapse their commits. Witness jelmer.20:50
adaranLarstiQ, does bzr really use readlines() et. al. when handling binary files?20:50
luksI was really surprised that git log is not even topologically sorted by default, it uses the commit date20:51
ddaaThey are happily throwing away half of the baby with the bath's water, and think it's fine because the remaining half baby is better than what they had before.20:51
LarstiQadaran: I don't know on which object that is a readlines() method, but yes.20:51
ddaaluks: AFAICT hg log is not sorted either, it just print stuff in repository order, which HAPPENS to be topologically sorted.20:51
LarstiQddaa: well, already having data in sorted order is nice of course :)20:52
adaranLarstiQ, makes it - on the outside - look as if bzr is very bad at handling large files and/or binary files. =/20:52
LarstiQadaran: I don't directly see that, binary lines are still lines.20:53
LarstiQadaran: and the differ works on (binary) lines.20:53
adaranLarstiQ, yes, but i was more referring to the fact that there are a lot of copies floating around20:53
ddaaIt's sorted in a way that depends on how the repository was built (the sequence of "pull" commands), but I'm not sure how much it matter in practice.20:54
LarstiQadaran: yes, there are multiple file copies around during commit. This is indeed bad for files that don't fit in memory that many times.20:55
ddaaI mean, it's not topologically sorted in a way that only depends on the structure of the history.20:55
ddaa(as bzr log is)20:55
LarstiQddaa: ah20:55
luksit just makes the numeric revision ids unusable20:55
luksbut it doesn't really affect the log otherwise, as far as I know20:55
LarstiQluks: they're still stable within one repository though?20:56
ddaawell, it does affect it, but since it's already half unusable by virtue of not being hierarchical, it does not make thing substantially worse.20:56
lukssure, but not across multiple repositories20:56
lukseven if used in the same branch, with the same head revision20:56
pygihi20:57
beunopygi, hi20:57
beunoI replied to your email  :)20:57
LarstiQadaran: jam said he'd look at possibly having a different codepath for those big files, but didn't follow up. You could comment and ask if there is any progress?20:57
LarstiQluks: right20:58
LarstiQluks: so less usable than bzr revnos, but still of some use20:58
adaranLarstiQ, i will drop a comment. though at the moment, it seems tempting to find out how git and others do it, for example20:58
pygibeuno: I saw, thank you sir!20:58
pygibeuno: I just came home, was about to respond later on that I agree with locations.conf stuff20:58
LarstiQadaran: sure20:58
jamLarstiQ, adaran: I have been invoked, but I don't know the start of the thread20:58
LarstiQjam: sorry, let me fill you in20:59
beunopygi, how was your trip back?20:59
pygibeuno: it was ok, thank you :)20:59
adaranjam, don't even attempt to step out of the circle!20:59
pygibeuno: I just wished I don't have a cold, freaking air conditioning!20:59
LarstiQjam: adaran is experiencing http://pastebin.com/m18f9561 on a pull/branch. Zipping it up, copying and unpacking doesn'y.20:59
LarstiQjam: with 450mb files, and earlier MemoryErrors if I got that right, the suspicion is memory usage.21:00
LarstiQsorry, at least one file of size 450mb21:00
adaranjam, LarstiQ i should add that i can branch locally just fine, and remotely (network) on my linux machine. i'm having issues on a virtual machine with windows XP and 378 MB of ram, pagefile < 1,2 GB21:00
beunopygi, yeah, it was brutal21:00
LarstiQjam: so I dug up bug 10911421:00
ubottuLaunchpad bug 109114 in bzr "commit holds whole files in memory" [Medium,Confirmed] https://launchpad.net/bugs/10911421:00
adaranLarstiQ, sorry again, the whole repos is 450 MB or so unzipped, 50 MB bzr transfer, 100 mb zipped. let me find the largest file...21:01
jamI would be rather surprised to get a KnitCorrupt when there is really a MemoryError21:01
LarstiQjam: which isn't exactly the issue right now, but anyway21:01
pygibeuno: Oh well, at least we got some things done, setup a plan for further work and stuff :p21:01
pygiand it was great to finally meet all of you :)21:01
adaranjam, LarstiQ largest file is 181 MB, text file with short lines21:02
LarstiQjam: bug 347979 seemed a closer hit, but not really helpful21:02
ubottuLaunchpad bug 347979 in bzr "KnitCorrupt listing _KnitGraphIndex when pulling" [Undecided,New] https://launchpad.net/bugs/34797921:02
beunopygi, absolutely. Enjoyed it as well21:02
jamadaran: even better, does the file have a final newline?21:02
LarstiQjam: other than the immediate issue at hand, adaran has some concern about bzr handling big files21:02
adaranjam, yes. \r\n21:03
jamLarstiQ: sure, I've mentioned some specifics in 10911421:03
* LarstiQ nods21:03
jamand certainly ways we could improve bits21:03
LarstiQjam: so now we've arrived at the jam invocation :)21:03
jamwhich essentially resolves into.... we'd like to change some bits as according to 109114, to avoid splitting and joining over and over again21:04
adaranLarstiQ, jam well the other concern is, i've known people that keep their whole $HOME in VCS'es. if it's only a few GB, it's a bit unconventional - but a breeze to backup and replicate21:04
jamadaran: we shouldn't have to keep the content of *all* files in memory at once21:04
jamjust one at a time21:04
* LarstiQ nods at adaran 21:04
jamSo the total size of GB isn't terrible21:04
jamIt is the 181MB single large text file of small lines that would be killing you for 'commit'21:05
jamthough it shouldn't effect things like 'pull' very much21:05
adaranLarstiQ, jam it looks as if that'd be hardly possible with bzr at the moment - if you had a large picture - which is something you'd want to put in a repository if it was part of an app or a project anyway - you'll run into trouble, especially on a small server with little ram21:05
jamadaran: well, someone is exploring versioning all of 'debian', which is approx 7.5M files21:06
adaranjam, i'm having problems branching and checking out. there's no way for me to tell well though, if i'm running out of memory or not.21:06
jam(num files, not num bytes)21:06
adaranjam, would be nice if it fit on a few floppies though =)21:06
adaranjam, but few big files in there! even if they included binary packages, i'd be rare to see a file above 40 MB or so21:07
jamadaran: your KnitCorrupt traceback is gzip telling us we don't have a valid gzip stream21:07
adaranjam, my other suspect was that embedded python ssh library somehow messing up, but since i'm - at the moment - paid to work instead of fixing bugs in bzr, i decided not to pursue that end, sorry =/21:07
jamadaran: the embedded ssh lib uses pyCrypto as the ssl handler, and I would be quite surprised if that was specifically buggy21:09
jamnot to mention that I use paramiko many times a day21:09
jamand have never seen corruption21:09
jamthough it is possible that paramiko is getting a memory error and then supressing it21:10
jamcausing us to see a short read that looks corrupted21:10
jamor something like thta21:10
jamthat21:10
adaranwell, unlikely, yes. but other than that, you haven't run into the error i've encountered a lot, or it would be fixed, i'd assume =)21:10
jamadaran: true, though I don't often version 100+ MB text files, either :)21:11
adaranjam, it's a "test-case" db dump =)21:12
Takjelmer: http://img39.imageshack.us/img39/3043/mdannotate.png21:24
jelmerTak, AWESOME21:25
jelmerTak, Seriously, that's way cool21:25
Tak:-D21:27
beunojam, any ideas on what this could be: http://paste.ubuntu.com/186006/21:32
beunonot sure if I should file a bug or not21:32
beunobranch seems broken21:33
jambeuno: well, if it wasn't loggerhead I would say it was a ghost issue21:33
jambut IIRC loggerhead shouldn't have any, right?21:34
beunoall commands error out21:34
beunoright, no ghosts AFAIK21:34
jamOtherwise, it might be:21:34
jam4392 Canonical.com Patch Queue Manager 2009-05-29 [merge]21:34
jam     (jam) Fix bug #373455, allow --dev6 repos to stack.21:34
ubottuLaunchpad bug 373455 in bzr "brisbane-core doesn't support stacking but should" [High,Fix committed] https://launchpad.net/bugs/37345521:34
jamAnd some issues wrt missing parent inventories and stacking21:34
beunoit's not --dev6 though21:34
beunoits 1.9-r-r21:34
jambeuno: sure, but see: https://code.edge.launchpad.net/~jameinel/bzr/quick-fix/+merge/694821:35
jamin case you are using the latest bzr.dev21:35
beunoI'm on 1.1521:35
jambeuno: if you are using bzr.dev or bzr nightlies, you might try reverting to 439121:35
beunobzr nightlies stopped working  :(21:35
beunojam, did that rev get into 1.15?21:36
jambeuno: I don't think so21:36
jamotherwise 1.15 would have gc stacking :)21:36
Takoops, forgot one of the cooler parts - http://img39.imageshack.us/img39/5305/mdannotates.png21:37
beunoI wonder if I broke it when doing the upgrades21:37
jambeuno:  so the traceback makes it seem like the workingtree thinks it is on revision: 'argentina@gmail.com-20081223183723-7vgehy3i4p6cr1lu'21:37
jambut that revision isn't in your repository21:37
jamwhich seems pretty strange21:37
jamare you using a lightweight checkout?21:38
beunohtm21:38
beunohrm21:38
beunono, it's a branch21:38
beunonow21:38
beunomy loggerhead repo b0rks with bzr check21:38
jamwith a shared repo that you copied from elsewhere? and missed other stuff?21:38
beunoit's a shared repo21:38
beunoand I upgraded it to 1.9-r-r21:39
beunocheck breaks with: http://paste.ubuntu.com/186013/21:39
beunoreconcile went through it just fine21:40
beunojam, any ideas on how to get out of that mess  ^21:59
jambeuno: find a repository with the text key: ('wsgitest.py-20080612051902-5y0zpdi6fhxgun6z-1', 'jelmer@samba.org-20090529150418-05on2fgizfqs77fj')22:01
jamand have it inserted...22:01
jamit looks like you have a revision which mentions a file text which does not actually contain that text22:01
jamwhich is sort of bad22:01
beunojam, just an FYI: https://code.edge.launchpad.net/bzr/+activereviews22:23
beunomaybe you know it already22:23
beunoand the bug you filed it so figure out what needs merging22:23
jambeuno: I didn't specifically, but in that case, I would recommend changing the link that exists here:22:25
jamhttps://code.edge.launchpad.net/~bzr/bzr/trunk22:25
jamI'm not sure why it gives "24 branches proposed for merging"22:25
jamor how you are supposed to reach +activereviews via the web ui22:25
Peng_You can get to +activereviews from https://code.edge.launchpad.net/bzr22:40
mxpxpodwhen you do a bzr mv with bzr-svn, will it preserve history of those files?23:07
jelmermxpxpod, yes23:12
mxpxpodjelmer: thanks23:13
ddaaOh joy! I can combine hg-fast-export.py and bzr "fast-import" to move history from hg to bzr.23:26
ddaait gets the order parents the wrong way around, but otherwise it looks like it works23:31
beunojelmer, did you manage to re-push your smart server branch?23:32
jelmerbeuno, yeah, but no luck; launchpad seems to ignore my merge requests23:32
jelmer(probably because it isn't able to deal with the bundle)23:32
jelmerso I'm just going to do the recommit in a few minutes23:32
jelmerfrom a fresh clone23:33
beunojelmer, cool. I assigned the bug to you23:33
jelmeroh, I wasn't aware there was a bug open :-)23:33
ddaamh, rename data is lost in the process :(23:34
jelmerjam, Interesting results from bencode23:37
rowinggolferI am uncertain as to whether I need to file a bug over a recurring problem I am having.23:39
rowinggolferhttp://pastebin.ubuntu.com/186084/23:40
rowinggolfereverytime I make a push, bzr hangs.23:40
rowinggolferwith a "too many concurrent requests" error.23:40
rowinggolferI push again... account is locked (naturally)23:40
beunorowinggolfer, could you upgrade to a newer version of bzr?23:41
beunoand see if it still happens?23:41
rowinggolferthe command line returned for the lock is incorrect.23:41
beuno1.6 is quite old23:41
rowinggolferI'm on intrepid.23:41
rowinggolferbeuno: one quick question.23:42
beunorowinggolfer, use the PPA: https://edge.launchpad.net/~bzr/+archive/ppa23:42
rowinggolferthanks I will.23:42
rowinggolferbeuno: one quick question23:42
beunoshoot23:42
rowinggolferI installed ssh-server on this machine.23:42
rowinggolferand that seems to co-incide with this problem23:42
rowinggolferie. 105 commits went ok.23:43
rowinggolferthe last 15 have all had this issue23:43
rowinggolfermy keys wouldn't be messed up perhaps?23:43
rowinggolferI can't see they would be the same?23:43
beunocan you ssh with no problems?23:44
rowinggolferto other machines, yes.23:44
rowinggolferdo you mean to a launchpad server?23:44
beunoyes23:44
beunotry: sftp://bazaar.launchpad.net23:45
rowinggolfersorry, how would I try that?23:46
beunosorry23:46
beunotry: sftp bazaar.launchpad.net23:47
rowinggolferbeuno - yes. no probs.23:48
rowinggolferok.. I'll upgrade my bzr.23:48
rowinggolferthanks.23:48
beunorowinggolfer, that way at least we can confirm the bug  :)23:48
=== Kissaki is now known as Kissaki^0ff

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