/srv/irclogs.ubuntu.com/2008/08/11/#bzr.txt

beunolifeless, http://ftp-master.debian.org/new/bzr-search_1.6.0~bzr49-1.html00:07
LeefmcIf i ignore a folder, it will ignore the contents aswell, correct?00:09
beunoLeefmc, yeap00:09
Leefmck, thanks00:09
pooliehello beuno,00:10
pooliespiv, ping?00:10
spivpoolie: hi, doing a standup with lifeless atm00:11
poolienp00:11
beunopoolie, mornin'00:12
mwhudsonhi poolie00:13
LeoNerd'bzr branches' seems to eat up massive amounts of RAM on my system....00:13
LeoNerdI've caught it eating 45% of 512MiB. I killed firefox by mistake thinking it was that00:14
taconepoor firefox :(00:19
lifelesspoolie: hi00:20
lifelesspoolie: we started at 9 :)00:20
* spiv grabs some breakfast00:20
poolie:-P00:20
lifelesspoolie: I'd like to chat with you about .bzrrules in 1.600:20
lifelesspoolie: I think this is an urgent-to-have chat because 1.6 is looming00:21
lifelessalso00:22
lifelesshttp://abstrusegoose.com00:22
poolielifeless, sure00:26
lifelessshould I ring?00:27
lifelessor irc or ...00:27
pooliewait a bit00:28
lifelessok :)00:28
poolielifeless, just doing a brief mail pass, then will be with you00:34
poolielifeless, now?00:44
pooliehere, or phone?00:44
lifelessphones easier00:44
markhless fun for us though ;)00:45
spivmarkh: just because you can't hear them doesn't mean you can't heckle ;)01:05
markh:)01:05
poolieabentley, BB seems to be down01:08
abentleypoolie: BB's Back up01:10
=== abadger19991 is now known as abadger1999
lifelessmarkh: maybe less fun, but a lot quicker02:04
lifelessmarkh: your question last night ...02:04
markhyah...02:04
lifelessmarkh: try merge --lca02:04
lifelessor --reprocess02:04
markhok, thanks - I'll try that next time I merge.  I think its a matter of getting into the mindset and understanding what is really going on02:06
markhmy mind makes certain assumptions about the models, then struggles to fit reality with that flawed model :)02:06
markhoh - roght - wrong question :)  You are referring to the conflict markers question02:07
markhwhat does "reprocess" do? - help isn't very illuminating...02:08
markhand if it magically prevents spurious conflicts, why isn't it the default? ;)02:10
lifelessit reduces the region of a conflict02:13
lifelessour conflicts are often better than difflib would create02:14
lifelessbut it keys on unique lines; and in some files that can make things worse rather than better02:14
lifelessits a 3-way merge of base, other, this, with common regions determined by doing patience-sorting on unique lines then expanding out from there along common lines02:15
lifelessthis is a bit strange to think about at first - but important: repeated lines are never the reason for a common region to be identified; they are found by being adjacent to a common unique line02:16
markhright - interesting.02:20
markhis there any scope for detecting conflicts and attempting different strategies to come up with the smallest amount of conflicting text?02:21
lifelesssure, though that may not be the most useful thing for the user :)02:21
markhno - so the merge options would allow that control.  But in the general case, I'd say giving the smaller the conflicts, the happier the user :)02:22
markhspiv: should I add a patch for the docstring to that bundle even though it isn't directly related to making a test pass?  Or a separate one bundle?03:13
markhs/one bundle/bundle/03:13
spivmarkh: which ever you prefer, I don't mind.03:16
markhsame bundle is easier :)03:17
spivI thought that might be the case :)03:17
markhspiv: to save email ping-pong: at the end of the first para in the docstring body (ie, line 6) of transport.local.abs_path, I'm appending "The returned path will always contain forward slashes as the path separator, regardless of the platform."  Sound OK?03:24
markhoopa - local_abspath03:25
markh*sigh* - transport.local.local_abspath03:25
lifelessI don't really see why thats needed; we do that *everywhere*03:25
lifelessI mean, perhaps there is some other doco that should be made stronger rather than playing whack-a-mole with developer confusion?03:26
spivlifeless: well, I guess perhaps I was reading too much into that docstring's mention of realpath03:26
markhthe "abspath" in the name mislead Andrew and me03:26
markhand that :)03:26
lifelessvs \ is orthogonal to "/" and "C:"03:26
markhthe "local" kinda implied "native" too03:26
spivI'd be equally happy with the docstring emphasising that it's an internal path rather than specifically the \ vs. / issue.03:27
markhand the author of the test seemed to assume native seps too03:27
spivmarkh: right03:28
lifelessI just want to ensure we've covered enough bases that in 2 weeks we don't get another such patch for transport.other_foo03:28
lifelessgiven that *everywhere* except _perhaps_ display functions we use /03:29
spivlifeless: I'm open to alternative suggestions for avoiding the confusion that happened here.  (Including "it's good enough as is" if you think so)03:29
markhthe patch wasn't to change the transport - the intent of the tests wasn't clear03:29
lifelessits clearly not good enough; markh got confused03:29
markhwell - to be fair, I assumed the test author knew what they were testing ;)03:30
lifelessso if you guys think the specific function is all that needs tweaking, I'm +103:30
markhthe test used realpath, and the function name implied "realpath", and the docstring *said* realpath :)03:30
lifelessbut please do consider checking we have some overall statement (perhaps in the HACKING-collection) about / vs \03:30
spivlifeless: well, this is the only Transport method with a "local_" prefix, so I think there's a good chance that it's just this method.03:31
spive.g. Transport.abspath already clearly returns a URL, so we don't have this confusion there.03:32
spivThere's a "Filenames vs URLs" section in HACKING, but it doesn't seem to address this point.03:33
markhOK, I'll mail a bundle with the doc change I mentioned, and leave the HACKING doc change to another day when I'm *supposed* to be working on bzr ;)03:33
spivOk.  I'll whip up a quick addition to HACKING after lunch.03:34
lifelessspiv: YHBTHANDHTH (re monkey patching)03:34
spivlifeless: I know :)03:34
spivlifeless: but it *is* tempting, regardless :)03:34
lifelesscould do one that checks the stack03:35
spiv(The problem with making silly suggestions is occasionally people implement them!)03:35
spivlifeless: That's less tempting :P03:35
spivLunch is more tempting.03:35
markhthe ".replace("/", os.path.sep)" change in the tests is pushing those lines to 90 chars.  I see a couple of others in that file at 89 ;)  Should I split the lines?03:37
markhs/should/must/ ;)03:37
lifelesshmmm03:39
lifeless1m51 to pull 3 days changes to bzr.dev :(03:39
=== timchen119 is now known as nasloc__
=== mario_ is now known as pygi
spivHmm, a schooltool user is getting a MemoryError doing an upgrade from knits: https://bugs.edge.launchpad.net/bzr/+bug/25675706:02
ubottuLaunchpad bug 256757 in bzr "upgrade from <RepositoryFormatKnit1> to the newest format eats all my ram" [Undecided,New]06:02
lifelessyes, I'm wondering if its a bug in VFs06:15
spivmarkh: see mailing list, your test_plugins changes fail for me07:23
markhspiv: yeah, saw that - thanks.07:23
markhit only fails for me in a .exe - so I might just take the easy option and disable it there :)  I'll have one more stare at it though, but probably not for a day or 2...07:24
markhor just revert that part of the patch - with 100+ failing it doesn't really matter.07:25
* markh will think about it ...07:25
lifelessspiv: FYI: 58 seconds to pull one change from bazaar-vcs.org  :/08:52
lifelessspiv: I haven't analysed why yet08:52
spivlifeless: :(08:55
gnomefreakis it still posssible to remove a bzr branch with the beta launchpad?09:49
thekorngnomefreak, there is a delete icon right to the branch title09:52
thekornit points to <branch-url>/+delete09:53
gnomefreakhttps://code.edge.launchpad.net/~gnomefreak/firefox-extensions/firegpg.ubuntu09:53
gnomefreaki dont see it09:53
gnomefreakoh damn the red X09:54
gnomefreaksorry09:54
poolienight all10:06
robstahi, could someone help me out with a bzr error?10:27
robstabzr commit says "bzr: ERROR: Working tree is out of date, please run 'bzr update'."10:28
robstathen update hits an internal error10:28
robstabzr: ERROR: exceptions.TypeError: 'NoneType' object is unsubscriptable10:28
robstait all started with the following, committing a change involving lots of file renamings:10:29
robstabzr: ERROR: An inconsistent delta was supplied involving 'libccd/examples/internal.c', 'drawing.c-20080703141534-hfdtbme1gtdl6g10-1'10:29
robstareason: basis tree does not contain removed entry10:29
Peng_This isn't very helpful, but are you using the latest version of bzr (1.5 or 1.6rc1)? This may have been fixed.10:30
Peng_Other than that, I have no idea. Sorry.10:30
robstaapparently stable ubuntu has 1.3.1-1ubuntu0.110:33
AfCrobsta: that's pretty old, but as Peng_ noted, that may ore may not have anything to do with your problems.10:34
robstaany chance that the upgraded version will automatically fix the state of my repo?10:36
robstaor any general recommendation of what to do in such a case?10:37
mwhudson'bzr check' and 'bzr reconcile' might be worth trying10:39
luksheh, I love benchmarks, somebody compares bzr/hg/git branch and then bzr/hg/hit clone10:41
luksand then have different values for bzr branch and bzr clone, when it's in fact the same command10:42
robstamwhudson: no improvement, unfortunately10:42
Peng_Worst case, "bzr remove-tree" or "rm -rf .bzr/checkout" to delete the working tree, throwing out your changes, then use "bzr co" to recreate it.10:43
robstawill that help?10:46
robstathe file that made it bail was bzr moved like 20 commits ago10:46
luks'Cherrypicks are just "merges" that are not tracked (cf. Git)'10:46
lukspeople really shouldn't be allowed to write about anything they don't know well :(10:46
=== rocky|away is now known as rocky
robstaPeng_: now renaming the dir that holds it broke things10:47
AfCrobsta: the other outside possibility is that if you can branch from that repo at an older revision into an entirely new tree, then you may or may not be able to extract the branch (at that point) safely. That works surprisingly often, using -r -5 or something10:47
robstawell10:49
AfC(or -1 or -10 or 570 or whatever you need to do to get before the borked state, assuming that there is some interaction between your working tree and your branch that is confused. If the repository is corrupted, then of course it won't work, but that is *exceedingly* rare)10:49
AfC[and you reporting that `bzr check` passed makes it sound like the repo is ok]10:50
robstaer, bzr check10:50
robstabzr: ERROR: Revision {('rstaudinger@meqbuq-20080704140118-zfu9ft5a61y34252',)} not present in "<bzrlib.knit.KnitGraphIndex object at 0x85d99ac>".10:50
AfCoh goodie10:51
robstathis is pre 0.1 stuff anyways, maybe i should just move from bzr-playground to gnome svn and start over10:52
AfCrobsta: Are you just using Bazaar or are you simultaneously also trying to use Subversion?10:53
robstajust bazaar10:53
robstathis is bzr-playground only10:53
AfCrobsta: that' constrains things, at least. Ok, so you said you were renaming things. You didn't go and do something like manually move a top level directory tree out from underneath one shared repository to another or something like that, did you?10:54
robstaheh, no10:55
lifelesshi10:55
AfCrobsta: [there's a revision no present in whatever repository that branch is using. This tends not to happen because of something bzr did wrong. /me knows this from having shot himself in the foot once]10:55
robstaAfC: i'm the only person who ever committed to that repo10:56
AfClifeless: dunno if you can help this fellow, but robsta has a bzr 1.3.1 reporting a missing revision.10:56
AfCrobsta: fine10:56
lifelessrobsta: when did it start giving this problem?10:57
robstalifeless: 10min ago10:57
lifelessrobsta: and had you been working normally up to then ?10:57
lifelessrobsta: is this a pure-bzr tree, or one of the bzr-svn imports on the playground?10:58
robstalifeless: bzr + add, mv, commit, push; guess that's pretty much all i did10:58
robstalifeless: pure bzr10:59
lifelessrobsta: if you haven't done something obviously wrong like 'mv branch /outside/repo' or 'bzr init-repo path-between-branch-and-repo'10:59
lifeless?10:59
AfClifeless: (that's kinda what I suspected)10:59
robstareally just the above set of most plain commands10:59
lifelessrobsta: ok11:00
lifelessthen its time for a bug report with a back trace11:00
robstahttps://bugs.launchpad.net/bzr/+bug/25686511:00
ubottuLaunchpad bug 256865 in bzr "bzr internal messup with moved files" [Undecided,New]11:00
lifelessI may lag a little bit from time to time, I'm in a wow raid; but bear with me and I'll check on stuff after deaths :)11:00
AfCrobsta: can you at least recover with `cd /tmp ; bzr init rescue ; cd rescue ; bzr pull -r -1 ~/path/to/branch` ?11:01
lifelessrobsta: ah, inconsistent delta11:01
lifelessthere is another bug on this11:01
lifelessso11:03
AfCbah, duh, `cd /tmp ; bzr branch -r -1 ~/path/to/branch`. There's good old Andrew, over complicating things as usual.11:03
lifelessAfC: :) theres more than one way to do things :O11:03
AfC(or revno -5 or 57 or whatever)11:03
robstaAfC: this gives a new error: bzr: ERROR: Revision {robsta@gnome.org-20080723094759-xjsiakuuex5nhc2b} not present in "cbdunused.sgml-20080723094649-6cdasqyczacflh6z-2".11:03
AfClifeless: /me is surprised to hear the Perl motto coming from such a dedicated Pythoner :)11:04
lifelessAfC: my favourite language flips between smalltalk and erlang11:04
AfCrobsta: ok, so you may need to twidle with a different revspec11:04
robstawell, the history is not so important for me11:05
robstaso if the problem is known and i can not provide new insight to the bzr devs i can as well start over brute force11:05
AfCrobsta: judging by the dates in those revids, I'd also guess that something like `bzr branch -r date:2008-07-02` might work11:05
AfCrobsta: (mostly I was emphasizing a) get somewhere not that current branch+repo, and b) reach back [some arbitrary amount)11:06
robstaya, gotcha11:06
robstano problem if i nuke it, really11:07
AfCrobsta: loss "not so important"; fair enough, but I am also interested in people being able to recover as much as possible. Perhaps no big deal for an project early days, but if this was 2 years on there would be bitterness11:07
AfCrobsta: hard to be believed to be unbiased in this channel, but this really is quite rare around here.11:07
lifelessrobsta: I think bug 25640911:08
ubottuLaunchpad bug 256409 in bzr "inconsistent delta with deleted directories" [Undecided,Triaged] https://launchpad.net/bugs/25640911:08
lifelesssame thing11:08
lifelessbumping to crit11:08
AfClifeless: (if so, perhaps add into that quiet little list of things that might need to be back ported to 1.3.2 or whatever you are doing for the Ubuntu mob. Just a thought)11:10
robstadoes "bzr remove-tree" touch my files?11:10
AfCyes11:11
lifelessrobsta: ok11:25
lifelessrobsta: is your project big ?11:26
robstano11:26
lifelesstake a backup11:26
lifelessif you can tar up your tree and repository I'll use that for diagnostics11:26
lifelessseparately here is what I think is going on11:27
lifelessyou've found a serious bug11:27
lifelessuntil I do a root cause diagnosis I can't say for sure exactly what is occuring11:27
robstalifeless: email, bug attachment, web download?11:27
lifelessbug attachment is fine11:28
lifelesswhat I think you'll have to do is probably discard those 10 commits11:28
lifelessso, in a backup copy initially, just copy out using cp your entire source11:29
lifelessthen use bzr uncommit to pop off all the commits since the one that errored11:30
robstalifeless: attach to duplicate or original11:30
lifelesshttps://bugs.edge.launchpad.net/bzr/+bug/25640911:31
ubottuLaunchpad bug 256409 in bzr "inconsistent delta with deleted directories" [Critical,Triaged]11:31
lifelesshaving done uncommit11:32
lifelessyou should be able to just bzr commit again and have it work11:32
lifelessif it errors we'll look at workarounds, getting you to use 1.6rc1 etc11:33
lifelessrobsta: how has that worked for you?11:42
robstastill on it, i'm so cackhanded with VCS11:43
lifelessthis isn't your fault :)11:43
lifelessby uncommit I mean something like11:44
lifelessbzr uncommit -r -1011:44
robstajust did that11:44
robstalifeless: now should i just do the same renamings again?11:45
robstaor do you mean in a single commit, rather?11:47
robstain any case, my working tree after uncommit seems to be different from what it really was at that point11:54
robstathe deleted dir is not restored11:54
lifelessrobsta: uncommit won't change your working tree12:01
lifelessrobsta: 'revert' changes your working tree12:01
lifelessrobsta: so your edits etc - including renames - are still in the working tree12:02
robstalifeless: oh, so i just commit all at once12:02
lifelessyes12:02
lifelessand we cross fingers that it won't blow up again12:02
* robsta a bit slow-witted12:03
robstaok, thanks lifeless12:04
lifelessdid that work ?12:07
robstathe commit went thru12:08
lifelessdoes 'bzr st' etc work ?12:09
robstaoh, check still bails12:09
lifelesswhere does it bail ?12:09
lifelessbecause the damaged commits are still in your repo12:10
lifelessso I would expect a fail; but the tree should be alright12:10
lifelessjust pastebin the output ?12:10
robstaway back at one of the initial commits12:11
robstadid another renaming back then12:11
lifelesssame issues?12:11
robstalooks like12:11
lifelessdo you remember if it errored ?12:11
lifelessrenames per se are actually trivial inside the code base12:12
robstano error back then, AFAIR12:12
lifelessI'd like to see the error12:12
robsta bzr check12:12
robstabzr: ERROR: Revision {('rstaudinger@meqbuq-20080704140118-zfu9ft5a61y34252',)} not present in "<bzrlib.knit.KnitGraphIndex object at 0x85fa58c>".12:12
robstashall i uncommit til then?12:13
lifelessthat looks like the original error up above12:14
lifelesshang on a sec12:15
cybercohi, I've accidentilly commited sensitive data. How can I undo that?12:37
lifelessbzr uncommit12:38
lifelessthen tweak your tree as needed12:38
AfC(assuming you didn't also push those revisions outside of your immediate control)12:38
cybercohi, thanks, but i've commited another revision afterwards (in which I removed the sensitive data)12:38
cybercocan I uncommit 2 revisions?12:39
AfCcyberco: yes12:39
cybercoI've pushed those revisions to a remote repository, but I can access that as well12:40
AfCcyberco: `bzr uncommit` twice, (or `bzr uncommit -r -3` which I just learned about 2 minutes ago :))12:41
AfCcyberco: that gets more serious12:41
cybercocan I just uncommit on the remote repository and pull in the changes locally again?12:42
AfCcyberco: you'll have to re-create the branch(es) in a new repository remotely, delete the original, and then replace it with the new one.12:42
AfCcyberco: uncommitting will merely change the state of your current branch. It will not remove revisions from the repository (as I understand it)12:43
cybercomaybe I can uncommit twice on both the remote and the local repositories?12:43
lifelesscyberco: for the remote repo, the easiest thing is to just remove the repo and repush12:43
lifelessrobsta: revision 11 seems to be the issue12:43
AfCcyberco: you need to differentiate between "Branch" and "Repository" here.12:43
cybercoafc: sorry, you're right12:44
AfCcyberco: (if you understand the difference, then I don't need to go on. If you don't, then we need to go over it, as in this case it is important)12:44
cybercoafc: repushing will keep the history in tact (on the remote repository)12:44
AfCcyberco: so, for that side of things, a branch is a branch is a branch; all branches are ultimately peers12:45
cybercook, thank you very much, I'll try that12:45
AfCcyberco: so the answer to your question is "if you have the history locally (and of course you do) then [re] pushing to a new remote branch (more to the point, a branch in a new repository, shared or otherwise)  will transport that history"12:46
cybercoafc: great help! Thanks again12:47
AfCcyberco: as an example, I have a bunch of branches under one [shared] repository; the 'mainline' branch is revno 538 (though actually composed of 1358 revisions); however, if I do `bzr info -v` I see that the [shared] repository [at ..] has 1674 revisions in it. Some of that is other unmerged branches, but I bet most of it, though is uncommits :)12:49
AfCHm. Is there a proper way to find out the number of revisions (ie, not revno) on a _branch_? I just did `bzr log | grep timestamp | wc -l` but that seems a bit hacky12:53
* AfC has always thought that `bzr info -v` could do better to report this number under "Branch history" rather than the current left hand revno, which most of us are fairly abreast of12:54
lifelessrobsta: so the added cbd directory in revision 11 is dud12:55
lifelessrobsta: if you can sit tight for a day, I'll see if all the issues are on directories (fingers crossed) and if so write a fixup for you12:56
robstalifeless: that'd work, much appreciated12:56
lifelessrobsta: its 10pm here though12:57
lifelessso I don't recommend me doing it right now :)12:57
awilkinsNot with your head full of Night Elf Mohawks12:57
lifeless:P12:57
robstalifeless: nah, this is just a fun project12:57
awilkinsSucka!12:57
lifelessawilkins: actually, we just downed archimonde, now getting some BT done12:58
* awilkins ducks as the WOW terms whoosh over his head12:58
lifelessdon't start something you can't finish :)12:59
awilkinsI finished playing EVE ages ago...12:59
awilkinsNo more MMORPG for me. Some Battlefield 2142 occasionally13:00
rockyyeah i recently gave up wow myself... mmorpg's are serious time sinks13:00
rockylifeless: we just finished killing second boss in hyjal ... only been in BT once ;)13:00
lifelessgotta be careful13:00
lifelessbalance in all things :)13:01
spivAfC: "bzr ancestry | wc -l"13:01
rockywell... if you're raiding BT and finished up archimonde that takes serious dedicated raiding time... so balance... hmmm.... ;)13:01
lifelessrocky: dedicated aggregate time13:02
lifelessanyhoo13:11
lifelessnight!13:11
robstacheers lifeless13:11
lifelessoh one thing13:15
lifelessif you can figure out what bzr commands / shell commands you did on revision 10->1113:16
lifelessthat might help me reproduce tomorrow13:16
lifelesscheers!13:16
beunog'night lifeless13:16
AfCspiv: neat13:37
=== joshuablount_ is now known as joshuablount
awilkinsAnyonw know of an OSS UML modeller for Eclipse where 1 class == 1 file ?14:17
ahasenackbeuno: hi, ar you planning on uploading bzr 1.5 for hardy to the ppa anytime soon?14:47
ahasenackare, sorry14:47
beunoahasenack, it can't be uploaded due to a problem that occured. 1.6 will be uploaded as soon as it's released15:09
ahasenackbeuno: can't you just bump the release number?15:10
beunoahasenack, 1.6b2 was uploaded already15:10
beunoso we can't upload 1.515:10
ahasenackah, it sticks15:10
ahasenackeven if there is no 1.6b2 there15:10
beunoyeah, sorry  :/15:10
beunoahasenack, yeah, you can use the bzr beta ppa15:10
beunolemme get the URL15:10
datobeuno: sometimes in debian we do stuff like 1.6b2.really.1.5-115:11
ahasenackbeuno: thanks15:11
dato(I'm guessing in ubuntu too :P)15:11
ahasenackbeuno: I don't see bzrtools in the bzr beta ppa15:12
beunoahasenack, https://launchpad.net/~bzr-beta-ppa/+archive15:12
beunoahasenack, poolie is the one uploading currently15:12
ahasenackbeuno: ok, so I should wait15:13
beunodato, that would make sense, but the rc has popped up already, so it gog superceded, and moved, etc15:13
ahasenackdato: debian doesn't have something similar to "epoch" in rpm?15:14
ahasenackdato: deb, I mean15:14
datobeuno: yeah, at this stage is probably not worth it anymore.15:14
datoahasenack: yes, it does have them, but we tend to dislike them if the issue can be solved with a (very) temporary hack.15:15
dato(because the hack disappears, but you carry the epoch forever)15:15
ahasenackI guess it's valid for beta and rc releases15:16
ahasenackthe temporary hack, I mean15:16
ahasenackthe wrong upload was on   2008-05-17 though, quite temporary ;)15:17
ahasenackno, wait, 07-1715:17
ahasenackwell, something like that15:17
quicksilverFYI, ghc considered bzr but opted for git16:34
quicksilverhttp://www.haskell.org/pipermail/glasgow-haskell-users/2008-August/015134.html16:34
Toksyuryel:(16:38
luksI'm glad I choose bzr before the trend of benchmarking VCS tools started :)16:38
=== menesis1 is now known as menesis
awilkinsThe bzr benchmarks on the wiki are rather old16:46
awilkinsI'm sure the performance has improved since then16:46
evarlastI find bzr to be easiest to use. It is also plenty fast.16:52
awilkinsI agree ; the last release has got much faster on Windows too. It's rather embarassing when you switch to Linux though and find that some things literally occur before you lift your hands form the keyboard16:53
evarlasti've only used it on windows. :(16:54
liwwhile I rarely notice that bzr is slow, I am always happy to get more speed16:55
liweven when I'm not importing 60 gigs of source into one repository16:55
awilkinsThe new _win32_fast_walkdirs extension makes it whistle along on trees with lots of files16:57
awilkinsI think that's in 1.6rc1 now16:57
awilkinsA couple of core devs are now using windows so it's getting some sugar :-)16:58
awilkinsAnyhow, train time16:58
PeanutHeadHey everybody, I need some help installing the bazaar's eclipse plugin17:07
PeanutHeadI already ran "python setup-py build_ext -i"17:09
quicksilverwe've been using bzr for two years17:09
quicksilverand yes, I do find it slightly slow for some things17:09
* beuno pokes Verterok 17:09
quicksilverour repo has about 700 revisions in17:09
quicksilverprobably about 1200 including merged revisions, actually.17:09
quicksilverand is rather small.17:09
quicksilverI can imagine it might be annoyingly slow for projects the size of GHC.17:09
quicksilverI love using it, though.17:09
PeanutHeadit says that it is running the build_ext17:10
PeanutHeadbut then when I tried to run the bzr plugins, its says Unable to load plugin u'xmloutput_0_5_0' from u'C:/Program Files/Bazaar/plugins'17:11
PeanutHeaddoes anyone know what is going wrong with that?17:11
evarlastquicksilver: did you upgrade to the newer bzr repo formats?17:12
quicksilverevarlast: yes17:13
quicksilverevarlast: and, that certainly improved things.17:13
quicksilverlet me check.17:13
PeanutHeadquicksilver: could you help me installing the bzr plugin for eclipse??17:13
quicksilversorry, I've never tried that.17:13
quicksilvereclipse makes me feel queasy.17:13
quicksilverevarlast: Checkout (format: pack-0.92) apparently17:13
PeanutHeadalright17:14
evarlastquicksilver: yes, pack-0.92 improved things greatly.17:17
quicksilverevarlast: bzr log still takes longer than I want it to.17:18
pickscrapeThere are plans afoot to speed those up though17:21
=== kiko is now known as kiko-fud
=== mw is now known as mw|brb
=== mw|brb is now known as mw
* emmajane waves and has a question.18:16
emmajaneI'm trying to get bzr up and running on dreamhost. I would have thought it'd be a very simple matter based on the instructions I found ( http://joshstaiger.org/archives/2007/01/bzr_on_dreamhos.html ), but when I try to run it, I get bzr: command not found.18:16
emmajane(i.e. after implementing the instructions)18:17
Peng_If you just want to push and pull to and from DreamHost, you don't need to install bzr..18:17
emmajaneI have three machines that are all vaguely synced and which I log into directly on occasion to make fixes.18:17
emmajane(i.e. updates are made from three machines: sandbox (will become dev), dev (will become production) and laptop)18:18
emmajaneI think it'll be easier if I have bzr on two of the three machines for what I want to do?18:18
* emmajane goes back to figuring it out. :)18:21
emmajanePeng_: but thanks for the suggestion. I actually already have the push to dreamhost working.18:22
Peng_FWIW, I have bzr running on DreamHost successfully (last I checked -- I don't use it on DH much anymore). I'm using virtual-python.18:23
emmajanedo you have one of the VPS machines, or just a standard account?18:26
Peng_Standard account.18:27
emmajaneah. I've got a VPS. Oh well. I'm sure I'll figure it out. :)18:28
beunopickscrape, howdy18:28
pickscrapebeuno: Good afternoon :)18:31
beunopickscrape, how are you?18:32
pickscrapebeuno: tired, but getting by. Yourself?18:32
beunopickscrape, trying to get everything setup for my first day at Canonical, so a bit hectic  :)18:33
beunoI didn't get to your branch on saturday18:33
beunodid you do any further work on it?18:33
Peng_emmajane: The PSes are still the same environment, right? You don't have root access..18:34
pickscrapeNo. I had a quick look at the revno link thing, decided it was going to take longer than the time I had18:34
pickscrapeBut then thought about it again later and think it might be easier than I first thought18:34
emmajanepeng_ it's fine, I've submitted a ticket to tech support. no worries. :)18:34
Peng_emmajane: A ticket about what?18:34
beunopickscrape, cool. I'm going to work on it now, I just wanted to make sure I wasn't duplicating work18:34
pickscrapeI think it might depend on the branch root thing too though, so it works in both cases.18:35
emmajanepeng_ the fact that the install isn't working the way it ought to.18:35
pickscrapeNo, unfortunately I'm doing real work right now so I can't really work on it. Happy to talk though.18:35
Peng_emmajane: Err, wait, you probably just need to set your $PATH..18:35
emmajanepeng_ I did that.18:35
beunopickscrape, ok, I'll figure it out and re-ping you.  It18:35
emmajanepeng_ I'm pretty good at following instructions...18:35
beunopickscrape, it's part of my *real* work now  :)18:35
emmajanepeng_ and that was part of the instructions.18:35
pickscrapeYeah, lucky you :)18:35
* pickscrape is currently buried in PHP code18:36
Peng_emmajane: Those instructions only mention PYTHONPATH, not PATH.\18:36
emmajanepeng_ it's fine, you can stop worrying about it. :)18:37
Peng_What if I don't want to stop worrying? :P18:37
Peng_emmajane: $ export PATH="~/bin:$PATH"18:38
Peng_emmajane: (or wherever you installed it)18:38
=== kiko-fud is now known as kiko
beunomwhudson, ping19:50
=== davi_ is now known as davi
=== staffan is now known as gimaker`
mwhudsonpickscrape, beuno: hi22:47
pickscrapemwhudson: hello22:49
beunohi22:50
beunomwhudson, did you take a peak at pickscrape's branch>22:50
beuno?22:50
mwhudsonyeah22:50
mwhudsonso my first comment is that i think the breadcrumbs should probably be on all pages, not just the inventory page22:51
beunoI quite liked it22:51
beunoah, interesting22:51
mwhudsoni do like the basic idea, yes!22:51
beunoI can do that22:51
mwhudsoni'm also not quite sure that the last 'crumb' should be a link22:51
pickscrapemwhudson: I noticed that while I was playing around. I was going to add it to them but didn't see the point until it was working properly on the inventory page first22:51
mwhudsonpickscrape: fair enough22:52
beunomwhudson, can you think of a good way to solve the I'm-serving-from-root problem?22:52
pickscrapeAs for the last crumb being a link, that's just laziness really :)22:52
mwhudsonbeuno: an if name == '/' in an appropriate place?22:52
mwhudsonbeuno: i haven't really looked at it though22:53
beunomwhudson, name being?22:53
mwhudsoni also worry slightly what this will do to non-serve-branches uses of loggerhead22:54
mwhudsonlike that launchpad thing i keep hearing about :)22:54
beunomwhudson, I suppose we will have a hierarchy for that too22:55
beunobased on the config22:55
pickscrapemwhudson: name == '/' is all I thought it needed at first22:55
mwhudsonpickscrape: oh, how does that go wrong?22:56
pickscrapeThere is an if statement in inventory_ui.py at line 80 that basically need to be filled in. It needs to know if loggerhead's root is a branch22:56
pickscrapeBecause if it is, the link to the root needs to be different.22:57
mwhudsonso if the name of the branchwsgiapp object is '/', then the root is a branch23:00
mwhudsoni think23:00
pickscrapeBy name do you mean 'friendly_name'?23:03
mwhudsonmaybe :)23:04
mwhudsonon the phone now, biab23:05
pickscrapeI just tried outputting that with a branch as the root and got the branch's nick23:06
mwhudsonhm23:10
mwhudsonright, i should look at the code again and stop speculating!23:22
beunomwhudson, should pop up quickly, pickscrape even added a "if False" statement as a placeholder23:23
mwhudsoni saw that much :)23:23
gimaker`Does anyone have a recipe for how to use rebase to shave off, say, the hundred first revisions of a branch? I haven't used rebase before and after reading the docs and fooling around with it I still don't understand how to do it.23:37
lifelessgimaker`: the first hundred?23:38
lifelessgimaker`: you'll need to init a new repository, then do rebase -r 100.. ../otherbranch23:38
gimaker`lifeless: bzr init purged, cd purged, bzr rebase -r100..<lastrev> /path/to/before/purge ?23:41
lifelessgimaker`: offhand, yes23:43
lifelessgimaker`: I'd need to give it a spin to tbe sure23:43
gimaker`lifeless: I'll try it out, hold on a sec23:43
gimaker`That didn't work, I get this error: bzr: ERROR: Requested revision: u'100' does not exist in branch: BzrBranch6('file:///tmp/purge/')23:45
lifelessoh, take a new branch, and do 'rebase --onto=100 -r 100.. .'23:46
lifelessI think that will do it23:46
gimaker`lifeless: should I do that from the empty (new) branch, or the original one?23:49
lifelessgimaker`: from a backup of the original one, I would say23:50
lifelessgimaker`: I never use rebase myself, so I'm just reading the docs and hoping :)23:50
gimaker`lifeless: well, we're in the same position then - except that maybe you have an ever so slight edge in interpreting the docs ;)23:51
=== RAOF_ is now known as RAOF
gimaker`lifeless: I'm getting the same error again, no matter if I execute the command from the empty or the original branh23:53
gimaker`lifeless: I'm giving up for the moment, but thanks a lot for the help! Re-reading the docs after a good night's sleep might help in cracking this nut :)23:55
lifelessgimaker`: good luck23:55

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