/srv/irclogs.ubuntu.com/2010/09/13/#bzr.txt

beunoheya poolie!00:07
beunoknittl, heh, ingenious00:08
knittlbeuno: well, it worked fastest :>00:12
knittland so i made sure nothing is left00:12
lifelessknittl: bzr clean-tree --ignored00:15
spivGood morning.01:02
pooliehi there spiv, lifeless01:06
pooliespiv, would you care to give a second opinion on https://code.launchpad.net/~mbp/bzr/ui-factory/+merge/3495601:11
=== poolie changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: vila | Release Manager: jam | bzr 2.2.0 is officially out | patches welcome: http://webapps.ubuntu.com/employment/canonical_BSE/
spivpoolie: sure01:18
lifelesspoolie: the apport one might be usable01:48
poolielifeless: apport what?01:51
lifelessit has a dup detection demon01:52
lifelessfor detecting things with the same backtrace01:52
poolieso, spiv, what do you think?02:31
* poolie is going to see about getting scriptrunner to test interactive ui stuff02:31
spivpoolie: comment added02:50
pooliethanks for the review, and i think that's a nice statement about kwargs02:57
pooliei'd almost paste that into hacking02:57
poolieactually i will paste that into hacking02:57
spivOk :)02:58
spivIt took me a few goes to get my thoughts on kwargs reasonably clear.02:58
poolieyes, it's pretty much what i was trying to say02:59
grettkeHi folks. Just insalled bzr on the olpc-xo-1. When I try running bzr, I get ""bzr does not support python -OO." What did I do wrong?03:49
spivgrettke: bzr 2.2 should work with python -OO03:55
spivIt seems a bit unusual that bzr would be installed to be run with python -OO by default, but I guess it's an attempt to avoid wasting space on the XO.03:56
spivgrettke: how did you install bzr?  As a workaround, you can probably do "python /usr/bin/bzr", although if there are only .pyo files and no .pyc files it could be quite slow.03:57
grettkeI did a yum install bzr.04:02
spivSounds like a bug in the rpm package, then :/04:03
grettkeoh ok, good to know, thank you04:03
spivBut it wouldn't matter with the current release of bzr, which should work fine in those conditions.04:03
spiv(And thus also allow the space saving that -OO provides)04:04
spiv(And memory saving as well.)04:04
spivOn most systems I'd say those wouldn't matter, but they probably do help on the XO :)04:04
poolieis it just me or does lp-propose fail if there's already a proposal for the branch?04:28
pooliespiv, where was your testdoc branch?05:18
spivpoolie: it's in trunk now05:19
poolieoh, just lp:testdoc?05:19
spivpoolie: (also, jml made me the maintainer)05:19
pooliei like the idea of using it to review what i changed05:20
poolietag :)05:20
pooliewow, very nice05:28
spivHooray :)05:29
* poolie resolves to make his docstring slightly better 05:29
spivvila tells me it's unreadable with a light-background terminal ;)05:29
poolie:/05:30
pooliethat's such a mess05:30
pooliei mean it's probably true but it's a shame unix lets you say "yellow" when you want "a bold contrasting color"05:30
spivYeah.05:30
pooliei guess he could write a formatter that either uses just bold/underline/etc, or that uses emacs to rewrite stuff into its own face markup05:31
poolieactually you could write the whole thing inside emacs quite well05:31
pooliei'm kind of surprised jml didn't05:31
spivYes, for interactive use the editor is in a way a better home for it.05:31
spivI think perhaps jml wasn't thinking of using it interactively initially (given that the original output format was Moin markup).05:32
spivAlso I can imagine writing elisp to invoke Python to do fiddly introspection might trip some "that's too gross" thresholds...05:33
pooliei probably wouldn't use real python introspection, just regexps to find the methods and docstrings05:34
pooliebut i'm glad it's standalone, since i no longer use emacs05:34
pooliemuch05:34
spivI think ideally it wouldn't use introspection, but it certainly makes it easier to write.05:37
vilahi all !07:37
vilawoohoo, connected to pratchett (.freenode.net) The day will be fun :)07:37
=== vila changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: vila | Release Manager: vila | bzr 2.2.0 is officially out | patches welcome: http://webapps.ubuntu.com/employment/canonical_BSE/
bialixhi07:49
vilahmm, is it me or is lp using a new font in same places ? (the mp links at https://code.edge.launchpad.net/bzr/+activereviews for example)07:52
vilabialix: _o/07:52
lifelessvila: the ubuntu font?07:53
bialixvila: \o_07:53
vilalifeless: hehe, looks like so to me, the funny thing is that I just installed it myself ;)07:53
lifelessvila: thats why you just noticed.07:54
vilalifeless: haaa, you mean the font change is older ? When did it occur ?07:54
lifeless2 weeks I think07:55
vilalifeless: wow07:56
vilalifeless: haa, right, I see the font *because* I installed it...07:58
mgzmorning all.08:14
mgzsee from planet debian Robert's done an interesting post on what he's been up to08:20
lifelessI meant to edit it more, but it escaped due to wordpresss08:20
poolie> Bazaar is a tool anyone can install locally08:21
poolie> Launchpad, by contrast08:21
poolieis a tool no one can install :)08:21
lifelesshah08:21
pooliejk08:23
poolievila, are you up?08:30
poolieis there some trick about matching blank lines in test scripts?08:30
vilapoolie: yup !08:30
=== beaumonta is now known as abeaumont_
* bialix waves at poolie08:31
vilapoolie: hmm, ring a bell...08:31
pooliehi there bialix08:31
bialixnew qbzr release hits the street08:31
vilaI vaguely remember that initially blank lines were ignored when there was no '$' prefix for commands... Not sure we fixed that now that the expected output lines don't have a prefix08:32
vilapoolie: what do you observe ?08:32
vilapoolie: An expected output blank line not respected or detected or... ?08:32
pooliethere's a blank line in the output08:33
poolieit seems to be a bug: by the time we run the checker, it's not in the 'expected' variable08:33
bialixpoolie: check http://stackoverflow.com/tags/bazaar/info ; is it ok for you?08:33
poolielooks good08:34
pooliedid you just set that up? thanks08:35
bialixactually, yesterday08:35
bialixI've got enough bazaar karma for this08:35
bialixddaa asked me to do so...08:36
vilapoolie: right, so I think my bell was right, want me to look at it ?08:40
poolieno it's ok, i think i see it08:41
vilapoolie: bzrlib.script.py line 8708:41
poolieyeah :)08:42
pooliejust working out what level to test that at08:42
vilapoolie: right, and line 112 smells like an additional test would be good08:42
pooliei put up a branch ~mbp/bzr/script, that tests user interaction08:42
vilapoolie: like... test_empty_line_is_ignored ? :-D08:43
poolieexactly08:43
pooliei think in some contexts it should be ignored08:43
pooliei guess only at the start of the document08:43
vilapoolie: but I think this one should be kept... yeah, you got it08:43
vilai.e. output can exist if a command as been seen, otherwise, just ignore08:44
poolieso as simple as just saying, we'll ignore one initial blank, but no more?08:46
poolieat the _script_to_commands level?08:46
=== mthaddon` is now known as mthaddon
vilapoolie: lp:~mbp/bzr/doc approved if you remove the 'I think' occurrences, I don't think we ever say 'I' in these docs ;-p09:04
mgz"I don't think we ever say 'I' in these docs" <- maybe you should add that to the docs09:05
lifeless-lol-09:06
vilamgz: my man ! Can you have a look at your mps ? There are some tweaks, but otherwise you have several you can land09:06
mgzyeah, I'm short news again aren't I?09:07
vilahehe09:07
lifelessprobably09:07
mgzI'll add what's lacking and push.09:07
vilamgz: s/I don't think// applies to your remark :)09:07
mgzwhen you next poke babune vila, lifeless has released a new pyjunitxml version.09:08
vilamgz: already done, but thanks for the heads-up and thanks to lifeless for the upgrade ;)09:08
mgz...you're always ahead of me09:09
vilaI try to avoid running private branches for babune or I lose... track ? my mind ? my sanity ?09:09
vilamgz: not at all, just following closely instead :-p09:09
vilamgz: ... which may mean I'm ahead when you stop :D09:10
mgzpqm has news merge on right? otherwise I'm going to conflict horribly here.09:13
poolievila: proposal updated09:14
poolievila :)09:15
pooliewell, it was kind of quoted09:15
pooliebut not very clearly09:15
vilapoolie: sure, but lp doesn't show any changes yet, you've pushed right ?09:16
vilawow, I'm already in love with the new Ubuntu font :)09:16
poolieoh i meaont the scripts one09:16
pooliedid it change again?09:16
vilaha09:16
vilapoolie: ok, wasn't there yet09:17
pooliedo you think that's a reasonable position about string interpolation?09:17
vila"args are split in to words" ? into ?09:17
vilapoolie: hmm, I really dislike the idea of removing the first and final line09:19
vila"""\ works great for the first one09:19
poolievila, and you can do the same for the last one09:20
poolieit just seems unfortunate to make every caller type that09:20
poolieespecially because it's meant to be an easy way to get good tests, and because i don't think tracking them will ever be useful09:20
vilathey shouldn't need that if we ignore the first one (but take care of it if we need error reporting with correct line numbers)09:20
vilayour note about the comment handling is right though...09:21
poolieoh, so you're saying you don't mind ignoring them, but you don't like the implementation of trimming the list09:22
pooliebecause it will change the line numbers?09:22
vilawell, it will always be impossible to distinguish a comment *preceding* a command, from a comment in the expected output of the *previous* command09:22
vilayes, I think it's fine to ignore the first line if it's empty (while keeping track of line numbers) knowing that anal script writers can use """\09:23
vilabut I think we shouldn't ignore the last one until someone encounter problems with it (which hadn't occur yet right ?)09:23
poolieit does happen09:25
vilaand for the comments, well, the only robust solution I can think of is to allow \# when you want to use it literally09:25
poolienow that i don't ignore all blank lines, a bunch of tests fail09:25
poolie"""09:25
poolie$ echo foo09:25
pooliefoo09:25
poolie"""09:25
pooliefails09:25
pooliebecause '\n'.split(that) has a '' at the end, after the last newline09:26
vilarhaa, bogus split09:26
spivTrim leading and trailing blank lines?09:26
pooliea bit surprising hey09:26
pooliethat's what i'm doing09:27
spivOr use """\ ;)09:27
poolieyes, but i'd rather write the trim once, not \ a hundred times09:27
poolieespecially because the message is confusing if you miss it09:27
vilapoolie: you have 'if line == '': continue' indented, is that intended09:28
vilawow, look mom, no typo !09:28
vilapoolie: and the tweak in _check_output looks suspicious too09:31
pooliethe indenting is actually intentional09:40
poolieit's a somewhat misleading diff09:41
pooliewe want to skip lines that are blank only because they contain a whole-line comment09:41
pooliewhy suspicious?09:41
vilapoolie: yup, I'm digging09:42
pooliethat's the change i was originally trying to make :)09:42
poolieso the interaction test works09:42
poolietest_confirm_action09:42
poolieneeds it09:42
vilais that because test_confirm_action doesn't require that the user type <enter> ?09:43
poolieno, it's because bzr doesn't write out a \n at the end of the prompt09:44
poolieit leaves the cursor there and the user presses enter for us09:44
vilaouch, that's "expected output does not end with \n', ok09:45
vilaright, that's what you say in the comment :)09:45
vilaalmost09:46
poolieisn't that nice? :)09:49
pooliethen i can pop back one fram09:54
vilapoolie: right, it's not clean but 100% DWIM09:55
poolieso my goals, which i suppose are yours too09:55
poolieare that it's easy to use09:55
vilapoolie: what about http://paste.ubuntu.com/492989/ ?09:55
pooliewhen it fails, gives a decent message09:55
poolieand as much as possible lets you  be precise if you want to09:55
vilapoolie: totally, the alternative would be to allow specifying an expected output *without* a final new line which means rewriting _script_to_commands for a little benefit09:56
poolievila so it seems like the only actual difference in behaviour there is that you tolerate multiple leading blank lines09:56
vilapoolie: overkill09:56
pooliewhich does not seem useful to me09:56
vilatry putting a several lines long comment at the start09:57
poolieok, let's add a test for that09:58
pooliethat works09:59
vilaand an empty line after the opening comment ?10:00
vilahttp://paste.ubuntu.com/492991/10:00
poolievila i'm not convinced that should pass10:01
poolieistm letting people have a leading """ with no \ is useful10:01
pooliebut letting them have arbitrary blanks is not actually helpful10:02
poolieand may get in the way of precision10:02
vilapoolie: no, failing because they forgot to be precise before their first command is just annoying them for no good reason IMHO10:04
vilain _script_to_commands, the split is the bulk of the scanner while the loop is the parser, the comments are scanned in the loop to finish the scanning, and the parser should really kick in when the first command starts, but well, that's not so important, it just feels cleaner10:06
vilabut the comment I deleted is obsolete and misleading now10:06
vilawell cleaner and respecting newlines which del doesn't...10:08
vilaanyway, don't spend time on it, this will matter more if/when we implement error reporting with linenos at which point whoever does it can fix it10:09
lifelessjml: so, testtools MP, I gave feedback, you seem undecided?10:12
vilalifeless, jml: As a data point, I came across 'a' and 'n' *this* wee-end and... found it akward10:15
vilaweek-end I don't even know what wee-end could mean...10:15
lifelessvila: EPARSE10:16
vilagood :)10:16
lifelessI don't know what 'a' and 'n' you mean10:16
vilayeah 'b' :)10:16
vilaat least this typo reveals my lack of understanding, I don't know what it's about so I can't type it properly :)10:17
lifelessvila: I'm still lost10:17
vilalifeless: I encountered 'a' and 'b' in assertEqualDiff and thought: "Wth ? Why not 'expected' and 'actual' ?"10:18
lifelessoh right10:18
lifelessyes10:18
jmllifeless, yes.10:27
jmllifeless, I'm otp atm.10:27
pooliehello jml!10:27
lifelessjml: yes10:27
jmlpoolie, hi10:27
pooliewelcome back (if you are)10:27
lifelessjml: we can talk about it tonight/tomorrow if you want10:27
poolievila i'd kind of like to just merge this10:27
jmllifeless, that'd be good.10:27
pooliethat particular problem might be confusing but it hasn't bit me yet, anyhow10:27
pooliebug 636930 sounds familiar10:28
ubot5Launchpad bug 636930 in Bazaar "Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo' (affected: 1, heat: 6)" [Undecided,New] https://launchpad.net/bugs/63693010:28
poolieah bug 51343210:29
ubot5Launchpad bug 513432 in Launchpad Bazaar Integration "AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo' (affected: 13, heat: 23)" [Critical,Fix released] https://launchpad.net/bugs/51343210:29
pooliespiv, if any, it looks like that has regressed in 2.2?10:30
mgz633915 is the same bug and also new.10:31
mgzand 635874.10:33
mgzall of them involve launchpad, so the regression might be that side rather than in 2.210:35
vilapoolie: as in: "Thanks for review, but still" ? :-D10:36
vilagrr, %2Bbranch still ?10:36
poolieyes, "but still" :)10:36
pooliei feel like that's enough of that particular yak for today10:37
vilapoolie: ok, I've shelved my patch and I can trivially break your test, that's good enough :)10:39
vilapoolie: moreover I get a "SyntaxError: No command for line ''" which is a perfect case to implement better error reporting with line numbers :-D10:40
poolieyeah that would be higher up my list10:44
pooliealso there's something strange happening with ellipsis10:44
lifelessI triggered the elusive bzr: ERROR: Tree transform is malformed [('missing parent', 'new-1')]10:45
vilalifeless: hmm, with bzr itself or builddeb ?10:45
lifelesswith bzr10:45
lifeless2.2b310:45
lifelessrev 534010:46
lifelessI had added a directory and files in the dir, and I did shelve --all10:46
vilathat's a bug then (all MalformedTransform are :-/)10:46
vilaoh, shelve...10:47
vilaor... did you have .pyc files there ?10:47
lifelessignored files yes10:47
lifelessfoo~ - editor backups10:47
poolieoh, wow10:48
lifelesssounds like you have an idea about whats going on; perhaps you could file the bug ?10:48
vilalifeless: can you try again with lp:~vila/bzr/323111-orphan-non-versioned-files ?10:48
pooliean actual bug, not a test suite bug10:48
pooliebut not a very big one10:48
lifelessvila: i will tomorrow10:48
vilalifeless: ok, waiting for your feedback then10:48
lifelessvila: you could try it yourself :P10:48
lifelessvila: trunk, and then your branch10:48
vilalifeless: yeah right :) I'm busy fixing my branch.conf files with lp spitting bzr+ssh://bazaar.launchpad.net/%2Bbranch/bzr/ urls everytime I create a new bzr branch :-/10:51
lifelessvila: you might like to file a bug on that10:52
lifelessits good that private branches are supported, but its a bit annoying10:52
vilalifeless: there isn't already one ??? I thought you mention tim related to that when I mentioned it... friday ?10:52
lifelessI did10:52
lifelesshave you communicated with him about it though?10:52
vilano, I thought you and I were already discussing it, rats, it's a bad bug10:53
vilalifeless: should I file against lp or lp-code ?10:53
poolieok, and now i get to fix the n-1th yak10:53
vilalifeless: oooooh, but the urls work...10:55
vilano need to fix my branch.conf files (I get fooled in a particular setup)10:56
vilahmm, fooled twice even, if they work today, the problem I encountered friday was either transient or fixed since10:57
vilalifeless: so bzr+ssh://bazaar.launchpad.net/%2Bbranch/bzr/ will now always point to the dev focus right ?10:58
lifelessI don't know.11:00
lifelessI guess.11:00
mwhudson_vila: yes11:00
lifelessand anothe bug11:00
lifeless:!bzr shelve --all debian/python-fixtures.install11:00
lifelessSelected changes:11:00
lifeless-D  debian/11:00
lifeless-D  debian/python-fixtures.install11:00
lifelessbzr: ERROR: Tree transform is malformed [('unversioned parent', 'new-2'), ('missing parent', 'new-2')]11:00
lifeless(filed)11:00
vilamwhudson_: thx11:01
bialixpoolie: still here?11:11
pooliehi, yes, though not for long11:14
bialixhttps://bugs.launchpad.net/bzr-website/+bug/63696111:14
ubot5Launchpad bug 636961 in bzr-website "www.bazaar.canonical.com URL does not work (affected: 1, heat: 6)" [Undecided,New]11:14
pooliereally11:15
poolieit should11:15
pooliethanks11:15
pooliei can't fix it but i'll ask11:15
bialixso far I'll use URL without www.11:15
pooliegood idea11:16
poolieok good night all11:26
spivpoolie: yes, bug 636930 did sound familiar, thanks for finding the bug it may be a regression of11:38
ubot5Launchpad bug 636930 in Bazaar "Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo' (affected: 3, heat: 26)" [Critical,Confirmed] https://launchpad.net/bugs/63693011:38
spivI'll look into it tomorrow if no-one fixes before then.11:38
jmlpoolie, good night. we should have a chat some time.12:16
=== Meths_ is now known as Meths
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
nlisgo'bzr remove --keep file.php' keeps the file locally but removes it from repository. Is there a way to have it removed from repository but it when the repo is pull within a branch the file file.php is not removed within the branch14:28
nlisgoI know it also needs adding to the .bzrignore file14:29
=== Ursinha-afk is now known as Ursinha
=== mbarnett` is now known as mbarnett
rubbsI'm looking for a way to create a shared repo system that allows for devs to have their own branches in the shared repo, but not have write access to a specific branch, for example, the trunk. what's the best way to go about doing this?15:44
rubbsI basically want the space saving abilities of the shared repo (or similar) but need a gate keeping sort of system. I'm the only one who should have commit access to the trunk. Is this possible? or do I need the trunk to be in a separate repo?15:45
maxbYou'll need everyone to have write access to the repository. You could enforce some application-level constraint on people who can change a branch tip15:45
rockywhat's the quickest way to see what repo a branch comes from? (ie where all the rev info is stored)16:01
Methsbzr info ?16:02
rockybzr info on a branch does not tell me where it's repo is located16:02
ddaarubbs: maybe have a look at stacked branches16:06
ddaathey were designed for this kind of use case:16:06
ddaaspace saving of shared repo, without giving everyone write access to everything16:07
ddaahttp://doc.bazaar.canonical.com/latest/en/user-guide/stacked.html16:08
rubbsmaxb: ddaa thanks. I'll take a look at stacked.16:08
ScottKFeedback from a satisfied customer on a proprietary project I'm working on that uses bzr: "`bzr merge --uncommitted --force --interactive`s. Neat." <-- the commenter is generally a die hard svn/centralized VCS traditionalist.16:09
ddaaseparatists of the world, unite!16:11
Kinnisonsplitter!16:11
rubbsHmm... seems like binding to a stacked branch could cause some problems.16:11
ddaagenerally, it's better to enforce this kind of constraint by policy, or to deal with the additional disk usage of having multiple independent repos16:13
rubbsddaa: yeah I htink I'm going to do that later. We would have the policy and I do trust the devs here, but I want that safety net if possible.16:13
rubbsI think I'm going to have a dev repo and a release repo16:13
rubbsdisk space is cheap ;)16:14
ddaastacked branches were designed for launchpad, which has a relatively unique set of constraints and level of control.16:15
ddaahi Kinnison. Do you really, really hate the Romans?16:18
* ddaa goes out to look at the bright side of life16:21
maxbrocky: Yes, it does, unless the repository is implicitly located within the branch bzrdir itself16:33
=== khmarbaise_ is now known as khmarbaise
=== BasicPRO is now known as BasicOSX
=== zyga is now known as zyga-dinner
=== beuno is now known as beuno-lunch
dobeycan anyone help me figure out http://pastebin.ubuntu.com/493200/ ? the tarmac branch tests are all failing with this error in the PPA package builds. and rockstar and others seem to get the errors when running the tests, however, i am unable to get the errors to occur on my system.17:32
* rockstar bets jam can help.17:33
rockstarHe is smart.17:33
jamrockstar, dobey: starting with bzr 2.2 we require a configured username to commit, because we had a lot of problems with people forgetting to enter it, and then getting committers they didn't want17:34
jamfor test suitse17:34
jamthe bzr TestCase sets BZR_EMAIL as part of setUp()17:34
rockstardobey, we should be using the bzr TestCase in those examples.17:35
dobeyah17:37
dobeyhmm17:37
dobeyTestCaseWithMemoryTransport?17:38
dobeyalso, i'd still like to know wtf i'm not getting the issue while everyone else is17:38
=== Ursinha is now known as Ursinha-lunch
=== deryck is now known as deryck[lunch]
jamdobey: do you have the env variable set already?17:42
LogomachistAre we any closer to a bzr book getting released?17:42
jamagain bzr's base TestCase clears out the environment variable while running17:42
jamI just double checked the code17:43
jambzr's TestCase has a "_cleanEnviroment" function, called from TestCase.setUp()17:43
jamwhich sets BZR_EMAIL = None, and EMAIL=jrandom@example.com17:43
jamif you are inheriting from a bzrlib TestCase you should get that for free17:44
dobeyjam: no17:44
jamif you are just inheriting from unittest.TestCase then you won't17:44
jamand you'll want to do something similar17:44
dobeyjam: if i run 'bzr whoami' in os.system() in the test, it prints the message that it's unset17:44
jamdobey: right, but that is because there are multiple ways of setting it17:45
jamwhat does "set" give?17:45
jamwe will accept, EMAIL, BZR_EMAIL, or 'bzr whoami "foo bar <foo@bar.com>"17:45
dobeynone of those are in my env17:46
dobeyand the tests are setting BZR_HOME to an empty dir17:46
jamdobey: IIRC, 'bzr whoami' only looks at the information you gave it17:47
jam(it doesn't look at the env vars)17:47
jamdobey: would you have an older version of bzrlib?17:48
jamlike 2.1 ?17:48
dobeywell it looks at the config too. and since it's printing the no value message, it is not reading it from my config17:48
dobeyno, i'm on maverick and have bzr 2.217:48
dobeythis broke when the 2.2 release went into maverick, and i did some work on the tarmac tests to make the error go away17:49
dobeybut it seems to have cropped back up somehow, though i can't make it happen on my machine17:49
jamdobey: sorry, I got disconnected for a second, last thing i see:17:52
jam11:49:11 AM) dobey: but it seems to have cropped back up somehow, though i can't make it happen on my machine17:52
jam(11:50:00 AM) jam: dobey: this is for the tarmac test suite itself, right?17:52
dobeyyeah, a subset of the tests in tarmac17:52
dobeyi'm happy to switch it to using the appropriate bzrlib testcase, but want to understand why i seem to be the only person not seeing the issue :)17:53
=== Ursinha-lunch is now known as Ursinha
rubbsquick question, is there a way to make a branch on the remote server without having to make commands via ssh. I'm basically saying can I from computerA do this: rubbs@computerA$ bzr branch bzr+ssh://computerB/branch1 bzr+ssh://computerB/branch2?18:30
jelmerrubbs, you should be able to, yes18:31
jelmerit would probably be slower than ssh'ing out to computerB or computerC though18:32
rubbsjelmer: thanks, that worked. I know it may be slightly slower, but at this point it's easier to explain it to newbies. Long story short, I want all their branches to be on the server so I can back up their work. They will use bzr to create their branch on the server, then branch+bind to their local machine from the new server branch. If I can get them to do it all with bzr commands, it will make more sense to them.18:35
rubbsafter they are more comfortable I'll make sure they know they can do it faster18:35
rubbsI'm also toying with the idea of giving them sftp access only to our repo server18:36
jelmerrubbs: well, s/slightly/a lot/18:39
jelmerrubbs: rather than using local paths it would fetch all data locally to computerA only to send it off to computerB again18:40
=== beuno-lunch is now known as beuno
rubbsjelmer: ah, I'll try to find another way around it.18:59
=== zyga-dinner is now known as zyga
=== deryck[lunch] is now known as deryck
serviliohi all! is there a [stable|reliable] way to have composite/nested trees?19:15
lifelessservilio: the externals plugin seems popular19:45
serviliolifeless: will take a look, thanks19:46
serviliolifeless: just found the lp:~jelmer/bzr/foreign branch, but doesn't have any linked blueprints or bug report, so no info on when to expect it to be merged in core bzr19:47
=== Ursinha is now known as Ursinha-brb
jelmerservilio: What do you expect that branch do be?20:01
serviliojelmer: it is a hosting environment, I have one repo for the environment skeleton, and another for the different hosting buildouts20:03
jelmerservilio: I mean ~jelmer/bzr/foreign, what are you expecting it to do?20:03
jelmerservilio: it's just the branch where I keep changes to improve foreign branch support that haven't landed yet.20:04
servilioso, are there any options in the stock bzr to be able to create nested branches?20:04
serviliolike "bzr co repo:hosting . && bzr co repo:buildouts/b1 b1"20:05
servilioand then being able to do bzr pull independently in b1 and its parent to pull updates20:05
serviliois that possible right now?20:06
jelmerservilio: no, see bug 40281420:06
ubot5Launchpad bug 402814 in Launchpad Bazaar Integration "Importing revisions with submodules is not supported (affected: 8, heat: 56)" [Wishlist,Triaged] https://launchpad.net/bugs/40281420:06
=== lool- is now known as lool-webchat
serviliojelmer: just read the bug report20:11
serviliojelmer: but I don't have anything clear yet20:12
serviliojelmer: I mean, of current support and if it is possible to use it20:12
jelmerservilio: there is no support in bzr core for by-reference nested trees. There are some plugins that provide alternatives.20:13
serviliojelmer: and what's the prospect for its support in the core?20:14
serviliojelmer: any plugin that has some kind of forward compatibility with the approach that core will head to?20:15
jelmerservilio: it's a much requested feature and I believe the core team has plans to work on it in the near future.20:15
jelmerservilio: there is no plugin that uses the same approach as core will use.20:16
serviliojelmer: do you know of one that at least won't cause problems when migrating to the way core will support this?20:16
jelmerservilio: I don't think any of them will cause problems.20:17
serviliojelmer: any specific suggestion? or links?20:19
jelmerservilio: personally I would suggest bzr-externals20:20
serviliojelmer: thanks a lot20:21
jelmerit's the simplest but also the most straightforward20:21
serviliogreat20:21
TresEquisjelmer: that plugin is stable / recommendable at this point?20:26
TresEquisI think the last time I looked it was still not-quite-there, but that was a while ago20:26
jelmerTresEquis: it's stable as far as I know20:27
servilioTresEquis: just looked at the page, and right now looks to be at a useful and usable state20:27
jelmerTresEquis: I'd still consider it a stopgap fix until proper nested tree support lands though.20:28
TresEquismaybe that's the caveat I was remembering20:29
TresEquisI have a bunch of SVN-backed checkouts which use svn:externals, would be nice to be able to track those in bzr-svn20:30
serviliojelmer: anything that could be done to get proper support into the core faster?20:30
chxhi. i am trying diff one file in a checkout against its HEAD counterpart.20:53
chxnevermind :)21:00
jelmerservilio: I think it's already high on the list of things to work on of the Bazaar core developers, for more details the mailing list or that bugreport are probably the right places to ask.21:02
serviliojelmer: ok, thanks21:03
alihi bzr masters, what does this error mean? bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('ShortReadvError', 'b22a569ce92096b22330c933808dc3b1.tix', '0', '772', '60')21:58
aliseems my repository is corrupted ("bzr check" reports the same thing, "bzr reconcile" failed with   File "/usr/lib/python2.5/site-packages/bzrlib/index.py", line 1074, in _parse_lines21:59
ali    raise AssertionError("%s %s" % (self._size, pos)) AssertionError: 772 59)21:59
maxbali: Yes, that doesn't sound good. The first thing you could do is to try running "md5sum .bzr/repository/packs/*.pack" to check the status of some other files in your repository - for pack files, their name should be identical to their md5sum value22:16
lifelessmaxb: hi22:25
maxbhello22:25
lifelessmaxb: I've got your mail about packages on my to-read22:26
lifelessI've updated a couple of packages22:26
lifelessin sid22:26
maxbhmm, which ones?22:27
lifelesspython-junitxml22:29
lifelesstestrepository I think, or was it testtools22:30
* lifeless checks archive mails22:30
maxbAh yes, I have tracked them down in debian-devel-changes@ now22:30
lifelessyes, those two22:31
lifelessI need to do a testtools one22:31
lifelessMay wait a few days, get a small improvement in cleanups into it first22:31
maxbOk, once that appears, I'll do the PPA uploads for it, and re-propose promotion of testtools/subunit from the beta ppa22:32
maxbThat reminds me, bzr-svn is also languishing in the beta ppa, I should do something about that22:33
alini, maxd, i just ran "md5sum .bzr/repository/packs/*.pack", all files' md5 matches file name22:36
maxbWell, that's a start. You might want to read through https://answers.launchpad.net/bzr/+question/96346 next - I don't know any more than what's there, but others here can possibly help22:38
alithx, maxb22:38
RomanMozHello! How to launch bzr-gtk or bzr-explorer on Windows systems? Ten years I used Linux and forgot many things in windows22:54
RomanMozPlease...22:55
alimaxb, "bzr dump-btree" is even failing on my other good repositories, any ideas?22:57
alibuild@dev-001:/bzr/server/.bzr/repository/indices$ bzr dump-btree b8e9c1d28ae7c837d4f1472535a58a03.iix22:58
alibzr: ERROR: b8e9c1d28ae7c837d4f1472535a58a03.iix is not an index of type <class 'bzrlib.btree_index.BTreeGraphIndex'>.22:58
maxbali: hmm. odd. what format repository is that?23:08
maxbalso, you could try dump-btree --raw23:08
maxbalso, is the broken repository private data, or public?23:08
aliit is private. tried with "--raw", none of the indices are recorgnized23:11
alii tried .six, tix, rix, iix files. bzr version 2.0.4 on 64-bit ubuntu, weird23:12
lifelessali: what does 'bzr info -v' show - you can elide the paths, but we need the format data23:12
aliali@dev-001:/bzr/server/.bzr/repository/indices$ bzr info -v23:12
aliShared repository (format: pack-0.92)23:12
aliLocation:23:12
ali  shared repository: /glass/sfw/bzr/repo/server23:12
aliFormat:23:12
ali       control: Meta directory format 123:12
ali    repository: Packs containing knits without subtree support23:12
aliRepository:23:12
ali      7522 revisions23:12
lifelessok, so this is not a btree based format23:13
lifelessthe indices are linear arrays with bisection used, instead of a btree.23:13
alii see, the repository was created two years ago with old bzr version, i guess23:14
alianyway i can migrate to the new btree repository? (if i can fix this one first)23:15
maxbupgrading's easy. fixing this, however, may be rather hard23:25
alii reserved the crime scene, and just rolled back to this morning's backup. :-) If you need me to report a bug or something let me know23:26
lifelessali: it looks like you had a write to an index get truncated by your filesystem23:27
lifelessali: without notification to bzr23:27
lifelessthe code in question is:23:27
lifeless        for line in lines:23:27
lifeless            if line == '':23:27
lifeless                # must be at the end23:27
lifeless                if self._size:23:27
lifeless                    if not (self._size == pos + 1):23:27
lifeless                        raise AssertionError("%s %s" % (self._size, pos))23:27
lifelessso we got:23:27
lifeless - an empty line (EOF shows as this)23:28
lifeless - we know the size of index we -wrote-23:28
lifeless - must be at the end of the index, but its not23:28
lifeless772 is the file size expected23:28
lifeless59 is the file size found23:28
alihmm, any reason why filesystem truncate the file? the file size is too big?23:29
lifelessnot in this case, 772 bytes is very small :)23:30
lifeless59 bytes is an odd amount to truncate too23:31
lifelessthe other possibility is that there is garbage in the index (again, almost certainly a fs bug, we've not seen bzr write nonsense stuff out in the index as a bug)23:32
pooliehi23:32
pooliewe have seen a few people complaining their fs truncated the files to 0 bytes23:33
poolie59 is indeed odd23:33
alii can send you the idx files if you want to take a look23:33
alibtw, the server was stable and running for the last 4 months, nothing weird today either23:34
poolieali, if you record a bug and attach those files that would help23:43
pooliehi jam?23:55

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