/srv/irclogs.ubuntu.com/2010/10/15/#bzr.txt

jelmerspiv: :-( Is your data ok?00:03
spivjelmer: yeah, everything on that disk is backed up every 3 hours00:04
spivSo at worst we'll have lost some mail I guess... and a whole bunch of time.00:05
pooliehi spiv00:06
pooliespiv, raid1 :)00:06
poolieyou know it makes sense00:06
spivpoolie: :)00:10
spivI'm not sure that futzing with making raid work is actually a net savings of time ;)00:11
LeoNerdRAID of course also doesn't protect you from  rm -rf00:13
LeoNerdOr ext3 bugs00:13
spivThe current arrangement is basically have a dedicated backup drive and a cronjob for rdiff-backup.00:13
spivLeoNerd: right00:13
spivSo we'd want to add another drive rather than repurpose the existing backup drive.00:14
maxb'Error -3 while decompressing data: incorrect data check' ... hmm, mysterious00:26
pooliespiv, you may be right00:27
pooliei bought a UPS but it has been a net loss of time so far00:27
poolie(more for the sake of avoiding spikes than to stay up and running)00:28
lifelessspiv: you might like to look for ForwardingResult in bzrlib.tests00:41
lifelessspiv: theres a trivial patch waiting for someone ;)00:41
sidneihi poolie, i can't remember if i asked you this before or not, so here goes: is it possible to mark a text file as binary in bzr so that it doesn't show up in diffs and so it gets different conflict resolution? or is that a stupid idea?01:02
poolieit's a good idea but it's not currently supported01:02
pooliethere's a bug asking for it01:02
sidneipoolie, we're storing minified css/js files in a branch, and we constantly get conflicts on them. the fix is always to re-build them from the original source. it also makes merge proposals pretty nasty.01:03
pooliepatches welcome :)01:04
poolieit won't be too hard01:04
poolieyou know you want to :)01:04
sidneii do :)01:04
sidneimaybe during paternity leave01:04
sidneipoolie, would that be bug #218128?01:10
ubot5Launchpad bug 218128 in Bazaar "want a way to mark files as binary even if they look like text (eg pdf files) (affected: 9, heat: 72)" [Medium,Confirmed] https://launchpad.net/bugs/21812801:10
poolieyes01:12
sidneibug #491556 seems relevant too01:26
ubot5Launchpad bug 491556 in Bazaar "Add option to ignore files from diff view but not VCS (affected: 3, heat: 1)" [Wishlist,Confirmed] https://launchpad.net/bugs/49155601:26
=== Ursinha is now known as Ursinha-afk
jbowtieCodePlex is happy for me to test bzr-tfs against their servers, even if the tests generate malformed weirdness.01:42
jbowtieSo we may actually get something halfway robust this release.01:43
lifelessjbowtie: awesome01:44
jbowtielifeless: thanks.01:49
poolierocking01:49
jelmerjbowtie: Great :-)01:52
jelmerSome people have already been using bzr-svn against their svn bridge, I suspect that may have a fair bit more impact on their servers because of the mapping that has to happen on both sides.01:53
FryGuy-jbowtie: are you the guy that handles the bzr-tfs?01:56
jbowtieFryGuy-: Yes, that's me.01:57
FryGuy-also, is it normal for bzr merge to complain about uncommitted changes, but bzr st shows nothing? :(01:57
FryGuy-Hi. I'm the guy that puts broken branches into the repository01:57
jbowtieYes, I was going to review those over the weekend.01:58
lifelessFryGuy-: no, thats not normal01:58
lifelessFryGuy-: are you perhaps using 'bzr st .' rather than 'bzr st' ?01:59
FryGuy-Unfortunately, I've broken my tfs repository, and bzr-tfs no longer can work on it01:59
jbowtieI really appreciate you taking the time to do that, it's really helpful.01:59
FryGuy-[24]: bzr merge C:\dev\botevent01:59
FryGuy-bzr: ERROR: Working tree "C:/dev/robogames/registration/" has uncommitted changes (See bzr status).01:59
FryGuy-[25]: bzr st01:59
FryGuy-[26]:01:59
lifelessthats ...  bizarre02:00
jbowtieOuch, hopefully it wasn't bzr-tfs that broke it.02:00
FryGuy-glad it's not bazaar. hehe02:00
lifelessuhm, you don't have any aliases perhapss?02:00
FryGuy-no this is my local machine, not my work machine02:00
lifelesstry 'bzr commit' - it should pop up an editor with whatever changes it thinks exists02:01
lifelessor 'bzr revert', if you're sure you have no changes.02:01
jbowtieFryGuy-: What does bzr info say about those branches?02:01
spivOr 'bzr --no-aliases --no-plugins st'02:01
FryGuy-[26]:02:01
FryGuy-bzr commit02:01
FryGuy-Committing to: C:/dev/robogames/registration/02:01
FryGuy-missing application/config/config.template.php.OTHER02:01
FryGuy-aborting commit write group: PointlessCommit(No changes to commit)02:01
FryGuy-[27]:  bzr: ERROR: No changes to commit. Use --unchanged to commit anyhow.02:01
lifelesshah, added but missing02:01
lifelessFryGuy-: bzr remove --new02:02
lifelessshould do it02:02
FryGuy-ah02:02
FryGuy-i did it another way, but ya02:02
spivHmm, that's perhaps a bug in 'bzr st'02:02
lifelessspiv: 'feature' ><02:02
FryGuy-bzr rm application/config/config.template.php.OTHER02:02
FryGuy-should I file a bug report?02:03
spivFryGuy-: yes, please do.02:03
spivAt a minimum that error shouldn't suggest 'See bzr status' if that command won't tell you anything :)02:04
FryGuy-well, i'm glad there's some experts in here at least :)02:06
jbowtieI'm going to have to start prioritising my bzr work, too many open branches on my local machine.02:07
jbowtieOK, just proposed an actual plan of attack for large binaries on the mailing list. Please find the glaring flaw in my logic.03:07
KombuchaKipjbowtie: Man, I really started a shit storm opening pandora's box in bringing up that whole issue with my game.03:21
pooliehi spiv03:23
jbowtieKombuchaKip: We were always going to have the issue eventually, might as well get it sorted now.03:23
poolieare you persisting on the inventory package importer failures?03:24
KombuchaKipjbowtie: Fair enough. And at least now we'll have a good real world case study to test it on.03:24
jbowtieKombuchaKip: That's the plan. I was going to need this solved before I could start writing my diff/merge proposal for Blender files anyhow.03:25
jbowtieAnd if no one finds a glaring flaw in my approach, it'll be a glorious opportunity to really learn the messy internals of bzr.03:27
KombuchaKipjbowtie: Excellent. I'll let you know the repository URL as soon as I get it up so you can see how well it runs on our large game data files. I'd have the repository up sooner, but sadly DreamHost doesn't have Bazaar over any other means than ssh.03:27
pooliespiv i think you win some kind of prize for single largest diff03:29
poolieeven though it's mechanical03:29
spivpoolie: yes, I am persisting on that, in between trying to recover from the disk failure.03:46
poolie:} sorry, didn't mean to lack sympathy there03:46
poolieis it kaput?03:46
spivDon't worry, no lack of sympathy inferred :)03:46
spivWe're a bit puzzled atm, actually.03:47
lifelessspiv: just checking it wasn't lost - did you see the code duplication I referenced in tests ?03:47
spivWe're fearing an issue in something other than the disks, because while copying from the backup drive to the new drive we started getting IO errors too.03:48
spivlifeless: I did, branch pushed even, just haven't lp-proposed it yet03:48
lifelessawesome thanks03:48
spivlifeless: thanks for noticing!03:48
spivOn one hand it would be nice to discover all our data is completely intact, even stuff since the last 3-hour backup window... on the other, hard drives are cheap and quick-ish to replace, other components not so much.03:49
pooliedo you have offsite backups too?03:51
poolieduplicity to s3 is very good03:51
spivFor some key stuff, but not for the bulk.03:53
spivI think when we last looked s3 was more expensive than we were willing to pay.  Someone recently pointed us to crashplan which looks tempting.03:54
pooliehm03:55
pooliewe could swap gpg-encrypted duplicities with each other03:55
pooliei have a few tens of GB free, at least03:55
spivThat sort of thing starts making Tahoe sound more interesting :)03:58
pooliemm03:59
dmuiranyone, how do I deal with a path conflict?04:59
dmuirah, found it in the docs05:03
dmuirhmm, looks like the docs are wrong05:08
dmuirit says to use `bzr mv PATH2 PATH1` + --action=take-other or --action=done to resolve the conflict05:09
dmuirI tried being smart and did bzr resolve PATH2 --take-this05:11
dmuirbut this resulted in bzr crashing05:11
dmuirI re-read the docs, and I misunderstood because of a formatting bug05:27
dmuirfiled a bug report for the crash05:33
jbowtiedmuir: Can you also file a bug report for doc formatting bug?05:39
dmuirsure05:40
jbowtiedmuir: Thanks. I'll fix that up this weekend.05:41
dmuirhad a look at the bzr.dev docs and it looks like it has been fixed there05:41
dmuirjbowtie: should I still submit a bug report?05:42
jbowtiedmuir: Well mention which version of the docs you were looking at and I'll get the fix backported to the appropriate branch.05:42
dmuirit was 2.2, but that said, in some ways the formatting was better in 2.205:43
jbowtiedmuir: I'm about to go offline, I'll have to continue the conversation in the bug tracker.  ;)05:44
dmuirok05:44
pooliehi06:55
pooliehi vila?06:58
* vila still shaving :)06:59
poolieyour face, or a yak?07:00
vilapoolie: hi, almost there but typing with a single hand, expect more typos :)07:01
pooliego away and be in the moment :)07:01
vilamy dace :D (must eome yaks are easier)07:01
fullermdI thought you said you'd make MORE typos   :p07:01
vilaface some. that's MORE :)07:02
fullermdSee, that's why I gave up shaving last millennium.  Saves me all those tpyos.07:03
pooliewoo, feedparser took my patch to enable cache contro/07:06
vilahi all ! (Shaved and showered)07:12
vilapoolie: thanks for the reviews !07:14
vilapoolie: reading the modify-config one07:14
vila1) regarding indentation: I disagree but don't care enough either to block on this so I'll fix it07:15
vila2) regarding sections: I won't to keep avoiding them until we are a clearer plan but it *will* be taken into account (later)07:16
vila3) regarding config_id/paths. As explained in the COVER letter (I think) I don't want to force the user to use paths for --scope07:17
vilaSo it's more coherent to display them in the output. Now we *also* need a way to make the relationship more obvious07:17
vilaBut since there will be scopes that are not taken into account yet, I'd like to address that later too07:18
vila(default values in code, command line, env variables are such scopes)07:18
vilaand they don't have a clear path equivalent (of course we can just say that in the output but... I feel it's too soon)07:19
vilaand a minor point is also that it makes testing harder since the paths are ugly there and not relevant to the real usage07:19
vilapoolie: I still don't get what shell scripting use case you have in mind07:20
pooliere 1- i'd like to understand your thoughts there07:20
poolie2- i don't understand07:20
poolie3- that's fine; it could be nice for followon work07:21
vila3ok07:21
pooliere shell scripting: people like to get bzr output that's easily machine parseable07:21
poolieeg for emacs or shell scripts07:21
poolieif I can say just, oh i don't know07:21
pooliemail -s 'here you are' `bzr config submit_to`07:21
pooliei think that's nicer than needing to strip it out07:21
pooliei don't mind if that's, say07:22
poolie`bzr config --just-the-value submit_to`07:22
poolie(hypothetically)07:22
vilaha, right, so that's the --active option which only output the *value*07:22
poolieok, great07:22
vilatyping too slow, yeah, right07:23
pooliethen perhaps that should be in the user docs too?07:23
vilaindeed07:23
vilaand implemented ;)07:23
vila2 sections are useful but in the actual implementation... messy07:23
vilaso I avoided supporting them even if I *want* them supported once we settle on (for example) use them *only* for paths07:24
poolie(i don't think we should reproduce all the help in the user guide, but we do get some feedback saying there's not enough there, and like tests or washing up it's much easier to do it as you go07:24
vilagot you07:24
poolieare you talking about printing which section of the config it came from?07:24
spivHooray, all data recovered.07:24
vilayes07:24
vilabut also about specifying it when setting a value07:24
vilathe use cases I presented are all when working in a given working tree (or branch)07:25
pooliehooray07:25
pooliespiv, so you have more than daily rdiff backups?07:25
poolieyou may have a point there07:25
pooliespiv, i think you should land your news branch soon before it goes stale07:26
vilabut in the long term it's probably useful to be able to work on any config scope by specifying the right options from the command line07:26
vilabut since sections are still unclear I prefer to not implement anything before they are clearly defined07:26
pooliefair enough07:26
pooliewe could have a followon bug for that too07:26
vilathe whole idea of this proposal is to have a rough version *now* that can already help us understand what is going on07:27
poolieyup07:27
vilahence the reference to 'bzr config -d lp:bzr' showing a config value almost everybody forgot07:27
pooliei really support the principle of not insisting on things fully fleshed out in every respect when they first land07:28
poolie?07:28
spivpoolie: yes, just doing that now07:29
vilaright, that's why I feel a bit blocked on some mps even if I tried to make it clear that some parts will need further work ;)07:29
spivNo conflicts with trunk atm, so hopefully it'll be trouble-free...07:30
poolievila, let's get you unblocked07:31
spivpoolie: regarding backups, it seems the drives are only failing intermittently atm, so it's been relatively easy to copy everything (also, our rdiff runs every few hours, not just daily)07:31
pooliei might change mine to be more frequent too07:31
spivIntermittent failures is a weird way for a drive to behave, but better than total failure I guess.07:32
pooliei just put up a patch for https://bugs.launchpad.net/duplicity/+bug/433970 that makes duplicity to S3 something like 6x faster07:32
ubot5Launchpad bug 433970 in Duplicity "Add an option to connect to S3 with regular HTTP (and not HTTPS) (affected: 3, heat: 16)" [Medium,In progress]07:32
pooliei was very pleased07:32
pooliepretty small patch07:32
pooliethat does suck; i have seen it before for mechanical failures07:32
spivI'd suspect cables or something, but both drives had read errors on totally different hardware.07:33
vilapoolie: https://code.edge.launchpad.net/~vila/bzr/323111-orphan-config-option/+merge/35690 is the one I have in mind, it's opt-in now so I don't know what is missing here or in the pre-requisites07:33
pooliei had a confusing thing with my sata drives a while ago where the cable was loose and it gave intermittent errors07:33
pooliei'll have a look07:33
vilano whatsnew for modify-config... wtf ! I'm 95% sure I put something there.... did I commit in wrong tree ?07:35
vilaby the way, using paths for section in configs have several consequences I thought about:07:38
vila1) it can be used in *all* config files, so we could merge bazaar.conf and locations.conf07:40
vila2) , it can apply to paths that describe branches but *also* to relative paths inside a working tree or colocated branches or branches in a repo07:40
vila3) it could even be used for ignores (opening a path to be more compatible with foreign vcs that implement ignore rules in multiple files07:40
pooliewhat do you mean for 'paths for section'?07:48
pooliemaking everything like location.conf?07:49
vilawhat we do in locations.conf07:49
vilai.e. this applies only to the matching path, highest levels being inherited07:49
vilawhich works pretty well for scalars but need some... tweaks for lists07:50
vilas/pretty well//07:50
vilalike the ability to say: I want to add values to the inherited list (removing values... I don't know what to do with the idea)07:51
pooliemm, and also there's the question of 'match the most specific path' vs 'match in the most important relevant config file'07:52
pooliei probably asked for it, but should we really have 'bzrlib.transform' vs maybe just 'transform'?07:52
vilathe later takes priority I'd say07:52
pooliei'm typing too fast07:52
vilaI think I understand and that07:52
poolieyou're saying the most important relevant match? that works for me07:53
vilayeah07:53
vilaregarding bzrlib.transform vs transform, my take was to allow aliases but you disagreed, this is related to what namespace we want there07:54
pooliewe could say the 'bzrlib' is implicit07:54
vilait's a little bit less important than the sections though (or may be not)07:54
vilait's higly tempting yes07:54
vilabut what about 'alias', 'bookmarks' and whatever plugin authors want to use07:55
poolieplugin.bookmarks?07:55
poolieplugin.bookmarks.auto_record?07:55
vilawhich immediately raises: whine, this is too long, why is bzrlib taking all the good short names07:56
pooliebut surely bzrlib.transform.orphan_policy is a bit inconsistent with bookmarks.auto_record?07:56
vilayup07:57
vilaaliases kind of avoid the issue07:57
vilawhich is not necessarily good07:57
vilait 's a bit like selftest -s, we have a clearly defined name space, but we know some shortcuts are more important than others07:58
pooliein some ways avoiding the 'plugins.' from the name is good because it allows code to move07:58
pooliea bit like that07:58
pooliei wonder if we will ever have overlap with multiple things wanting the same name?07:58
vilaand there should be some easy way to avoid name collisions at the alias definition registration07:59
vila:)07:59
vilathere is always the case of different plugins clashing07:59
vilaor worse: bzr-core starting to use some names without knowing that a plugin was using it08:00
pooliei think that would be a real concern if there was no namespacing at all08:00
pooliebut if we have a single word namespace, perhaps it's less so08:00
pooliebut if we have a single word namespace, perhaps it's less so08:00
pooliegit does use git.core.thing vs others08:01
vilagit.core sounds redundant vs git though08:01
vilafrom a user pov, 'bzr.' 'svn.' might be enough08:02
vilawe don't *have* to say 'bzrlib.transform.orphan_policy' when 'bzr.orphan_policy' is enough08:03
pooliei think some amount of grouping of the options is useful though08:03
pooliein programs that get a lot of them (dozens or a hundred) then having them just all randomly named makes things a bit harder08:04
vilabut that requires specifying 'bzr.orphan_policy' when declaring 'bzrlib.transform.orphan_policy' (but may be I'm over-concerned here)08:04
pooliehow about bzr.transform.orphan_policy then08:04
vilayeah, I don't have hard numbers about what could *become* config variables in the code base08:04
vilahmm, s/bzrlib/bzr/ and be done, seducing08:05
vilas/bzrlib.plugins.name/name/08:05
vilathe later should work too, very-unlikely to clash since that requires having a plugin named after a bzrlib module08:06
vilachecking with http://doc.bazaar.canonical.com/plugins/en/08:07
vilapfew, email vs email_message08:07
vilabisect vs bisect_multi08:08
vilathat's the closest, so no clash08:09
vilaand if a clash would happen... that would strongly suggest inclusion in core anyway :)08:09
poolieright08:10
poolieobviously you can just have random names and then group them in metadata or in the documentation08:10
pooliebut then everything needs to know about that08:10
pooliei think there's quite a few things that will make more sense as config options08:10
poolieespecially if we allow for builtin defaults, and for per-process settings08:11
poolieand make the internal api a bit cleaner08:11
poolieas i think you've started doing08:11
vilayup, I should really focus on documenting what I have in mind in a.... developer doc and make a mp for that for feedback08:12
vilaand refer to it for a ML discussion08:12
pooliethat'd be good, and also user docs08:12
vilaindeed, but user docs aren't enough, I should have said that: user doc *and* dev doc since I'd like to change the internal model08:13
vilaI think this sums up my feelings regarding the modify-config mp: I wanted to land *something* so I can refer to it in these docs08:14
vilaso I deliberately avoid some issues and implement some hacks with an unspecified target which led to annoying questions raised in the review :)08:15
vilaI *don't* have an hidden agenda, I just happen to not have published it yet :)08:16
vilait just happend that I don't have ?08:16
vilaright, I happen every day :)08:17
pooliei'm replying again now08:23
poolievila, ok, a few more tweaks and let's land it08:25
pooliei think i did many more reviews this week than when i was officially pp last week08:25
pooliewhich is fine08:25
vilaindeed, thanks for that, the queue is back under control08:26
vilanow if we could get testtools updated on pqm....08:26
pooliemm08:26
pooliei'm going to leave the rest of them to you i think08:27
pooliei still wanted to finish my lp dkim fixes today and it's 6.30 already08:27
pooliemaybe next week i'll try tarmac08:28
vilaI don't have mps I haven't review at least once any more08:28
vilasome are waiting for either another reviewer or testtools upgrade or more input from the reviewee08:29
pooliewell, "leave them to someone else" then08:31
vilasure, I even ping them when needed ;)08:32
vilahmm, I know another reason why I don't like indenting the inplace files: it's one of the very few cases where emacs don't DTRT when I press TAB anywhere in the line :)08:37
vilaAAAARGH, still not fixed in maverick... why oh why can't process monitor remember that I *want* to see the command line !!08:46
vilasudo process-monitor show-me-your-config-files-so-I-can-nuke-them08:47
bigjoolsCan anyone help me work out why bzr is giving me this error please?  http://pastebin.ubuntu.com/51368309:50
spivbigjools: random guess: bzr-pqm plugin is old?09:56
* bigjools checks09:56
spivHmm, a glance at the revision history for bzr-pqm suggests I'm probably right.09:56
bigjoolsspiv: that was it, thank you09:57
spivCool.09:58
pooliespiv i think you broke 'make doc-website'11:07
poolieshell cruftiness disliking parens in filenames11:07
ddaaor lack of proper shell quoting11:10
poolieyep11:13
pooliethat's crufty11:13
poolieddaa, do you remember off hand how to avoid that in a makefile?11:16
poolieif i just put "$@" does that do the right thing?11:16
poolieie quote the words individually11:16
vilapoolie: can't reproduce locally, what error are you seeing ?11:16
poolieme either11:16
poolie+/srv/doc.bazaar.canonical.com/bzr/bin/update-bzr-docs:36> dchroot -c karmic --directory /srv/doc.bazaar.canonical.com/bzr//bzr.dev make doc-website11:16
poolieI: [karmic chroot] Running command: "make doc-website"11:16
pooliepython tools/generate_release_notes.py doc/en/release-notes/index.txt d......11:16
poolie/bin/sh: Syntax error: "(" unexpected11:17
poolieit may be something about dash vs zsh11:17
vilapoolie: I got one error at first run but re-running was enough until it fails in tex for some encoding issue11:17
pooliei did get a unicode error in latex but that's not so important11:17
vilaha karmic... karmic ?11:17
vilaha, so we got the same latex error at least11:17
vilawhy and where is karmic involved there oh, where the cron job is running ?11:18
vilaI also got a bunch of conflicts in my trunk mirror where I use to run make *docs* thingies, could that be related ?11:19
pooliethat's andrew's change, but it's not what's breakign escudero11:19
pooliei'm getting tired11:19
vilaok11:19
vilapoolie: the web site itself is not broken so this could wait right ?11:20
pooliemm11:20
pooliei think the docs will just be stale until it's fixed11:21
poolieand it will keep sending me mail11:21
vilaone by hour or by day ?11:21
vilapoolie: anyway, this way we are sure this doesn't get forgotten :-p11:21
pooliea few a day11:22
poolieoh, and bialix will mail me after a couple of days :)11:22
pooliegoing by history11:22
poolievila https://code.edge.launchpad.net/~mbp/bzr/doc/+merge/38522 should fix it11:23
pooliei can't reproduce it either so it's kind of blind11:24
vilahmm, I wonder if it was due to some persistent sphinx data and as such, will never recir11:26
vilarecur11:26
pooliei'm just looking11:27
poolieyep, that fixed it11:27
pooliei mean, cleaning the tree and reverting seem to have fixed it11:27
spivpoolie: odd!11:28
pooliestupid danilo finding unicode bugs :/11:29
vilapoolie: ok, your mp isn't needed right ?11:29
poolieif ascii was good enough for jesus...11:29
vilalol11:29
poolienot sure, i might like to land it anyhow11:29
vilaexcept for deleting the release-notes part: approve11:30
pooliewhy not delete it?11:30
poolieit's included in 1.1811:30
vilahaaa, including the entry ?11:30
vilawe were duplicatong in theses days ? ;) tsk tsk11:31
poolieno, i suspect andrew moved it to 1.18 when 1.17.1 didn't happen11:31
vilajust kidding, if the entry exist somewhere that's all I care, remove this objection11:31
spivpoolie: presumably there was a filename with a ( in it for some strange reason?11:32
mgzis spiv's 27816 line diff getting reviewed? :)11:33
pooliebecause there was a release called '1.17.1 (unreleased0'11:33
poolieit looks messy in the ToC anyhow11:33
vilaspiv: the privous generate-release-notes.py was creating it yes11:33
poolieit's not exactly likely to get released now :)11:33
spivOh, huh.  The new build process won't do that :)11:33
poolieit was detritus in this tree11:33
poolieright11:33
spiv"$@" is good practice anyway11:33
pooliei don't know what caused it to break but a clean trunk has fixed it11:33
spivAnd the unreleased release is pretty uninteresting, so +1 on your patch, but pretty unimportant now.11:34
vilamgz: alaready landed and spiv got the record11:34
spiv\o/11:34
vilaspiv: since you're there, can we land https://code.edge.launchpad.net/~spiv/bzr/hooks-refactoring/+merge/36101 or do you need something done there ?11:34
spivOr if you are Unicode 6.0 enabled: 🙌11:35
vilait seems I'm not Unicode 6.0 enabled :)11:35
Glenjaminwhat char is that?11:35
mgzI'm guessing one of the new two-people-holding-hands ones11:36
spivvila: there's a docstring tweak to make, otherwise I think it's good to land.11:36
spivmgz: U+1F64C is PERSON RAISING BOTH HANDS IN CELEBRATION11:36
vilaspiv: in the pyutils module ?11:36
poolie\N{CHEERS}11:37
spivApparently new versions of the relevant Xorg module will add Compose, \, o, / as a binding for it...11:37
pooliemm11:37
pooliei wish there was some better discovery mechanism for compose sequences than googling for 'linux compose sequence'11:37
vilaspiv: by the way, do you think python compatibility methods can be added there (like when we want to carry fixes that exist for 2.6 or 2.7 and use them for 2.4 or 2.5) ?11:38
pooliewhich last time i looked suggested you read the X11 source :)11:38
Kinnisonpoolie: I just tend to guess, and if that fails, run unicode in a terminal and c&p :-)11:38
spivpoolie: me too11:38
* spiv applies some guess work11:38
spivpoolie: /usr/share/X11/locale/en_US.UTF-8/Compose ?11:39
pooliegucharmap is ok11:39
pooliei'd like to press Compose-something then type "celebration" and have it find it...11:39
spivpoolie: Compose F1 ;)11:40
spivpoolie: that would be lovely11:40
mgzthanks for the testtools reviews lifeless! will just leave a couple of comments in the mps.11:41
vilaspiv: by the way, do you think python compatibility methods can be added there (like when we want to carry fixes that exist for 2.6 or 2.7 and use them for 2.4 or 2.5) ?11:41
spivvila: python compat methods are harder, because sometimes they use syntax that simply won't compile in earlier versions11:41
spivvila: which suggests that we perhaps should have pycompat_27 or whatever for things backported from 2.711:42
spivetc11:42
vilaspiv: ha, sure, I was thinking about things like open_socket_as_you_should and... what was it... the addinfo_url stuff11:42
spivHmm, I don't think the addinfo_url thing is a good candidate for such a general module.11:43
vilaok, nm11:43
spivYou'd start forcing imports of that sort of stuff on every invocation unless you use some contortions.  The cure would be worse than the disease.11:43
poolie\N{PERSON LEAVING COMPUTER}11:46
mgzehehe11:46
Glenjamini suppose in theory everything that requires compatibility needs to be abstracted behind at least 1 layer, and then that layer adds the compat if necessary11:48
spivGlenjamin: or in some cases you can simply write the code in such a way that it works directly on all supported versions11:56
spivExcellent, new hard drives installed and backups restored.12:33
vilagrrr, pqm accepting submissions far too fast again and no feedback on what is failing again12:36
vilaping losa, something is weird in the bzr.dev pqm branch, submissions are accepted far too fast (as in: the tests don't run so some error is seen as success)12:40
mgzdoesn't poolie's makefile change just need to land?12:41
vilamy first suspicion will go to cruft in doc/en/release-notes leading to conflicts and some unexpected consequence that my crystal ball refuses to reveal12:41
spiv+1 mgz12:41
spivHmm12:42
vilamgz: why can't I reproduce locally then ?12:42
spivAlthough, I think the checkout is constructed from scratch each time, so old detritus shouldn't be an issue.12:42
spivBut I "makefile changes land" swiftly followed by "weird landing issues" is a pretty suspicious combination.12:43
spivIt wouldn't hurt to throw poolie's change at PQM and see what happens, though.12:43
vilawell, I don't know what damage has already occurred so I prefer quick losa check first12:44
mgzhm, vila, can I get some of your time today to help me with leak things?12:51
vilamgz: sure12:51
mgzthe second babune run from last night shows I fixed the obvious things, but...12:52
mgzfor some reason the actual leak prevention bit isn't working12:52
mgzhttp://babune.ladeuil.net:24842/job/selftest-subset-windows/11/ <- took nearly four hours to complete12:52
mgzwhen I was testing locally, every run has been fine, except one where *everything* hung. so there's something odd going on.12:53
vilamgz: let's retry just this one then, something weird happened this night too for the jaunty and karmic claves (took several hours each)12:54
mgzI'd blame babune too were it not for the fact one run I got it too.12:55
vilawhen ?12:55
mgzthere was no obvious trigger, just testing a subset from the console, so there's still something non deterministic here12:55
vilaI mean, when did you see that, yesterday ?12:56
mgzyup, last night, after I'd pushed up the last change12:56
mgzI frantically reverted stuff to try and work out what I'd broken... but never saw it again12:57
mgzI still sometimes get a leak, but I've not seen any other hangs, and it was *everything* hanging12:57
vilashudder12:57
mgzwhich is clearly what babune had to make it over three hours12:59
mgzhttp://babune.ladeuil.net:24842/job/selftest-subset-windows/11/testReport/bzrlib.tests.per_branch.test_branch/TestReferenceLocation/ <- see multiple tests taking 5 seconds.12:59
mgzthe hack branch didn't get that... might just be bad luck, or might be something borked12:59
vilaone possible cause could be the hook is not taken into account because all hooks are cleared for test isolation but I don't believe it13:03
mgzright, manually checked that for the first rev and the hook clearing happens before the hook is added.13:05
vilahttp://babune.ladeuil.net:24842/view/debug/job/selftest-subset-windows/11/consoleFull13:06
mgzbut it does feel like the hook was ripped out entirely for that one run.13:06
vilahangs all over the place indeed13:06
vilaright, the current run also has hangs, I'll kill it13:10
mgzValueError: line 6 of the doctest for bzrlib.pyutils.calc_parent_name has an invalid option: '+SKIP'13:11
mgzbah, hadn't seen that before13:11
mgzwill want fixing on trunk.13:11
mgz(presume it's using some 2.6/2.7 only doctest feature)13:12
vilawhere do you get that ?13:12
mgzit's from spiv's hook refactoring branch that I'm building on.13:13
spivmgz: oh :(13:14
vilawhich has landed13:14
mgzokay, -s bt and I can get hangs, I'll see if that happens again, then maybe I can debug this13:14
spivmgz: the docs don't say it is new :(13:14
spivAh, they do, but not at the description of SKIP13:15
spivfurther down they say: Changed in version 2.5: Constant SKIP was added.13:15
spivIt's probably reasonable to just not doctest this module, but poolie may disagree.13:15
mgzthat might be what broke pqm13:15
mgzas doctests are weird and get compiled before most other things happen13:15
mgzcan't avoid 'em with -s for instance13:16
spiv(I only added ths module to the list of doctested modules at poolie's request during review)13:16
vilaindeed, pqm use python2.4 but we are supposed to catch such errors :-/13:17
spivmgz: hmm, seems improbable: if it would break pqm, then it wouldn't have landed.13:17
vilaspiv: it *has* landed13:17
mgzit breaks the test suite at an odd place, you don't get failures, just a traceback internal error.13:17
spivvila: sure13:17
mgzbut yeah, I thought we were now checking the return code properly13:18
spivvila: which therefore suggests it doesn't break pqm13:18
vilaI can reproduce locally with py2413:18
vilawell, locally, on hardy13:18
spiv(and regardless the other possiblity is it had failed to land, in which case of course pqm is not broken because it didn't land)13:18
spiv(so my argument is independent of the specific outcome...)13:19
spivAnyway, bedtime for me.13:19
spivGood luck figuring out what's broken :/13:19
spivSo far all the candidates have been my branches...13:19
vilanah, 2 for you 2 for me13:20
vilashudder no subunit installed for py24 on hardy ... grrrr13:20
vilahmpf, reproduced13:22
mgznight spiv.13:22
vilathe error is output in selftest.log which means we have *some* output and as such we happily consider the tests as passing13:22
vilaso that's the bug that 'broke' pqm13:23
mgz...I was sure we checked the return code now13:23
mgzafter last time the suite broke before being run13:23
vilasee the Makefile for the actual check, I'll dig the mp to refresh my memory about details and alternate implementations that were discussed13:24
mgzI remember various shell weirdness.13:25
mgzAt least cmd consistently sucks!13:26
vilabasically the idea was that bzr failures where supposed to leave stdout empty leading to an empty selftest.log and we used that to catch errors13:26
vilaand then subunit-stats is supposed to fail it it sees a failure in this non-empty selftest.log13:27
mgzI see.13:28
vilabut in this case, the doctest outputs something which subunit-stats doesn't interpret and we're doomed13:28
spivvila: I'm surprised13:28
spivvila: (not disagreeing, just surprised)13:28
spivBut, also, I'm really going to bed now :)13:28
vilaspiv: sleep well13:29
* vila crosses fingers hoping that no failure will appear caused by one the unchecked submissions13:48
vilaat least tests are running again, unping losa13:59
zpletanI am trying to "bzr branch lp:gimp", which is >300MB (don't really know exactly how big).  I have a rather slow internet connection, which died 320MB into bzr's downloading.  Is there a way I can have bzr pick up where it left off, rather than re-downloading the first 320MB which takes around two hours?14:02
vilazpletan: what did you get locally in the end ?14:03
vilazpletan: i.e. `ls -lR .bzr/` and pastebin the output14:03
vila!paste14:03
ubot5For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.14:03
vilamgz: any progress ?14:04
mgzyeah, got some tests that reliably hang, have hook installed14:04
viladoh14:04
zpletanvila: http://paste.ubuntu.com/513847/14:04
mgzso, the hook is currently covering less than the hack was, just need to work out where14:04
mgzpossibly smart server things, investigating.14:05
vilazpletan: unlucky :-/14:05
zpletanBummer.  Thanks anyway!14:06
vilathe file feufc824zjpib16c8n3m.pack is probably borked14:06
vilazpletan: wait ! There are different workarounds14:06
zpletanvila: still here - go ahead14:06
vilazpletan: the easiest one is to pull in chunks:14:06
vilabzr init gimp ; cd gimp ; bzr pull -r100 lp:gimp14:07
vilathen14:07
vilabzr pull -r200 ; bzr pull -r 30014:07
mgzsuspicious looking:14:07
mgz# FIXME: No test are exercising the hooks for the test server14:07
mgz# -- vila 2010061814:07
mgzself.run_server_started_hooks()14:07
viladepending on your internet connection you can try bigger increments14:07
mgzwhere's that defined?14:08
zpletanvila: thanks - I'll try that14:08
vilamgz: irrelevant, that;s the smart server specific hooks14:08
mgzyou didn't do any dodgy voodoo in the method?14:08
vilazpletan: also, file a bug asking for resumable pull, search for a duplicate this has been asked before14:09
zpletanwill do - thanks14:09
vilamgz: when you say the hook is there, have you checked it is called and if yes, when ?14:10
mgzit's not called.14:10
mgzjust using -Ethreads now to narrow things down.14:10
vilanot called at all or called too late ?14:11
mgzat all, for the test I'm running.14:11
vilaand is it present with the right content /14:11
mgzsec, I'll paste you my output14:11
mgzI don't like that I'm getting the same thread id multiple times in the hang output at the end either14:12
vilas/def _add_disconnect_cleanup(transport)/def _add_disconnect_cleanup(self, transport)/ ?14:12
vilanah, nm14:13
mgzit gets called for other tests.14:13
mgzhttp://paste.ubuntu.com/513854/14:14
mgzhttp://paste.ubuntu.com/513855/ <- the old hack branch14:14
vilawill be joined before started...14:15
vilaisn't that lovely14:16
=== Ursinha is now known as Ursinha-afk
vilaright, so, I'd add some prints for each hook call and each get_transport call14:18
mgzhttp://paste.ubuntu.com/513856/ <- hook does work for some tests14:18
=== Ursinha-afk is now known as Ursinha
mgzbut clearly not all of 'em...14:19
vilasome transports are used internally during setup, I fail to see why they can escape the hook nor why they could lead to hand...except if they are the ones hanging the *server* may be14:19
mgzthat was my thought.14:19
vilaha, got a theory14:20
vilathe hook fires later so the disconnect happens... sooner ? meh, doesn't fly :)14:20
vilaha, no, the disconnect happen at different times, so *new* causes lead to hangs14:21
vilahmm, still no godd14:21
mgzI'll add some printing to my old hack so we can see where that's called in the test.14:22
vilafirst, let's make sure no transport escape the hook, then we can think about why disconnect fails to address the hangs14:22
vilaright, got it14:23
mgz...it is the server.14:24
mgzdespite the fact it's client threads leaking.14:24
vilaI think the server cleanup and the transport cleanup are not registered in the same order as with the hack14:24
mgzwell, the server gets registered with the hack, but the hook never fires14:24
vilaright, because we are shutting down the server before trying to disconnect14:25
vilawhich is weird14:25
mgzhttp://paste.ubuntu.com/513866/ <- with the hack, disconnect gets queued14:26
mgzhttp://paste.ubuntu.com/513854/ <- there's no "hook" line printed here at all.14:26
mgzso disconnect will never be called.14:26
vilabut did the transport connected ?14:28
mgzpresumably, the test passes. I've not traced through yet to work out why the hook doesn't fire.14:29
vilamgz: 'Client thread' may be misleading here, all threads are for the server, one for the listen, the others for the accept14:30
vilayeah, one print for get_transport, one print for set_connection (or transport.connect), one print in the hook14:31
mgzseems RemoteTransport doesn't call _set_transport14:35
mgz*_set_connection14:36
vilabecause it delegates to the... what's the attribute name14:36
mgz_shared_connection ?14:38
vilaRemoteHTTPTransport delegates to _http_transport, should be fine14:39
vilaRemoteSSHTransport... is unclear, which kind is involved for you ?14:40
mgzRemoteTCPTransport14:41
vilaha14:41
mgzso, we want to do something with the _build_medium methods?14:41
mgztrying to work out the prettiest way to sort this out with the various transport classes doing rather different things14:43
vilamgz: right, you've put your finger in the hole between remote transport and all the others: _set_connection is not used14:44
vilaso, from memory, spiv said the medium is the connection so _set_connection wasn't making sense or something14:44
vilathis may mean you need to call the hook in a different place14:45
vilaan additional different place14:45
vilawll, it's that or force the _set_connection call even with no credentials14:46
vilasee comment in remote.py:136  The medium is analogous to the connection for ConnectedTransport: it14:46
vila        allows connection sharing.14:46
vilaha, I forgot those ones, see also get_smart_client() and get_smart_medium()14:47
vilaI'm pretty sure we can deprecate get_smart_client though, will need to check with spiv14:48
mgzscattering the hook around more places does make the tests happy again14:49
vilahow many more ?14:50
mgzwell, currently inside some _build_medium methods, I've done a full test run to see if that covers everything the get_transport hack did, but it looks good so far14:51
vilaso, I'm not sure _build_medium is called on reconnects14:54
mgzalternatively inside the `if medium is None` block in RemoteTransport.__init__ but not sure that's the right interaction either14:54
vilabut I'm not sure either that the remore transports handle reconnects :)14:54
mgz...I think I'll push that, it seems right-ish for TCP and HTTP (which overrides __init__) so it's probably worth a run14:56
vilamgz: so a better place would be in smart/medium.py but do we have access to the transport hooks there...14:56
mgznot as a transport hook, no.14:57
vilaat least that's where disconnect() and _ensure_connection() are defined14:57
mgzthe medium gets passed the details from the transport instance, but not the instance itself14:58
mgzokay vila, I've pushed that. can I have another babune windows run to check that was the only missing element.15:01
mgzwe can discuss in the mp if we want a different hook approach, per transport rather than per connection/medium does have some downsides.15:02
vilathe one we need here is clearly per connection15:02
vilait may make sense to have one for the transports and one for the remote transport15:03
vilaif only to avoid to fire twice for RemoteHttpTransport15:03
vilaideally the should be one Connection object that can be inherited for this and some other attributes15:04
vilas/the/there/15:04
mgzas pushed, RemoteHTTPTransport correctly only fires once (the hook is in parent __init__ which is upcalled on a path that doesn't re-fire)15:05
mgz...wait, I thought, but maybe not.15:06
mgzit has _http_transport *and* _from_transport, confusing.15:06
vilawhich means it doesn't get called when the underlying http transport reconnect ?15:06
vila_from_transport is for cloning15:07
mgzI was trying to just leave the unlying http transport to hook on _set_connection, and not re-call15:07
vilatransports connects only when needed, you can have multiple clones before the first connection occurs15:07
mgzbut haven't quite done it right.15:07
mgzunlying = underlying, clearly.15:08
vilayup15:08
vilatransport != connection is clearly the issue here15:08
mgznot undying. it's not a zombie transport.15:08
vilaI read it as underlying15:08
mgzor untrying. a lazy transport.15:09
vilaehehe15:09
mgzI'll write some of this up in the mp after I've had some lunch. That, and respond to jam and lifeless in other mps... so much fun, so little time.15:11
vilamgz: right, I'll look there15:12
jamvila: I thought I'd point you to bug #389674, there is a bugfix patch that seems about correct, but will need some lovin to land. I don't know whether the contributor is able to finish off the work, though I only just asked15:31
ubot5Launchpad bug 389674 in Bazaar "NotImplementedError(_PreviewTree.inventory) when unshelving must create the parent directory (affected: 4, heat: 20)" [Medium,Confirmed] https://launchpad.net/bugs/38967415:31
vilajam: I wouldn't dare take credit for a patch you wrote :-P15:34
jamwell, I'm not immediately planning on playing with it, seemed a PP thing to do. But looks like it can wait for now15:35
vilajam: I've subscribed to the bug so it wont fall off my radar, but I'd like to finish my buf 323111 review tweaks and I have to leave early today (as in less than an hour)15:36
jamvila: np, it certainly is the end of the week anyway, just something that caught my eye15:37
vilaubot5: when I mistype buf you're supposed to understand I meant bug15:37
ubot5Error: I am only a bot, please don't think I'm intelligent :)15:37
vilajam: the weird thing is that I seem to recall seeing a mail from you not so long ago with the same kind of patch...15:38
vilaha, maybe the patch was inlined in the mail15:38
jamI just hacked something quickly and pasted it into the bug report15:40
mgzhttp://babune.ladeuil.net:24842/job/selftest-subset-windows/13/ <- worked, 41 mins. so, just need to work out how best to hook and will be sorted.15:47
vilamgz: whereas the karmic run seem to be hanging making me wonder if finally the same bug is not revealing itself on Ubuntu too...15:50
vilanah, autofs4 playing tricks... again :-/15:51
vilaI should really stop mounting file systems in slaves no matter how convenient it seems to be at first15:52
=== deryck is now known as deryck[lunch]
mgzjam: I've updated lp:~gz/bzr/require_unicode_committer_614593 per your review, if you could just double check the change is sane17:42
jammgz: do you have a quick link?17:42
mgzhttps://code.launchpad.net/~gz/bzr/require_unicode_committer_614593/+merge/3833417:43
jammgz: looks good to me17:43
vilamgz: feeling lonely in the review queue ?17:44
mgzyou're still there with me!17:44
mgzack, no, you've just been merged.17:45
mgzdarn...17:45
vilamgz: hehehe17:46
vilais your transport hook mp up-to-date ? A single additional call is enough ?17:46
mgzI've just worked off the rest of my debt and am about to write up the earlier chat in the mp.17:47
mgzThe mp works for stopping leaks currently, but the hook still needs work to be generally useful I think.17:48
mgzs/mp/branch/17:48
vilamgz: that could be a followon submission, stopping leaks properly is significant enough to land asap (needs a NEWS entry, err, release-notes :)17:49
mgzyeah, see my cunning plan in not writing NEWS there?17:49
mgzone fewer merge-from-trunk needed.17:49
vilayeah, add some kind of epic fail myself regarding doc, so don't expect me to look elsewhere :)17:50
mgzoh, one other thing from that mp.17:50
mgzyou say in the first comment "Don't forget the hooks-help.txt file."17:51
vilaif you haven't done it yet, I *urge* you to merge from trunk, there is HUGE probability that pqm will fail with conflicts otherwise17:51
mgzwhere is this, and what needs not forgetting about it?17:51
mgz^I will still need one nightmare merge from trunk, clearly17:51
mgzwith luck it won't even be than bad a dream.17:52
vilamgz: cleanup your doc/en/release-notes dir first if you ever generate the doc17:52
viladoc/en/user-reference/hooks-help.txt17:53
vilaall hooks are documented there AFAIK17:53
mgz...is auto generated?17:53
mgzI don't have such a file in a clean tree.17:54
vilacould be :)17:54
mgzgood good, one less thing to worry about.17:54
vilameh, I have both a hooks.txt and a hooks-help.txt... what a mess17:55
vilaok, bzr ls -V | grep hook gives an empty output, so definitely generated from the docstring :)17:57
vilaright, so calling from RemoteTransport.__init__ is probably wrong as no connection has occurred yet... Moreover there is a FIXME about medium being a private parameter for tests only18:00
vila:-/18:00
vilamgz: I don't know what to say... my feeling is that we should just file a bug asking for some sort of re-design as this is getting out of scope for the fix you had in mind which is good-enough here since I'm pretty sure a medium never re-connect18:03
vilamgz: I'd approve your actual proposal with a FIXME above the remote hook call explaining that it's called once per connection but *before* the connection occurs and mentioning the lack of _set_connection call (which *becomes* an issue now)18:06
vilamgz: unless you have a better idea to differ the hook call in medium._ensure_connection18:07
mgzsure but a hook is a public thing so we don't want to land anything too screwy. it's the weekend now, so can leave deciding anything for now18:07
mgzbut can probably come up with something a little cleverer than the current that still works for leak squashing.18:07
vilaone solution would be to have another hook for transport *creation* and have the post_connect covers the reconnect case and make the tests set both18:09
vilasince disconnect() can be called multiple times, that should work18:09
vilabut there will still be a bug in the post_connect hook if it can't be implement for smart transports18:10
mgzhm, looking at the commit builder code, I'm having third thoughts about the require_unicode_committer change too18:13
mgzthere's no point doing a per_repo test for something we're throwing on in __init__ I bet.18:15
mgzand there's a _validate_unicode_text method I could have used but... it doesn't actually... do that18:15
mgzso rev props, message, and all the other text is probably also vulnerable18:15
mgz...I'll get my lonely mps done in the end!18:16
vilayeah, if a losa can upgrade testtools on pqm we may even empty the queue ! Two records in the same week !! The biggest diff and the smaller queue !!!!!1111!!18:17
vilaat that point, I think I should stop working and start drinking for good :)18:17
mgzright. :)18:18
vilamgz: you haven't feed-pqm'd https://code.edge.launchpad.net/~gz/bzr/require_unicode_committer_614593/+merge/38334, want me to do it ?18:32
mgzno, see my rethink just ^ up there about whether it's exactly right.18:35
vilamgz: land this one and make a new one then or at least land the minimum before working on the next, less job for the reviewer and for you18:36
vilas/job/work/18:36
vilabah, the two can be said with the same word in french ;)18:37
mgzat the least I think I should probably move the test from bt.per_repository.test_commit_builder to somewhere like bt.test_repository.TestCommitBuilder as the test never gets as far as building a real repo now18:37
mgzmaking the other params more robust against bad input should probably be another mp though.18:37
vilayup18:37
vilaand you may encounter other problems, so better land the bug fix and file other bugs18:38
vilathis can also help people if they encounter a slightly different bug and don't consider the one you have fixed18:39
vilaok, I'm off, have a nice evening, week-end all !18:39
mgzhm, maybe the test is okay where it is, there are multiple commit builder classes, just seems wasteful.18:40
mgzbye vila!18:40
=== deryck[lunch] is now known as deryck
txdv_fucking shit, why does bzr log the nick of the branch19:39
txdv_is there any way to change it?19:39
txdv_i want to change the branch nick in the last 5 commits19:40
LeoNerdIt's recorded in the revision metadata. So, no.19:40
txdv_that fucking sucks19:40
txdv_why should someone use bzr at all it can't even handle stuff like that19:41
LeoNerdYou could rewrite it somehow, but then that's done by creating new revisions, so you'll break anyone else who's seen it up to that point...19:41
txdv_nobody has seen it19:41
LeoNerdWell.. what you're describing is called Rewriting History.19:41
LeoNerdAh, well.. then rewrite it then :)19:41
txdv_and how do i do it? :/19:41
LeoNerdOffhand, I'm not sure. Perhaps someone else in here knows. Likely some variant on  bzr rewrite19:42
txdv_i was so fucking pissed of my assignment that i named the branch penis19:42
txdv_;(19:43
LeoNerdHeh.. Yes.. it is a little nonobvious that the directory's basename gets recorded...19:43
txdv_i like the concept of branches in git better19:43
txdv_a branch in bzr is the directory name19:43
txdv_...19:44
LeoNerdWell.. bzr tries to be fairly minimal in this regard. People already understand directories on disks... so we'll just store one branch per dir. People already know how that works.19:44
LeoNerdTrying to put multiple independent branches in one directory just adds complexity to the model for no real benefit.19:45
txdv_checking out a branch in git is faster19:45
txdv_branching is faster19:45
txdv_especially if they differ just by a small n of commits19:46
LeoNerdHrm?19:46
LeoNerdbzr can share commit information just fine...19:46
LeoNerdI do that all the time. :)19:46
LeoNerdI have the actual commits stored in /var/bzr/leo/ itself, and all the individual branches live at e.g. /var/bzr/leo/perl/Foo-Bar.CRAZYFEATURE19:47
LeoNerdCreating a branch just creates the initial container and says "OK this is a branch of that revision".. small constant data; the actual revisions are stored in the repo19:48
txdv_now rebase is not even at the pc at my work19:55
txdv_in other words it's not even in the default package19:55
txdv_im in a world of pain19:57
LeoNerdIf you can't install it on that machine, you could run it someplace you can install, and push it across...19:58
LeoNerdE.g. a home machine or whatever..19:58
txdv_i bad to copy 200mb20:02
txdv_that's not the problem20:02
txdv_renaming those branches is20:02
txdv_rebase doesnt work20:03
AfChuh?20:03
txdv_im using it wrong20:03
AfC$ mv before after20:03
AfCBranch renamed.20:03
txdv_and what about the history20:04
txdv_i already made 5 commits and i want to rename the BRANCH NAME in the HISTORY20:04
AfCoh, that's fixed20:04
AfC{shrug}20:04
AfCmost of us have learned to ignore that20:04
txdv_a collective mind of bzr users?20:05
txdv_or what do you refer to with 'most of us'? xD20:05
AfCmost of us who long ago decided that "feature", as implemented, was completely useless, and so learned to ignore it on the rare occasions we do `bzr log --format=long`20:06
AfC(this one is in the same general category as wanting to be able to "fix" commit messages after the fact. The idea is to make a change, but record somewhere in the meta data that such a change was made [ie layered on top].20:07
AfCThis seems agreed as the right thing to do, but for reasons I can't quite make sense of, it hasn't been done yet.20:08
AfCI suspect the real reason is that the core developers of Bazaar a) write pithy thin commit messages they don't care about fixing, and b) likewise ignore the "branch nick" field.20:08
AfCSo, {shrug} fair enough, it hasn't been acted on by anyone as yet)20:09
txdv_ill just stick to the branch name penis then20:10
txdv_and push it at my work20:11
AfCWell, if you used that, then it's your own damn fault I should think20:11
txdv_yeah20:11
txdv_obviously a feature missing20:11
txdv_it's my god damn fault20:11
txdv_it surely is, i started using bzr20:12
AfCOr, as you've already mentioned, use the rebase plugin.20:12
AfC{shrug}20:12
AfCyou have options.20:12
LeoNerdTo be honest, I'd say it's a mistake to store that branch nick in the first place. It adds nothing to meaning, and isn't really interesting...20:12
LeoNerdI know of no interesting use to try to read it.20:12
AfCLeoNerd: yeah, it's a bit of a professionalism failure there, I'd say20:12
LeoNerdAnyway. Lunchtime.20:12
txdv_omg bzr is starting to piss me off massively20:40
txdv_change is in the log of the last revision, diff doesn't show any changes, though the change is not in the working directory20:40
AfCtxdv_: $ bzr diff -r -1..20:49
jamtxdv_: I would have said "bzr diff -r -2..-1" but I'm not sure what you are trying to look at20:50
txdv_i guess a bzr update did it20:52
AfCjam: of course (just realized what I'd typed, thanks)20:53

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