/srv/irclogs.ubuntu.com/2009/09/23/#bzr.txt

johnfjelmer: ping00:06
poolieSmileyChris: when do you want that shown?00:40
poolieonly when you ask for it?00:40
poolieor on every commit?00:40
SmileyChrispoolie: I found how the equivalent shows up in "git status" useful00:40
pooliei can see how that would be useful00:41
poolierobert was asking for status to also tell you what branch you're working on00:41
Peng_Git keeps every branch on-hand, but bzr doesn't, so it isn't really possible..00:42
fullermdSure it's possible.  It's just really painful.00:43
SmileyChrisyeah, thinking about it I realise it's a bit different, git has the remote origin branch stored locally in it's repo00:44
pooliewell...00:45
pooliein at least some cases we could easily do it00:45
SmileyChrisif the parent was local00:45
zsquarepluscsomething tag like that points at the revision i pushed/pulled last could be useful. so you find out by looking at your local history if you did offline work00:47
zsquarepluschm, something like that could be hacked as plugin? pre-push hook: remove tag, then in post-push hook: add tag, move tag in post-pull and merge00:51
zsquarepluscthere could even be multiple such tags, one for each location one used in the past to push to00:53
spivGood morning.01:00
pooliehello spiv01:01
spivpoolie: I've got good progress on bug 429747 I think.01:04
ubottuLaunchpad bug 429747 in bzr "errors during cleanup mask underlying errors" [High,Confirmed] https://launchpad.net/bugs/42974701:04
spivI think I have a reasonable interface and implementation for the higher-order-function suggested in the bug, and I'm just fleshing out the tests and experimenting with how it works in actual code.01:05
spivThere are a couple of variations, like "convenient way to run N cleanups so that they all run even if some fail", which commit at least ideally wants.01:07
spivI have some code for those too, but there's also a simple "run_cleanup" function that just runs a function and logs/reports any error without letting it propagate.01:08
spivpoolie: still planning on coming up today?01:10
pooliespiv, hi01:12
poolieon phone atm, still basically planning01:12
pooliedepending on weather01:12
spivYeah, it's a bit unpleasant.  Fascinating though...01:14
jkakarlifeless: There?01:15
spmspiv: with any luck the rain we've copped overnight and is still happening should settle it all down for you. big mud puddles everywhere but an improvement.01:19
spivspm: yeah, looking forward to that.01:19
spivspm: in the meantime, I've been admiring http://www.flickr.com/photos/plasticbag/galleries/72157622310168099/01:19
spmwow! we got nothing like that. dusty, but wow.01:20
lifelessjkakar: phone call01:25
jkakarlifeless: Ah, okay.01:25
jkakarspiv: Amazing photos!01:27
thumperlifeless, poolie: just an FYI, but upgrading stacked branches works now (just tested on staging)01:41
thumperfor Launchpad anyway01:41
ub3rst4rHi01:45
ub3rst4rdoes anyone know if tortoisebzr and tortoisesvn can be installed on the same system?01:45
SamB_XP_ub3rst4r: is there any reason it wouldn't be possible ?01:46
ub3rst4ri dunno01:46
igcub3rst4r: I believe they can be01:54
lifelessjkakar: hi02:07
jkakarlifeless: Heya!02:07
jkakarlifeless: I'd like to use cmd_alias in Commandant, ideally making it automatically available to any Commandant-based program.02:07
jkakarlifeless: I've implemented a prototype and got it working.02:07
jkakarlifeless: There's a couple of warts though:02:08
jkakar1. It prints 'bzr' in it's output.  I've dealt with this in the help text produced by Command.get_help_text by using text.replace("bzr", "my-program").  This trick isn't really possible with the cmd_alias command.02:09
jkakar2. I have to monkey patch the bzrlib.config.config_filename to return the patch to my program's configuration file, instead of ~/.bazaar/bazaar.conf.02:09
jkakarlifeless: So, I'm thinking about making the change in Bazaar to make this easier.02:10
jkakarI think these are: 1. Add a set_config_filename function to bzrlib.config.02:10
lifelessif I can tempt you with doing a little more02:11
jkakar2. Add get_program_name and set_program_name functions (probably to bzrlib.__init__) which default to 'bzr'.  Change places that use 'bzr' to use the function.02:11
lifelesswe'd like /etc/bazaar/*.conf to work (bazaar/locations/..)02:11
jkakar3. Make %(program-name)s work in docstrings.02:11
lifelessthis would seeem to conflict with just set_config_filename02:11
jkakarlifeless: Yeah, it feels like what I'm proposing is good for me, but not necessarily clean for Bazaar.02:12
jkakarlifeless: That's why I wanted to chat you up, to figure out what the right thing to do is.  I'm happy to be tempted to do more than I originally intended. :)02:12
lifelessjkakar: so I think if you got /etc/bazaar/* working, and then added something that works for you, we'd both be happy02:13
lifelessfor get/set program name.02:13
* fullermd is very worried about implementations of /etc/bazaar/*02:13
lifelessthat's fine, I wouldn't add it to __init__ though02:13
lifelesscommands for now please02:14
jkakarlifeless: Ah, so for /etc/bazaar/* you want something like a set_config_path?02:14
jkakarlifeless: commands sounds like a good place for that, yeah.02:14
lifelessand 3 seems kindof obvious02:14
jkakarCool.02:14
lifelessfullermd: in what regard?02:14
lifelessjkakar: for substitions, uhm, there should be a method on Command02:15
lifelessor something like that, so it can be locally controlled yada yada yada02:15
lifelesseither to do, or to look up the thing being substituted02:15
lifelesswe have 2 primary use cases today: manpage generation, and online help02:16
jkakarlifeless: Yeah, I was thinking about something like adding a check for a get_substituted_variables function on command, and then passing the dict of default + command variables to Command.get_help_text.02:16
fullermdWell, in a sentence, because it brings up a lot of problems in our config structure, which means either (a) a very long process of working them out, or (b) an implementation that explicitly disavows doing that, and probably makes it worse in the long run.02:16
lifelessfullermd: what sort of problems - I'm completely at a loss here02:16
jkakarlifeless: I'll have to figure out how manpages are generated to make sure the substitution logic lands in the right places.02:17
lifelessjkakar: see make docs02:17
jkakarlifeless: Ta.02:17
fullermdIt relates to the issue of "branch.conf parameters that should be propogated by branch vs shouldn't", which we unsatisfactorally sidestep at the moment.02:17
fullermdSome things we'd want to hard-override per system, some we'd want to default.  Mechanism, blah blah.02:18
fullermd(and the unrelated issue of "/etc?  No, it should be..." of course)02:18
lifelessfullermd: will you be unhappy if jkakar puts a patch forward that makes /etc/bazaar/bazaar.conf & locations.conf work ?02:20
* fullermd shrugs.02:21
fullermdI don't get a vote in such things anyway.02:21
fullermdI'm just rather pessimistic today, and it feels lose-lose to me.02:21
fullermdIf the discussion doesn't come up, we've added another layer of pre-existing conditions we have to somehow not screw up when we DO add such capabilities.02:21
fullermdIf it does, I'm sure it will get to a useful conclusion almost as fast as per-branch rules.02:22
lifelessfullermd: so per branch rules stuck because the folk needed in such a discussion where backlogged way above eyeballs with performance02:23
lifelessfullermd: and its non trivial.02:23
lifelessfullermd: If you agree that system wide configuration is useful [do you?]02:24
fullermdI know.  I don't claim it's because of malice or indifference, but it still bogs down.02:24
pooliei think we certainly want system-wide config02:25
pooliewe can always say 'we suggest you don't set X system-wide'02:25
lifelessyup02:26
lifelessjkakar: so - we have a go ;)02:26
pooliejkakar: can i suggest that rather than setting these things individually there should be some kind of ConfigFactory02:26
fullermdAbsolutely.  We very much need many levels of configuration beyond "OK, tell all your users to manually edit this file to add these lines"02:26
poolieand you replace that wholesale to make it think it's called something other than bzr02:26
jkakarpoolie: Sounds like a plan.02:42
jkakarlifeless: Yep, I'll start on it tonight. :)02:43
poolielifeless: do you know off hand how to ask apt whether a set of packages would be installable, short of installing it?02:52
lifelessnope, sorry02:52
lifelesstheres a graph resolver thingy02:52
pooliejustinstall --dry-run?02:52
lifelessoh02:52
lifelessI thought you meant pyapt :)02:52
lifelessthingywhatsit02:53
jkakarapt-get -u install foo?02:53
lifelessapt-get -s install foo02:53
pooliemm02:53
pooliehttps://bugs.edge.launchpad.net/ubuntu/+source/devscripts/+bug/43498702:53
ubottuLaunchpad bug 434987 in devscripts "chdist fails with "E: Internal Error, Could not perform immediate configuration (2) on libattr1"" [Undecided,New]02:53
jkakarAh, -s it is indeed.  I'm used to using -u with upgrade and dist-upgrade so thought it might work with install (it doesn't).02:54
poolie-u shows what will be upgraded02:55
poolielifeless: http://images.apple.com/macosx/technology/docs/GrandCentral_TB_brief_20090903.pdf <-- a bit interesting03:00
lifelessimages...pdf :P03:00
lifeless[reading]03:01
lifelessthis explains why they did the C code blocks work :P03:03
MethsI needed to use non bzr diff and patch.  The patch is only changing a few lines in the files but bzr diff shows that bzr wants to change the whole file for those changed.  Can I do anything about this?03:06
davidstraussMeths: you may be dealing with some EOL issues03:08
lifelessMeths: are you on windows?03:08
Methsyeah03:08
lifelesspatch has probably changed the line ending on the file03:08
lifelessyou could see if it has an option to control that, and if it does bzr revert then apply the patch again with that option03:08
Peng_Diff and patch? Like, GNU diff and patch?03:08
Methsah, so a dos2unix should get a normal diff, I'll go try now, thanks.03:09
MethsPeng_: yep03:09
Peng_What are you doing? Why not use 'bzr merge' or a revision bundle or somesuch?03:09
MethsSweet, dos2unix fixed them up nicely, shoulda known03:11
thumper:(03:29
thumpera crash03:29
Peng_What crashed?03:30
thumperbzr03:30
* thumper is filing a bug03:31
Peng_Ah.03:31
thumperhttps://bugs.edge.launchpad.net/bzr/+bug/43500003:33
ubottuLaunchpad bug 435000 in bzr "bzr crashed on commit after removing a directory of files" [Undecided,New]03:33
Peng_Nice bug number.03:34
thumperI've made a local branch03:37
thumperand I've just committed to it03:37
thumperbut I want to push the branch as of one revision ago to LP03:37
thumperis there an easy way to do this?03:37
Peng_bzr push -r 12303:37
Peng_Well, -203:37
* igc lunch03:37
* thumper tries03:38
spmspiv: more dust photo's, tho .. I dunno. 'shopped maybe? http://www.militaryphotos.net/forums/showthread.php?t=16565603:47
spivspm: nah, I used to live near there.  That was a regular sight ;)03:49
* spm thinks for a suitable response. can't, so just sniggers.03:50
poolie1hello all05:23
lifelesshai05:25
lifelessversioning yourself now?05:25
Peng_poolie1.1.1.1.1.105:25
Peng_:D05:25
poolie1is irc bug05:26
Peng_No, it would be like poolie1.1.1.1.1397.1.05:26
Peng_Anyway, I'm done now.05:26
=== poolie1 is now known as poolie
poolielifeless: any particular reason for bug 435026?06:01
ubottuLaunchpad bug 435026 in bzr "bzrlib.ui docstring references factories not in the module" [Wishlist,Confirmed] https://launchpad.net/bugs/43502606:01
spivHmm, I think clearing test._log_contents in more cases (e.g. not applicable, known failure) significantly cuts the test suite's memory consumption...06:04
Peng_How significantly?06:05
spivit's only at 59M after 1500 tests, and growing very slowly.06:05
spivGive me a few minutes and I'll have a decent direct comparison.06:06
lifelesspoolie: yes, fixing a deprecation warning you added ;)06:06
lifelesspoolie: in conflictchecker, its cron is annoying everyone watching it ;)06:07
poolie?06:07
pooliewhich one?06:07
lifelesspoolie: direct construction of ProgressBar06:07
poolieand what checks the docstring?06:07
lifelessprogrammers06:07
lifelessI read pydoc to find out what I should be using06:08
lifelessand had forgotten that things were in submodules, so when I added ui_factory=bzrlib.ui.TextUIFactory() - well it failed ;)06:08
pooliei'll fix that bug if you're not immediately going to06:08
lifelesspoolie: please06:09
lifelesspoolie: its not major, but having observed it I just wanted to capture it06:09
pooliesure06:09
pooliei just wondered if you were running an api doc tool or something06:09
lifelessno, interesting idea though06:10
spivHmm, or maybe it's making less difference than I thought.  I thought I was seeing much worse memory consumption yesterday though... hmm.06:13
Peng_~1514 tests == VmPeak of about 205 MB for me.06:13
spivPeng_: I'm running the "(?i)commit" subset, for no particular reason.06:14
spivAnd on 32-bit.06:14
Peng_I was running no particular subset, on 32-bit.06:14
spivI'm not sure VmPeak is very useful, I think Python tends to allocate lots more address space than it actually uses.06:15
Peng_VmPeak is interesting because everything else is the current value, not the peak value.06:16
Peng_VmRSS:     85584 kB06:16
spivI tend to look at VmHWM.  I wouldn't mind an authorative link for exactly what the different fields in -Dmemory mean...06:17
spivI know *roughly*, but details tend to matter.06:17
Peng_I have no idea what VmHWM is.06:17
spivPeng_: man proc claims "Peak resident set size ("high water mark")"06:19
Peng_Oh, cool!06:19
Peng_That sounds perfect!06:19
Peng_spiv++06:19
poolielifeless: http://pastebin.ubuntu.com/276214/ - pre-review welcome06:26
lifelesswhat am I looking at?06:27
RenatoSilvais there how to query bzr status of a file?06:29
lifelessbzr st file06:29
RenatoSilvaI'm doing a rebase but when I commit the change list shows "missing some_file.OTHER"06:30
poolielifeless: the whole file is new, it's an attempt at interface testing of uifactory06:30
lifelesspoolie: ok06:30
pooliei think it's uncontroversial06:30
pooliebut that's why i'm asking06:30
lifelesspoolie: I just needed some context :)06:31
pooliethere's a comment explaining the point, but we also talked about this a while ago06:31
RenatoSilvaa conflict occurred in rebase, so I solved it manually and bzr resolve filename, but now when I commit filename.OTHER shows as missing06:32
lifelesspoolie: I'd be very strongly inclined to use injection rather than subclassing here.06:32
RenatoSilvais this normal? I don't want that artificial info on the history06:32
lifelessRenatoSilva: I don't really know, few folk in the bzr community use rebase.06:33
poolieif the files were added on separate branches that you're now rebasing together06:33
RenatoSilvalifeless: it seems very interesting!06:33
poolieit's reasonable that you'd end up with06:33
pooliethat kind of conflict and it's not necessarily a problem06:33
poolielifeless: tell me why? just because we're generally doing that?06:34
RenatoSilvapoolie: I'm not asking about the conflict itself, which was solved06:34
pooliei was originally going to do that but the problem i ran into is that the resource i want to inject includes some code that makes assertions about what happened06:34
RenatoSilvapoolie: I'm asking about the artificial "missing xxx.OTHER" when committing06:34
poolieand that code can most conveniently be written within a subclass of TestCase06:35
lifelesspoolie: I think it would fit and scale better06:35
poolieto use scenarios?06:36
lifelesspoolie: yes06:36
pooliemm06:36
lifelesspoolie: possibly in combination with resources, or something the encapsulates the setup of the fixture06:36
pooliehow would you handle having assertion-making code be parameterised?06:36
lifelesss/the/that/06:36
RenatoSilvalifeless: I just achieved a clearer, natural history, as described in http://pastie.org/62527106:37
RenatoSilvalifeless: a guy from #git said that it may work for small feature branches, but not for long-lived06:37
lifelessso06:38
lifelessyour conflict is probably a name conflict06:38
lifelessxxx.OTHER means rebase is trying to readd a file already on the other side06:39
lifelessthis could be a bug in rebase06:39
lifelessor in how you're using it.06:39
RenatoSilvalifeless: weird! I uncommitted, then committed again and the xx.OTHER is not reported anymore06:39
lifelessthats because the pointer to it was removed on the first commit06:39
RenatoSilvaso it's a bug right06:40
lifelessyou may find you get a delete+add when you merge to the other branch06:40
lifelessand that your history of that file is disconnected06:40
lifelessRenatoSilva: no, it may be you using rebase when you shouldn't :). Or it may be a bug. I don't know.06:40
RenatoSilvalifeless: bzr resolve --all maybe does not clean .OTHER files06:41
lifelesspoolie: well, when I look at your code, you have 'create a resource' code, 'execute the test' code, and 'check the resource' code.06:41
lifelessRenatoSilva: the file was deleted, but your tree still wanted it.06:41
lifelessRenatoSilva: because it was part of the conflict06:41
RenatoSilvalifeless: conflicts on a merge are displayed as BASE and THIS, in rebase it is BASE and OTHER, maybe bzr resolve does not know OTHER06:42
lifelessRenatoSilva: conflicts within a file are BASE+THIS+OTHER, conflicts about *names* show up differently.06:42
lifelessRenatoSilva: but I'm having to guess because I don't know what happened06:42
RenatoSilvalifeless: well, I think bzr resolve --all should have deleted all info about those files06:43
jkakarWoot, Command.get_help_text is using the program name from a centrally registered ProgramInfo instance!06:48
pooliespiv: https://bugs.edge.launchpad.net/bzr/+bug/43504806:51
ubottuLaunchpad bug 435048 in bzr "many get_parent_map calls during walk to common revisions" [Medium,Confirmed]06:51
spivpoolie: thanks06:52
lifelessis that new or old ? :)06:52
spivlifeless: the bug?  Dunno, that's why I asked him to file it ;)06:53
RenatoSilvalifeless: http://yfrog.com/0ximagemxap06:53
RenatoSilvalifeless: better resolution: http://img33.yfrog.com/img33/5295/imagemxa.png06:53
lifelessRenatoSilva: yes, I understand what you're doing06:55
lifelessRenatoSilva: that doesn't mean I know what happened06:55
lifelessRenatoSilva: you need to look at the per file graphes06:55
lifelessI will also note that you're publishing these branches as you develop, so rebase really isn't a good choice.06:56
RenatoSilvalifeless: for solving the .OTHER issue? I think it's ok now06:56
lifelessRenatoSilva: Until you've checked the per file graph in both branches after merging back, you can't know.06:56
RenatoSilvalifeless: confusing06:57
lifelessRenatoSilva: how so?06:58
RenatoSilva publishing these branches as you develop, so rebase really isn't a good choice. ----> I don't know how would that rebase affect another derived branches, I think that it would make merge easier. I don't know...07:01
RenatoSilvamaybe I need to get more experienced07:02
RenatoSilvatry it and see....but as you say that rebase is bad, maybe I'll keep the former approach (update merges)07:04
RenatoSilvathe wonderful thing of that rebase is that it's just liked I branched trunk today, and I could bzr push (not merge) to trunk now07:05
* RenatoSilva flips a coin for pushing userprefs or userprefs.rebase07:06
lifelessRenatoSilva: rebase _breaks_ the ability to pull or merge the old branch07:07
lifelessRenatoSilva: it breaks the links in history07:07
lifelessRenatoSilva: in the git world, rebase is used for private branches, not for ones shown to the world07:07
RenatoSilvawell, I can't understand it atm, hope to do in the future as I get more used to it...07:11
RenatoSilvathank you anyway!07:11
vilahi all07:13
lifelesshi07:13
lifelesshttp://paste.ubuntu.com/271990/ have you reproduced at all?07:13
vilalifeless: actually, yes, just this morning on gentoo, but it's still... random07:15
lifelessvila: open a bug please07:15
lifelesswas it ext4 again?07:15
vilalifeless: err, let me check, I think the last time was on karmic no ?07:16
vilano ext4 on my gentoo VM07:16
vilalifeless: so tmpfs or ext307:17
jkakarlifeless: I think I've done the basic things necessary to have customizable program information (name and version right now) and substitution in help text generated from docstrings.07:39
jkakarlifeless: I'm going to start a second branch, based on this first one, to update bzrlib.builtins, since I've only touched bzrlib.commands so far.07:40
jkakarlifeless: Should I create a merge proposal for the first branch now, or would you prefer them together?07:40
vilalifeless: bug #43506507:51
ubottuLaunchpad bug 435065 in bzr "Random test_hammer_hashcache failure" [Medium,Confirmed] https://launchpad.net/bugs/43506507:51
vilalifeless: I'll comment to add the new occurrences if ever07:52
AfC2at first I thought that said "test hammer headache failure" which I would think would be an easy test to pass; apply hammer to head, and assert().07:52
=== AfC2 is now known as AfC
=== vila is now known as vila-dentist
vila-dentistAfC: :D07:55
lifelessvila-dentist: thanks07:58
jkakarAre there tests for the bzrlib.builtins module?08:10
jkakarAh ha, bzrlib/tests/commands.08:11
lifelessjkakar: not really08:18
lifelessjkakar: they are ... odd08:18
lifelessjkakar: bzrlib/tests/blackbox/test_foo is our current preferred place08:18
jkakarlifeless: Yeah.08:35
jkakarlifeless: I'd like to write a test that basically goes through each builtin command and calls Command.get_help_text() on it, to make sure that the interpolation works properly.08:35
jkakarI don't want to misspell %(program-name)s and not find out until it's too late.08:37
lifelessjkakar: don't08:38
jkakarlifeless: Heh, okay.08:38
lifelessjkakar: I think thats essentially a CPU time waste08:38
lifelessbecause, the code is in command.py08:39
jkakarlifeless: Yeah, I can see that.  On the other hand, I do want to make sure users don't get a broken experience.08:39
lifelessso we should have a test there08:39
=== weigon_ is now known as jan
lifelessif a particular command wants to vary, it should be able to08:39
=== jan is now known as weigon
lifelessI don't think that e.g. 'cmd_push' should show up as anything other than 'bzr push' in its help08:39
jkakarThere's a test for the generic logic, just not each actual docstring for each builtin command.08:39
jkakarlifeless: Oh, hmm.08:39
jkakarlifeless: I've gone and replaced all the 'bzr' instances in the help text with %(program-name)s.08:40
lifelessthere are commands that are general and reusable08:40
lifelesssuch as alias, where it makes sense08:40
jkakarlifeless: Maybe I should only do it for commands that are obviously reusable?08:40
lifelessjkakar: I think you should do it for the ones you want to reuse, so we can evaluate if it makes sense etc08:41
lifelesscmd_help :)08:41
lifelessI don't see that branding the front end for 'cmd_serve' makes a lot of sense though.08:41
jkakarlifeless: Also cmd_version.08:41
lifelessthe text is easier to read for program authors as 'bzr this'08:42
lifelessand 'bzr that'08:42
jkakarlifeless: Okay, I guess I'll revert the changes that aren't necessary.08:42
jkakarlifeless: It is, yeah.08:42
lifelessso we should only pay the price of having it have subst vars when there is a benefit08:42
jkakarlifeless: Right now it always tries to.08:42
lifeless[a benefit we want :P]08:42
=== vila-dentist is now known as vila
lifelessjkakar: the cost to calculate them is low, I'm fine with the program always translating08:42
jkakarlifeless: Okay, cool.08:43
lifelessjkakar: cmd_version seems surprising to me, I would have expected --version to be what you advertise/want folk to see08:43
jkakarlifeless: I was just looking at it and it's not as trivial to replace as I'd hoped.08:46
jkakarlifeless: I have a cmd_version in commandant.builtins that prints the program name and version and has a --short option.08:47
jkakarlifeless: I was hoping to remove it and use the version in bzrlib, but it's not obvious just now how to do that nicely.08:47
lifelessI have two thoughts here08:49
lifelessone is that --version != 'frontend version'. I wish bzr didn't have a 'version' command.08:50
lifelessthe second is that you can probably write an appropriately hookable thing, but its such a shallow thing I'd rather we encouraged people to do what bzr does08:50
lifelessand include all sorts of useful things there08:51
lifelessby not giving the a fork08:51
lifelessthe second is kindofweakandarguable08:51
jkakarYeah, makes sense.08:53
jkakarBeing able to install a custom bzrlib.version.show_version would be the trick I guess.08:54
lifelessfullermd: hey09:04
lifelessfullermd: you still around?09:04
=== mrevell-dinner is now known as mrevell
bialixhello bzr09:16
AfCWhere do you say in Launchpad what version of Ubuntu you're running when reporting a bug?09:19
beunoAfC, in the comment?  :)09:19
beunootherwise, you file the bug against the package in the specific series09:20
lifelessAfC: ubuntu-bug will do that for you09:20
lifelessbeuno: garh no09:20
AfClifeless: what's that?09:20
lifelessAfC: are you filing a bug upstream on e.g. bzr, or on something in ubuntu itself?09:20
AfCbeuno: really? You mean their bug tracker devoted to bugs about a Linux distro doesn't have concrete metadata for which distro version something is being reported about?09:21
AfClifeless: ubuntu09:21
lifelessAfC: then you should run, on your machine 'ubuntu-bug PACKAGE'09:22
lifelessAfC: and thats all :>09:22
AfCoh09:22
beunoAfC, correct. Primarily because it's not ubuntu-specific09:22
AfC[well, in this case not sure what package, but I guessed]09:22
AfCbeuno: well that's stupid.09:22
AfCbeuno: because it may not be Ubuntu specific, but it's surely Ubuntu central!09:22
lifelessAfC: the feature of tracking versions <->packages is called 'infestation'. We had it, but not polished, so it was removed to avoid the massive scaling problems it engendered.09:22
lifelessbeuno: I think you should have some coffee; or some sleep.09:23
AfClifeless: sure09:23
* igc dinner09:23
beunolifeless, I've had both!09:23
AfClifeless: but I mean, you'd think it'd be important for me to concretely be able to say09:23
lifelessbeuno: because you're suggesting things the ubuntu bugs team would be quite unhappy with!09:23
AfC"THIS IS A RELEASE CRITICAL BUG IN KARMIC". You know, just FYI. Trying to help. Hello? Anyone?09:23
lifelessAfC: so by definition we can only have RC bugs with unreleased code ;)09:24
beunolifeless, I don't think I'm suggesting anything at all. I'm stating how things work!09:24
lifelessAfC: a floating bug is presumed to be in karmic09:24
lifelessbeuno: only ubuntu-bugs & teams with similar privileges can open series bugs; other folk have to nominate.09:24
AfClifeless: well, sure. I'm taking the definition from what it meant in Debian terms ~ 10 years ago. I'm sure things have involved.09:24
AfCevolved*09:24
lifelessbeuno: and its used to track planned work, not present-in09:25
lifelessbeuno: in Ubuntu's usage of launchpad today.09:25
AfCanyway, it just seems kinda important to be able to indicate I'm actually using Karmic so that maybe this report is timely, etc09:25
AfCoh well09:25
AfCthey'll see it some time in 2012.09:25
lifelessAfC: the vast bulk of reports are from $current09:26
lifelessend users rarely file bugs compared to contributors09:26
AfClifeless: so am I running $current or $current + 1?09:26
lifeless(and by running karmic you're a contributor)09:26
AfClifeless: yeah, not for long09:27
lifelessin my lingo you're running $current09:27
* AfC can't wait to not be a contributor anymore. This is hell09:27
AfCYesterday it was "crash the system on logout".09:27
AfCI mean, sure, that's one way to shut down, but not quite what I had in mind :)09:27
jnz_Hi, where's the plugins directory? it isn't ~/.bazaar/plugins?09:27
AfCjnz_: yes09:28
jnz_it isn't there :\\\09:28
beunojnz_, you can create it09:28
AfClifeless: and, of course, "try to use 3G card a 2nd time makes CPU spin to 100%, no workie for you" is not exactly fun either. Especially when it was working fine 4 days ago.09:29
jnz_ok, and what about this: Unable to load plugin 'filters'. filters I don't know what kind of plugin it is.09:29
AfCSorry, I'll stop venting now. Just been a really frustrating few days. Not really what I was expecting.09:29
ronnyhow do i add the actual root to a MemoryTree on a fresh branch09:30
AfCjnz_: does the command09:31
AfC$ bzr plugins09:31
AfCjnz_: give you sane looking output?09:31
ronnyhere is some random stuff i tried, im a bit puzzled http://paste.pocoo.org/show/141082/09:31
jnz_yes AfC, but I don't see filters09:32
ronnybzr is v2.0rc209:33
lifelessjnz_: run the failing command with -Derror09:33
lifelessjnz_: that will give a backtrace09:33
lifelessronny: look in the bzr test suite for  MemoryTree, you can see example usage09:33
lifelessronny: note that when you drop the lock on a MemoryTree it resets to no-changes09:34
lifelessAfC: well, to be fair we haven't hit Beta yet. its a shame its rough though09:34
ronnyhmm, now i have to check, why i loose the lock09:35
lvhIf I use a different repo format than the launchpad mirror, pulls will b ereally slow, right?09:36
lvheh, I mean branch (someone is trying to get a copy of an existing branch on lp)09:36
ronnylifeless: thnaks for the hint with the lock, didnt think that one would have an issue09:36
lvh(basically he wants git clone)09:36
lifelesslvh: if the format is different, some degree of transformation will be needed09:37
lifelesslvh: just doing 'bzr branch lp:foo /tmp/foo' will preserve the format09:37
jnz_the command is ok, then the problem is the bzr plugin for eclipse09:37
lvhlifeless: yeah, but hes' going to make a lot of branches off of that, so I started with bzr init-repo09:37
lvhlifeless: not sure if that changes anything09:38
lifelessif the thing you're branching from isn't in the default format, init-repo would have a different format09:39
lvhright09:39
lvhwould you notice that in the form of ridiculously slow bzr branching? (eg, 10kb/s while 'Finding revisions')09:39
lvhi thought that transformation happened afterwards09:40
lvhcurrent repo format: Packs 6 rich-root (uses btree indexes, requires bzr 1.9)09:40
AfClifeless: _really_? I thought alpha [that you warned me away from] was only the first month / six. Damn. My mistake. I really should have been running Intrepid after all.09:40
lvhI'm not entirely sure about what he's using, but if I use bzr init-repo I get 2a09:41
lifelesslvh: right, and yes09:41
jkakarlifeless: Woot, it's ready: https://code.edge.launchpad.net/~jkakar/bzr/custom-project-name/+merge/1226709:41
jkakarAnd now it's time for bed.  G'night and thanks for the help!09:41
lifelessgnight09:42
lvhlifeless: so I should tell him to get rid of the current repo dir, and just use bzr init-repo --1.6.1-rich-root twisted09:42
lvhjkakar: bye :-)09:42
lvherr, --1.9-rich-root09:42
lifelesslvh: yes09:43
lifelessor be very very patient09:43
AfClvh: you kinda want to avoid cross format all the time. It's really ok to use one or the other [assuming you're not in a corner case that the newer format (and the code that leverages it) requires]; if you use an older one then all upgrade in concert you'll be ok09:43
lifelesslvh: I believe the twisted wiki page documents this already09:43
lvhlifeless: ah, yeah, I should probably link him to that09:43
lvhlifeless: Thanks!09:43
jmljkakar, I like your new patch.09:48
jml(I have a few questions, but sadly bzr patch code review has to wait on days that Launchpad is releasintg)09:48
lifelessjml: btw, you can trim -some- content out in mail replies ;)10:19
=== doko_ is now known as doko
=== cprov-afk is now known as cprov
ronnyhmm12:20
ronnylifeless: is there any other stupid thing one could do to get that exception12:20
ronny(im pretty convinced i keep the lock)12:21
=== mrevell is now known as mrevell-lunch
ronnylifeless: here is my session: http://paste.pocoo.org/show/141106/12:39
lifelessronny: you haven't made the directories12:51
lifelessronny: I'm not sure if you can on MemoryTree; as previously discussed its a test double, its not 'complete'12:52
fullermdlifeless: You pung?12:53
lifelessfullermd: yah; thinking I might tap you for a few BSD packages12:56
lifelesstesttools, junitxml & subunit12:56
ronnyhmm, appearantly it has mldir12:56
ronnyeh mkdir12:56
ronnylifeless: all that path2id/id2path stuff is pretty frustrating12:56
lifelessronny: all what stuff; you should only rarely need to call it12:59
ronnylifeless: well, i need it for setting file contents for example12:59
lifelessits late here and I'm not really up for an API discussion right now, but perhaps you could mail the list?13:00
fullermdMmm.  Possible I guess, but not with any alacrity.13:01
lifelessfullermd: I'll drop you a mail13:01
fullermdI'm leery of setting myself up as maintainer for something I don't myself use and understand.13:01
lifelessfullermd: fair enough; I just want to bootstrap stuff for drizzle:)13:01
nevansQ: Is there some special shell I could/should use for a user who only has access to a server for bzr?13:04
=== mrevell-lunch is now known as mrevell
KinnisonHow do I convert an old *old* subtree-capable tree to the new repo format?15:03
KinnisonHmm, s'not that old I think15:03
KinnisonStandalone tree (format: pack-0.92-subtree)15:03
Lo-lan-dobzr upgrade --format=2a15:03
Kinnisonbzr: ERROR: Cannot convert from format <RepositoryFormatKnitPack3> to format <RepositoryFormat2a>.    Does not support nested trees15:04
Lo-lan-doAh, subtree, sorry.15:04
Lo-lan-doI mixed with rich-root.15:04
jelmerKinnison: you can't upgrade directly15:05
bialixKinnison: IIRC, subtree should be possible to convert to rich-root15:05
jelmerKinnison: But you should be able to pull from a subtree repo into a rich root repo15:05
jelmerKinnison: so the work around is basically:15:05
jelmerKinnison: bzr init --2a /tmp/foo; bzr pull -d /tmp/foo /path/to/subtree/branch15:05
Kinnisonjelmer: aha, ta15:07
jelmerKinnison: if you actually have nested trees this may give strange errors15:24
jelmerKinnison: which is why upgrading is refused at the moment15:25
jelmerKinnison: we should really just do a check of the contents of the repo and only allow upgrading if there aren't any nested trees15:25
KinnisonIt was simply that it was an old svn upgrade i think15:30
eagles0513875hey guys im having an issue when running the bzr bd command it keeps complaining about my secret key not available15:57
eagles0513875i uploaded my key to the keyserver.ubuntu.com as well as verified the email and activated so the public key is active15:57
eagles0513875anyone have any idea :(15:59
KinnisonWhat is the 'bd' command?16:00
james_weagles0513875: the name in the changelog doesn't match any UIDs on your GPG key16:00
eagles0513875ahhhh james_w ok16:01
eagles0513875Kinnison: builds packages16:01
eagles0513875thanks james_w16:01
james_whttps://wiki.ubuntu.com/UbuntuDevelopment/Uploading#Signing%20the%20package16:01
james_w"The UID must be byte-for-byte identical to the Changed-By value (including the key "comment"), so any changes in the name or email address (even down to whitespace) will cause the match to fail"16:02
james_wsee the bit under that for checking this is the case and the ways to fix it16:02
eagles0513875ahhhhhhh16:02
eagles0513875ok thanks16:02
eagles0513875james_w: does that link still apply if im only packaging somethign to test on my local machine16:03
james_win that case you don't need to sign it16:03
james_w"bzr bd -- -uc -us"16:03
eagles0513875bzr bd --uc -us16:04
* idnar scratches his head16:14
idnarbzr: ERROR: Cannot commit from a lightweight checkout to a stacked branch. See https://bugs.launchpad.net/bzr/+bug/375013 for details.16:15
ubottuLaunchpad bug 375013 in bzr "lightweight checkout commit to a stacked branch does not work" [High,Triaged]16:15
idnarI just read that bug, but I don't understand the part about "lightweight checkout"; as far as I know, I don't have any lightweight checkouts involved here16:16
idnarI guess I'm misunderstanding something about stacking16:17
idnarshould I be using a shared repository instead?16:17
bialixidnar: run bzr info -v and you'll see what you actually have16:18
idnar"Standalone tree (format: 1.6)"16:19
bialixI don't understand what is stacked then16:20
bialixidnar: is your tree stacked?16:20
idnar  parent branch: /home/mithrandi/code/Fusion/trunk16:20
idnar     stacked on: /home/mithrandi/code/Fusion/trunk16:20
igcjames_w: will you get a chance to look at bug 425507 before karmic beta freeze?16:21
ubottuLaunchpad bug 425507 in bzr-explorer "[needs-packaging] bzr-explorer should be packaged in ubuntu and the ppa" [High,Confirmed] https://launchpad.net/bugs/42550716:21
james_wno, afraid not16:22
bialixidnar: bzr info /home/mithrandi/code/Fusion/trunk16:22
Lo-lan-doI thought bzr-explorer was Windows stuff?16:22
idnarbialix: that's also "Standalone tree (format: 1.6)", not stacked on anything16:22
bialixLo-lan-do: it was joke?16:22
sidneiigc should have called it bzr-nautilus16:22
sidneior bzr-navigator16:23
igcjames_W: would pitti or someone else be able to tackle it do you think?16:23
bialixor RapidBzr16:23
Lo-lan-dobialix: No, I must have been confused.  What was the alternative to TortoiseBzr?16:23
bialixidnar: I'm give up16:23
james_wigc: well, we're well past the time when new packages are normally accepted16:23
idnarI guess I'll try shared repositories instead16:23
bialixLo-lan-do: bzr-explorer is16:23
Lo-lan-doOh.  But it's portable then, right?16:24
james_wigc: someone may have time, but they will also need a freeze exception16:24
bialixLo-lan-do: yes, it's Qt-based as QBzr16:24
Lo-lan-dobialix: I see. Thanks.16:24
bialixLo-lan-do: but bzr-explorer can use bzr-gtk plugin16:24
bialixfunny, eh?16:25
igcjames_w: I thought poolie's ffe was going to cover explorer as well as bzr core - maybe it didn't16:25
igcLo-lan-do: see http://doc.bazaar-vcs.org/explorer/en/16:26
igctime for some sleep16:26
igcnight all16:26
bialixigc: night16:26
igcnight bialix16:27
james_wigc: https://bugs.edge.launchpad.net/ubuntu/+source/bzr/+bug/430467/comments/4, so it wasn't clear if that was how it was intended to be16:27
ubottuLaunchpad bug 430467 in subvertpy "[ffe] please ship bzr 2.0.0 or 2.0.0rc2 in Karmic" [Undecided,Fix released]16:27
james_wnight igc16:27
=== TheLyle is now known as IslandUsurper
=== deryck is now known as deryck[lunch]
jkakarjml: Cool.  I'll be happy to try and answer whatever questions you have.17:30
=== mrevell is now known as mrevell-dinner
=== deryck[lunch] is now known as deryck
magciusWhat does bzr use for an SSH client on Windows?19:24
Lo-lan-doParamiko or Putty, I think.19:26
magciusHow would I add an ssh key to that in Windows?19:27
Peng_Looks like bzr can use paramiko, putty, OpenSSH or SSH Corp. SSH.19:27
Lo-lan-doI know Putty can. No idea about Paramiko though.  And I don't have a Windows box :-)19:28
Peng_Whether you can run the latter two on Windows...19:28
Peng_Paramiko can use either Putty or OpenSSH's keys, IIRC.19:28
dsuchmagcius: Use Pageant for that http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html19:30
magciusPeng_, what does Bazaar use in the Windows distribution.19:31
Peng_I honestly don't know which one is preferred.19:33
Peng_What matters is which one it's using for *you* anyway.19:33
* Peng_ tries to dodge question.19:33
bialixhello jam19:46
jamhi bialix19:46
bialixmay I ask you some questions about reference counting in Python?19:46
jammagcius: We generally use paramiko first, and I recommend using Pageant (from the putty utils)19:46
jamyou can use that as an agent, and add your keys there19:46
jam(putty is a decent manual tool, it makes a bad subprocess, so we prefer not to use it for the ssh connection)19:47
jambialix: sure19:47
=== mrevell-dinner is now known as mrevell
=== TheLyle_ is now known as IslandUsurper
meoblast001hi21:16
meoblast001i had a 3 MB ogg and mp3 file in my project's examples at particular points21:16
meoblast001isn't that bad for people who are checking out my project? wouldn't it increase the download time?21:16
Peng_Yes, but 3 MB isn't all that much.21:20
Peng_Besides, it's too late to remove it from the history now.21:20
meoblast001i know :(21:20
meoblast001i was contemplating rerolling my revisions21:21
meoblast001Peng_: is a 10MB .bzr directory for a 77 revision project normal?21:21
bialixyou can try to use rebase plugin21:21
meoblast001it's 10.3 MB21:21
bialix100MB would be much worse21:23
meoblast001bialix: would the rebase plugin allow me to remove an entire directory from every commit?21:23
bialixmmm, not really21:23
bialixyou can replay your revisions21:24
bialixyou can delete some revisions21:24
meoblast001oh21:24
meoblast001a rerolling script sounds better if i would have to21:24
meoblast001and what do you mean "100MB would be much worse"21:24
bialixto remove entire directory you can look at fast-import pluign21:24
meoblast001is 10.3MB bad?21:24
bialixit depends21:24
meoblast001what does fast-import do21:24
bialixfast-import has filter feature21:25
bialixyou can filter out some files or directories21:25
meoblast001from everything?21:25
Peng_Just out of curiosity, which repo format are you using?21:25
meoblast0011.x21:25
Peng_And does the 10.3 MB include junk in .bzr/repository/obsolete_packs and .bzr/repository/upload?21:26
bialixI don't understand your question: "from everything"21:26
meoblast001obsolete_packs is empty here21:26
meoblast001so is upload21:26
Peng_Overall, a 10 MB repo isn't very interesting... Lots of large projects are many times larger.21:27
Peng_If you don't mind, got an URL?21:27
Peng_I'm just curious.21:27
bialix10MB usually means you have a lot of files, or several big files inside21:27
bialixfor 77 revisions21:27
meoblast001https://launchpad.net/amethyst-mm21:27
meoblast001i want the examples to be gone pretty much, they are quite unnecessary21:28
meoblast001well, at least the ogg and mp3 file that i had21:28
Peng_I could go either way. 10 MB isn't that much data, but the longer you wait, the harder it'll be to recreate the branch...21:30
Peng_In my case, laziness would probably win out over tidiness. :P21:30
ronnyjelmer: what am i supposed to put into dulwichs object_stroe.add_objects(objects)21:31
ronnyjelmer: trying a list of git objects, but it wants a list of tuples of path, object21:32
meoblast001bialix: so, i could use fast-import and basically just tell it to chop these 2 files out off all the history?21:36
meoblast001and then overwrite the repo in launchpad21:36
bialixyou can try, yes21:36
Peng_Any preexisting repos would keep all of the revisions, actually increasing their size. :D21:36
meoblast001i can try meaning i would have to hack around and try to get it to do something it's not meant to do?21:36
bialixafter fast-import processed your branch all old branches will be totally incompatible with new one21:37
meoblast001what do you mean old branches?21:37
meoblast001we only have 1 branch21:37
Peng_All copies of it.21:38
meoblast001oh, yes, that shouldn't be a big deal21:38
meoblast001only like 3 people actually have pulled a copy of my project :P21:38
bialixmeoblast001: you have big files in revno 8 and 7121:39
bialixmaybe you need relax and live with them21:39
meoblast001i do?21:39
meoblast001what are those big files?21:40
bialixyour mp3 and ogg21:40
meoblast001exactly21:40
bialixmp3 committed in revno 8, then deleted in 71 and replaced with ogg21:40
bialixrebase will rewrite entire history post revno 721:41
meoblast001yup, i want to chop both of those out completely, sure, it would break the examples, but it's not necessary we have those files21:41
bialixso almost everything21:41
meoblast001that would be bad, right?21:41
bialixit depends21:41
bialixfast-import will rewrite entire history21:41
bialixrebase nost of history21:41
bialixrebase most of history21:41
meoblast001hm21:42
bialixfast-import will be simpler21:42
meoblast001i know someone who wrote a bzr to git script21:42
meoblast001maybe i could use that?21:42
bialixrebase will require manual work21:42
meoblast001bzr to bzr21:43
bialixyou can21:43
bialixgit has filter feature21:43
bialixto convert form bzr to git you anyway needs fast-import ;-)21:43
meoblast001well, this would be bzr to bzr minus a few files21:44
bialixconverion bzr->git->bzr will destroy your history identity as well21:44
meoblast001no21:44
meoblast001not bzr->git->bzr21:44
meoblast001just bzr->bzr_minus_some_files21:44
bialixfast-import is bzr->anything21:44
meoblast001rewriting everything but removing specific files21:44
bialixyep21:45
meoblast001fast-import can do that?21:45
bialixfast-import is yhe answer21:45
bialixfast-import is the answer21:45
bialixinstall this plugin and read its docs, there is examples21:45
meoblast001ok21:45
meoblast001if i need help i'll ask you :P21:45
meoblast001but first i will read the docs21:46
bialixif you catch me ;-P21:46
bialixtime to sleep for me21:46
meoblast001oh, good night21:46
=== TheLyle is now known as IslandUsurper
meoblast001"bzr fast-import clean.fi clean.bzr"21:54
meoblast001what is ".bzr" and ".fi"21:55
bialixfi is fast-import stream21:55
meoblast001hm, is it a directory?21:56
bialixno, fi it's the file21:56
meoblast001should i just use this "bzr fast-import-filter -x missile-codes.txt > clean.fi"21:56
meoblast001i don't know what "the file" is21:56
meoblast001the file i want removed?21:57
bialixfast-export command produce stream of your history in special format21:57
bialixformat called git-fast-import21:57
bialixhence fi -- it's the stream saved on the disk21:57
bialixfi = fast-import21:58
meoblast001that doesn't sound good21:58
meoblast001i just want it to remove the stuff from my bazaar repository21:58
bialixyou can use |21:58
meoblast001|?21:58
bialixbzr fast-export YOURBRANCH | bzr fast-import-filter -x mp3 | bzr fast-import NEWBRANCH21:58
bialixsomething like that21:59
bialixpipes?21:59
meoblast001if i want the MP3 and the OGG out, do i just add a second "bzr fast-import-filter -x ogg?21:59
meoblast001and "yourbranch" would be ./ if i'm cd'd into it?22:00
meoblast001and newbranch would be the new directory?22:00
bialixno, you can combine several -x options22:02
meoblast001can i do *.mp3 and *.ogg?22:02
bialixI don't remember exact details about NEWBRANCH22:02
bialixmeoblast001: I dunno22:02
bialixtry22:03
bialixsave the stream of original history to orig.fi file22:03
bialixand then filter it22:03
meoblast001i don't know where the ".fi" file is22:03
bialixthe size of this file will be hundred of MBs but it's all locally22:03
meoblast001where is the file at?22:04
bialixbzr fst-export YOURBRANCH > somefile.fi22:05
bialixbzr fst-export YOURBRANCH > othernameyouwouldlike.xxx22:05
bialixanything will work22:05
bialixI mean "fast-export" above22:06
meoblast001why am i importing the new branch22:06
meoblast001and exporting the current branch?22:06
bialixyou export current branch, filter it and thus get new stream, then convert the stream to the branch22:07
bialixfast-import working in the terms of "history stream"22:08
meoblast001woah woah woah22:09
meoblast001this is going to remove revisions with these files?22:09
bialixno, filter out files from revisions22:10
meoblast001ok22:10
meoblast001the last part is giving me bzr: ERROR: [Errno 2] No such file or directory: u'new.fi'22:10
bialix"woah"?22:10
meoblast001i thought it was going to remove any revision that had to deal with that file22:11
bialixwhat is the last part?22:11
meoblast001bzr fast-import new.fi22:11
bialixdo you have new.fi file?22:12
meoblast001no22:12
bialixhence error22:12
meoblast001should i just do  bzr fast-export YOURBRANCH | bzr fast-import-filter -x mp3 > file.fi?22:13
bialixfast-import read the stream and re-create the branch22:13
bialixyep22:13
meoblast001bzr: broken pipe22:13
bialixbzr fast-export YOURBRANCH > orig.fi22:14
meoblast001why ?22:14
bialixbzr fast-import-filter orig.fi -x mps > new.fi22:14
meoblast001oh, ok22:14
bialixI dunno why, are you on windows?22:14
meoblast001no22:14
bialixI dunno twice22:14
bialixah22:15
bialixahbzr fast-export YOURBRANCH | bzr fast-import-filter - -x mp3 > file.fi22:15
meoblast001>.< it's printing to console22:15
bialixyou'd better look at examples for filter command22:15
meoblast001i forgot to output it to a file >.<22:16
jelmerronny: for blobs and trees that should be the path they have  but it may also be None. It's used for finding optimal delta bases22:16
ronnyjelmer: ah, i see22:17
jelmerronny: you can without problems just use None as path everywhere22:17
ronnyjelmer: i kind of did that (using '' as path)22:17
meoblast001bialix: how do i reexport this to a directory?22:17
ronnyjelmer: im currently extending anyvc commit building to more complex cases22:17
bialixreexport?22:17
bialixrun fastexport again22:18
RenatoSilvaWhy do I get this error? http://pastie.org/62800522:18
RenatoSilvaIs it bzr 1.18.1 bug?22:18
RenatoSilvaOr is it because of this line: email                C:\Arquivos de Programas\Bazaar\plugins\email [unknown]22:19
bialixlook at branch.conf22:19
RenatoSilvaI've committed two merges from personal bzr-email branches22:19
meoblast001i'll take a look at it more later, thank you22:19
meoblast001i've gtg22:19
bialixRenatoSilva: try bzr --no-plugins info22:20
meoblast001bye22:20
bialixRenatoSilva: it seems you have wrong characters in branch.conf, have no idea why. Maybe disk failure?22:21
=== Toksyury1l is now known as Toksyuryel
* bialix disappears22:22
RenatoSilvabialix: oh, it's the "Olá", non-ascii is not supported there :(22:26
zsquarepluscRenatoSilva: the error was with utf8. so i'd think its more than asci. but maybe the file was saved with the wrong encoding. did you edit it?22:27
RenatoSilvazsquareplusc: ok let me try Olá as utf-8, probably it was the encoding really22:28
rbelemhello all, is there an way to delete an old revision? like my current revision is 756 and the revision that i want to remove is 746.22:30
zsquarepluscrbelem: what do you expect to happen? edit the history?22:30
zsquarepluscif you just want to "unapply" the changes of that revision, that's possible. you'll just end up with a new commit undoing the changes22:31
RenatoSilvazsquareplusc: saved as utf-8 without bom and worked just fine, thanks :)22:32
rbelemzsquareplusc, yes... :-) i want to remove that revision because now see that revision do not make sense22:33
RenatoSilvalifeless: I was trying to understand what you said about rebase breaking pull and merge22:33
RenatoSilvalifeless: you mean branches based on the rebased branch in the past, right?22:33
rbelemzsquareplusc, but with unapply what with earlier revisions?22:33
rbelem* happens22:34
RenatoSilvalifeless: however I wasnt really thinking of rebasing trunk or branches that potentially could be branched22:34
zsquarepluscrbelem: nothing. the old revisions are  kept as they are22:34
rbelemzsquareplusc, oh! i got22:34
RenatoSilvalifeless: the branch in question isn't really targeted for being branched, it's a personal branch targeted for merging into trunk22:35
rbelemzsquareplusc, ok... so if i want to make that revision vanish i will have to create another branch and reapply patch by patch?22:37
kfogelLarstiQ: https://code.edge.launchpad.net/~kfogel/bzr-hookless-email/byte-limit/+merge/11233 :-)22:37
RenatoSilvalifeless: I don't think it's a good idea to rebase project branches either, but when your feature branch personal and you know that no one will branch it (you can put a warning in description), well, in this case I think rebase is a good option22:38
RenatoSilva_lifeless: I don't think it's a good idea to rebase project branches either, but when your feature branch is personal and you know that no one will branch it (you can put a warning in description), well, in this case I think rebase is a good option22:39
RenatoSilva_RenatoSilva_: another good reason for rebase is that the feature diff becomes clean, only one single diff between revision can tell you how code changes compared to trunk22:40
RenatoSilva_lifeless: ^22:40
RenatoSilva_lifeless: using updating merges it may be a bit hard as trunk may have changed since your work22:41
zsquarepluscrbelem: http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#reverse-cherrypicking22:41
lifelessRenatoSilva_: bzr diff -r ancestor:../trunk - will tell you whats different in the branch easily as well22:42
jelmerronny: cool22:46
zsquarepluscare the devs working on TortoiseBZR here?22:47
rbelemzsquareplusc, i will test here22:49
rbelemthanks :-)22:49
ronnyjelmer: with some luck i'll have a nice api for building and introspecting usefull commits on all important vcs's at the end of the week22:49
RenatoSilvalifeless: sorry, being disconencted all the time22:49
RenatoSilvalifeless: bzr diff -r ancestor:../trunk -, including the '-'?22:50
RenatoSilvalifeless: well in my example here http://img33.yfrog.com/img33/5295/imagemxa.png,  rev. 18 in the former is rev.23 in the latter22:51
RenatoSilvalifeless: I just have to diff -r 22..23 and I'll have the changes according to the latest code22:51
RenatoSilvalifeless: for the former the same diff -r 17..18 is --outdated--22:52
RenatoSilvalifeless: I'll have to go through the brach and look at all merges from trunk till the end, to get a view on the updated change22:53
RenatoSilvalifeless: by elimitating update-only merges, I make the feature diff more natural22:53
RenatoSilvalifeless: unfortunately I don't have the diffs now but in that example what happened was that...22:54
RenatoSilvalifeless: I had pt-br_solenoid.Theme.po in branch root, then I created the feature branch and modified this file22:55
RenatoSilvalifeless: in the meantime, the file was moved in trunk to a subfolder /translation, and was renamed to pt_BR.po22:55
RenatoSilvalifeless: using update merges, the rev that implements the feature is now outdated because it relates to old /pt-br_solenoid.Theme.po22:56
johnfabentley: you about?22:58
RenatoSilvalifeless: that diff is not enougth to know how the feature changes the code, you have to also look at the specific merge feature --> trunk where the conflict occurs and is solved22:58
lifelessRenatoSilva: that why you use 'diff -r ancestor:../trunk', not 'dff -r 17..18'22:58
Peng_RenatoSilva: Just out of curiosity, what's up with your connection?22:58
mwhudsonhmm22:58
mwhudsonbzr log -r $revno:$branch22:59
mwhudsonshows $revno in the context of $branch in the output22:59
mwhudsonnot $revno in the context of .22:59
RenatoSilvalifeless: (i.e  pt-br_solenoid.Theme.THIS and pt-br_solenoid.Theme.BASE, then you move THIS to /translations/pt_BR.po and bzr resolve --all and merge)22:59
mwhudsonthat wasn't what i was expecting22:59
RenatoSilvalifeless: sorry I will read your answer now22:59
RenatoSilvaPeng_: I don't know what's up with my conn :923:00
RenatoSilvalifeless: literally as you typed? is it possible in ui?23:01
RenatoSilvalifeless: I'll try diff -r ancestor:../trunk at home anyway23:02
RenatoSilvamwhudson: so bzr log -r $revno:$branch? how would that be in my example?23:04
lifelessRenatoSilva: mwhudson is talking about something completely different23:05
RenatoSilvaok sorry then23:05
mwhudsonRenatoSilva: yeah, sorry for dropping in with something that looked similar but is in fact entirely different23:05
RenatoSilvalifeless: diff -r ancestor:../trunk, s/ancestion/feature-branch's name, right?23:06
lifelesss/..\/trunk/path_to_trunk23:06
RenatoSilvalifeless: I'm sorry can't grok that command atm23:06
lifelesscd $feature_branch23:06
lifelessbzr diff -r ancestor:$trunk_url23:06
RenatoSilvalifeless: trunk is lp:moin-solenoid23:06
RenatoSilvalifeless: and feature branch is ~/moin-solenoid/userprefs23:07
RenatoSilvalifeless: so bzr branch [...]userprefs, cd userprefs, bzr diff -r ancestor:lp:moin-solenoid right23:08
lifelessyes23:09
RenatoSilvaok23:09
RenatoSilvalifeless: I'll check later if I'll get the same diff as with rebase, thanks!23:11
RenatoSilvais .bzr's branch.conf pushed to lp too?23:27
RenatoSilvaI'm worried about some bzr-email confs I don't want to share23:27
zsquarepluscthe one in your home direcotry, not23:27
zsquarepluscyou can have a branch specific config in the .bzr folder i guess that one is pushed23:28
fullermdNo, it's not.23:28
zsquarepluscok23:29
RenatoSilvaok thanks!23:29
milliHere's a potentially stupid and probably inflammatory question that Google hasn't been able to help me with...  I have a Client (customer) that has decided to move to bzr for source control from git (long story omitted about git's UI being "too hard" to use).  What repository format will get me closest to the performance of git?  --2a?  --1.9-rich-root ?  --1.14-rich-root?  I.e., what is the fastest repo format given half a dozen developers using a semi-de23:29
millicentralized approach with some folks using a sandbox (git-like) workflow and others using a subversion-like workflow?23:29
zsquarepluscwhat's the point of holding in in the braches .bzr directory then?23:29
thumpermilli: 2a23:30
fullermdmilli: What thumper said, assuming everyone's on a new enough (2.0.0 ideally, 1.18 OK) version.23:30
millithumper: that's it?  Hands down it's the fastest?  No caveats?23:30
fullermd2a is supported since 1.16 (I think offhand), but it's a little rough early on.23:31
thumpermilli: I'd say yes23:31
milliI saw the 2.0.0 just hit Karmic...23:31
millithat23:31
milliok23:31
RenatoSilvaUrsinha: ^23:34
lifelessmilli: 2a fixes a number of big-O scaling problems with older formats. Its got lets; we know of a handful of minor regressions, and they won't require format changes to fix.23:36
lifelessmilli: with bzr 2.0.0 you should have fine performance; if you don't _please_ file a bug and we can figure out why23:36
millilifeless: nod23:37
lifelesss/lets/legs/23:37
pooliehi there23:44
lifelesshai23:49
poolielifeless: i put up the uifactory tests23:50
pooliefor review23:50
pooliehowever lp is readonly atm23:50
lifelessyah23:50
* fullermd read that as "olfactory tests"...23:53
pooliemm23:54
pooliei'd like to do some import tariff tests soon :)23:54
poolieblah23:55
pooliei guess it's better than being offline entirely23:55
fullermdI figured that meant "tests to tell you if your code stinks".23:56

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