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

lifelessback online in a bit00:08
jmllifeless: so, the work I've done on testresources is broken up into three branches, but I think it'll be easier for both of us if you just review the final branch.01:18
jmllifeless: https://code.edge.launchpad.net/~jml/testresources/tests-meaning-cleanup/+merge/76701:21
nteondoes anyone know where the 'branch stacking' feature of 1.6 is documented?  I'm trying to figure out what it is01:39
bob2nteon: http://doc.bazaar-vcs.org/bzr.1.6/en/user-guide/index.html#using-stacked-branches01:40
nteonbob2: ah, thanks!  google was not helpful for me in this situation01:41
markhheh - so I entered a bug report with my ISP for the proxy yesterday, and they just rang me to arrange to put my account on a proxy bypass :)01:47
=== rocky is now known as rocky|away
rextilleonanyone here02:10
jmlyes.02:10
rextilleonwhats up02:10
rextilleonquiet around here02:10
rextilleonjml, is there a directory site that gives you a master list of irc locations02:11
jmlbeuno: is there a nice URL for viewing the latest revision of a file in loggerhead?02:24
xshelfIs there anyway to handle symbolic links on windows in bzr? Like, creating a hardlink if NTFS or creating a copy of the pointed file as fall back and prevent any operations to be committed into bzr on such files04:37
xshelfI have read this article: http://bazaar-vcs.org/WindowsSymlinkSupport?highlight=(symlinks)04:39
markhxshelf: not that I'm aware of - but bzr shouldn't break IIUC - only things that try to follow the links will :)04:43
xshelfI have a perforce folder tracked by bzr on gnu/linux, I wanted to clone it on wxp. It had a few symlink files and it failed04:52
xshelfI did the following: I did a 'p4 sync' on gnu/linux, 'bzr init' followed by 'bzr add' and 'bzr commit'. I copied the .bzr folder to wxp and did a 'bzr revert'04:53
xshelfi just read, mercurial handles symlinks on system with no support to symlink!04:58
=== mario_ is now known as pygi
=== thumper_laptop is now known as thumper
lifelessxshelf: there is a plugin for bzr to do this06:19
beunojml, you can use :head for the last revision06:20
beunonot sure about the path06:21
beuno(ue, not use the fileid)06:21
xshelflifeless: which plugin is that, I need it please06:28
lifelessits called win32symlinks or something; its on the plugins page06:39
xshelfwill look into it06:41
arjenAUlifeless: around?08:21
lifelessvaguely08:25
arjenAUlifeless: wa just trying to install the bzr-hg plugin and failing miserably08:26
arjenAUusing the prescribed info08:26
arjenAUfastimport installs fine08:26
xshelfarjenAU: are you trying to import hg to bzr?08:26
arjenAUyea. for a gsoc project of a student of mine that needs to be public tonight08:27
arjenAUthe hg repo is not public08:27
xshelfone dirty way: hg to svn08:28
xshelfsvn to bzr08:28
xshelfor use tailor08:28
lifelessarjenAU: for one-shot conversions just use fastimport08:29
arjenAUlifeless: just did. works. the point was, I couldn't get your gizmo to even install.08:31
arjenAUwhich is probably my python incompetence, however fastimport did work08:31
lifelessarjenAU: bzr-hg is not complete at all08:33
lifelessarjenAU: but I do appreciate the feedback08:33
arjenAUhmm so fastimport makes me a master subdir... hmm08:34
arjenAUall is well, not just trying to understand launchpad for the rest08:43
arjenAUlifeless: ok. no worries!08:44
arjenAUlifeless: https://code.launchpad.net/sql-obfuscator whatever it says there, how to fix?08:45
lifelessFF is restarting for me08:46
lifelessI dunno what it says :)08:46
arjenAUI think I found it, needed to re-edit the project info. just checking now if that did it.08:46
arjenAUthe branch (trunck) was not yetnoted as the dev focus for the project08:46
arjenAUA branch has not yet been specified as the primary development focus for SQL Obfuscator (set).08:47
arjenAUstill says.... hmm08:47
lifelessclick on set08:47
arjenAUhmm had to work out how the format worked in the set .... does it look ok now?08:49
lifelessdunno ;)08:55
lifelesslet mepeek08:55
lifelessarjenAU: looks fine to me09:00
robstahi09:01
robstadoes `merge --pull' recognise whether the branches are in sync, except for the pulled changes?09:01
arjenAUlifeless: ye. once done once it's perfectly sensible. and it's oh so functional. was just trying to do this in a hurry while actually needing to do other stuff. tnx for your elp09:02
arjenAU+h09:02
lifelessrobsta: it looks at the graph, not the content09:05
robstagraph == "chain of revision numbers", for noobs?09:06
lifelessdirected acyclic graph of UUID09:07
lifelesswhich we show as a chain of numbers :)09:07
robstathe thing is, i'd only managed to "merge --pull" the other branch once, so i didn't have to commit myself09:07
lifelessmerge --pull is a 'fast forward' in git terms09:08
lifelessif that helps09:08
robstadefinitely not :P09:08
lifeless:)09:08
robstadoes a pulling merge fall back to normal merge automatically when the branches are not in sync?09:08
lifelessits for when two people are 'sharing' a branch but they each have separate copies and no shared writable space09:08
lifelessyes09:08
robstaand there is no way to force pulling merge?09:09
lifelesspull --force?09:09
lifelessmerge --pull is 'merge if you can't pull'09:09
lifelessgot to go09:10
robstathx, looks like that's what i want09:11
robstato have the other author show up in the commit log09:11
robstaoh, there's commit --author too09:12
xshelfthe win32symlinks plugin works, great!09:26
EarthLionhey, i have a directory under control. I then copied these files manually and started working on the files in their new directory. I want to place this under control but keep all the history of the revisions. I realise i should of started a new branch and then done a checkout. Is there anyway I can do this now?10:21
bob2what do you mean by "these files"?10:33
awilkinsEarthLion_: Did you copy the folder recursively?10:34
EarthLion_yep10:34
awilkinsThen it's already a bzr branch :-)10:34
awilkinsDo a bzr info in it and see if you got the .bzr control dir10:34
EarthLion_ok (scratches head)10:34
awilkinsWell, only if you copied the whole tree from the root10:35
thumperif I have shared repo with no trees, and I want to check out a branch from within the shared repo, how can I specify the hardlink location?10:48
thumperso I have a working tree called trunk10:48
thumperand a branch called foo10:48
thumperin branch foo I do a `bzr co --hardlink ???`10:48
thumperhow do I specify trunk as the hardlink source?10:49
lifelessthumper: you can't today10:52
lifelessthumper: unless you have a checkout of trunk10:53
lifelessthumper: in which case just cp -al it and then switch :P10:53
EarthLion_awilkins: so dispite doing a recursive copy (it must of been because the directories are many levels deep, and the website still functions perfectly) but the .bazaar directory isn't there. a bzr info tells me that it isn't a branch10:59
EarthLion_so is there a way to just commit a directory to an existing branch?10:59
=== rocky|away is now known as rocky
lifelessEarthLion_: make a new branch, copy the directory into the branch11:07
EarthLion_fair enough11:08
EarthLion_lifeless: and just replace/overwrite existing files?11:12
siretartbeuno: FYI, I've uploaded a bzrtools 1.6.0 package for hardy to my PPA. it is based on jelmer's package for debian/experimental.11:21
ignashi, where do I find out what was added to 1.6rc3 compared to 1.6rc2?12:01
datothe NEWS file does not say?12:01
ignasfound it, thanks12:03
ignasdo you know if anyone is going to fix the memory consumption problems in 1.6 series?12:04
mwhudson_which particular problems?12:05
=== mwhudson_ is now known as mwhudson
ignasbzr upgrade12:05
mwhudsonin any case, i don't think anything more is going to be fixed in 1.612:06
ignasouch :/12:06
mwhudson1.7 is only about 3 weeks away tho12:06
ignasi guess I should start warning all of my colleagues to ignore the "your repository is too old, bzr upgrade it" warning12:07
beunosiretart, great! I'll copy over to the bzr PPA.  Thanks  :)12:07
ignasbecause that eats 1.5 Gb of ram quite reliably12:08
mwhudsonignas: :(12:09
mwhudsonignas: can you branch into a new repository instead?12:09
mwhudsonat least you can probably do that in stages if you have to...12:10
ignasemm, that would be very painful12:12
ignasI would have to redo the central repository setup again12:12
ignason a remote machine12:13
ignasand then hope that launchpad mirrors keep working, and no one commits to anything while i am switching12:13
ignasnot even talking about the 20 branches in the shared repository on my machine :/12:13
ignasmwhudson: what kinds of manipulations are you performing with the code to explode from 70mb repository on disk into more than 1.5 Gb in memory12:15
ignas?12:15
ignaswell, 140mb repository12:16
mwhudsonignas: i don't know, and am not a bzr developer either :)12:16
ignashmm, I wonder if python gives memory allocation information when profiling12:20
ignasbzr branch from my shared repository to the outside is taking 7 minutes already12:21
ignasmwhudson: ouch, I can't branch using 1.6rc3 too12:23
ignasat least not without running out of ram12:23
fullermdWell, to be sure, I wouldn't so much expect (branch into new format) to have memory usage or performance much different from (upgrade to new format)...12:24
* ignas is thinking that migrating to git might be faster than waiting for 3 weeks to be able to create new branches :/12:25
ignasI wonder how will launchpad migrate my branches to the new format... maybe branching from a remote repository will work out better ...12:25
mwhudsonignas: you can probably bzr pull -r 10012:26
mwhudsonthen bzr pull -r 20012:26
mwhudsonetc12:26
ignasup to 6000?12:26
mwhudsonignas: is there a bug on lp?12:26
ignasok 400012:26
ignasfor upgrade - yes12:26
mwhudsonignas: maybe you can do 1000 at a time, or write a script ...12:27
ignasand make everyone who has a schooltool checkout do that... :/12:27
ignasthat will be as painful as migrating from svn to bzr was...12:28
fullermdYou'll understand the reasoning next week, when Canonical starts selling RAM   ;)12:28
mwhudsonignas: or rebranch, i guess12:28
lukshaha12:28
ignasmwhudson: we have a distributed team, most of the developers are part time, and will be working only in a week, or in two weeks, and I don't even know what are update schedules of deployed instances, making everyone do "something" or *not* do "something" is a bit tricky ...12:30
mwhudsonignas: well, you _can_ pull from packs to knits and so on12:30
mwhudsonignas: anyway, i hope a fix is found soon, i am off to bed12:31
ignasgood night12:31
lifelessignas: disk compression is very good12:32
lifelessignas: the memory usage is a bug, its the sum of the plain texts, I suspect12:32
lifelessignas: but it shouldn't do that unless its cross-format12:32
ignaslifeless: cross-format?12:33
lifelessignas: please file a bug about this, get someone here to mark it critical12:33
lifelessI need to go sleep right now12:34
lifelessignas: 1.6 is nearly released, to please file the bug asap12:34
ignaslifeless: ok12:34
datopoor jam12:35
ignashttps://bugs.launchpad.net/bzr/+bug/256757 is there already12:35
ubottuLaunchpad bug 256757 in bzr "upgrade from <RepositoryFormatKnit1> to the newest format eats all my ram" [Undecided,New]12:35
ignasI can update it with new information12:35
ignasas soon as I'll be done bzr branching from a remote repository12:36
ignasI know that local branching is not working, so I want to see whether I can at least create new branches from my server12:37
fullermdYeah, do stick repo size and revision coutn and all that yada yada on it.12:44
* fullermd critical-bumps it.12:44
ignasok, will do that12:44
ignasfullermd: how do I get revision count?12:44
datobzr info should say afaik12:45
fullermdinfo -v lists it, under the 'Repository' heading.12:45
=== kiko is now known as kiko-afk
fullermd(total revisions in the repo, rather than the number of revs in a branch)12:45
ignasfullermd: posted full bzr info -v of one of the "main" branches in that shared repository12:48
xshelfquit13:20
balorIs there a way to recursively inventory a directory and see if I've forgotten to add some files a-la-tla's [U] flag for unknown files?13:40
vilahi all13:44
vilaCan someone remind me why diffs from bzr viz are colored under Linux but not under windows ?13:45
vilaI'm pretty sure it's some python package but can't remember which nor find one...13:46
Toraninwhee, left bzr-svn svn-import running all weekend...looks like only another day or two for it to actually finish :p13:46
Toranincopying revision 58473/8153313:47
lukshm, lots of revisions13:49
Toraninyeah13:50
Toraninit's (a) large project with (I think) 5 or 6 years' history, and (b) contains a bunch of 'content translation' commits in the last year or two from our i18n infrastructure.  Ideally I'd like to see the translations moved to a separate repository, but right now I'm just doing basic feasability testing13:52
fullermdvila: gtksourceview?13:53
vilafullermd: the name rings a bell ! thanks13:53
vilafullermd: yup, that's the one13:54
aantnI'm trying to upgrade a repository to format 614:01
aantndo I need to do anything other than run bzr upgrade --development && bzr push?14:02
aantnerr, sorry; there should also be a bzr commit --unchanged in there14:02
aantnis that correct?14:02
fullermdpush won't update the format at the far side.14:04
fullermdYou have to do an upgrade there (or give upgrade the URL, though remote upgrade'ing is likely to be really slow unless you're really close)14:04
Necoroaantn: and make sure the remote update won't fail (esp. if you are using LP) ^^14:05
NecoroI haven't found a way of restoring the repository (except deleting and repushing the branch)14:05
lukswhy do you want to use a development format, though?14:05
aantnluks: I'm actually not certain that I do14:06
luksso what do you want to do? :)14:06
aantnluks: is format r the development version or is that default?14:08
aantn*format 614:08
luksI don't know, there is no "repository format 6" as far as I know14:08
aantnluks: sorry, branch format 614:09
luksthat's the default14:09
aantnthanks14:10
aantnI misunderstood that14:10
luksand if you want to upgrade a remote branch, you need to run either bzr upgrade sftp://... or run it remotely on the server14:11
aantnluks: is there any way to run an upgrade on launchpad without doing it remotely?14:12
luksno :(14:12
lukssftp is the only way14:12
Necorobzr upgrade bzr+ssh://... works too14:12
luksbzr+ssh doesn't work, it was implemented only in 1.6 and it still not more efficient than sftp14:12
Necoro;)14:12
aantnluks: do you mind giving an example upgrade command for launchpad14:13
Necorook - I used 1.614:13
aantnI'd like to make sure that I don't mangle this up14:13
luksNecoro: the server needs 1.614:13
luksaantn: what's the branch you want to upgrade?14:13
aantnhttps://code.launchpad.net/~universal-applets-core/universal-applets/trunk14:14
Necoroaantn: make sure you have a local branch ready in case it fails ;)14:14
aantnNecoro: will do14:14
luksbzr upgrade sftp://bazaar.launchpad.net/~universal-applets-core/universal-applets/trunk/14:15
luksor insert your username before the hostname, if you don't have it configures in .ssh/config14:15
luks*configured14:15
aantnluks: thanks; I'll try that in a few minutes14:15
Necoroluks: but ... I used bzr+ssh ... and at least it started ... it later failed - but with a message that does not read like "we don't support upgrading via bzr+ssh"14:16
Necoro"bzr: ERROR: Cannot convert to format <RepositoryFormatKnitPack1>.  Does not support rich root data." was the error message to be specific14:16
luksNecoro: you did not specify the format14:17
luksand you can't convert rich-root formats into the default formats14:17
Necorothe old format there was dirstate-tags14:17
luksI think it was 'rich-root' :)14:18
Necoroluks: http://rafb.net/p/rRkVlp50.html14:18
Necorothats the output of "bzr info" from before upgrading14:19
luksdirstate-with-subtree then, even worst14:19
luks*worse14:19
Necorooh ... I should improve my reading skills ;)14:19
Necorobut - this format hell is not really easy to understand ;)14:20
luksyeah14:21
Necorofor example - I don't know where there is the difference between pack-0.92, rich-root and rich-root-pack14:21
Necoroand which one to use for my repositories14:21
lukswith that specific branch you can upgrade only to --pack-0.92-subtree14:22
luks--dirstate-tags, --rich-root and --dirstate-with-subtree are basically the same format, but with different handling of "tree root"14:23
lukssame for --pack-0.92, --rich-root-pack and --pack-0.92-subtree14:23
luksthe subtree variants were never 'officially supported'14:23
Necorohmm - I guess I used this on LP, because it is a converted svn repo14:24
luksyeah, bzr-svn used to need the subtree formats14:25
luksthe rich-root formats were added basically only for bzr-svn14:25
luksto avoid the subtree ones14:25
Necorohmm - ok ... so it is not necessarily a good idea to have nearly all my repositories (even these ones which are created directly in bzr and never saw any subversion) in rich-root-pack14:26
luksAFAIK, the plan was to make a rich-root variant the default14:26
fullermdAFAIK, it still is.  That should land in 1.2 or so...14:27
luksbut I guess they are still not the default, because it's much slower to upgrade the default formats to them14:27
luksit needs to rewrite a lot of data14:27
lukscan't see any other reason do to not do it14:27
fullermdLast I heard, it was still blocked on the upgrade not actually doing everything right.14:27
luksoh, and that, yes14:28
luksbut that was fixed in 1.5, no?14:28
fullermdBTFOOM.14:28
Necorohmm - and by "rich-root", it is meant to have a repos A - and inside it another repos B? - or something different?14:28
fullermdabentley was working on it, and I thought he still had another bump when he got busy with other stuff.14:29
=== menesis1 is now known as menesis
robstahi14:39
robstai'm trying to interoperate between gnome's svn and bzr-playground14:39
robstarumor has it that the newest bzr has lots of svn fixes, but i can't install from the ppa14:39
robstathis is on hardy, looks like deps are missing14:40
LarstiQcan't install bzr, or can't install bzr-svn?14:40
robstaadded deb http://ppa.launchpad.net/bzr/ubuntu hardy main to sources.list, but it won't let me update14:40
robstawhen i try with hardy's 1.3 it says SvnRepository and KnitRepository are incompatible14:41
robstaor "not implemented" when i try to "push --overwrite" to gnome-svn14:42
luksrobsta: the latest version will tell you the same thing, because it's not compatible14:42
lukswell, that's different14:42
luksbut push --overwrite is almost a good idea14:42
lukswhat are you trying to do?14:43
robstapush my bzr-playground branch to gnome svn14:43
luksdamn, "almost NEVER a good idea"14:43
robstaooooh14:43
luksthe svn branch has probably diverged since then14:43
robstait said it had, but actually trunk/ was empty14:44
robstanot i "svn import" ed the source tree and try to "push --overwrite"14:44
robstano2 i "svn import" ed the source tree and try to "push --overwrite"14:44
robsta*now14:44
robstaso the state of svn is irrelevant, the project was born on bzr-playground14:45
luksoh, it never existed in svn before?14:46
robstano14:46
luksand the trunk/ in svn is already created, right?14:46
robstayes14:46
luksso it thinks it's a different branch14:46
luksI'm not sure what's the best fix14:46
Jc2krobsta: hi again14:47
robstawell, now it has the latest source, because it tried to import it with svn, and the overwrite with bzr14:47
Jc2krobsta: i'm afraid we need bkor or jelmer to do this14:47
lukspush --overwrite to svn can't work14:47
Jc2krobsta: i have a link for you14:47
luksI'd personally use "bzr replay" to copy the branch14:47
luksbut there is probably a better way14:48
robstaJc2k: are you the guy that gave us bzr-playground?14:48
Jc2krobsta: not quite, i spawned bzr-mirror and then canonical people spawned the playground14:48
luks)but of course that would screw up revision numbers in the original bzr branch)14:48
Jc2krobsta: http://uwstopia.nl/blog/2008/06/importing-bazaar-branches-into-gnome-svn14:48
luksoh, a trick with moving the trunk14:50
Jc2kthats what jelmer came up with14:51
robstaJc2k: thx, and anyway, bzr-playground rocks :)14:51
Jc2kyes, they did a sweet job14:52
robstasvn rm'ing trunk doesn't work because of the maintainer hook14:53
Jc2krobsta: thats why we need bkor14:53
Jc2k(or jelmer, who threatened to write a python script that was immune to that hook)14:54
robstaah, hah14:54
robstaJc2k: ok, no hurry14:54
robstait's just i don't know if people are happy when i'm starting to release tarballs of a playground-only module14:55
Jc2krobsta: you are just being to nice14:56
Jc2k*too14:57
Jc2kafaik, telepathy isnt on svn.gnome.org for example14:57
robstahmm14:58
robstaby the way, is there any chance that bzr will interoperate with git repose some day?14:58
Jc2kjelmer is working on it14:59
robstaoh rock14:59
Jc2kindeed14:59
Necorohmm ... there is the need for one common format of storing repository information ;) ... and then just having git, bzr, hg, svn etc. as frontends -- so everyone can use what they prefer ;P15:00
LeoNerdEr.. no, becasue that misses the entire point15:00
robstaJc2k: so there /is/ a light at the end of the tunnel for DVCS :P15:00
NecoroLeoNerd: ok15:00
LeoNerdThe different systems store diffrent data, in different models, with different capabilities. No one system would cover them all15:00
fullermdGood idea.  But it doesn't go far enough.  We also need one common format of command interface too, for easy interoperability.15:00
fullermdThen git and bzr and hg and svn can just be different...  uh...15:01
Jc2koh dear, meta-dvcs talk is never good15:01
Jc2krobsta: i dont see light, really. if bzr talks git, then git wins anyway15:02
Jc2krobsta: which i dont call light at the end of the tunnel15:02
robstaJc2k: honestly, i don't care who wins15:02
Jc2krobsta: i have phases, but the bzr team consistently impresses me and think its a better long term choice15:03
robstayeah, but git has such an incredible head start15:03
fullermdYou think that's bad, look at the head start CVS has.15:04
pickscrapeNot in terms of usability it doesn't...15:04
LeoNerdNo, git just has better marketing.. I.e. kernel uses it15:04
LarstiQrobsta: head start on what? Market share?15:04
robstamarket share in number of projects15:04
robsta(and that is guesse)15:04
LarstiQrobsta: right15:04
pickscrapeWhat worries me about git is that it is very much focused on "What the kernel devs need"15:05
LeoNerdYa.. it's highly tuned to one specific use case.. It doesn't work too well outside of that15:05
luksbut but... it's so fast!15:06
pickscrapeDiminishing returns though.15:06
LeoNerdluks: "The wrong answer quickly is still wrong"15:07
pickscrapePlus, I found that the speed advantage of git was more than eaten up by the time taken to refer to the man pages and googling for help every 2 minutes :)15:07
LarstiQlots of people are happy with it though.15:08
Necorohmm - btw: the GHC folks - they wanted to leave darcs behind ... does anyone know where they ended (or whether they already found an end at all)15:09
luksno program is ever going to fit all use cases15:09
luksNecoro: I think they decided to go with git, and now they argue if it was such a good idea15:09
LeoNerdluks: Exactly my point above, on the "no we don't want one VCS"15:09
Necoroluks: hmm ... if they at least had chosen hg ^^15:10
* luks is not going into hg vs git debate :)15:11
Necoroluks: the only point, why I would have preferred it is: "at least hg is not git" ;P15:11
luksthere is nothing wrong with git, er... wait15:12
* LarstiQ doesn't think this is particulary constructive.15:12
NecoroLarstiQ: who wanted to be constructive?15:13
Necoro;P15:13
Necoroperhaps it needs another bzr-hosting-service ... LP is a lil' bit too ubuntu-centric imho15:13
luksalmost any webhosting can host bzr15:14
LeoNerdI've never quite seen the point...15:14
luksI don't see a problem there15:14
LeoNerdAny ol' webserver will do15:14
Necoroluks: webhosting with SSH access ... because pushing via FTP is annoying15:14
Necoroand this isn't the cheapest thing to get ;) (if you don't own one already)15:16
LeoNerdWhy is FTP pushing worse than sftp/bzr+ssh ?15:19
Necoroalways typing a password is annoying15:20
Necoroand no: I'm not saving the pwd as part of the push-branch-address15:21
LeoNerdAhright....15:23
cody-somervilleLeoNerd, bzr+shh makes use of the smart server15:27
gourNecoro: still git (for GHC) without any other alternative really concerned. i sent some msg to ml and two days ago started some discussion on #ghc 'cause someone noticed that git's workflow is not all in all. unfortunately, #bzr was quite sleepy and there was nobody to explain how looms can replace need for git's rebase :-(15:30
Necorogour: oh =|15:31
hsn_i have checkout and want to checkout different revision from same tree into same directory bzr checkout -r give error 183: .bzr file exists15:31
LarstiQlifeless, jelmer: do you have cycles to help gour with explaining things to #ghc people?15:31
gourLarstiQ: someone should go there and talk...i'm too young with bzr and didn't go into such stuff as looms15:33
LarstiQgour: aye, and I have been away too long.15:33
LarstiQgour: you mentioned rebase earlier, jelmer would be the guy for that. And in general, lifeless is good at explaining things.15:33
Necorohsn_: I would say: bzr revert -r 18315:35
gourLarstiQ: yeah, i called for 'em. btw, see (huge) thread http://www.haskell.org/pipermail/glasgow-haskell-users/2008-August/015134.html15:35
gourLarstiQ: thumper jumped in and helped a bit, but then he had to go quickly15:35
Necorohsn_: but if you want to create a new branch that starts at rev 183, I would say, it would be saner, to delete the current branch and start fresh at rev 183 ...15:36
LarstiQgour: I'll try to read that thread today.15:36
LarstiQNecoro: bzr branch -r 183 . ../newstart ?15:37
NecoroLarstiQ: please read what hsn_ wants ;P15:37
Necoro" and want to checkout different revision from same tree into same directory"15:37
LarstiQNecoro: I have difficulty parsing that sentence.15:37
hsn_yes bzr revert -r works15:38
LarstiQhsn_: could you describe some more what your desired end result is?15:38
NecoroLarstiQ: he wants to have rev 183 in the current directory (for whatever reason)15:38
LarstiQNecoro: is that it? That's fine for testing a historicals behaviour for instance, sure. And you are right that revert -r 183 is the way to do that.15:38
gourLarstiQ: the most unfortunate thing is that bzr was ruled out due to speed only although on wiki page it is quite feature-rich - http://hackage.haskell.org/trac/ghc/wiki/DarcsEvaluation howver, maybe there is still chance 'cause they did not switch. someone knowledgeable should contact them, ask for common workflows and explain how to do it in bzr. i'll continue using bzr (came from darcs), but i'm sure that ghc's move will heavily15:39
gourinfluenced the rest of haskell community (the whole hackage - haskell' cpan - uses darcs)15:39
Necorotrue ... but one should not modify and commit now ;P - except this is what is really intended ;)15:39
LarstiQNecoro: there are reasons to do that, but yes, it is slightly peculiar. Ref my request for clarification of intent from hsn.15:41
LarstiQhsn_: so. :)15:41
Necoroah btw ... just because this is such a great tool: Thanks to all you Bzr-Devs for your efforts ;)15:42
Necoro(needed to be said today :D)15:42
hsn_can i start bazaar without loading plugins?15:42
LarstiQhsn_: yes, bzr --no-plugins15:42
luks--no-plugins15:42
=== mark1 is now known as markh
awilkinsmarkh: Are you building Python-flavoured builds?15:52
aantnluks: how would I attach my username to the url sftp://bazaar.launchpad.net/~universal-applets-core/universal-applets/trunk/15:53
lukssftp://USERNAME@bazaar.launchpad.net/~universal-applets-core/universal-applets/trunk/15:53
aantnluks: thanks15:55
* aantn crosses his fingers and hopes nothing goes wrong with the remote upgrade15:55
luksit will probably take some time15:55
aantnluks: yeah, bzr is still backing up the tree history16:54
aantndo I need to repull a local copy of my branch after I finish upgrading the remote branch?17:28
LarstiQaantn: that depends. Was it previously up to date?17:30
LarstiQaantn: If yes, the no pulling is needed. You might still want to make sure it uses the same format as remote (though not required).17:31
LarstiQaantn: so bzr info local; bzr info remote; and bzr upgrade to remote's format if different17:31
aantnLarstiQ: thanks17:32
=== mark1 is now known as markh
TemplePrimecan I have multiple projects in a repository?17:55
TakI must be doing something wrong here, correct? http://rafb.net/p/I0Yaxz51.html17:57
LarstiQTak: what do `bzr st` and `bzr missing` say?18:03
Tak`bzr st` returns empty18:03
LarstiQTak: there might be a bug there. Frankly, being bound to a branch but having zero revisions is a strange situation.18:04
LarstiQHow did you end up in that state?18:04
Takah, ok18:04
TakI'm following the manual, setting up a new repo18:04
LarstiQreally? Which manual?18:04
Takhttp://doc.bazaar-vcs.org/latest/en/user-guide/index.html18:04
Takexcept I guess I mingled the working-offline section with the starting-a-central-branch section in a way that's not supported18:05
LarstiQTak: it mentions unbind a couple of times, but they don't seem to match. What section are you following?18:05
LarstiQTak: ah.18:07
Takif I just can't do that with the initial revision, then that's cool18:07
LarstiQTak: I'm still trying to understand what you were trying to do.18:07
LarstiQTak: it is certainly a bug that bzr tells you to do something, you do it, and then it doesn't help you.18:08
TakI was trying to do the initial file import on a checkout of a newly-created repo18:08
LarstiQTak: I have a hunch as to why things go awry in this case, but if you can give me a complete recipe for reproducing this, I can thwack the bug on it's head.18:09
Taksure18:09
LarstiQTak: does the master have any revisions at all?18:10
Takno18:11
LarstiQTak: thanks, that gave me enough info I think. 'bzr init sftp://localhost/tmp/master; bzr checkout sftp://localhost/tmp/master/ slave; cd slave; bzr unbind; touch foo; bzr add; bzr ci -m 1; bzr bind; bzr ci; bzr up; bzr ci;' gets me the same error.18:14
Takyes, that's exactly what I did18:14
TakI was just pastebinning an entire session for you ;-)18:14
LarstiQTak: I'll still look at it for your effort :)18:14
LarstiQTak: so, you'll find that if master actually has a revision, the update will do something.18:15
Takok, cool18:15
LarstiQTak: say, bzr checkout master slave2; cd slave2; touch bar; bzr add; bzr ci; cd ../slave; bzr update18:15
LarstiQTak: and status should show your initial local commit as a pending merge18:16
Tak`bzr push master` seems to rectify it for me18:16
Tak(for the zeroth => first revision)18:16
LarstiQThat is also an option.18:18
LarstiQYou're basically operating in standalone branch mode there, and not checkouts.18:18
LarstiQTak: what I'd personally would have done is probably: bzr init trunk; cd trunk; cp -a ../prebzr/* .; rm -rf CVS; bzr add; bzr ci; bzr push master (this will create the branch); bzr bind master;18:19
TakI see18:19
* Tak obviously new to bzr18:20
LarstiQSince you're setting up the branch from scratch. With a preexisting master it would just be 'bzr co master trunk; cd trunk; *hack*; bzr ci'18:20
LarstiQTak: that's ok, you help find bugs in cases more experienced users won't think of :)18:21
=== thekorn__ is now known as thekorn
jamI just found a major regression in knit => pack performance :(19:27
LarstiQnamely?19:28
jamLarstiQ: "bzr branch knit pack" results in a 170MB repo when it should be 34MB19:29
jamhttps://bugs.edge.launchpad.net/bzr/+bug/25675719:29
ubottuLaunchpad bug 256757 in bzr "upgrade from <RepositoryFormatKnit1> to the newest format eats all my ram" [Critical,Triaged]19:29
jamIt might actually only be in bzr.dev, though.19:29
LarstiQAha.19:29
jamthe problem is that it does an "unsorted" fetch with all fulltexts19:29
LarstiQI recently upgraded my bzr repo, it took all evening and was constantly thrashing. 2.3G committed memory.19:29
jamwhich means that the target repository19:29
LarstiQso yeah.19:29
jamwill insert fulltexts in random order19:30
jamand "random" doesn't delta very well19:30
LarstiQoh boy.19:30
Peng_Wow.19:30
luksdoesn't it _always_ diff against the left-most parent?19:30
LarstiQjames_w: do you remember what happened to your test for bug 120968 ?19:35
ubottuLaunchpad bug 120968 in bzr ""bzr update" in checkout of empty branch fails and breaks dirstate" [High,In progress] https://launchpad.net/bugs/12096819:35
Takhooray!19:35
* LarstiQ has trouble finding a test for that in bzr.dev19:35
james_whey LarstiQ19:35
jamluks: When you insert in random order, the left-hand parent may not be *present* yet, and thus you get a fulltext19:36
LarstiQTak: that's a different bug though :)19:36
jamSo about 50% of your deltas get expanded to fulltexts19:37
LarstiQTak: yours is #25914619:37
jamChanging it to "topological" causes it to re-delta everything, which is costly CPU (and memory) wise, but at least the target repo isn't bloated.19:37
luksoh, I thought it would reject revisions with missing parents19:39
luksbut thinking about it again, it wouldn't make sense for ghosts19:39
jamfullermd: ping about bug 25675719:39
ubottuLaunchpad bug 256757 in bzr "upgrade from <RepositoryFormatKnit1> to the newest format eats all my ram" [Critical,Triaged] https://launchpad.net/bugs/25675719:39
jamI just want to check what version of bzr is involved19:39
jamas to whether this is a 1.6 regression, or just bzr.dev19:39
* Tak subscribe19:40
james_wLarstiQ: ah, that was never merged I think19:41
james_wI just never got round to writing the fix part of the patch19:42
jamdamn, it *is* in bzr-1.619:43
jambeuno: I'm going to need a 1.6rc4... :(19:44
LarstiQjames_w: 1.5 doesn't break on this, but it isn't testing it afaics, so I don't want to close the bug yet.19:44
jamLarstiQ: have you tried 1.6rc?19:44
LarstiQjam: nafaict19:44
LarstiQjam: I _think_ it was 1.5, but I can do it again (I kept the old repo around, it didn't seem right to me)19:45
LarstiQjam: du -mcs backup.bzr .bzr: 100 and 610 meg19:46
pickscrapejam: if you have a repository affected by this bug, will a "bzr pack" using a fixed bzr bring the repo down to normal size (obsolete_packs notwithstanding)?19:46
* LarstiQ looks at the bug19:47
jampickscrape: no :(19:48
jampickscrape: that is why it is an extreme blocker for 1.619:48
pickscrapeHeck, yes indeed.19:48
jamwe could *teach* pack to do so19:49
jambut it doesn't yet19:49
jampickscrape: we probably should anyway, to get people who have already upgrade to get back into reality again19:49
TemplePrimehey guys, are there any bazaar hosting services around? free and non free?19:50
Taklaunchpad?19:50
TemplePrimedoes it provide though security features, like only memebers of groups can see source?19:51
LarstiQTemplePrime: any file hoster would do for bare requirements.19:51
jamTemplePrime: there *are* private branches, which is non-free19:51
jamAnd IIRC, not widely disseminated. I think it is still in a beta program.19:51
TemplePrimelaunchpad seems a decent service, I'll get an account19:52
=== kiko-afk is now known as kiko
LarstiQjam: started an upgrade with 1.5 to --pack-0.9219:54
jamfullermd: thanks for marking the bug critical, btw. It caused me to investigate it.19:54
jamand it really is a critical regression19:54
aantnluks: by the way, thanks for the help earlier; I got my branch switched over successfully19:55
beunojam, :(19:55
jambeuno: yeah, but when we start warning users that they need to upgrade, I don't think we want to bloat their repos by about 5:119:56
LarstiQjam: hmm, that seemed to have gone wonderfully well19:57
jamLarstiQ: with 1.5?19:57
LarstiQjam: yes19:57
LarstiQjam: so perhaps I did the upgrade previously with bzr.dev, let me try that19:57
beunojam, right. Makes sense  :)   When?19:58
LarstiQjam: at 300 megs and rising, so far so good.20:01
jambeuno: Well, I would really like lifeless to wake up and review the patch20:02
jamOtherwise I'll be submitting a patch for review in about 10 minutes20:03
LarstiQjam: ~1G and system becoming unresponsive.20:03
jamLarstiQ: yeah it was rev 3854 that introduced the bug20:03
LarstiQso yeah, seems to be the same behaviour as last time.20:03
jamwhich is in 1.6 and bzr.edv20:03
luksaantn: what version did you use to upgrade? maybe it was not such a good idea after all :(20:03
jamluks: 1.5 is safe20:04
jam1.6-final *will* be safe20:04
luksI think aantn was seing the upgrade warning20:04
lukswhich is only in 1.6-something20:04
jamluks: yep, and bzr.dev20:04
clementeHey, „bzr log“ is slower in current bzr.dev than in 1.5 :-( 1' 30" vs 1' 15" for showing the log of lp:bzr.dev20:05
aantnluks: I upgraded to the repository format 620:06
beunojam, alright, ping me and I'll try and upload tonight20:09
beunoI'm supposed to be on holiday today :)20:09
jambeuno: well, we *can* wait until tomorrow if you are busy. This is just a serious regression :(20:11
pickscrapeOn holiday already? :p20:12
jamOn the plus side, with my fix the branch time drops from 5m => 30s, which actually makes knit => pack faster than it would be in 1.520:17
jamOf course, all of this is discovered while *3* core devs are on vacation20:19
jam(abentley, spiv, poolie are all away this week)20:19
jambeuno: LarstiQ, can you try to review the patch?20:19
LarstiQjam: I'll look at it, but I don't promise to be worth anything.20:20
jamLarstiQ: well, the patch is pretty much 'trivial" as it was just a "not" logic inversion20:21
jamif you want to just download it and try it on your upgrade20:21
jamthat would probably be enough for me.20:21
LarstiQright20:22
LarstiQthat does look simple20:25
jamI think the problem is that the naming of the parameter is poor20:26
LarstiQagreed.20:26
jam"fetch_uses_deltas" versus "include_delta_closure"20:26
jamthe latter sure *sounds* like it sends deltas20:26
LarstiQ(on it being pure, don't know if that is _the_ problem)20:26
jamit actually means trace back through all deltas and make sure to include all the referenced info20:27
LarstiQis it me, or is bundlebuggy slow/not resolving?20:27
jamabentley has been complaining about his hosting20:27
LarstiQjam: well, _closure does sort of evoke that in my mind20:27
jamI'm not getting to the site20:27
LarstiQsort of, because I didn't know exactly what a closure would involve20:27
jamLarstiQ: sure, though I will say lifeless wrote both apis and got it wrong :)20:27
LarstiQjam: oh yes, I support you20:28
jamLarstiQ: BB is probably down right now, and abentley isn't around to ping to bring it back up.20:29
jamYou'll have to just do a reply20:29
jamand assume BB will wake up later20:29
LarstiQjam: I wanted BB to pull from, but I've saved the patch and scped it. Running the upgrade with a patched bzr.dev20:29
jamI don't think BB has even detected my patch yet20:31
LarstiQjam: bzr: ERROR: Revision {('testrevisionnamespaces.py-20050711050225-8b4af89e6b1efe84', 'robertc@robertcollins.net-20051002215128-5686c7d24bf9bdb9')} not present in "<bzrlib.knit.KnitVersionedFiles object at 0x895d90c>".20:31
jamLarstiQ: I just got a timeout with a "Proxy Error"20:31
jamLarstiQ: you need bzr.1.620:31
jamThough I would have thought that was merged into bzr.dev tip20:31
LarstiQjam: this is my historical bzr repo20:31
jamLarstiQ: or is that what you get when upgrading?20:31
jamLarstiQ: it wouldn't be something that you need to 'bzr reconcile' would it?20:32
jamIIIRC the 1.5 fetch code could handle "broken" repos that need reconcile20:32
jam1.6 doesn't20:32
jamAnd I would guess Robert's "bug" would let you fetch because it would cause everything to be sent as fulltexts...20:33
jamSo it basically does reconcile on-the-fly20:33
jambut the fetch into-packs won't trigger the "auto-reconcile" code, which means you run into your problem....20:34
jamhmmm20:34
jamLarstiQ: can you try a line for me, just a sec20:35
jamLarstiQ: http://rafb.net/p/Ux6YDH80.html20:36
* LarstiQ is currently afk on the phone20:38
LarstiQjam: it was indeed what I got when upgrading *looks at rafb*20:48
LarstiQjam: applied and trying again20:49
jamthx20:49
LarstiQjam: same problem20:52
jamLarstiQ: can you post the traceback, so I can see where it happens?20:52
LarstiQjam: http://rafb.net/p/bV38GS44.html20:54
jamLarstiQ: ok, it is getting to the failure before it gets a chance to reconcile.20:55
jamLarstiQ: unfortunately, I think the correct fix is to upgrade using bzr.1.5 and then run reconcile.20:55
jamor run reconcile first20:56
jambut that is generally very slow with knits.20:56
LarstiQyeah20:56
LarstiQI'll do some reconciling20:58
jamLarstiQ: keep an old copy of it, if it isn't too much overhead20:59
jamjust so we remember stuff like that.20:59
LarstiQjam: I'm working on copies of my original backup.bzr, it's too valuable to touch directly.21:01
LarstiQgreat21:07
LarstiQbzr: ERROR: bzrlib.errors.KnitCorrupt: Knit inventory corrupt:21:07
jamLarstiQ: so... I would try upgrading with bzr-1.5, and then doing "bzr reconcile" and see where you get.21:19
LarstiQwill do. That was an 1.5 reconcile on the knit repo btw.21:21
LarstiQjam: 1.5 upgrade, 1.5 reconcile -> oh hey, your repository is corrupt kthxbye!21:36
LarstiQjam: trying a 1.5 upgrade, bzr.dev reconcile now21:36
LarstiQjust out of sheer desperation21:36
jamLarstiQ: I wouldn't expect much, if this is the bug I'm thinking of21:36
* jam guesses LarstiQ pulled directly from one of abentley's repos at some time in the past when they had diverged when we didn't realize21:37
LarstiQmaybe21:37
LarstiQsha-1 548f019618118527ae97bb092643be0d187c0cf1  of reconstructed text does not match expected 89853621e92f00ae1bb075139284c4df9a0434d0 for version john@arbash-meinel.com-20051117204806-013b3027c63d642b21:37
jamLarstiQ: specifically, there were ghosts in aaron's repo, which caused "last-modified" entries to be different21:37
jamthere were *deltas* generated against those texts21:37
LarstiQjam: considering I have decendant code of nested-trees, it's not unlikely21:38
jamand those deltas were pulled directly on top of the other form21:38
jamwithout realizing that the base sha1 differed21:38
woleverI'm getting a message 'bzr: ERROR: Revision {...revision ID...} not present in "filename.py-...revision ID..."' -- how would I go about figuring out what's happening?21:57
LarstiQjam: ehm, that 1.5 upgrade, 1.6 reconcile seemed to work.22:13
LarstiQwolever: I don't have a good answer to that.22:13
Peng_wolever: Not that this helsp, but the "filename.py-..." thing is a file ID, not a revision ID.22:13
LarstiQjam: trying to comment on the patch, slow going because it means reading other parts of the codebase22:14
zethHi22:16
pickscrapeIs it possible to create a branch of a branch with working tree that carries over the state of the working tree also?22:16
lifelessmoining22:16
zethSo at the moment I am just going open('.bzr/branch/last-revision').readline().split()[0] to get the rev number, can I do this with bzrlib?22:16
Peng_pickscrape: Well, you can use "bzr merge --uncommitted" after you branch.22:17
awilkinspickscrape: If you are using checkouts, you can push to a new branch and switch to it22:17
lifelesszeth: bzrlib.branch.Branch.open('.').last_revision()22:17
Peng_zeth: You can also do something like "bzr revno".22:18
pickscrapePeng: I'll try that22:18
lifelessjam: hi22:18
Peng_(well, that's if you're not doing it from Python)22:18
pickscrapeawilkins: I don't want to commit what's in my WC yet, though I suppose I could do that and uncommit etc.22:18
awilkinspickscrape: I think if you push a new branch and switch what's left in your WC remains?22:19
awilkinsI could be wrong22:19
awilkinshmm. Or you could shelve and switch22:20
zethlifeless: cheers22:20
zethPeng_: sorry should have said that from python22:20
pickscrapeawilkins: yes, you're right. My current tree is in a checkout of a checkout (which actually works). I'm wanting to experiment with a loom, so I want to try it in a new branch22:20
pickscrapemerge --uncommitted has basically done exactly what I wanted though. Thanks for the help :)22:20
woleverPeng_: Ah, excuse me.  LarstiQ: Darn.  Oh well, it's just a frustration, no lost work.22:22
LarstiQwolever: other people should know though, but I wanted to say something and not let your question go without any reply.22:22
LarstiQlifeless: heya22:22
LarstiQlifeless: I think jam would like your feedback on [REGRESSION][1.6] fetching knits => packs22:23
woleverLarstiQ: Alright, I'll keep a copy of the offending repositories around then come back tomorrow22:23
LarstiQwolever: if you can provide some more context on when it happens, that would help I think.22:24
lifelessLarstiQ: yes, I need to talk to him about it22:24
LarstiQlifeless: good, then I'll stop looking at code and call it a day.22:25
woleverLarstiQ: I'd love to, but so far it's only happened once, and I'm not sure how to repeat it.  My suspicion is that it's got something to do with either mismatched versions of bzr-svn and bzr or canceling an operation at the wrong time.22:25
LarstiQjam: do you want me to do anything with the upgraded/reconciled repository?22:25
lifelessLarstiQ: lol :)22:26
LarstiQwolever: hmm, I'd say it still shouldn't in those cases. Your ~/.bzr.log should contain a traceback for it btw.22:26
awilkinsIs it me or is Bundle Buggy Busted?22:29
LarstiQawilkins: it is not you.22:29
jamLarstiQ: you can keep it on the side if you want. Thanks for your help. You did miss a 'get_record_stream()' I didn't see.22:35
jamlifeless: I'd like your help to put together a quick test case for all the fetches22:35
jamI believe there are 4 or so22:35
jamrevs, sigs, invs, texts22:35
lifelessjam: yah, I think there are two tests needed22:36
lifelessone with _fetch_uses_delta True, and one False22:36
jamI really want to get an rc4 out today if at all possible22:36
lifelesswe can use the existing VersionedFilesDecorator to catch the get_record_stream_calls22:36
lifelessso its roughly22:36
lifelessmake_repo_a22:36
lifelessmake_repo_b22:36
lifelessrepo_a.texts = VersionedFilesDecorator(repo_a.texts)22:36
lifeless.signatures22:37
lifeless.revisions22:37
lifeless.inventories22:37
lifelessrepo_b.fetch(repo_a)22:37
lifelessinspect repo_a.texts.calls22:37
lifelessthis is a bzrlib.tests.test_fetch test-case, because it doesn't need to be parameterised by formats22:37
lifelessand we should do it with repo_b as a pack, and again with repo_b as a weave, to get both values for _fetch_uses_deltas22:38
lifelessjam: I can actually write it if you want, I figure that handoff time doing that would be greater22:39
jamlifeless: I think you've given me enough22:40
jamI've already got the code here22:40
LarstiQjam: those are all icw _fetch_uses_deltas afaics, the rest is in (True, False, include_delta_closure)22:41
rick_h_lifeless: ping, I sent off the article I told you about. If you get a chance to peek at it. Pretty simple examples22:41
rick_h_no big deal though22:42
jamLarstiQ: 'icw' ?22:42
LarstiQjam: in combination with, sorry, that is a Dutchism.22:43
awilkins"I cuckold walruses?"22:43
jamawilkins: sorry to hear that awilkins22:43
awilkins:-P22:43
awilkinsThe standalone exe for win32 has all the source compiled inside it, yes?22:44
awilkinsWhat does it do about things like GTK libraries?22:45
LarstiQjam: the endresult now is 173 knitpack and 100 knit repos btw22:45
jamLarstiQ: with my patch... and does that include removing files from .bzr/repository/obsolete_packs ?22:45
jamreconcile, IIRC, creates an obsolete pack22:45
LarstiQawilkins: last I looked at it, fall over. But maybe markh has done something smart to instrument import.22:46
lifelessawilkins: not sure, bundles I thought22:46
LarstiQjam: reconciled with your patch, yes. *looks at oldpacks*22:46
jamLarstiQ: We don't have the gtk libraries bundled into the all-in-one so you can't use the bzr-gtk plugin22:46
jamawilkins: I thought there was a discussion about adding places to the search path22:46
jambut I don't think it got very far22:47
jamso, ATM, the win32 will bundle the QT libraries to go with qbzr and tortoise22:47
LarstiQjam: and now it is 87 megs big, cheers.22:47
jamLarstiQ: that sounds better22:47
awilkinsIt must bundle some of the QT stuff because it uses qbzr now22:47
LarstiQjam: iirc 14 meg bigger than just the 1.5 upgraded version. But reconciled, so I can live with that.22:47
awilkinsmarkh has not posted the Python flavoured builds of the installer22:48
awilkins(for win32)22:48
jamLarstiQ: probably for the bits that had bad deltas, it inserted new fulltexts22:48
jamwe should really teach 'bzr pack' to combine a bit better22:48
jambut that will probably wait for something like 'group-compress'22:48
LarstiQjam: yes.22:48
jamwhere I see 100MB => ~20MB when done correctly22:48
lifelessrick_h_: cool22:53
jamlifeless: how do you want to handle the 'extra' calls, like get_parent_map() and iter_lines_added...22:55
jamshould I just check the *last* entry, which is 'get_record_stream' ?22:55
jamor should I be asserting the whole thing22:55
zethso back to bzrlib, bzr has some magic way of finding the branch always, even if you are symlinked off or whatever, any idea how to use that from bzrlib?22:57
jamzeth: bzrlib.branch.Branch.open? or open_containing22:58
rockstarlifeless, hi22:59
zethjam!, sweet cheers!23:00
lifelessjam: I would check there is only one get_record_stream call, and that it has the right value for that parameter23:01
lifelessjam: thats all23:01
jamlifeless: yeah, I didn't think we wanted to check all of it is constant23:02
lifelesszeth: if you look at bzrlib.builtins, you can see the code we use23:02
lifelessrockstar: hi23:02
lifelessjam: doing wakeup-stuff, back in a little bit23:03
jamlifeless: of course, for signatures, we seem to be doing 2 calls . :(23:03
rockstarlifeless, I,ve been hacking on cscvs today. Have some questions when you get back.23:07
jamlifeless: also, it seems that the proper value is 'unordered' not 'unsorted'...23:16
jam'unsorted' worked because anything other than 'topological' works23:17
chadmillerrockstar: Heya.  Did you get mail from me (chad at sun com) about revno reset.23:19
chadmiller?23:19
lifelessjam: meep23:19
lifelessrockstar: hi, just shoot23:19
rockstarchadmiller, I certainly did.  Thank you!23:19
rockstarlifeless, aggregating now23:19
chadmillerrockstar: I have another case for you.  :)  :\  :(23:21
rockstarlifeless, testInitProtocolBadHost seems to hang23:21
rockstarchadmiller, yes?23:21
chadmillerrockstar: Same problem.  Same three developers.23:21
lzhangis there a way to make bzr missing remember the branch that you want to want to run the command on?23:21
jamlifeless: ugh, it seems that for the 'iter_items_introduced_by' we do a direct get_record_stream() check for every revision to see if there is a signature23:22
rockstarchadmiller, and bzr resolve doesn't help?23:22
rockstarchadmiller, I mean bzr reconcile23:23
lifelessjam: thats in Model1To223:23
jamlifeless: no, it is in "item_keys_introduced_by"23:23
lifelessjam: so you are doing a plain->rich-root conversion in your test case23:23
jamlifeless: nope, it does a "get_signature_text() try/except" to decide if it is part of the stream23:23
lifelessjam: oh fugkly23:24
jamand get_signature_text is implemented as get_record_stream23:24
jamwhich we then discard when we actually stream23:24
lifelessstill, its been like that for a while23:24
jamlifeless: sure, I'm trying to do the minimum possible23:24
jamso I'll cheat for that one with a big TODO/XXX23:24
chadmillerrockstar: "oh [reconcile] does fix it... we just lose about 3 hours daily running it to fix the corruption"23:24
lifelessok, breakfast23:25
lifelessthen I will be here uninterrupted23:25
jamchadmiller: do you happen to be using knits in one place, and packs in another?23:25
chadmillerrockstar: "then someone pushes and it goes to hell again."23:25
rockstarchadmiller, oh yikes.23:25
chadmillerjam, doubtful.23:25
* chadmiller verifies.23:26
jamchadmiller: well, a) you only need to reconcile the branch, which is a very small and fast portion of 'reconcile' and I think someone wanted to introduce a flag for only runing parts23:26
jamchadmiller: well, if it is a mysql tree, they never went public with a knit tree23:26
jams/tree/repo/23:26
chadmillerjam: it's an internal project, unpublished.23:27
jamb) the only time I've specifically seen this, is when someone is accessing a repo that is missing a mainline revision23:27
chadmillerHrm.23:27
jamthere was a way that an old client pushing pack => knit could cause this if they ^C at the right time23:27
jamit at least feels like someone has a branch with a bad pointer, and they keep pushing over your official location23:28
rockstarchadmiller, did the branch come from a conversion of another vcs?23:28
chadmillerrockstar: Yes.  svn, iirc.23:28
chadmillerjam: all the branches I see pushed to are rich-root-pack.23:30
jamchadmiller: the problem is the 'from' (I'm guessing)23:31
rockstarThat would make sense.23:33
LarstiQhah.23:39
jamlifeless: if you get a chance, there is a patch up for review, and i'd like to get it submitted23:42
jamNo standup today, unless igc comes around23:43
chadmillerjam, rockstar:  One other weirdness out of this team is that they're using sftp as transport.23:44
jamchadmiller: I'm not particularly worried about that part23:44
chadmillerAlright.  They're watching to see when it happens.  I have them running "bzr revno" on the destination before and after each push, branch, and merge.23:46
lifelessjam:23:49
jam?23:49
lifelessjam: sorry23:50
lifelessreading, I'm not sure about the assertion23:50
jamchadmiller: what would be nice is to have a post_branch_tip_changed hook, but you aren't using bzr+ssh to install it on the server, and it is probably a pain to install it on all the clients23:50
lifelessyou didn't alter weaves for instance :)23:50
jamlifeless: I think we should have *something* to make sure recognized values are passed. I don't care a lot about that part23:51
jamand I just want to get a 1.6rc out that can actually become final23:51
lifelessbb:approve23:51
=== chadmiller is now known as chad|evening
jamlifeless: with the assert left in?23:56
lifelessjam: yes23:56
jamthanks, submitted23:59

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