/srv/irclogs.ubuntu.com/2011/10/06/#bzr.txt

GungaDinHi00:00
GungaDinI'm trying to update my checkout and I get a "bzr: out of memory" error.. any ideas how to solve this?00:01
poolieGungaDin, tell me more00:15
pooliedo you get a traceback in ~/.bzr.log?00:15
poolieis the tree unusually big or the machine unusually small?00:16
GungaDinperhaps both.00:16
GungaDinit's in a virtual machine with about 1G00:16
GungaDinof ram00:16
stewartlifeless, question on subunit.... can "test: A\ntest: B\nsuccess: B\nsuccess: A" be valid? (e.g. executor is executing tests in parallel"00:59
lifelessstewart: otp01:31
lifelessstewart: hi02:38
lifelessthat B will be ignored02:38
lifelessstewart: to do parallelism, feed the streams through a demux (e.g. the one in testr, which has its source code in testtools)02:39
stewartlifeless, ahh... cheers.02:39
lifelessstewart: (think about write clipping etc, even if it 'was' ok, a single pipe won't do the right thing02:39
lifelesseven with line buffered files, if you exceed a page in size for a single backtrace...02:40
lifelessstewart: ^02:50
lifelessstewart: if you're parallelising drizzlet, for instance, consider using testr (apt-get install testrepository) - it can track fast/slow tests and give you equal partitions02:51
vilahello all, hellaustralia !06:24
* fullermd double-checks his hemisphere.06:25
pooliehello vila07:16
vilapoolie: hello !07:16
vilaI'm freezing 2.5b2 right now07:17
poolieit's kinda cold here too07:17
vilahehe07:18
vilaWe have a nice late summer here (crossing fingers)07:18
poolievila is bug 82555 the same as bug 242175?07:21
ubot5Launchpad bug 82555 in Bazaar "Merging to an empty branch doesn't work" [High,Confirmed] https://launchpad.net/bugs/8255507:21
ubot5Launchpad bug 242175 in Bazaar "Better error message when merging into empty branch" [High,Fix released] https://launchpad.net/bugs/24217507:21
vilaSuch a hard question so soon in the morning ? /me looks07:22
vilapoolie: possible, can't say for sure without digging, I asked Aaron about them (IIRC) at the time but I can't find his  answers there07:24
poolievila it's not a big deal07:28
pooliei just thought i'd empty the new bug queue07:29
vilapoolie: great ! I had it on my radar but only triaged some of them last week07:29
poolie21 is enough i can feel pleased for getting them done07:31
pooliebut few enough i can actually get them all done today07:31
vilaargh, news entries added for 2.5b1 instead of 2.5b2 :-/07:53
jamhey poolie, i realized I forgot to say hello today :)07:57
pooliehi there jam08:00
idnarhow do I move some uncommited changes from one pipe to another in a pipeline?08:00
idnaroh, maybe I can shelve/switch/unshelve?08:00
idnarhmm, no08:01
mgzmorning all08:01
idnaroh, no, I just messed the shelve up the first time somehow08:02
vilaidnar: there are some rough edges when moving this kind of changes from one branch to another, filing a bug with your actions and why you didn't end up with the desired result can help us fix them (the rough edges, not your actions ;)08:09
idnarvila: as far as I can tell, I ran into a bug with bzr shelve's interactive change selection08:12
idnarabsolutely nothing to do with pipelines or switching branches08:12
idnarfiling a bug report now08:13
idnaror, rather, trying to reproduce now08:13
idnar*facepalm*08:13
idnarokay, so I think the original problem was just user error08:14
idnaralthough the output from bzr shelve is confusing, so I'm still going to report that08:14
idnarbut now I found another bzr shelve bug08:14
idnarfiled #868974 and #86897608:23
vilaubot5: tells us more about bug #868974 and bug #86897608:24
ubot5Launchpad bug 868974 in Bazaar "Confusing output from bzr shelve for the addition of a file" [Undecided,New] https://launchpad.net/bugs/86897408:24
ubot5Launchpad bug 868976 in Bazaar "Traceback trying to unshelve in empty branch" [Undecided,New] https://launchpad.net/bugs/86897608:24
ubot5vila: I am only a bot, please don't think I'm intelligent :)08:24
idnarah, I forgot to say "bug" I guess08:24
vilaubot5: thanks nevertheless08:24
ubot5vila: I am only a bot, please don't think I'm intelligent :)08:24
idnarheh08:24
vilagood bot08:24
mgzthe second one Parth ran into a while back, and I see that some other people have as well08:33
mgzand yes, the output of the first makes perfect sense to me because I understand all the bits, but I can see how it's confusing08:35
vilapoolie, jelmer, mgz, RIddell, jam: RM.takes_social_lock(lp:/bzr) for at most 2 hours, please don't land there (the source is already frozen and your landing will be wrong anyway. I'm running 'make check-dist-tarball' before submitting to pqm)08:39
mgzvila: have you merged up 2.4 yet?08:41
mgzbecause that would be useful08:41
mgzbut... I guess isn't the end of the world if you didn't08:41
vilamgz: oh, if you want me to talk about that ... :)08:43
vilamgz: yes I did, small conflicts easy enough to resolve08:43
vilamgz: but in the general case, it's easier for the dev landing fixes in the previous releases to merge up to trunk, if conflicts occur, he is the one with the best knowledge to handle them08:44
vilamgz: I've added a note in releasing.txt about doing the check nevertheless08:44
mgzcool, thanks vila.08:45
vilamake check-dist-tarball succeeded, submitting to pqm, social lock taken08:46
vilamgz: my pleasure ;)08:46
vilapoolie: regarding lazr/restfulclient while running check-dist-tarball, I usually ignore http://paste.ubuntu.com/703271/ as harmless, I never dig that, I've seen related discussions (AIUI) about it, do you know if doing a new release will solve it ?08:48
pooliejelmer, re bug 868981, is there any point filing a memory usage bug?08:54
ubot5Launchpad bug 868981 in Bazaar "Failed to branch git repository (invalid record 0x03)" [Undecided,New] https://launchpad.net/bugs/86898108:54
poolievila, i think that noise is caused by https://bugs.launchpad.net/ubuntu/+source/lazr.restfulclient/+bug/79699208:58
ubot5Ubuntu bug 796992 in lazr.restfulclient (Ubuntu) "pth file overrides pythonpath" [High,Triaged]08:58
pooliei don't understand why that code is there and the bug is not fixed so merely doing a new release will probably not help08:58
vilapoolie: ha, right, yeah, that's the bug I had in mind, thanks, I'll subscribe09:00
jelmerpoolie: yeah, it shouldn't be trying to load everything into memory09:03
vilapoolie: you landed on bzr.dev :-/ That won't be included in 2.5b209:04
mgzI think it'd been sent before you said vila.09:07
vilamgz: yes, but after I said I was freezing :-/ I can't check everything everywhere *and* freeze :-(09:08
vilapoolie, mgz: no big deal, bug mark fixreleased in 2.5b3, lp:bzr history will disagree but the tarball is authoritative and doesn't include the fix, I'll open 2.5dev3 now09:14
vilasocial lock still held09:15
vilasent09:22
vilasocial lock released. Waiting for the current submission to succeed will be a good idea though09:22
vila2 hours between announcing I was freezing and releasing the lock, probably the fastest release I ever made despite having to merge 2.4 and fix the news09:24
vilaif the social trick doesn't work, we'll have to find another solution09:24
vilafreeze announce for 2.5b2 sent, for the benefit of packagers and build installers present here: the tarball has been uploaded, you can't push the build button (I know some buttons are harder to push than others ;)09:27
vilas/can't/can/09:27
jamvila: thanks for the heads up09:29
jamand good job on the release09:29
jamhaving PQM run in 30 minutes certainly helps09:29
vilayup, it's a direct factor for the social lock09:30
viladuration09:30
jamugh, poolie, I accidentally left the ec2 instance running after the last build. I wonder if there is something we could do to help me remember.09:31
jamI usually shut it down same-day.09:31
jamMaybe a cron script that sends a daily email?09:31
pooliecould be good09:32
pooliecan you schedule a shutdown for 24h in the future when you start it?09:32
jampoolie: I don't see any way to do so, do you know of one?09:32
jampoolie: http://www.cyberciti.biz/tips/schedule-windows-server-to-reboot-or-shutdown-automatically.html ?09:33
jamI'm a little hesitant to do it via 3rd party tools09:33
jamthis one might work: http://www.computing.net/answers/windows-2003/schedule-shutdown-the-server/5216.html09:34
jamjust set up the instance to always shutdown at midnight my time.09:34
jamso if it is "up" it gets stopped09:34
pooliejam, i haven't done it for a while but i thought there was a built in option09:38
jampoolie: the second link tells how to set up a scheduled job that runs 'shutdown.exe'09:38
jamlooks like it will work, I'll give it a shot.09:39
poolieyeah, from the command line, i thought so09:39
jamvila: we have 'lp:bzr/2.5' is there a reason it doesn't have bzr-2.5b2 tag in it?09:42
vilawe shouldn't have lp:bzr/2.509:43
jamhmmm... I dont't see one in lp:bzr either09:43
jamvila: https://code.launchpad.net/bzr/2.5 is actually pointed at trunk09:43
jamso it exists, but for now it is just the trunk branch09:44
jamjust an *alias* for trunk09:44
mgzoo, aix buildbot offer09:44
jamregardless, I don't think we have bzr-2.5b2 available as a tag to build from09:44
jamso I can't actually build the windows installers easily09:44
jamI suppose I can pick a rev instead of a tag09:45
vilajam: thanks for the heads-up, looks like I missed a step09:46
jamvila: do we have a patch pending? We could get it to merge trunk and add the tag09:47
jamvila: I have one, I'll go do the tag dance.09:48
vilajam: sent09:48
jamDo you want your rev or PQM's rev to have the tag?09:48
vilajam: I just sent a submission to fix that09:49
jamvila: sure, though I don't see it in PQM yet09:49
vilashouldn't be long now09:50
vilahere it is09:50
jamthere it is09:51
idnaroops, apparently I didn't search hard enough for dups09:53
fullermdOh, frew.  It just occured to me to wonder "Jeez, why haven't I seen any bzr commits in a month?"09:54
mgzyeah, you need to join a new team fullermd09:59
fullermdNo, apparently the last round of PQM changes changed how the emails were generated.09:59
fullermdSo they fell through my existing filters and wound up bitbucketted.09:59
mgzah.09:59
fullermdAt least, that's my best guess...10:00
mgzyou have PQM telling you about bzr commits?10:01
fullermdThe -commits list.10:01
vilabazaar-commits.lists.canonical.com, right10:01
vilafullermd: just curious, I didn't have issues here, what filter were you using ?10:02
fullermdWhich makes it half-suck, 'cuz it means I don't even get to work up a good blood pressure overload about LP's emailing over it...10:02
fullermdThrowing away everything that wasn't from pqm@pqm.ubuntu.com.10:02
* fullermd waits for the next submission to run through to try and figure out how to discriminate now...10:03
vilameh, correction, I don't get them anymore either since 2011-09-07 :-/10:04
vilaoh, I think I know, probably due to the migration to a new hardware10:04
fullermdYou mean it's not actually sending them anymore?10:05
fullermdWell, that makes me feel better about my filters anyway...   :p10:06
vilafullermd: seems like it, thanks for the heads-up10:06
vilanot that I read these emails with a great attention but it's a good heart-beat under some circumstances10:07
fullermdI use them to keep track of "all the back-branches are merged to .dev, time to pull again"   :p10:08
vilafullermd: reported, fix seems easy, should be back soom10:08
vilasoon10:08
poolienight all10:15
mgznight poolie10:16
vilapoolie: night10:19
jamnight poolie10:22
jamI'm trying to decide how well "Precise" works as a release name. "We need to get this into Precise" doesn't seem to fit as well as backporting it to hardy and lucid.10:39
jamMaybe it is just repetition that makes the others ok10:39
fullermdThey all sound equally weird to me, if that helps   :p10:42
fullermdI always find myself waiting for the next line when people end sentences with adjectives like that...10:43
mgzbug 84822 and the linked debian bug are straight up fixed by the inclusion of the bash-completion plugin, no?11:23
ubot5Launchpad bug 84822 in Bazaar "bash completion should use shell-complete" [Medium,Confirmed] https://launchpad.net/bugs/8482211:23
jelmervila: can we land stuff again?:11:35
vilajelmer: yup11:35
vila11:22 <vila> social lock released. Waiting for the current submission to succeed will be a good idea though11:36
vilaI forgot to prefix my msg though11:36
vilamgz, Riddell: go ! Land ! :)11:36
* mgz swoops down11:36
* fullermd chooses to Sea instead.11:37
mgzI want at least one more babune run with the current trunk before landing my cleanup testcases branch11:37
vilamgz: looks like you're right about bug #8482211:38
ubot5Launchpad bug 84822 in Bazaar "bash completion should use shell-complete" [Medium,Confirmed] https://launchpad.net/bugs/8482211:38
vilamgz: hehe, I wasn't reminding you about that, just making sure you knew I wasn't locking bzr.dev anymore ;)11:39
vilajam, mgz: speaking of babune, freeBSD and OSX failed, different tests than gentoo yesterday11:39
mgzwho've we got that can mark debian bugs fixed? jelmer?11:41
jamvila: for this failure: http://babune.ladeuil.net:24842/view/OSX/job/selftest-osx-10.6/lastCompletedBuild/testReport/bzrlib.tests.per_interrepository.test_fetch/TestInterRepository/test_fetch_parent_inventories_at_stacking_boundary_smart_old_InterDifferingSerializer_RepositoryFormatKnitPack1_RepositoryFormatKnitPack6RichRoot_/11:41
jamthe patch should have just landed in bzr.dev11:41
jam619711:42
jamthe other one I have to think about11:42
jamI think I know a fix11:42
jelmermgz: Everybody can mark debian bugs fixed11:43
vilahuho babune consuming 300% CPU without any job running, bad stuff11:45
fullermdIsn't that what java stuff is _supposed_ to do?11:45
vilafullermd: right.11:46
vilafullermd: but they don't do it usually :)11:46
vilajam, mgz : Are you querying unusual stuff ?11:47
jamvila: i'm not doing anything on babune atm11:47
jamI did go look at the tests a few secs ago11:47
vilaincluding browser queries I meant11:47
vilanothing in the logs, scary...11:48
vilaCPU is back to normal but something is still reading at 12MB/s11:49
viladone11:49
vilaweird11:49
jamvila: I'm going to do a test run on OSX, in case this is specific to osx11:51
jam(specifically, we .accept() and then .close() right away, which OSX might trigger as an error on the client)11:52
jambut I think that test has passed on OSX before, but I'll check11:52
jamvila: there isn't a "selftest-subset-osx" am i just missing it?11:52
vilas/osx/macadam/ hysterical raisins11:53
vilahttp://babune.ladeuil.net:24842/view/OSX/job/selftest-osx-10.6/lastCompletedBuild/testReport/bzrlib.tests.per_interrepository.test_fetch/TestInterRepository/test_fetch_parent_inventories_at_stacking_boundary_smart_old_InterDifferingSerializer_RepositoryFormatKnitPack1_RepositoryFormatKnitPack6RichRoot_/history/? is... quite weird11:54
* mgz touched nothing babuney11:54
* vila blames gremlins11:54
fullermdThe whole "don't feed them after midnight" instruction was frustratingly unclear about the effect of timezones and leapseconds...11:55
vilafullermd: WHAT ? It's not UTC ??? OMG11:56
fullermdWell, is it UTC, or UT1, for instance?11:57
vilaNFC or NFD ?11:58
* fullermd is pretty sure "NFC" contributed significantly to the damage caused by gremlins :p11:59
jamvila: sure, the specific failure of that test was a timeout, but as you can see the time spent is *all* over the map11:59
jam5s, 2 min, 4s, 2m11s, 2m38s, 4.3s, 1m28s12:00
jamnow *that* is variability12:00
vilait's so huge I'd be surprised if there isn't a bug behind that for quite some time12:00
vilabut the test succeeded... I can imagine it was starved by other threads... but that implies quite a sucky scheduler12:02
vilaoh, wait, mgz, wasn't there a bug about testtools/subunit outputting bogus timestamps ?12:03
mgzer, hm?12:04
mgzdon't think I've seen it.12:04
jamvila: at one point it was mixing the timestamps from multiple streams12:04
jambut that wouldn't be strictly 'bogus'12:04
vilayeah, something like that12:04
=== yofel_ is now known as yofel
vilamgz: I lost track about bug 807032, is there something I should do ?12:11
ubot5Launchpad bug 807032 in Bazaar 2.4 "blackbox.test_branch.TestBranch.test_branch_broken_pack can (and did) fail ramdonly on pqm" [High,In progress] https://launchpad.net/bugs/80703212:11
vilawow, nice touch ubot5, indeed, only the 2.4 bugtask is relevant here12:12
vilaeeerk ! lunch !12:13
mgzoo, good idea vila12:13
mgzvila: you should cherrypick the fix back to 2.412:14
mgz(as ubot5 told you)12:14
jamugh, jelmer is missing12:16
jamhis version-info change is actually incorrect12:16
jamit *doesn't* change the revision that is analyzed (the working tree)12:16
jamit only changes what revision gets *reported*12:16
jamwhich is pretty badly broken12:16
jam(So it will say the files are at state X, but the Revision is at state Y)12:16
vilaRiddell: regarding https://code.launchpad.net/~benoit.pierre/bzr/ui.confirm/+merge/77826 , what's the best practice for i18n ?12:21
vilaRiddell: more precisely12:21
mgzgood poke vila, getting Riddell to look at it is sensible12:22
vilaRiddell: we have a list of choices to translate with the constraint that a shorcut should be available for each choice (so unique)12:22
vilaRiddell: what do translators prefer ? A single string with all choices ? Separate strings but somehow (for what value of somehow ?) grouped so they can respect the constraint ?12:23
jamjelmer: I think you missed my earlier comments. Your fix for bug #238705 isn't quite correct12:24
ubot5Launchpad bug 238705 in Bazaar "version-info command should take branch argument and -r option" [Low,In progress] https://launchpad.net/bugs/23870512:24
jamchanging _get_revision_id just changes what revision is reported12:24
jambut doesn't change what tree is analyzed12:24
jelmerjam: Sorry, I did indeed. I just saw Vincent's approved message12:25
jamyeah, I sent it after it was merged12:25
jamI didn't see the proposal earlier12:25
jelmerjam: it does seem to influence the tree here, but perhaps not for all formats12:26
jelmercharis:~/src/bzr-svn/trunk% ~/src/bzr/version-info-args/bzr version-info -rtag:bzr-svn-1.0.012:26
jelmerrevision-id: jelmer@samba.org-20090924110140-gl7z957rc35m0csc12:26
jamjelmer: sure, but that is only the *revision* that is reported, not the tree state12:26
jamyou probably have to pass --include-file-revisions12:26
jamor --check-clean, etc.12:26
jelmerthe date and revno that's reported is also from 200912:26
jamI was originally going to say that "--check-clean" shouldn't be allowed with --revision12:27
jelmerjam: Ah, hmm12:27
jamand then tracked it down to see that file revisions, etc wasn't touched12:27
jelmerI'll follow up to your comment12:27
jamand I'm not sure about "--revision-history"12:27
rawtazhi, i would like to ask you guys if anyone can comment on the state of the bzr plugins for IntelliJ IDEA - are they up to date and covering current bzr features, or is there anything missing?12:28
jamrawtaz: I haven't heard much about them for a while, so they are probably a bit out of date12:28
rawtazi see bzr4idea is 2009-07 the latest, and Bzr4IntelliJ is from 2011-0212:28
jelmerjam: I need to go into the city for a bit, will follow up once I get back.12:32
jamk12:32
rawtazthanks jam12:33
Riddellvila: I don't think it matters much for translators if it's all separate or in one string12:43
RiddellI think translators will want a comment to know the restrictions but we don't current support comments on our translations12:44
vilaRiddell: how do they know they are related on must define different shorcuts for each ?12:44
vilas/on/and/12:44
Riddellvila: we should support comments on translation12:44
vilaRiddell: the menus are likely to have the same requirements no ?12:44
vilahmm, may be not, may be the first (or last) shortcut in a menu is taken into account... We can't afford that in the general case... but may be waiting for bug reports will be enough ?12:45
vila>-/12:46
Riddellwhat menus?12:46
vilaany application menus12:46
Riddellin GUIs?  Qt is usually smart enough to sort out the shortcuts for you12:46
vilahehe, bad choice vila, try again12:47
vilaRiddell: the mp I referred proposes a special char to identify the shortcut, no smarts ;)12:47
Riddellalternatives = '&yes\n&No'  so the ampersand is used for the shortcut?12:51
vilayup12:51
Riddellthat's the same as GUIs so most translators will know about it already12:51
vilaso better stick with a single string ?12:52
RiddellI don't think it matters either way12:52
Riddellsingle string is fine12:52
Riddellif char == 'y':  that isn't working with translations though12:53
vilayup, the proposal returns an index but I raised the issue that requiring the callers to get back the shortcuts untranslated is awkward.12:55
Riddellshouldn't it be smarter and know what the shortcut char is for the option rather than hardcoding 'y'?12:55
vilaEither the callers should use the indices directly or we should find an easier way12:55
vilaRiddell: the issue with using the shorcuts in the caller is that we want to keep using the english ones12:58
vilaRiddell: but if it's too hard I'd rather use indices (or constants ?) instead or just a simple string listing the shorcuts alongside the choices themselves... bah, shelve have an optional 'e' that will break that too...13:00
mgz`bzr clean-tree --force --ignored -q` is a bit annoying to type13:11
vilabzr alias ?13:15
fullermdJust needs a M-x in the middle somewhere.13:15
vila:)13:17
mgzthe errors in <http://paste.ubuntu.com/703377/> are because the branch that was landed to check the version of testtools and use different assertions is busted in some respect13:21
vilaok13:22
vilaso kind of related to the bug as it may blow up if pqm is upgraded ?13:22
mgzyup, dependencies suck.13:24
vilamgz: meh, I asked the question in the wrong channel 8-)13:25
vilamgz: and you replying here didn't help me realize :)13:25
mgzbut due to the magic of highlights I saw it anyway13:26
vilahehe13:27
=== zyga_ is now known as zyga-afk
mgzjam: do I need to do something extra to turn on more cython warnings?14:19
mgzbecause just running build_ext (in a clean tree) isn't complaining about uninitialised variables14:20
mgzmaybe they reverted a change on trunk?14:21
* mgz looks at changelog14:21
mgzmaybe: <http://trac.cython.org/cython_trac/ticket/714>14:24
mgz...seriously, their only changelogs are on their wiki?14:29
mgzand for 0.15.1 their release notes consist of a link to trac and a link to github14:29
mgzthat looks like the answer though, frivolous warnings were disabled14:30
vilacompiz, 1GB is just too much, give some back or I'll kill you14:32
mgzcompiz won.14:32
mgzthe OOM killer got vila instead.14:33
james_wvila, hi, not sure if you're getting mail for https://code.launchpad.net/~jml/udd/symbol-import/+merge/7731214:40
vilajames_w: I think I do, but I opened the page yesterday and missed your review :-/14:42
vilajames_w: oh, you did review more, wth ?14:42
james_wI think it may be that you got a notification through being asked to review via a team14:42
james_wwhen someone does that review LP no longer mails that team14:42
vilacrap14:43
james_wthis bites me all the time, as all you see in that case is a request for you to review, and you don't see that someone else has done it14:43
james_wand yes, I've filed a bug14:43
vilajames_w: subscribed, thanks for the heads up14:44
mgzhm, tree transforms are hard, I'll go back and look at cython warnings instead15:41
marienzI have two branches that do not currently share history that I want to combine. Should I branch one into a temporary subdirectory of the other, "bzr join" that, and then "bzr mv" everything to its proper place? Or is there some neater way?15:41
marienzoh wait, I guess "bzr join" doesn't commit, so I can just do the join and the following moves and merging of toplevel files in one commit? Does that make sense?15:44
marienzI should just try instead of bugging you folks :)15:44
=== beuno is now known as beuno-lunch
=== zyga-afk is now known as zyga
briandealwisthx vila for #86147216:26
vilabriandealwis: my pleasure (your timing was perfect ;) Feedback welcome !16:27
briandealwisThe only thing that springs to mind, since you're looking at the config format, is that it would be nice to have some way to override variables on a per-command basis.  For example, to cause log_format=line for pull only.  I have a datetime_format var for tiplog, but I call it tiplog_datetime_format to ensure it won't stomp on any other toes16:29
=== beuno-lunch is now known as beuno
vilabriandealwis: option expansion may address some cases (but it's not fully there yet): pull.log_format = {log_format}16:31
briandealwisthat'd be very useful16:32
vilabriandealwis: you can also use aliases16:34
briandealwisThat's what I do now.  Doesn't work when you execute a command remotely through ssh or within an editor though16:36
vilabriandealwis: but abusing -O will render all other config files useless so... time will tell16:36
vilabriandealwis: also, if you start introducing config options, the stack based design have a registry so you're either /guaranteed to have your own option/ or /your plugin won't load/16:38
briandealwisvila: ok… I think. You mean I'll *have* to put something like 'tiplog.datetime_format = {datetime_format}' somewhere or else the plugin won't load?16:40
vilabriandealwis: no, you have to config.option_registry.register(Option('tiplog.datetime_format', ....))16:41
vilabriandealwis: EOD here, but feel free to ping tomorrow for more16:42
briandealwisok16:42
mathrickre: bug #838469, should improvements to mini-tutorial be submitted for released versions as well, or will they only be accepted for bzr.dev?17:18
ubot5Launchpad bug 838469 in Bazaar "Mini tutorial doesn't explain repository directories" [Low,Confirmed] https://launchpad.net/bugs/83846917:18
rawrgood question.17:19
mathrickalso, do we have history horizons (aka shallow checkouts) yet?17:20
mathrickheh, "Say a project FOO is running for 30 years, accumulated 100 000 revisions and the repository has grown to 1GB1."17:23
mathrickalso known as 'emacs' :)17:23
jelmermathrick: there are stacked branches, and it's possible to do commits on top of stacked branches in newer versions of bzr17:41
mathrickjelmer: yes, I (re)discovered that a bit after I asked17:41
=== deryck is now known as deryck[lunch]
=== deryck[lunch] is now known as deryck
=== med_out is now known as medberry
JordiGHHow can bzr avoid using hashes for commits? I don't get it, heh.22:27
jelmerJordiGH: I'm not sure I follow, avoid hashes where?22:33
JordiGHHm, this doc gave me the impression that bzr didn't use hashes, only revision numbers: http://doc.bazaar.canonical.com/migration/en/why-switch-to-bazaar.html22:34
mathrickin the UI, yes22:35
jelmerJordiGH: it uses globally unique identifiers to identify commits too, but those aren't generally shown in the UI22:35
mathrickin the underlying trees, no22:35
JordiGHDoes "UI" mean "GUI"?22:35
mathrickany user interface22:35
mathrickif you type "bzr revno", it's a type of user interface too22:35
jelmere.g. "bzr log --show-ids" will show the UUIDs too22:36
JordiGHAh.22:36
JordiGHI don't know, it sounds like revision numbers would cause a lot of problems for a distributed workflow to the point of being useless.22:36
JordiGHIs there some clever solution here?22:37
jelmerJordiGH: in practice they work reasonably well22:37
mathrickJordiGH: yes, you always refer to revnos in the context of a specific branch22:37
jelmerJordiGH: if I saw r4343 of trunk, that has meaning22:37
mathrickwhich is how you work in practie22:37
mathrick*practice22:37
JordiGHI don't see in "bzr" a concept of clones like in git or hg. What is a "branch" in bzr? Is it a clone? A path in the DAG? A ref?22:38
JordiGHWhen you delete a "branch", what do you delete? A ref? A filesystem tree? The entire repository?22:38
mathrickwhat are you trying to accomplish by asking that?22:39
JordiGHTrying to understand bzr.22:39
mathrickread the user guide, it has more info than you can wish for!22:40
mathrickbzr has really solid docs22:40
JordiGH"branch" means something very different in hg and git. I want to know what it means in bzr.22:40
mathrickhttp://doc.bazaar.canonical.com/en/22:40
JordiGHCan I see a bzr definition of "branch"? I don't see it in the docs. Seems to be a concept you have to osmose instead.22:40
mathrickbranch is a DAG with a specified tip22:41
JordiGHSo if I delete a branch, I delete a whole path in the DAG?22:41
mathrickdepends on where the revisions are stored22:41
JordiGHWait, there is more than one DAG? Or is it the same DAG, just disconnected?22:41
JordiGHCan a repository have more than one DAG?22:42
mathrickbzr branches might have their working trees and their repositories physically separated22:42
mathrickJordiGH: a repository *is* a DAG. But it need not be connected, no22:42
mathricka branch is, in practical terms, a tip plus a bunch of metadat22:43
mathricka22:43
JordiGHUhm.22:43
JordiGHSo it's a ref?22:43
mathrickyou need to ask jelmer, he understand git terminology :)22:43
mathrickbut I think so, yes22:43
JordiGHA tag? A bookmark? Just metadata, like in git? So when you remove a branch, you only remove metadata?22:43
wgz<JordiGH> Can I see a bzr definition of "branch"? I don't see it in the docs. Seems to be a concept you have to osmose instead. <- <http://doc.bazaar.canonical.com/bzr.dev/en/user-guide/core_concepts.html>22:44
mathrickdepends on where you stored the repository. If it's a standalone branch, then it will have its data stored in the same dir as its working tree, so if you delete this directory (which is what bzr would call "removing a branch"), you will kill these revisions as well22:44
mathrickif it used a shared repo, which is the recommended setup for large-scale usage, then no, it won't touch the stored revisions22:45
JordiGHwgz: Thanks.22:45
JordiGHOkay, a branch is a path in the DAG. I'm ok with this.22:45
JordiGHNot like git.22:45
mathrickactually multiple paths potentially, since there's no limit on the number of parents a revision can have22:46
JordiGHRight, a tip plus all its ancestors. That's a branch, right?22:46
mathrickyes22:47
mathrickJordiGH: git's branches are somewhat similar to bzr's lightweight checkouts22:47
JordiGHbzr's branches sound more like hg's branches.22:47
mathrickthere's a plugin emulating git-style (aka "collocated") branches with a shared repo + checkouts22:48
JordiGHNo, I don't want git. :-)22:48
JordiGHI just want to understand bzr.22:48
mathrickI'm giving information22:48
JordiGHI'm writing a long diatribe on how much I hate git, but to be effective, I have to understand what other DVCSes do and hence why git is so weird and badly designed. ;-)22:48
mathrickwhat do you use instead?22:49
JordiGHI use hg. But bzr seems like someone actually stopped to do a user-friendly design too, which is already a big ++ over git.22:50
mathrickJordiGH: actually git's model of multiple-branches-inside-a-dir is effective in practice and bzr is moving to adopting that officially in the future. We just avoid requiring you to have a PhD to work with bzr22:50
mathrickand yeah, bzr's design was "get it right first, then make it fast"22:51
mathrickwhich is the exact opposite of how git's went22:51
JordiGHThat seems like a minor implementation detail? I don't care too much about that. I care about what is actually exposed to users. Is the one-branch-per-directory (is that how it is now, right?) a burden on the user? It doesn't sound so bad to me.22:51
jelmeryeah, it's one branch per directory at the moment22:51
mathrickJordiGH: in heavier usage it's somewhat unwieldy and that's why the direction is to expose multiple collocated branches by default in the future22:52
mathrickbut currently it's still one-per-dir22:52

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