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

pooliespiv, call in a sec00:01
=== vk5foss is now known as kgoetz
Necorohi there00:19
Necoroanyone an idea: http://rafb.net/p/v6LWKW51.html00:19
Necoro?00:19
beunoNecoro, Permission denied (publickey).00:20
beunoit shouldn't be tracebacking00:20
beunospiv, ^00:20
beunoNecoro, but, it's likely due to Launchpad being down00:21
Necorobeuno: hmm - the web service is up and running ;)00:21
Necorobut the traceback is strange though00:21
NecoroAttributeError: 'ProtocolThreeDecoder' object has no attribute '_in_buffer'00:21
jmlNecoro: the codehosting service is not yet fully up.00:21
beunoNecoro, the web service, but not the code hosting00:21
Necorook00:23
Necorothen I'll try again tomorrow morning ;)00:23
Necoroor in a few hours - depending on how long I stay awake00:24
spivNecoro: that's a bug in -Dhpss00:25
spivNecoro: it's fixed in bzr.dev (and 1.7rc I think)00:25
Necorospiv: *g* - bugs in debug code pathes are always great :D00:25
lifelessspiv: did you see my comment on that merge request?00:30
lifelessdown to 15 failures btw00:31
spivlifeless: yeah, I did00:35
spivlifeless: it's still flagged in my inbox as something to address00:35
lifelesscool00:36
lifeless2.45 seconds now btw00:36
lifelessI've seen hg as low as 2.3700:37
lifelessso, without plugins, my bzr branch is faster :P00:38
spivWhen I land faster-startup (tomorrow hopefully) that'll get you another 30ms :)00:38
lifelessbtw, did you try my status branch out ?00:42
poolienice00:42
=== kiko-afk is now known as kiko
lifelessok, all tests pass01:20
lifeless(all the intertree unit tests I mean)01:20
lifelessstill 2.45 seconds with everything passing, which is good01:22
lifelesslots of fat in there still I think01:22
lifelessbreakfast now, test-parameterisation for this new extension after that, then people can pplay01:23
jmlwhen's next bzr rc cut due?01:25
jmljam: ^^01:26
jdobrieni f01:27
jdobrieni know this isn't a bzr question but, i know there's a way of getting a line count from bzr diff by piping it through something else. but i can't remember how01:28
jmljdobrien: bzr di | wc -l will get you a line count01:28
jdobrienthat's it! thanks!01:28
jmljdobrien: but piping through 'diffstat' is also sometimes useful01:28
jdobrienjml: thank you01:28
jdobrienjml: diffstat, very nice01:29
=== mw is now known as mw|out
=== ajaksu_away is now known as ajaksu
lifeless2.42 seconds :P02:40
lifelessbtw03:21
lifelessthere is a faster status branch pushed to ...readdir03:21
lifelessI'm tuning now, but its currently 1.4/3.84 seconds faster03:22
mwhlifeless: does it mean a faster diff against wt too?03:22
lifelessmwh: yes03:23
lifelessmwh: diff is built on iter_changes03:24
mwhright03:24
* mwh tries to think what else is03:24
mwhmerge, i guess?03:24
mwhbut that's between revision trees i suppose03:24
lifelessmerge does a local diff03:32
lifelessso yes, merge on large trees should feel faster03:33
lifelessmwh: how long does 'bzr st' take you today on lp?03:34
jml~540ms for me.03:35
AfCIs bzr 1.7-rc1 something you want me testing? (alternative answers to "duh, yes" are "ooops, no, it's horridly broken don't touch" and "wait until 1.7rc2" and "no stick with 1.6.1 for day to day use" and "please test the $X which we want feedback on")03:35
lifelessyah, you would see only a small improvement03:35
lifelessAfC: rc testing feedback is always welcome; I don't know if there are specific improvements there that are relevant to you03:36
AfC{shrug}03:36
AfCThen I'll pull it in.03:36
lifelessif 1.7c1 was horribly broken the IRC topic would likely say so03:36
AfCUh huh03:36
AfC(I'm more getting at the tension between "it was just a snapshot on a given day" and "our dev tip is where it's at, but don't use that")03:37
lifelessoh03:46
lifelesswell, I live ahead of tip myself; I think anyone that is interested can safely run tip - just need to track the rss feed for it to know what changes are occuring03:47
jmlAfC: use the tip of the bzr 1.7 branch if you want to test. It's got a couple of fixes that aren't in the rc.03:53
fullermdI track tip, 'cuz it makes me feel special.03:54
AfCfullermd: you *are* special. Don't let anyone tell you different.03:56
fullermdThat's what the counselors always told me, while they were smiling and backing away.03:56
fullermdAnyway, whaddaya get if you run released versions, anyway?  All you do is trip over bugs that other people have already found.  Where's the joy in that?03:57
* spiv sometimes thinks that "Following the tip" sounds like "walking the plank"03:58
fullermdI mean, that's all like "You: I found this bug    lifeless: Yeah, it's bug 12345".03:58
ubottuLaunchpad bug 12345 in isdnutils "isdn does not work, fritz avm (pnp?)" [Medium,Fix released] https://launchpad.net/bugs/1234503:58
spivEspecially when lifeless says he lives ahead of the tip :)03:58
fullermdWith tip, you can be all "You: I found this bug     lifeless: o_O"03:58
spivfullermd: the joy is that if the bugs are already known, then maybe the workarounds are too ;)03:59
jmlspiv: 'patches accepted' is not a workaround.03:59
fullermdPiffle.  What kinda wimp wants to live like THAT?03:59
fullermdThat's like getting pre-digested food.04:00
fullermdGotta have something you can sink your teeth into.04:00
fullermdEven if it responds by sinking teeth into you...04:00
lifelessmwh: so, did you try the branch? or just curious about whether it will help you ?04:49
spivpoolie: there's a mostly complete http://bazaar-vcs.org/SmartPushAnalysis1.8 now.  I'm off to lunch.04:59
pooliehey, great05:01
pooliei was literally talking about it to thumper right now05:01
* spiv does a couple last touches05:04
spivOk, really lunch now :)05:04
spivpoolie: buried in the "analysis" section is a description of the 10s win I mentioned this morning.05:06
pooliespiv, can you tell me more (or add more) to that page about the streaming-push work05:06
poolielike sending a put_revisions_stream rather than working on packs05:07
=== Spaz is now known as Kittens
=== mario__ is now known as pygi
=== TheMuso_ is now known as TheMuso
mwhlifeless: no, i didn't get around to it06:10
pooliespiv, are you back?06:16
spivpoolie: I am06:21
pooliequick call? skype or pots?06:21
spivEither's fine with me.06:22
jmlwill 'bzr upgrade' in a shared repo upgrade the branches in that repo?06:26
lifelessjml: it didn't do so in the past, but I don't know if it does now06:36
jmllifeless: thanks.06:39
lifelessjml: easy enuff to find out06:39
jmllifeless: yeah, I know.06:39
jmlthe answer is "no"06:40
vilahi all06:52
lifelessjml: ping07:11
jmllifeless: pong.07:12
lifelessjml: AIUI bzr never stacks unless --stacked is passed07:12
lifelessI refer to your lp documentation07:13
lifelessif it is stacking without --stacked being passed, or a local default being set, I consider it a pretty big bug we should fix07:13
jmllifeless: ok.07:13
lifeless(because stacking generates a truncated database, it can lead to unrecoverable data loss if people think they actually have a full branch)07:14
jmllifeless: not 100% sure what to say to that.07:14
lifeless(and then delete something)07:14
jmllifeless: the work I've been doing on Launchpad has been predicated on the default stacking policy stuff in Bazaar 1.7.07:15
lifelessjml: I understood that policy to control *where* not *if*07:15
jmllifeless: ok, then that's definitely something to raise on the Bazaar mailing list.07:17
mwh<lifeless> jml: AIUI bzr never stacks unless --stacked is passed07:17
mwhnot true, a*i*ui07:17
lifelesspoolie: please read the above, then comment07:17
lifelessfrom 16:11 < lifeless> jml: ping07:18
jmllifeless: in any case, whether or not Bazaar needs to grow a local configuration option is incidental to Launchpad.07:24
jmllifeless: if the 1.7 release gets one I'll update my instructions.07:24
jmllifeless: this rollout only defines a stacking policy for projects on a pre-configured shortlist, so the impact is manageable.07:26
pooliehi07:32
pooliehm07:33
pooliemy understanding was that it should not normally stack unless --stacked was given07:33
pooliebut when pushing to eg launchpad the server could tell it to do so07:33
jmlthis matches how bzr behaves at the moment.07:35
poolieyay07:40
pooliei'm so haappy to hear thaht07:40
pooliethat*07:40
jml:)07:41
jmlok. well I'm going to take a few deep breaths to recover from that little shock.07:42
poolielifeless: is this ok with you?07:45
lifelesspoolie: I don't really feel comfortable with that, but if you are, well, I have bigger fish to fry.07:45
pooliejml, can we change this later so the server just sends a suggested url but doesn't turn it on?07:47
jmlpoolie: I'm not sure I follow. At the moment, all the server does is specify a URL in a control.conf file.07:48
jml(and a billion things to deal with the fallout of that & Launchpad's own infrastructure)07:49
jmlpoolie: presumably Bazaar can change at a later stage to respond differently to this URL.07:50
poolieok07:50
poolielifeless: thanks for the status update that was super useful07:51
poolieaside from being a nice set of numbers07:51
lifelessI'd like to set usertest run across it07:52
pooliethanks for noting that it may be bottoming out too07:52
poolieok07:52
poolieyou can, or i can on escudero07:52
lifelessis there a HOWTO?07:53
poolieyes, just google it07:53
lifelesshttp://rabbit.eng.miami.edu/dics/amerlen/length08.txt ?07:53
lifelessthats the only hit07:53
lifelessfor "'usertest' 'escudero'"07:53
pooliehee hee07:53
pooliehttp://people.ubuntu.com/~ianc/plugins/usertest/doc/usertest-tutorial.html07:54
lifelessuhm07:54
lifelessI meant on escudero07:54
pooliehttps://wiki.canonical.com/Orcadas07:54
pooliei mistyped07:54
pooliei'll be here for a few more hours so i'm going to take a break now07:55
lifelessok07:55
lifelesswell, I might poke tomorrow07:55
lifelessreading those two docs suggests to me the answer is 'no there is no howto for running a specific branch'07:55
lifelessso I'll look at it tomorrow07:55
pooliei can set it up07:55
lifelessgnight, enjoy your call :P07:55
poolieit's in the doc on that machine07:56
lifelessbranch is http://people.ubuntu.com/~robertc/baz2.0/readdir07:56
lifelessthanks!07:57
=== Kittens is now known as Spaz|hedonism
=== Spaz|hedonism is now known as Kittens
imyojimbohi, im trying to push a branch to lp , and i get "The server's host key is not cached in the registry"08:36
Odd_Blokepoolie: Did you see my email regarding payment for the summer?09:02
poolieOdd_Bloke: hi there09:03
poolieyes let's see about that09:03
Odd_Blokepoolie: I'm at work ATM, so email is better than IRC. :)09:07
poolieok09:14
pooliesent09:25
Odd_Blokepoolie: Thanks.09:27
Odd_BlokeI'll deal with it when I get home.09:27
Odd_BlokeOr possibly tomorrow, I'm probably busy this evening.09:27
pooliemaybe we can talk tomorrow my time/uk evening09:27
poolielifeless: should be running now in http://benchmark.bazaar-vcs.org/usertest/log/usertest.log.inprogress09:34
awilkinsls09:35
awilkinsOops09:35
robstahi12:57
robstais there anything new in the BzrGit department?12:57
=== bac_afk is now known as bac
Odd_Blokerobsta: jelmer wrote (most of) it, so he'll probably know.13:03
robstais it usable already?13:05
=== kiko is now known as kiko-afk
lifelessrobsta: it can clone locally I believe13:49
robstaok, guess i'll stick to svn server-side for the time being, then13:59
=== mw|out is now known as mw
=== cody-somerville_ is now known as cody-somerville
antoranzHi guys!14:47
antoranzis it possible to list all the revisions in a branch but ordered by date instead of "revision/branch"?14:47
antoranzI mean.... instead of having the revision tree, I want toget all the revisions ordered by date14:48
antoranzis that even possible at all?14:48
vilajam: ping14:50
Takin a bound checkout, does `bzr cat` hit the server?14:56
bob2I'd assume yes for lightweight,no for regular14:57
Takgood14:58
=== raz is now known as razZz
=== razZz is now known as raz
=== Ng_ is now known as Ng
=== jam changed the topic of #bzr to: Bazaar version control system | http://bazaar-vcs.org | bzr-1.6.1 now available! please test bzr-1.7rc2 | http://irclogs.ubuntu.com/ | http://planet.bazaar-vcs.org/
Leonidashow comes that bzr mv -q still shows what it moves?16:33
james_wLeonidas: it's a bug I expect16:34
LeonidasYeah, I think so too. I just encountered again when I wrote it in a script16:34
james_wLeonidas: I would guess it's an easy fix16:35
Leonidasjames_w: probably. It's not a problem currently, I just wanted to tell that to the developers, so they can fix it when someone has a bit of spare time.16:36
james_wLeonidas: a bug report would be a better way of doing that of course16:37
Leonidasjames_w: sure, I'll write one in a moment. Just wanted to make sure I'm not the only one with this problem.16:38
james_wthanks, I'll check now16:38
james_wyup, I see it too16:38
LeonidasCLOSED: worksforme with the comment: "Do you think we'd miss something like this?" would leave me standing like an idiot ;)16:39
james_wtrue :-)16:39
=== ajaksu is now known as ajaksu_away
Leonidasjames_w: there it is: https://bugs.launchpad.net/bzr/+bug/27179016:47
ubottuUbuntu bug 271790 in bzr "bzr move ignores quiet option" [Undecided,New]16:47
james_wLeonidas: thanks, I triaged it16:51
Leonidascool, let's see how it'll continue :)16:55
Kittensmeow16:55
Kittensoh my16:56
Kittens1.7 already? O_o16:56
Kittens(well, an rc, but still)16:56
Kittensdid you hire a team of slaves or such?16:56
awilkinsKittens: 1.7 was hot on the heels of 1.616:58
awilkins1.6 had a over-long release cycyle16:58
Kittensah :p16:58
* rocky is comforted by the fact that there are so few changes between 1.7rc1 and 1.7rc216:58
* awilkins just wants them to merge his switch-to-sibling patch so he can stop maintaining his own builds17:01
awilkinsmarkh: Is it hard to build the "exe" version?17:01
Verterokawilkins: ping17:35
awilkinsVerterok: pong17:35
Verterokawilkins: hey there!17:35
Verterokawilkins: patch merged, and also a few other fixes/enhancements in bzr-java-lib (also in bzr-eclipse)17:36
awilkinsVerterok: Excellent :-)17:38
awilkinsVerterok: I love it when my patches get merged, I don't have to maintain the branch anymore :-)17:39
Verterokawilkins: hehe, indeed.17:39
awilkinsGoing to have to keep that callisto branch going though, methinks17:40
awilkinsAt least until my PM badgers Borland into coughing up upgrade licenses17:41
Verterokawilkins: (don't remember if already told this) about the dependency on core.expressions it's only used in the refresh hook17:41
awilkinsSo we can use the Ganymede version insdtead of Callisto17:41
awilkinsVerterok: Yes... the refresh seems to work OK, so I'm not sure if it breaks anything to be on Callisto17:41
awilkinsIs there any specific behaviour that it enables?17:41
Verterokawilkins: that's is only for a specific layout17:42
Verterokawilkins: when the project root is below the branch root17:42
awilkinsVerterok: Flat or hierarchical or something else?17:42
awilkinsAh17:42
awilkinsSo it would come into play on bzr-eclipse, for example17:43
Verterokawilkins: i.e: bzr-eclipse project layout: mutliple projects in one branch17:43
Verterokyes17:43
awilkinsIt doesn't affect most of my stuff17:43
Verterokawilkins: that was my point :) I assume you can remove the refresh hook and so the core.expressions deps17:43
awilkinsVerterok: What exactly is the bit that needs that version? Because if you just take the version number out of the manifest, it compiles and appears to run ok.17:49
awilkinsAnd a version of "3.2.100" suggests a callisto component to my mind17:49
Verterokawilkins: I think the 3.2.100 was added in Europa (but just guessing)17:52
Verterokawilkins: I never specified a version :p17:52
awilkinsVerterok: It's true that I can't find a 3.2.100 version in the Callisto updates, but a europa-specific component should be 3.3, no? I suspect it's a patched version of a europa-compatible library17:53
awilkinsSorry, callisto-compatible17:53
awilkinsThat would fit the version number scheme17:53
Verterokawilkins: here (3.4) seems to compile without the version number17:54
awilkinsAlso does so for 3.217:54
Verterokawilkins: the version scheme is not exactly like that :)17:54
awilkinsWell, it should be :-)17:55
Verterokawilkins: mayor.minor.bug-fix, mayor change *only* if there are api breaks, minor when there are new api or visible changes17:55
awilkinsVerterok: It just makes a sort of internal sense to me that a component of version 3.2 has had the same API since Eclipse 3.217:57
awilkinsSince there are also 3.4s in Ganymede but not in Callisto17:57
awilkinsesp. for actual eclipse bits17:57
Verterokawilkins: in ganymede, core.expressions is in version 3.3 :p17:58
Verterokawilkins: http://wiki.eclipse.org/index.php/Version_Numbering <- from there I taked my lame explanation of versions numbers :)17:59
awilkinsYes, but you have to admit that the large amount of "3.2" components in Callisto, and 3.3 in Europa, and 3.4 in ganymede... well, I reckon there's a convention operating within the rules there :-)18:01
awilkinsWhat would fail if it wasn't working properly on this version18:01
Verterokawilkins: sure, it makes sense that most of the componentes get bumped to 3.3, 3.4, etc :)18:01
awilkinsBUt if the API does not break... then not18:02
awilkinsHence 3.3. on Ganymede, etc18:02
Verterokawilkins: right :)18:02
* Verterok just realized that bzr-eclipse should be 1.0.99 :p18:02
* awilkins has had to revise client code several times, you naughty dog18:03
awilkins:-P18:03
Verterok:)18:03
awilkinsSince you didn't choose a version number, I suggest it is removed18:04
awilkinsSince it compiles just fine here18:04
Verterokawilkins: ah, all tests passing on *nix :-D18:04
awilkinsAnd you don't support 3.2 anyway because you use 3.3 components18:04
Verterokawilkins: sure, I'll remove it in my next commit18:04
awilkinsI have a little patch for your /tmp dir stuff18:05
awilkinsHmm.18:06
Verterokawilkins: patches are more than welcome :)18:06
awilkinsVerterok: They fail to start a client here18:21
awilkinsVerterok: My laptop is passing.18:21
Verterokawilkins: the client don't start?18:22
Verterokawilkins: also I added a few goodies related to preferences, let me know if the chicken-egg issue is solved for your case :)18:23
awilkinsVerterok: It doesn't seem to be registering the client factories before it asks to create one18:35
awilkinsIt calls into createClient and factories is an empty mapo18:36
Verterokawilkins: hmm, let me check18:36
Takargh, why does `bzr diff` return a nonzero value on a non-error condition?18:36
awilkinsI'll trap my working one and see where regstierAdapterFactory is getting called during the tests18:36
VerterokTak: it indicates the result of the diff18:37
VerterokTak: take a look at the end of: 'bzr help diff'18:37
Verterokawilkins: it should be in TestsConfig/TestConfig (If I remember ok)18:38
TakI see what they mean18:38
Takbut the shell treats !0 as an error condition and acts accordingly18:39
fullermddiff(1) returns non-zero on differences too.18:39
awilkinsVerterok: Badgers, my fault18:40
awilkinsI'm running with xmloutput 0.518:40
Takmeh, it does?  I guess that answers my question then18:40
awilkinsMy thoughts on that are ; since bzr-java-client can manipulate the PLUGIN PATH, it could have it's own internal xmloutput plugin18:41
awilkinsBut it probably needs a test to check the plugin version18:41
Verterokawilkins: oh, ok. I was thinking that maybe the new "lightweight" checks for the executable broken something on win3218:41
awilkinsVerterok: All the bits of code I suspected haven't changed between our branches, I think18:42
* awilkins pulls xmloutput18:42
Verterokawilkins: that would be nice, I've been playing with eclipse regarding this "bundled-xmloutput", and it seems quite simple to achieve18:43
Verterokawilkins: do you know if the PLUGIN PATH override the default plugins location?18:43
awilkinsVerterok: I don't know18:49
awilkinsVerterok: It all passes here apart from index because I don't have the plugin18:49
Verterokawilkins: great, I must add a conditional in the execution of the test related to bzr-search18:50
awilkinsNow I'll try a startup in a clean workspace18:51
* Verterok cross fingers and wait18:52
Verterokawilkins: the preferences page should be opened on startup18:53
awilkinsVerterok: Ok, zero prefs18:56
awilkinsSo far.18:56
awilkinsImported a project (because I'd usually do that and forget about VCS for a while)18:56
awilkinsOk, menus are available.... go to prefs now18:57
awilkinsSet the .bat file... it's happy18:58
awilkinsTook a moment to show overlays because this is a large tree18:58
awilkinsSo the "can't set prefs" issue is clear18:59
Verterokawilkins: gooooood :D19:00
awilkinsThis is a slightly patched branch because I've removed callisto things to make it compile19:00
awilkins*europa19:01
awilkinsBut only those changes required (no SaveableEditor)19:01
awilkinsMy wife is waving cake19:03
* awilkins departs, drooling19:03
=== kiko-afk is now known as kiko
* beuno points everyone at: http://www.smashingmagazine.com/2008/09/18/the-top-7-open-source-version-control-systems/19:38
Verterokhi beuno19:39
beunohey Verterok19:39
beunolifeless, igc, jam, abentley ^19:40
LarstiQanam I missing some navigation, or isn't there much to the review?19:41
beunowell, it's not very profound19:42
beunobut it showcases bzr quite weel19:42
beunowell even19:42
LarstiQok :)19:44
beunoTBH, it's a site that normally features design stuff19:45
beunoso it was surprising to me to see that entry19:45
beunoso I had to share it   :)19:45
Tak"Monotone places higher value on integrity than performance."19:50
TakI thought that was bzr's claim :-P19:50
LarstiQTak: you obviously haven't tried monotone lately ;)19:58
Takhaha, no20:02
Takone experience was enough for me20:02
* awilkins has a monotone server that's run untouched on his DVR for ages20:03
awilkinsI think I'll transfer the source to bzr branches and leave it at that20:03
ronnyyo20:04
Spazew monotone20:04
Spazhello ronny20:04
ronnymonotone is certainly nice and powerfull, just dog-slow cause poor data-store20:05
awilkinsSQLite is not poor ... but RDBMS are a poor idea of version control20:05
awilkinsAnother reason to shy away from TFS20:06
LarstiQit's a bit sad, they did some nice stuff20:06
ronnyawilkins: well, given the context sqlite is poor20:06
awilkinsVSS! With SQL Server as a backend! Yay20:06
ronnywell20:06
rockyis there anything compareable to svn authz access via http/apache for bzr? where you can control access to various repos and/or folders-within-repos via a config file?20:07
Takeh, tfs is a bit more like svn with sql server as a backend ;-)20:07
awilkinsrocky: You can only do authorization on a whole-tree level20:07
beunothere is a script in contrib/20:08
rockyawilkins: well, is there anything making that (on whole-tree level) simple for a http based bzr serving?20:08
beunofor SSH keys20:08
ronnyhmm, well, will bzr branches stay to limited to one head and having the workdir point to that20:08
rockybeuno: what i'm asking for would need to be read/write via http20:08
beunorocky, ah, webdav. vila is the man to ask about that20:09
rockyvila: ^^ :)20:09
beunoit's late-ish for him, so he may not be around20:09
beunoif you don't get an answer, sending an email to the list is the next best thing20:09
awilkinsHmm, I like the domo-kun eating trees on their picture of git, why isn't the real git like that....20:10
rockysince the main bzr http serving thing is just a python wsgi app (well at least it looks that way) it seems fairly straightforward to write my own access middleware for that20:10
rockybut i'd love to see if someone's already one that20:10
rocky*done20:10
=== kiko is now known as kiko-phone
beunorocky, well, contributions to loggerhead are *very* welcome  :)20:11
awilkinsI've only gone as far as configuring access via IIS auth20:11
AmanicAI've managed to do read & write through apache  (bzr+http://)20:11
beunoanyway, I'm off to the dentist20:11
awilkinsYou just use IIS user impersonation and normal NTFS ACLs20:11
beunoIIS, eeeeew!20:11
Spazew20:11
beunook, that's it for unproductive comments from me20:11
awilkinsI know, but the production site is ASP classic20:11
rockyew is right ;)20:11
* Spaz threw up a little20:11
awilkinsI could change it to PHP in short order though20:12
awilkinsTHe ASP is only being used for a very few things20:12
awilkinsMostly inserting "1" and "0" into links in strategic places20:12
awilkinsMight be nicer... but without it, Bazaar would not have working IIS support yet, so ner.20:13
AmanicArocky: using AuthType Basic and AuthUserFile like with svn20:13
LarstiQawilkins: I for one think you're a hero :)20:13
Spazi think IIS discussion is off-topic in here20:13
Spazand quite frankly i think it's flamebait :P20:13
rockywell as long as everyone here acknowledges that MS tech beats all i don't need to argue....20:14
* rocky couldn't resist throwing out some bait20:14
Spazhurhurhur20:14
Spaz:P20:14
awilkinsYes, MS tech is a violent assault, we agree20:15
Spazi think m$'s technology is their attempt at conquering the world...and it seems to be working20:15
Spaz:p20:15
* Spaz forks himself into the background20:15
LarstiQSpaz: nah, not as it concers20:16
LarstiQmeh20:16
* LarstiQ kicks freezing laptop20:17
Spazdon't kick it too hard20:17
awilkinsmarkh: Ping?20:17
ferrouswheelhi all, is there any way to pull individual file changes from a revision?20:28
ferrouswheelahh, dumb question, just found out merge supports that20:31
Spazbzr help diff20:31
Spazor that20:31
bpierrehi20:40
LarstiQbpierre: hey, did you try `bzr add subtree`?20:45
LarstiQs/hey/hi/20:45
ferrouswheellooks like i spoke to soon... online some refers to using individual files with merge... but i can't find anything in the help about it20:45
ferrouswheeloh actually it does work... it just doesn't accept wild cards.20:46
=== kiko-phone is now known as kiko
bpierre_does it work if the directory containing the subtree is added but not yet commited?20:51
bpierre_LarstiQ: here is what I did: http://www.pastie.org/27524120:58
LarstiQbpierre_: I think that should work. The root fileid won't be set yet of ruby, so _possbily_ that could go wrong21:02
bpierre_I tried to commit, then add, no luck21:02
LarstiQno luck in what way?21:02
bpierre_I'm using the right format, right?21:02
LarstiQbpierre_: yes, old, but alas21:03
bpierre_add src, commit src, branch ../c src/c, add src/c21:03
LarstiQbpierre_: what does that give?21:03
bpierre_nothing, if I do a status, src/c is still unknown21:03
LarstiQhmm21:06
bpierre_0.373  opening working tree '/home/bpierre/projs/test/ptree/ruby/trunk/src/c'21:06
bpierre_0.390  skip control directory '.bzr'21:06
bpierre_in ~/.bzr.log21:07
* LarstiQ tries to find a workable machine21:07
=== kiko is now known as kiko-phone
LarstiQbpierre_: oh wait, which bzr is that you're using?21:13
LarstiQbpierre_: path/to/nested-trees/bzr ?21:13
bpierre_installed http://bazaar.launchpad.net/%7Elarstiq/bzr/nested-trees/ with --prefix=~/progs21:14
bpierre_bzr --version: Bazaar (bzr) 1.3.0.dev.021:14
LarstiQbpierre_: ok, so bzr in your path is that one?21:14
bpierre_yep21:14
LarstiQbpierre_: bah, you're right21:16
fmhow do i publish my local bzr repo to an ftp server?21:16
bpierre_?21:16
LarstiQbpierre_: that means I'll have to refamiliarize myself with the code21:17
bpierre_ok21:17
jcomeauhi all, i can't seem to find the right lines on your webpage to add to /etc/apt/sources.list... any clues?21:17
jcomeauthis is on Debian, of course21:17
LarstiQbpierre_: I'm sorry I don't know currently why that is so :/21:18
LarstiQjcomeau: testing or sid should not need anything extra21:18
bpierre_LarstiQ: how can I execute the test suite?21:18
LarstiQbpierre_: bzr selftest <pattern>21:19
LarstiQbpierre_: without the latter it will run the entirety21:19
bpierre_ok21:19
LarstiQbpierre_: there are on the order of 10 failures/errors atm21:19
bpierre_ok, and I don't need to be in a specific directory?21:20
LarstiQbpierre_: (if you're bored, you can look at `bzr help join`, and see how well that models your components usecase)21:20
bpierre_ah, ok21:20
LarstiQbpierre_: join is also in regular bzr fwiw21:21
LarstiQbpierre_: I believe at least Debian/Ubuntu run the suite after building packages, and not from the source tree, so I expect that to work21:21
bpierre_really? I noticed split was21:21
bpierre_(part of the regular bzr)21:22
LarstiQbpierre_: in development, most people will run it from a bzr source tree21:22
bpierre_ok21:22
LarstiQbpierre_: yeah, bzr-svn uses (or used) the same functionality under the hood21:22
bpierre_the rich root format?21:22
LarstiQbpierre_: splitting and joining21:23
bpierre_what are the differences between all those format? rich-root, development-subtree, dirstate-with-subtree?21:23
jcomeauLarstiQ: that's what i gathered, but apt-get -t unstable install bazaar tells me it's already the latest version... and it's 1.4.221:24
LarstiQjcomeau: s/bazaar/bzr/21:24
pl0shi have installed the new release and i got this message always i use the bzr command.21:24
LarstiQjcomeau: the 'bazaar' package is unfortunately named, it is not the bzr Bazaar21:24
LarstiQbpierre_: different ages basically21:25
jcomeauLarstiQ: thanks! looks like that'll do it...21:25
LarstiQbpierre_: rich-root is a part of what the nested-trees needed, but that got integrated a while ago21:26
LarstiQbpierre_: dirstate-with-subtree is the old dirstate format, plus subtrees21:26
LarstiQbpierre_: and development-subtree I don't know but assume to be current development format plus subtree21:26
bpierre_ok, and rich-root?21:26
LarstiQpl0sh: what error?21:27
bpierre_in the blueprint, rich-root is required, so is rich-root part of subtree format21:27
bpierre_?21:27
LarstiQbpierre_: no, the rich-root feature is necessary but not enough21:28
pl0shbzr-svn is not up to date with installed bzr version 1.7rc1.21:28
pl0shThere should be a newer version of bzr-svn available.21:28
pl0shStandalone tree (format: pack-0.92)21:28
LarstiQbpierre_: rich-root _is_ enough for bzr-svn though, part of the reason why rich-root formats exist in released versions21:29
bpierre_ok, it's what I understood then21:30
bpierre_thanks21:30
LarstiQpl0sh: either update bzr-svn to a version that works with bzr 1.7rc1, downgrade bzr to a version that works with your bzr-svn, or disable the bzr-svn plugin21:30
LarstiQbpierre_: np21:30
* LarstiQ really needs to start going home21:30
pl0shok, so, what version of bzr-svn works with bzr 1.7rc1?21:31
LarstiQpl0sh: no released versions according to http://bazaar-vcs.org/BzrForeignBranches/Subversion21:32
LarstiQpl0sh: two other options, run with --no-plugins, or ignore the message.21:32
LarstiQpl0sh: you do realise bzr 1.7rc1 is a release candidate, and not a released version? :)21:33
awilkinspl0sh: silly question ; do you use it?21:33
pl0shsure i know it21:33
awilkins(bzr-svn, that is)21:33
LarstiQpl0sh: if you don't use bzr-svn, disabling it is probably the easiest solution21:33
pl0shi don't use it i think i'll disable it or anyway just ignore the message21:34
awilkinsYou can just find it and move it to the parent folder21:34
bpierre_LarstiQ: mmm, did a join, without --reference, commit, but then noticed --reference, and how it matched more by usecase, so uncommit, revert, add (after renaming src/c/.bzr.retired.0/), and now commit21:34
LarstiQpl0sh: if you do want to use bzr-svn and 1.7rc1, you could use a non-released bzr-svn version as well21:34
bpierre_but it fails21:34
bpierre_:P21:34
* LarstiQ slaps self21:35
LarstiQbpierre_: reference, that's it! :)21:35
bpierre_bit I'm not really going gentle with it, what with the uncommit and all21:35
pl0shalright, thank you21:35
bpierre_LarstiQ: the error is: bzr: ERROR: already in a write group21:35
LarstiQpl0sh: which would be lp:bzr-svn/0.4 I think21:35
LarstiQbpierre_: huuuu21:35
bpierre_:D21:35
bpierre_I'm going to try all over again, start from a clean state21:36
pl0shbtw, i'm not very expert using bzr, and i'd want to use it better, where can i start?21:36
LarstiQbpierre_: I like your abilities as a tester ;)21:36
LarstiQpl0sh: that depends. Reading the documentation is a start, but imo interacting with other people works best.21:37
* LarstiQ really heads home now21:37
LarstiQbpierre_: thanks for trying this stuff out btw, I can use the kick under my rear :)21:37
pl0shi just use the basics of bzr21:38
LarstiQpl0sh: well, what more do you want to do?21:38
LarstiQpl0sh: plugins can be fun to write, if you have the time and the inclination21:39
LarstiQpl0sh: as can reading the mailing list21:39
pl0shthat would be great21:39
pl0shactually i use bzr to keep tracking my development and as a helper when a make a mistake (i.e. delete a file or something like that..)..21:40
pl0shbut actually i don't know how to use bzr in a team, like merging branches (i think)21:41
shawn_1I have been using svn for a long time, and I am trying to migrate to bazaar. I have the repository set up on a remote box and I am having trouble checking out from it.21:41
bpierre_LarstiQ: same error: http://www.pastie.org/27527321:42
shawn_1bazaar is not liking my proxy settings21:43
VanLIs there a way to list the available repositories at a URL? For example, I have access to bzr+ssh://username@hostname.com/some/path.21:43
VanLI can push something there21:44
VanLbut I want to see what others are doing in the same tree21:44
mwhhmm, seems having a gannotate window open makes bzr pull fail with21:44
mwhbzr: ERROR: Could not acquire lock "[Errno 11] Resource temporarily unavailable"21:44
awilkinsWah, wah, wah21:44
VanLbut I don't know the exact path to their repository.21:44
awilkinsI built bzr.exe for windows, and it doesn't work21:44
awilkinsmwh: Yes, many things I think should be read only use too many locks21:45
fullermdVanL: Not exactly.  There's a 'branches' command in bzrtools that will walk around a given location and try to list all the branches there.21:46
VanLfullermd: Does it come with the basic bzr install?21:47
fullermdNo, but it's a common plugin.21:47
fullermdThere's a package for it on most OSen that I know of [that bzr is packaged for, at least]21:48
bpierre_part of the windows setup exe too21:50
kiko-phonehey lifeless, are you around?21:50
VanLIn bzrlib/plugins?21:51
GaryvdMVanL: qlog from qbzr will find the branches and show the tips form the branches. See http://garyvdm.googlepages.com/qlog-repo.png21:51
bpierre_any direction on how to rebuild the setup exe for windows?21:51
VanLGaryvdM: thanks21:51
VanLfullermd: thanks, now installed.21:52
mwhis it new that remotebranches support set_stacked_on_url?21:56
mwhi think they do something really weird with relative paths21:56
mwhah no22:10
mwhit's that RemoteBzrDir.find_branch_format opens the branch22:10
lifelessjam: ping22:21
lifelessjam: do you know, offhand, where Py_ssizet is defined, getting buildfailures of all our extensions on a python2.4 box22:21
jamlifeless: You need a new-ish version of pyrex22:22
jamwhich will do a proper "if python_version < 2.5: #define Py_ssize_t int"22:22
jamlifeless: looking at the file I have right now:22:23
ronnyre22:23
jamhttp://rafb.net/p/47rI8Y78.html22:23
lifelessthis is still running dapper :P22:23
jamPy_ssize_t only exists on python >2.522:23
jamsorry, >= 2.522:23
jamlifeless: I'm trying to debug why PQM is running into autopack failures22:24
jamAnd I seem to have run into a *very* strange situation22:24
jamWhere I'm seeing a revision text 6 times in the same pack file22:24
jameach time with different content22:24
lifelessjust whacking that into _)dirstate_helpers_c.h has helped22:24
lifelessjam: if you're analyzing the pack content, remember that knit hunks only have a revision field22:24
lifelessjam: so you'll see file texts and inventories etc willynilly22:25
lifelessjam: there is a bug open on the autopack issue, its not just pqm (FWIW)22:25
jamlifeless: sure, but how would you get 6 items?22:25
jamah, just multiple file texts?22:26
LarstiQbpierre_: same thing here, I'll look at it tomorrow, after some sleep22:27
bpierre_ok, thanks22:27
ronnylifeless: about that only having a single tip per branch + always having the workdir point to that tip, is there any chance to ever change that?22:27
=== kiko-phone is now known as kiko-afk
lifelessjam: rev, inv, sig, 3 file changes22:29
lifelessronny: well, everything can be changed, if the community agree its an improvement22:31
lifelessronny: I'm not quite sure what you mean though, because branch, in every VCS I know of, refers to one of two things: a line of development, or a bifurcation in the revision graph22:31
fullermdWell, the workdir can already point elsewhere than the tip.  You just can't do or find out much of anything about it when it is.22:31
jamlifeless: do you know how LP guys are requesting PQM do a cherrypick? I didn't think that was possible22:32
mwhjam: cherrypicks are done by the osas i think22:32
lifelessronny: in the former, a revision is the definition of an entry point into the graph; I guess you could define multiple revs as all being 'part of branch X'22:32
lifelessjam: manual merges by LOSAs22:32
fullermdWell, mtn can have multiple heads because "on a branch" means "has a given certificate attached"...22:33
lifelessronny: and in the latter case, its structural rather than user facing22:33
jamI don't know what an OSA or a LOSA is, but it is getting the PQM user-id22:33
lifelessfullermd: indeed; mtn is the exception :)22:33
ronnylifeless: well, git, hg and monotone allow me to go to previous/alternative versions in a branch, i build my workflows around that, bzr really differs there22:33
bpierre_monotone allows multiple heads for a branch22:33
lifelessjam: 'sudo' :>22:33
jamanyway, I have the feeling that the manual editing is where the problem is happening22:33
jam*why* I'm not sure22:33
jambut that seems to be causing the later problems.22:33
lifelessjam: I don't, because the same thing has happened to beuno on a normal push22:33
jamI'll check another example (I have 2)22:33
ronnybpierre_: not just monotone22:34
lifelessjam: there is a bug open, with tarballs of the branch as it happened live22:34
beunoare we talking about the packs collisions?22:34
bpierre_can be interrested to go back (maybe using something like bisect), and fix the bug where it was added22:34
lifelessjam: don't get confused by pqm hitting it :P22:34
bpierre_then merge the multiple heads22:34
beunoif we are, it's happened multiple times already, with different branches22:34
lifelessronny: AFAIK bzr allows precisely the same workflow, spelt a little differently, but the same overall picture and work22:34
bpierre_also, you can pull/push with monotone, without having to merge, which can be great (you can always do the merging on one machine)22:34
lifelessronny: if there is a something you want to do and bzr doesn't help you do it, thats definitely a bug.22:35
ronnylifeless: as far as i got that i have to make a multi-branch repo and create multiple branches on different paths, and thats just not what i want to do22:35
LarstiQlifeless: I want to find bugs in bzr? :)22:35
fullermdronny: Well, I think it IS just monotone.  The others have multiple branches.22:35
LarstiQronny: bzr switch <sibling> ?22:36
toytoyguys how would i resolve the pending merges? or can i also abort that pending merges? this exist when i issue 'bzr status'22:36
bpierre_wouldn't the -r fix to update fix that?22:36
bpierre_being able to go back22:36
LarstiQtoytoy: normally, you'd commit them22:36
fullermdNot exactly.22:36
ronnyLarstiQ: not really22:36
fullermdupdate -r fits different uses.22:37
ronnyLarstiQ: not nearly as flexible22:37
LarstiQronny: then it isn't clear to me what you want to do.22:37
bpierre_fullermd: ?22:37
toytoyLarstiQ: oh yeah thanks i did and it's lost i thought it will still show :)22:37
lifelesstoytoy: after you do a merge, you need to do a commit to action the merge22:37
lifelesstoytoy: bzr stops after ocmbining the content, so you can review it22:37
ronnyfullermd: well, in monotone multiple heads with the same name are pretty much 2 "branches", too they just happen to have the same name22:38
fullermdbpierre_: update -r lets you flind your WT around easily (and with better semantics for various things than using revert), but it's not the same as jumping among branches at all.22:38
lifelessbpierre_, ronny: perhaps a little detail will help. We have 3 objects:22:38
lifelessWT - your source code unpacked on disk, and some metadata such as the revision bzr set the tree to be22:38
toytoylifeless: oh i see, thanks for that :)22:38
fullermdronny: Not really; as far as mtn is concerned, it IS one branch.  Leads to some impressively large small differences.22:39
lifelessBranch - a tip in the revision graph, with attached user editable metadata like push-location, tags etc22:39
bpierre_well, my first concern is being able to switch revision, not branch, and being able commit on the same branch22:39
fullermdAnyway.  I do agree that branches being tied to directories makes a number of things more cumbersome.22:39
lifelessRepository - history store22:39
bpierre_but being able to switch a workspace to another branch could be handy too22:39
fullermdWith a lot more support code, a fair bit of that could be papered over, but...22:39
ronnyfullermd: well, from a technical point its just 2 heads in the dag with the same name tag, it works exactly the same in hg22:40
lifelessbpierre_: you can switch workspaces easily - the switch command does this.22:43
lifelessa shared history store gives you disk space optimisation, for large projects this is useful22:43
lifelessbpierre_: when you say commit on the same branch, do you mean 'manage branches roughly like mtn' ?22:44
lifelesswife calling, I'll be back in a bit. ronny - look into tags; they may do what you want [though using a single workspace N branches should do it too - I'd like to know the downsides]22:45
bpierre_well, what happen if I go back, and try to commit?22:45
bpierre_all on the same branch?22:46
ronnylifeless: i mostly want to deal with stuff like i do with git/hg, im not using mtn these days22:46
bpierre_isn't switch only part of the loom plugin?22:46
GaryvdMno22:47
ronnybpierre_: well, the dirstate has to be linked to the revision you are at, so you would create a new line of history thats to be merged at a later point22:47
bpierre_I really liked monotone, but conflicts were a pain, and bzr is so much faster22:47
bpierre_ronny: ok, that's what I want22:47
bpierre_how would I merge?22:47
bpierre_merge .22:47
bpierre_?22:47
ronnyif you got 2 heads, you would just merge, else yo'd have to refer to the revisions22:48
bpierre_how would revision number be constructed?22:49
lifelessronny: well, git gives you a new ref in the same repository, which is equivalent to a separate branch in a shared repo in bzr22:50
ronnywell, there are bzr's uuid's and bzr could also infer a local linear numbering (hg does that, works like a charm)22:50
bpierre_I have revnos 1 2 3 4 5, go back to 3 with update -r 3, commit22:50
lifelessronny: have you tried this, and of so what didn't it do for you?22:50
ronnylifeless: i disliked the workflows of shared repos22:51
lifelessronny: local linear numbering conflicts rather badly with concurrency22:52
bpierre_yeah22:53
lifelessso I think there are ~ 3 discussions going on here at once22:53
lifelessa) how to do what bpierre_ wants22:53
lifelessb) how to do what ronny wants, in a way that works for ronny22:54
lifelessc) some technical stuff about design/scaling etc22:54
ronnylifeless: you mean concurrent multiple writers to the repo?22:54
lifelessbpierre_: in the current design, if you want another line of development, you need a new branch object; branches in bzr are like branches in git in this way - they are not inferred, they are explicit references22:54
lifelessronny: by concurrency - yes22:54
ronnyhmk, nice22:55
bpierre_mmm22:55
lifelessbpierre_: branches are cheap though; I have a repo with ~12K branches, and it performs fine22:55
bpierre_the problem is more how a branch is tied to a directory22:56
ronnylifeless: any locks involved for stuff like tags? or completely lockfree?22:56
lifelessbpierre_: what about that gives you problems (damn, I sound like eliza)22:56
bpierre_I mean in monotone, there is a clear difference between the database, and a workspace22:56
lifelessronny: tags are per-branch, and as such the branch-lock surrounds mutation to tags22:56
ronnyah, ok22:57
bpierre_each revision can have multiple branch certs, and monotone just try to follow the DAG for update operation22:57
lifelessronny: so two branches can be pushed concurrently to the same repo, they don't conflict or collide22:57
bpierre_an complain if it find a fork22:57
bpierre_then you can reconcile multiple heads on the branch22:58
fullermdI've hit some ugly corners in mtn on that sort of thing, to be sure.22:58
bpierre_with bzr, a branch is tied to a directory, no?22:58
fullermdThe flexibility is nice to have, though.22:58
bpierre_fullermd: what corners?22:58
lifelessbpierre_: yes, branches are tied to a directory, but you can consider that a user-accessible database if you like22:58
lifelessbpierre_: try this, just quickly, if you would:22:59
fullermdWell, to take one example, I propogated a change where there was no divergeance.  Only the head got the new certificate, so one side of the 'branch' wasn't connected.  mtn-viz had a total fit for somebody else.22:59
lifelessbzr init-repo --no-trees /tmp/bzr-db22:59
bpierre_my only real problem, was how you resolve conflict, with a use case where you have a simplifed project, and you propagate with new/modified files in a directory that don't exists anymory in the target branch22:59
bpierre_yeah, I could consider a no tree repo has my db23:00
bpierre_and then I can create has many branches23:00
fullermd(a lot of things about mtn bugged the snot out of me.  I don't particularly enjoy working with it.  But the multi-head capability makes doing daggy fixes REAL easy, and I miss that)23:00
lifelessbpierre_: right23:00
bpierre_which might be different revision of the same branch23:00
bpierre_logical branch23:00
lifelessbpierre_: trunk is one branch, and feature branches a,b,c23:00
bpierre_but, it's more work23:01
bpierre_than with monotone23:01
lifelessbpierre_: ok. I take it you've tried working with this?23:02
bpierre_btw, can you easily add custom certs/properties to a revision?23:02
lifelessthere is a revision_properties facility23:02
bpierre_lifeless: multiple branches for each feature?23:02
lifelesswe use it for recording branch nicknames and plugins use it for recording arbitrary things23:02
bpierre_ok23:02
lifelessbpierre_: multiple branches, switch between them, etc.23:03
lifelessbpierre_: I'm going out on a limb here, but are you trying to do 'daggyfixes' ?23:03
bpierre_no, but it is one use case23:03
bpierre_last time, I wanted to use the bisect plugin23:03
bpierre_to find a bug23:04
bpierre_which was a waste of time since it was a hardware bug on my project, but I disgrees, anyway, right know, what the plugin does is revert to a revision23:04
bpierre_so stat, show the differences with the tip of the branch23:05
bpierre_which is not practical23:05
bpierre_and might be tempted to fix it in the revision that introduced it, so yes, a daggyfix, no?23:06
ronnywell, basically 2 things about branches suck, 1. dirstate is allways bound to the latest rev, 2. there is no way to have more than one head23:06
ronnyi want to jump back to rev x, commit a fix, merge with head23:06
bpierre_also my tree is big, so all those operation take time/space23:06
bpierre_ronny: exactly23:06
lifelessbpierre_: switch is mostly O(difference), so total tree size and history are not really factors23:07
awilkinsI found the dirstate bound to tip thing confusing23:07
fullermd1. isn't true; there's just no real capability to manage it not being.23:07
lifelessyah, 1. is false, though bzr tries to keep it always the same to allow commit() to work23:08
ronnycommit cant commit to revs that already have children?23:08
lifelessronny: commit commits to the tip of a branch23:08
bpierre_;(23:08
fullermd(which is to say, the dirstate can easily point at any rev in the branch history, but there's no way, sans deep hacking, to MOVE it to anywhere but the current tip)23:08
lifelessronny: branch is defined as 'a tip'23:08
ronnyuh, thats well bad23:08
awilkinsCommit therefore makes a new tip23:08
lifelessronny: so its a tautology23:09
awilkinsSo it should be able to make a new tip from any revision ; it already has done, for every revision before this one...23:09
lifelessoh23:09
lifelessterminology overlap23:09
awilkinsYou can certainly have multiple tips in a repo23:09
lifeless'tip' here -> 'tip of the line of development', *NOT* 'a leaf node in the DAG'23:10
awilkinsOr heads23:10
lifelessthe DAG is unknowable, because its simultaneously distributed and disconnected23:10
lifelessits also O(history) to do anything with it that involves inferring 'unmerged' from the entire dataset. this simply doesn't scale well without complex caches or long critical-lock sections around insertions to the db23:11
* mwh waves https://bugs.edge.launchpad.net/bzr/+bug/27192423:11
ubottuUbuntu bug 271924 in bzr "RemoteBzrDir.find_branch_format opens the branch" [Undecided,New]23:11
lifelessronny: so if you change the branch tip and dirstate rev you can commit against *any* rev in your local database23:11
mwharound23:11
bpierre_ok23:12
lifelessthis just mutates your existing branch - its what commit does, it mutates a branch to add a commit object to it, which is likewise inserted in to the repository23:12
lifeless(actually the ordering is 'new commit object in repo; update branch tip; update dirstate'23:12
ronnyhmm, it generaly sounds a __lot__ more complicated to do in bzr, than it is in git/hg/monotone23:13
lifelessronny: git is the same - create a new commit object (done by linking to the index), update the branch reflog and basis reflog23:14
lifelessronny: hg is the same - insert content into all the modified revlogs, then the manifest revlog and revision revlog, then update the dirstate23:14
lifelessI haven't read the code for commit in monotone but I bet it is ~=23:14
lifelesswe're having a deep technical discussion rather than one about getting you working well, because you seem to want to do that:)23:15
ronnywell, bzr doesnt seem to allow me to work like i want23:15
ronnywell, in hg i just do hg up -r rev; commit; merge23:16
bpierre_+123:16
ronnyin mtn i do the same23:16
lifelessronny: so, question.23:16
lifelessronny: if you do the first two commands, and someone clones you, what do they get ?23:16
ronny2 heads23:17
lifelessronny: and how do they know which one really represents the branch ?23:17
lifeless(vs being an experiment that failed)23:17
ronnyboth do23:17
bpierre_they don't23:17
lifelessbingo, that confusion is exactly my point23:18
bpierre_know which one is best, an experiment23:18
lifelessin bzr we don't have that, because the branch tip is well defined at all times23:18
ronnywell23:18
bpierre_yeah, but with a process, a common location with a gatekeeper23:18
bpierre_where is the problem?23:19
abadger1999There very often isn't a good process or a gatekeeper.23:19
ronnypeople cant pull my local repos, no problem, i wont push before the merge23:19
lifelessbpierre_: what if the gatekeeper does that ? :P Or more pragmatically, consider shared branches, where there are many gatekeepers23:19
bpierre_also, a good use case with multiple heads, is being able to commit on one machine, push to another, and do the merge on the second one23:19
lifelessbpierre_: you can do that with bzr just fine23:19
ronnyalso pushing is pretty much prohibited without explicit force if there are more than 1 heads as a result23:20
bpierre_you have to create another branch, no?23:20
ronnyso remote branches are well-defined23:20
bpierre_you can't push if you have diverged23:20
lifelessbpierre_: no, though its the simplest way IMO23:20
ronnyi just want to do what the heck i want locally23:20
* abadger1999 often works on git repos where there's multiple branches with no well defined method of finding which a given piece of work should be done on.23:20
bpierre_lifeless: how do you it without a new branch?23:20
abadger1999I note that it's a social problem though... launchpad makes the same thing happen to collections of bzr branches.23:20
lifelessbpierre_: bzr push, ignore the error about divergence, bzr heads on the other machine, bzr merge . -r <head you want>23:21
bpierre_wait, push will have pushed the revisions?23:22
lifelessbpierre_: though I prefer to just make a new branch when I have that situation, it remembers it for me then23:22
lifelessbpierre_: yes, the repository will have them, they just aren't reference from the branch23:22
bpierre_mmm, but you have to remember the revid23:22
lifelessbpierre_: thats what heads will tell you, and heads --dead only lists unmerged heads23:23
bpierre_ok23:23
lifelesswhat I like about separate branches is that they are cheap, they are easily managed (I can have arbitrary number of pending-review, pending-merge, in-progress, etc)23:23
lifelessby cheap I mean no workspace23:23
lifelessand no separate history store23:23
awilkinsDoes uncommit mark revisions?23:24
lifelessas for the use case of 'make a new branch from an arbitrary rev', well - I think bisect can definitely be improved; there already is 'bzr branch -r XXX' to make a branch @ a rev23:24
awilkinsBecause one thing I found is that "heads" is really fouled by uncommits23:24
lifelessawilkins: If I understand you correctly, no23:24
fullermdBranches being directories does necessarily make them heavier weight than ref-based branches, though.23:25
bpierre_yeah, but you don't want a new workspace for each revision you try23:25
lifelessawilkins: that would be nice wouldn't it. needs some thought23:25
awilkinsIt would be nice if uncommit marked a rev as having been uncommitted23:25
lifelessfullermd: yes, but thats the same weight as git and svn and cvs and a few others besides23:25
bpierre_although, you could cheat with a new branch, cloning the tip, and then pull --overwrite -r ?23:26
fullermdNo (well, maybe svn/cvs, but I don't count them)23:26
fullermdI don't mean heavier technically; I mean heavier psychologically.23:26
fullermdYou have to switch a lot more gears.23:26
fullermdThere needs to be a whole lot more UI magic happening to make dir-based branches seamless in a way that ref-based are naturally.23:26
lifelessfullermd: mmmm, I don't see why; single tree, switch between, branches to list, push-repo, modulo bugs23:26
lifelessfullermd: please define 'ref-based'23:26
fullermdWell, ref-based can be dir-based, but meaning managed entirely by the tool behind your back.23:27
lifelessbpierre_: yes, new branch, pull --overwrite -r X, should be fast23:27
awilkinsbranch-and-switch would cover a lot of it23:27
fullermdConsider the case: I have my branch of $PROJ.  You suggest a branch I should merge in.23:27
lifelessfullermd: ok23:27
fullermdIf bzr were ref-based, I could "bzr branch $NEW beblatz ; bzr switch beblatz ; <check stuff> ; bzr switch mine ; bzr merge beblatz ; bzr ci"23:28
fullermdBut with dir based, I can't do that directly; I have to switch to knowing about the filesystem, and "bzr branch $NEW /wherever/my/repo/is/beblatz", etc.23:28
lifelessfullermd: but you can do that today, with one change:23:28
fullermdDitto when I'm done, and can "bzr rm-branch beblatz" instead of "rm -rf /some/where... crap, where is that..."23:28
lifeless"bzr branch $NEW ../beblatz ; bzr switch beblatz ; <check stuff> ; bzr switch mine ; bzr merge ../beblatz ; bzr ci"23:29
lifelessfullermd: have you tried the switch branch-finding heuristic?23:29
fullermdNo, because I don't generally work that way.  But until it's a branch branch-finding heuristic and a merge branch-finding heuristic and a diff branch-finding heuristic...   it means you're switching a lot of gears.23:29
LarstiQso right now, switch is the only command that has the ref-behind-your-back heuristic, afaik23:29
bpierre_switch is provided in 1.7?23:30
lifelessfullermd: note that for hg, you have to rollback to decide you didn't like it, which is fugly, for git you need a branch-name, (so its system-managed, and thats nice)23:30
fullermdI don't claim that dir-based branches are _inherently_ psychologically heavier, but there needs to be a lot of UI magic to make them FEEL the same weight.23:30
lifelessfullermd: oh, I agree, the heuristic needs to be pervasive23:30
lifelessfullermd: I was asking if you had tried it23:30
lifelessbpierre_: switch is single, um, 0.92 or something; been in for ages23:30
bpierre_ah23:31
lifelessbpierre_: what we're talking about here, is a heuristic where switch will look for branches in oldbranch/../, which means less typing for you23:31
fullermdUnfortunately, it's a lot like the performance question, in a way.23:31
lifelessbpierre_: but other commands don't yet do that23:31
fullermdIt's not "bzr can't", but "bzr presently doesn't".23:31
fullermdAnd each side of the question is going to put a very different emphasis on that phrase   :|23:32
fullermdBeing branch-based we have an inherent [not insoluble, but] problem, in that we HAVE to have that heuristic.23:32
lifelesshow many paths does mysql have in it ?23:33
fullermdAnd it's a lot of places to sprinkle it.  Even if we get all the commands, then we have branch: and ancestor: and such revspecs to handle too.  And then there are plugins...23:33
bpierre_I can live with the typing, it's just that the use of checkout can sometime be confusing (at least to me) so I didn't think about using it with a regular (disconnected) branch23:33
bpierre_(after reading the help for switch)23:33
fullermdHeck, look how long it's taken us (still taking?) just to get all the commands to understand the metadir format, and stop demanding WT's when they don't need them, etc.23:33
fullermd(not that that's in any real way related to the issue, just the same on some level in the amount of distributed assumptions)23:34
awilkinsI agree, I keep finding myself wishing that merge had the same sibling-heuristic as switch (and that someone would merge my sibling finding patch for switch)23:37
bpierre_wait, switch only work for a checkout ...23:37
awilkinsbpierre_: Yes, but the sibling heuristic only works on lightweights23:37
awilkinsbpierre_: My patch fixes it so it works on eavies too23:37
bpierre_sibling?23:37
awilkinsbrother, sister23:38
ronnywell, basically the workflow enfocements and the speed issues basically make me avoid bzr for all of my own projects23:38
jamlifeless: so I have an idea of what is causing the auto-pack problem. And it *is* related to the cherrypicking, but only tangentially23:38
awilkins bzr switch sibling   ==   bzr switch <my bound branch>/../sibling23:38
LarstiQbpierre_: repo/{foo,bar}, cd foo, switch bar == switch ../bar23:38
bpierre_I guess lightweigts is ok, I think I'm starting to understand how you use it lifeless23:38
bpierre_LarstiQ: yeah, just syntaxic sugar23:39
bpierre_:P23:39
LarstiQbpierre_: exactly23:39
jamlifeless: consider if we have packs of 10*9, and one of 1, and then we fetch another pack of 19. This will trigger an autopack, and try to create a pack of 100, 10. It can fill the 100 one from all the large packs23:39
jamand the size 1 pack gets "promoted" to size 10, but there is nothing else to put in with it23:39
jamAnyway, I'll poke at it more, but I think it is something worth trying out.23:39
awilkinsI think BB needs some work. 'tis down again. Does it do many hardworking things?23:40
bpierre_so you create a repo, with x no tree branches, and then you work with one checkout of those branches, which you can then switch depending on your activity, right?23:41
awilkinsbpierre_: That's it23:41
bpierre_thanks23:41
bpierre_:D23:41
awilkinsbpierre_: Rather the same as git, only the branches are out there in the filesystem for you to look at23:41
bpierre_yeah23:41
awilkins(can git do hierarchical branch organization by the wa?)23:42
fullermdI don't think as such, but you can mostly fake it via naming.23:42
lifelessjam: ok.23:42
lifelessjam: it may help to simplify things there, I realised a while ago that autopack should be a little simpler.23:42
fullermdWe fake naming via hierarchy; they fake hierarchy via naming   ;)23:42
awilkinsfullermd: You can just move those folders around, right?23:43
bpierre_and if I want do to a daggyfix, I can just push -r to clone at a revision, and switch to it, than back to where I was, and merge?23:43
awilkinsfullermd: As long as they stay in the repo?23:43
lifelessjam: specifically, rather than going for N packs of specific sizes, when we were past a pack boundary, it should (still using the 1, 10, 100 etc logic - thats fine), just calculate the ones it wants to combine, and output one single big pack23:43
fullermdIn bzr, you mean?  Sure.23:43
lifelessjam: e.g. rather than making a 100, and a 10, it would just make one of 11023:43
jamlifeless: sure23:43
awilkinsOnly thing it screws with is the bindings23:43
Odd_BlokeD'oh, poolie's not around.23:44
jamlifeless: triggered it23:51
* fullermd scampers off to a meeting.23:51
jamnow I need a simpler test case :)23:51
lifelessbbiab, food23:53
pooliehello23:58
Odd_Blokepoolie: Hey.23:58
pooliehello23:58
Verterokpoolie: hi23:58
jamlifeless: instructions on how to get it to fail easily are on bug #24251023:58
ubottuLaunchpad bug 242510 in bzr "Pack already exists when pushing/autopacking" [High,Confirmed] https://launchpad.net/bugs/24251023:58
Odd_Blokepoolie: I'm afraid I can't really chat now. :(23:59

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