/srv/irclogs.ubuntu.com/2011/04/12/#bzr.txt

pooliethat makes sense to me00:00
poolieunder /srv or something?00:00
bradmyeah, /srv/pqm.ubuntu.com/chroot-pqm-bzr-amd64-lucid00:01
bradmpoolie: okey, all changed.00:03
pooliethanks, we can call that ticket done then if you like00:03
pooliei don't know if it's easy for you to then do 42500(?) about the dchroot warnings, or if that's with someone else00:04
bradmpoolie: did you want to leave the old chroot hanging around until the end of the week?00:04
poolieif that's not too much trouble00:07
bradmnope, thats fine, I'll just reply to the ticket saying its all done bar the shouting^Wremoval, and close it off after I get rid of it on Friday after checking with you00:08
poolieyou could even lodge an at job now00:09
pooliethough i would find an at job doing 'rm -rf' a little scary to set up myself :)00:09
poolieah, and of course it will need care if anything is bind mounted00:10
bradmpoolie: yeah.00:11
pooliebrb, rebooting natty00:11
=== Ursinha-afk is now known as Ursinha
vilapoolie: passing around, but there was a problem with pqm, see https://code.launchpad.net/~jelmer/bzr/importwarning/+merge/5718400:21
poolieoh hi vila00:23
pooliethanks for pointing that out00:23
poolievila, i had inferred that this was just a change due to moving from 2.4 to 2.600:25
pooliethat it now raises a warning rather than an error00:25
pooliedoes the patch fix it?00:25
vilayes, at least it landed, I'm surprised we never encounter it though, so I wonder if there isn't something weird in the pqm setup00:26
poolievila, it may be that pqm runs selftest with -Werror and we normally don't?00:27
poolieor i normally don't00:27
poolieor actually does selftest turn that on itself?00:27
vilaIIRC all branches are configured independently and each one specify PYTHON=python2.4, so I don't know if only trunk were updated for that or all other branches too (well at least the ones we still need: 2.3, 2.2, 2.1 may be not 2.0)00:27
vilaha right, yeah good point00:27
vilatsk, I even mentioned to jelmer that -Werror may be involved...00:28
pooliebradm, ^^ can you just check we don't have any more PYTHON= things hanging around?00:28
vilaI don't think selftest turns it on, it's make check I think00:28
pooliethat was what i thought, but i'm not sure without checking00:28
* jelmer waves00:30
jelmervila: you're up late :)00:30
bradmpoolie: looking..00:31
vilajelmer: yeah, can't sleep :-/00:31
bradmpoolie: nope, definately no PYTHON= in the bzr-pqm.conf00:31
poolieexcited about your trip?00:31
pooliethanks00:31
poolieor, trying to fix everything in bzr before you go? :)00:31
vilapoolie: hehe, probably hafl excited and half worried about my daughters and half trying to finish fixing the remaining bugs ;)00:44
poolieare they going to be looking after themselves while you're away?00:50
vilayup for roughly a week, after that they'll be with family00:51
vilafirst time I managed to convince Val, so now *I'm* worried ;)00:51
spivGood morning.01:04
* spiv reboots into natty, hopefully01:23
inductiveloadhello! how do i create a patch containing binary files?01:34
inductiveloadi just added some icons to a project, and i'd like to send the changes as a patch, but all it says in the diff is "Binary files ....... and .......... differ"01:37
inductiveloadand when i try to do --format=svn (it's an SVN repo i want to contribute a patch to), it complains about it being a binary file01:44
spivinductiveload: the patch format doesn't support binary files.01:48
spivinductiveload: bzr's native merge directives support them01:48
spivinductiveload: but I don't know that SVN has a builtin tool to consume patches to binary files.01:48
inductiveloadok01:48
spiv(If it does, then it'd probably be a bug in the bzr-svn plugin if --format=svn doesn't emit that)01:49
inductiveloadthen what would be the "right" way for me to hack on an SVN project and submit a patch (or patch-like sometihng) that can be used to apply my changes?01:49
inductiveloadi've only ever submitted normal diffs to things before, and never a binary file01:50
idnarfavourite command-line of the day: bzr missing --mine-only --include-merges :parent01:53
mDuffinductiveload, ...well, there's xdelta, but the real issue is that there _isn't_ any format which will show the differences between two binary files in a human-readable and mergable way, and at that point you might as well just submit the whole new file unless it's a size/bandwidth constraint.01:53
mDuff(err, maybe it's xxdelta)01:53
inductiveloadright, so i just have to send an archive with the image folder saying "paste this into the root directory"?01:55
inductiveloadthere's no size or bandwidth problem, it's just that I thought there'd be a way to pass over a single file holding all the changes i'd made01:56
idnarfor binary files, svn diff just says "Cannot display: file marked as a binary type."01:56
idnarand I don't think svn has a command for *applying* patches at all?01:58
inductiveloadi have no clue, i've never used svn, that's why i'm using bzr01:58
inductiveloadbut the sourceforge repo is SVN, so how do i get my change across, short of tarring the whole damn thing, and letting them make a diff?01:59
spivinductiveload: ask the developers how they'd like to receive changes02:00
inductiveloadok, i tohught there would be an "easy" way to do it ;-)02:00
spivinductiveload: or e.g. send them the xxdelta, but also explicitly say "if you'd prefer this in another format, just let me know"02:00
spivNot that I know of, unfortunately.  But talking to people is usually not *too* hard ;)02:01
inductiveload:-p ack....interaction....02:01
pooliehi there spiv02:22
pooliespiv i'm going screen and un-hide the ubuntu bzr bugs02:23
inductiveloadspiv and co, thank you for you help02:27
spivpoolie: sounds good.02:27
spivinductiveload: you're welcome.02:27
inductiveloadand thanks for making bzr - it's great!02:27
spivpoolie: I've been spending the morning mainly getting used to natty & unity, and about to dive back into that pack retry bug02:29
spiv(I'm going to have to retrain my fingers a bit; I used to use Super-<num> to switch workspaces…)02:30
poolieok02:36
pooliehow's hamster?02:36
=== Ursinha is now known as Ursinha-afk
=== r0bby is now known as robbyoconnor
=== Ursinha-afk is now known as Ursinha
vilapoolie: almost there ;) For hamster on natty, Alberto Milone started a project to put hamster into the indicator area: http://albertomilone.com/wordpress/?p=50206:51
pooliespiv, well, i hit some more natty bugs including the rather amusing 75833506:51
pooliebut now, for sure, bug re-publicizing06:52
pooliehi vila06:52
pooliethat sounds good06:52
vilapoolie: I didn't found the time to test it yet, only looked at the code which seems simple enough06:52
=== r0bby is now known as robbyoconnor
pooliei was thinking about puttting it into couch so it would sync across machines06:52
pooliethere may be easier ways06:52
vilapoolie: hehe was about to mention my trick06:53
thomihi - I'm wondering if it's a bug that 'bzr qlog' shows revision numbers starting at 1 and 'bzr log --line' shows them starting at 0? It's really confusing when 'bzr revno' doesn't show the same number as 'bzr qlog'.06:53
thomiis this worth reporting? It seems like something you probably already know about...?06:53
vilapoolie: there is a single file you can copy across hosts (~/.local/share/hamster-apple/hamster.db)06:54
vilapoolie: I have tested that it can be copied while no activity is tracked06:54
pooliethat's true06:55
pooliemaybe i should just do that06:55
pooliethomi, bzr log --line really shows a revision 0?06:55
vilagood enough for me, I never track two activities at once06:55
poolieplease do file if so06:55
thomipoolie: pretty sure....I'll double check thanks06:58
poolievila, i was a bit concerned it would touch the file even if nothing's being tracked06:59
poolieprobably unlikely06:59
vilapoolie: it seems to update it only when needed07:02
vilahehe, probably too vague a description :-)07:02
spivthomi: interesting, is the very first revision a merge perhaps?07:03
vilabut I did some copys back and forth across several dats07:03
thomispiv: possibly - I just noticed that it doesn't happen to all branches - but I have access to the branch where I noticed the issue07:03
thomierr, how would I tell? in qlog it doesn't show as a merge...07:04
thomiunfortunately I cannot make the branch public, it's not open source code :(07:05
spivOh wow, doing a merge in the initial rev gives some screwed up results!07:05
spivrevno -174 anyone?07:05
poolie_spiv, there might already be a bug for that07:06
spivYeah, I think so too, this looks familiar07:06
thomioooh - if I do 'bzr log --include-merges' the numbering becomes identical to what qlog reports07:07
spiv'bzr init foo; cd foo; bzr merge $otherbranch; bzr ci' makes a branch with broken revision-info according to 'bzr check'07:07
thominice...07:08
spivthomi: what does 'bzr check --branch' report for your branch?07:09
spivpoolie_, thomi: bug 52274007:09
ubot5Launchpad bug 522740 in Bazaar "Merging a branch into empty branch shows negative revision numbers in bzr log" [Low,Confirmed] https://launchpad.net/bugs/52274007:09
poolie_yup; probably should bump that up to at least medium07:10
thomifound error:Internal check failed: revno does not match len(mainline) 15 != 1607:12
thomiso, is there an easy way to "fix" my branch?07:15
spivthomi: bzr reconcile07:19
thomicool - that works a treat, thanks07:24
=== psynaptic|away is now known as psynaptic
vilahi all ! Last run ;)07:36
poolie_so what's up for the last day of school?07:38
vilapoolie_: addressing some FIXMEs in my config proposals, mostly related to tests07:41
vilapoolie_: I came across them yesterday trying to implement the current locking scheme, hmm, more like option life cycle scheme instead07:42
vilathe later should just be to save on every modification, but testing that was... messy, so I stepped back07:43
vilathe "bug" is that from_string can't be easily re-used for all stores as it requires handling the same parameters as __init__07:44
vilathat's wrong07:44
vilamainly because it makes creating in-memory config objects far too hard07:44
vilaso I will allow load_from_string instead, targeted at tests only (AFAICS) as it makes no sense for code to inject a bunch of new options without going thru the "regular" API07:46
poolie_sorry, i didn't get to read them last ight07:46
vilano worries07:46
vilayou'll have two weeks ;)07:46
=== poolie_ is now known as poolie
vilabut if I can leave you a cleaner place, you should enjoy playing with it a bit more ;)07:47
vilaalso, loading from a string *is* wrong if the store is already loaded (unless you're testing a particular case and knows what you're doing)07:49
vilaI'm not quite sure if I should leave such a method in the public API or only hack it from tests (test code in production is bad) but I'll start with the former anyway07:50
=== Ursinha is now known as Ursinha-afk
pooliesorry i didn't look closely enough to say08:40
poolievila bug 712775 may be of interest?08:41
ubot5Launchpad bug 712775 in bzr (Ubuntu) "bzr crashed with InvalidEntryName in __init__(): Invalid entry name: bindings/Makefile.in" [Undecided,Confirmed] https://launchpad.net/bugs/71277508:41
vilapoolie: 85% sure it's a dupe and fixed in later releases08:42
poolie:)08:43
pooliehooray08:43
vilabumping to 95%, the bug was due to my misunderstanding of the tt API, never ever try to use relpaths, always deal with parent_id and basename08:44
vila:)08:44
vilaghaaaaaaa08:45
vilaone more VM dying under my crying eyes :(08:45
fullermdDon't cry.  It makes VB sad, that's why it's crashing.08:46
* vila disables karmic again, as silly as it seems, the huge number of spurious failures these last days *always* included it08:47
vilaon the positive side, upgrading the natty vm *today* allowed unity to start for the second time (since I started tracking it)08:48
=== Ursinha-afk is now known as Ursinha
maxbhmm. natty09:30
maxbI wonder when I should dare upgrade my main machine09:30
vilamaxb: AIUI, one of the main risks is the graphic card (any card less than 5 years should be supported though)09:34
vilamaxb: I had 3 tests setups: vbox, kvm, an apple laptop, all 3 works today but only the later has been working for a couple of weeks now09:36
maxbMy laptop's under a year old, so I should be fine09:38
vilamaxb: there is a live CD that should allow you to test it without installing too09:42
vilamaxb: another important risk is that the UI is quite different so if you customized your setup you'll probably have to find alternatives09:43
vilafor values of setup including mainly the desktop/wm that is09:44
spivI just started using natty today.  I haven't found the transition too painful.09:47
spivDespite having some custom key shortcuts I've been used to that unity really wants to use for a completely different purpose :)09:47
vilatwo remaining nits: gnome do incremental matching is better than the dash one, no more hamster in the toplevel bar09:48
vilaspiv: yup, Unity stealing my Super key from emacs required some xmodmap trickery and muscle memory re-training09:49
sorenMy major gripe is the globalmenu.09:49
sorenIt really doesn't work very well with focus-follows-mouse.09:50
vilaI love it, one more usable line to display code09:50
sorenI can appreciate more screen real estate for code.09:50
vilasoren: hehe, yeah, same here, one trick is to type Alt first to activate the menus09:50
sorenvila: Oh, that makes them stay?09:51
vilasoren: yeah, if Alt is still available (which isn't my case ;-})09:51
sorenHeh :)09:51
sorenvila: I should try that. I've just disabled the globalmenu proxy thing.09:51
vilaAlt is Meta here09:51
vilasoren: the other trick is to use applications where I *use* the menus in full screen mode (where ffm doesn't really make sense anymore ;)09:52
sorenI have a pretty big monitor. I bought so that I didn't have to make all the windows fullscreen to be usable. :)09:56
* fullermd would be lost without his ffm...09:57
fullermd'course, I don't have to deal with gnomes or "globalmenu"en, whatever that is.09:58
spivsoren: happily I stopped liking focus follows mouse over a decade ago so I don't have that problem :)09:58
sorenfullermd: It's a plugin that takes the menu from your application and puts it at the top of the screen. Whichever window is active is the one whose menu shows at the top.09:59
fullermdHow odd.  That would cover up my xbuffys...10:00
vilafullermd: the twist compared to other global menus implementations is that most of the time the menu isn't shown10:00
=== psynaptic is now known as psynaptic|sick
vilaspiv: well, ffm to me, is a bit like tapping instead of clicking, I just move my mouse where I want the focus, I don't have to clik to confirm10:01
vilaa bit like: 'Are you sure you want to do that ?' , yes, don't ever ask again10:02
fullermdPlus most clicky implementations autoraise the window too.  Blech.10:02
spivvila: you move the mouse to change focus?  How inefficient ;)10:02
fullermd(never mind the poor interaction with the icon manager...)10:02
vilaspiv: hehe, no, I also use other means10:03
fullermdOh, I'm sure he doesn't.  Why bother with the mouse when he can just Ctrl-Meta-Q Hyper-Meta-N Ctrl-Top-Shift-X and *boom*, changed!10:03
* Tak also <3 FFM10:04
vilaspiv: but since I share my keyboard and mouse bewteen two hosts, yes, switching from one to the other still requires moving the mouse10:04
vilatsk tsk, switching from frame to frame and from buffers inside the frame (emacs window) is bind to...10:04
vilaM-TAB, what else ?10:04
vilaeerrrr10:05
vilaCtrl-TAB10:05
fullermdSix of one, half a dozen of the other.  You just mash your hand down on the left side of the keyboard, it'll hit the right keys at some point.10:05
mgzbug 686161 looks like more failing-to-treat-paths-as-unicode fun10:07
ubot5Launchpad bug 686161 in bzr (Ubuntu) "bzr crashed with UnicodeEncodeError in run()" [Undecided,New] https://launchpad.net/bugs/68616110:07
vilaeverybody loves shortcuts, but emacs *itself* only uses Ctrl and Meta, the others are free, I regularly check that I'm not overriding the emacs ones but only defines new ones (including using Hyper since Unity insists on using Super ;)10:07
vilamgz: grr, str(thing)10:08
vilamgz: hello by the way !10:08
mgzhi!10:08
mgzthe Conflict class doesn't even have a __unicode__ method10:09
vilamgz: bah, did that even exist in these days ?10:09
mgzeven though most/all the subclasses need to present paths to the ui10:09
vilayeah...10:15
mgzwonder if I'll have some time this evening to write up some tests for the whole module.10:16
sorenDo you guys have any idea how long it takes to branch lp:linux?10:17
vilamgz: that would be nice10:17
vilasoren: that will heavily depends on your bandwidth/latency, but well, don't expect miracles either10:18
sorenvila: hours? Days?10:18
sorenI'm 25 minutes in now.10:19
mgzright, time to leave10:19
vilasoren: 'bzr info -v lp:linux' should give you an idea10:19
vilamgz: have fun !10:19
jamsoren: Looking at the repo, it is about 500MB, probably less once it is all tightly packed in your local repository.10:24
jamah, missed one, make that 700MB10:24
sorenjam: "bzr branch" says it's copied 557803kB so far. "du linux/.bzr" says 252568. Which one of those must reach ~700MB before I'm done? :)10:30
jamsoren: the first, though it may go up a bit  more that 70010:30
jamI wouldn't expect much more, though.10:31
sorenjam: No problem. I'm just trying to gauge the order of magnitude and whether I want to wait for it.10:31
soren"675747kB   868kB/s / Fetching revisions:Inserting stream:Estimate 1879972/2512932"10:32
pooliehi jam, soren, mgz10:32
pooliemaxb: thanks for all the ppa updates10:32
soreno/10:32
poolieshould we update the topic now?10:32
pooliei think so10:32
=== Topic unset by poolie on #bzr
pooliesheesh10:32
maxbnice topic10:32
maxb:-)10:33
jampoolie: hi10:33
=== maxb changed the topic of #bzr to: Bazaar version control | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv | 2.4b1 is officially out (ppa:bzr/beta needs love)
=== poolie changed the topic of #bzr to: Bazaar version control <http://bazaar.canonical.com> | try https://answers.launchpad.net/bzr for more help | http://irclogs.ubuntu.com/ | Patch pilot: spiv
jampoolie: for bug 758164, if we are printing the filenames, and decoding to unicode, isn't that enough to explain the difference?10:33
ubot5Launchpad bug 758164 in Bazaar "first status after add is slow" [High,Confirmed] https://launchpad.net/bugs/75816410:33
pooliejam, it could very well be10:33
maxbActually, bzr/beta still needs love10:33
jamYour "very different" is 400ms vs 200ms10:33
jamwhich yes, is 2x, but it is also only 200ms10:33
poolieindeed10:33
jampoolie: I know we took pains to *not* decode utf-8 to Unicode for paths that don't appear modified10:34
pooliejam, i was going to profile it and see if anything stuck out10:34
pooliewe almost need 'status -q' :)10:34
jambut if everything is freshly added, we shouldn't be sha1-summing things (that would be more like 30s)10:34
poolieright10:35
poolieso it may be that formatting the file names is slower than it could be10:35
pooliewell, almost certainly it could be made faster10:35
pooliebut i don't know if it sticks out as something especially slow10:35
jampoolie: utf-8 => unicode => utf-810:39
jamwould be something that sticks in my head10:39
jamwe like dealing with unicode in memory, but it does have a fair amount of overheda10:40
jamoverhead10:40
poolieheh10:40
vilahmm, so I have a registry which return classes, but building objects require different parameters, what could be a tasteful way to design the __init__ methods and how could test provide parameters knowing that they'd like to refer to the test instance itself for that ?10:41
vilaexample: a global config doesn't requires at most a transport object but a branch config requires a branch object10:42
jamvila: "doesn't requires at most" ?10:42
vilas/doesn't//10:42
pooliethat's quite a sentence10:43
vilahehe10:43
vilaok, want me to split it ? (the point being that I can imagine solving both points separately but I'm still searching a combination that works well)10:44
pooliei guess generally speaking, provide a method or function that takes only the parameters the callers are likely to care about10:44
vilafor the __init__ ?10:44
poolieperhaps add either an adapter layer, or a separate class method, that will convert to the right constructor call10:44
sorenjam: Hmmmm... "1091782kB   520kB/s / Fetching revisions:Inserting stream:Estimate 1994478/251293210:45
sorenStill ~20% to go.10:45
jamsoren: and "du linux/.bzr" ?10:46
soren333440linux/.bzr10:46
vilaright, but this route leads me to a test that needs to define a method which knows about the specific parameters OR a test method on the config class (bad)10:46
vilahmm10:47
vilaha, right, one test registry where specific adapters can be added10:48
poolieok, i've disposed of about 70% of the ubuntu/bzr stuck bugs10:48
pooliethe rest are now non-private10:48
vila\o/10:48
pooliei had a quick check for anything sensitive10:48
pooliehttps://bugs.launchpad.net/ubuntu/+source/bzr/+bugs?search=Search&field.status=New10:48
pooliemany are dupes10:49
poolieof course10:49
poolieso that's most of what i've been doing10:49
pooliei wrote a little script to put the traceback attachemnte into the description-10:49
vilapoolie: and that's because you can now see the private ones right ? (I ~remember looking at the list but it was quite short)10:49
pooliethat's right10:49
vilagreat10:50
sorenIf I CTRL-C my way out of a "bzr branch"... Can I resume it at a later time?10:52
pooliegood night all10:53
jamsoren: unfortunately, no10:54
jamif you start from scratch, you can do "bzr branch -r XXX; and then bzr pull -r YYY" etc.10:54
jamsoren: btw, do you know if you are going via http or bzr+ssh?10:57
jamjelmer: question for you11:02
jam'92745@138bc75d-0d04-0410-961f-82ee72b054a4:trunk%2Flibstdc%2B%2B-v3%2Ftestsuite%2Ftr1%2F4_metaprogra...'11:02
jamis that a revision id from bzr-svn?11:03
sorenjam: bzr+ssh.11:03
jamIt is measuring ~ 158 characters11:03
jamwhich is a *lot* longer than the standard 60char bzr revid11:03
sorenjam: It has transferred 1.6GB now.11:03
jamsoren, when it finishes, the final transfer amounts should all be in .bzr.log11:04
jamyou're welcome to submit a bug about this. 1.6 seems significantly excessive11:04
jamI have thoughts as to why, but nothing very concrete.11:04
sorenjam: Will do.11:04
sorenjam: bug 75862011:09
ubot5Launchpad bug 758620 in Bazaar "branching transfers excessive amounts of data" [Undecided,New] https://launchpad.net/bugs/75862011:09
vilajam: question for you, I just tried 'bzr branch lp:linux' with bzr.dev and -Dhpss, and after 10 minutes it seems to still be issuing get_parent_map calls *only* alarmingly under-using my bandwidth11:10
vilajam: could that be another fallout from querying tags first ?11:11
jamsoren: if you wait for it to finish, the summary of bytes transferred will be in bzr.log, It would be nice to get that in the bug report as well.11:11
jamvila: into an existing repo, or into a new standalone branch?11:11
vilajam: new repo11:12
vilashared11:12
vilabut empty11:12
sorenjam: I'll do that once it finishes. If the average time per revision transferred holds, it'll be another 11 minutes.11:12
vilaalso, the perfmeter shows little peaks every ~30 seconds...11:12
jamvila: so into a shared-but-empty means we end up walking the whole history to find that you don't have anything we don't need to transfer.11:13
vilajam: as if the smart server was... maybe loading the the ancestry graph to answer each query and being quite slow at that11:13
vila>-/11:13
vilajam: a standalone branch would be better /11:13
vila?11:13
jamvila: we have a special case in place for "target did not exist"11:13
jamwhich is known deficient for "target exists but is empty"11:14
vilaok11:14
jelmerjam: That's a file id from bzr-svn11:14
jamjelmer: k, still really-really big :)11:15
jamI was debugging some loggerhead memory consumption11:15
jamand 6MB for the intern dict ,+ 20MB of interned strings11:15
jelmerjam: It looks like an old style one though, from bzr-svn < 0.611:15
jamjelmer: it is the gcc-linaro repo11:15
jelmerjam: bzr-svn parses the file id at the moment so this is tricky to solve easily11:18
jelmerfrom looking at the code, it could indeed also be a new style file id11:19
jamjelmer: it isn't critical at this point. but it is something that surprised me.11:19
sorenIs there a fast way to create a repository out of this mammoth branch (lp:linux)? I could just "bzr init-repo ." in its parent dir and do a "bzr branch linux linux2", but given the size of this, I was hoping there'd be a simpler way.11:42
sorenErr... Not necessarily simpler, but quicker.11:43
fullermdWell, nothing will be really quicker.  You can use 'reconfigure' to turn the existing branch into one using the shared repo.11:43
fullermdNot necessarily quicker, but simpler   ;)11:43
fullermd('course, a local 'branch' will be a putz of a lot quicker than going across the network, so it would certainly be 'quicker' in that sense)11:44
sorenI did it a couple of hours ago with lp:launchpad. It wasn't much faster than the initial bzr branch lp:launchpad, actually.11:45
sorenfullermd: bzr reconfigure --use-shared ?11:45
fullermdSounds like it, yah.11:45
* soren awaits11:46
sorenOh, lunch!11:46
jamsoren: touch .bzr/repository/shared-storage11:46
jamit is now a shared repository11:46
sorenjam:  So to make other branches share its data, I have to... what?11:47
jamsoren: create them underneath that dir11:47
sorenOh.11:47
sorenWhat about its existing working dir?11:47
jamsoren: if you really want to relocate stuff, I would say:11:47
jambzr init-repo ../11:47
jamrm -rf ../.bzr/repository11:47
jammv .bzr/repository ../.bzr11:47
sorenWicked.11:48
sorenCan I safely kill a "bzr reconfigure --use-shared11:48
soren"?11:48
jamsoren: I think so11:48
jamI'm pretty sure it just does a fetch11:48
* soren takes a chance11:48
sorenAwesomesauce. Looks to have worked.11:49
* jelmer is off to the dentist, back in ~1.5 hours or so11:51
sorenbzr actually just committed a changed file faster than git.11:52
cheaterhey guys11:56
cheaterif i make a cvs, svn or git checkout inside my bzr checkout - how do i make bzr not treat it with imports and all that stuff, just ignore the metadata?11:57
LeoNerdI believe bzr by default will ignore metadata from most other VCSes11:57
LeoNerdI've run mixed bzr + svn checkouts before11:57
cheaternah i did svn i think and it did that11:57
cheateri had to rm -rf all .svn dirs11:58
LeoNerdBoth bzr and svn have the ability to ignore files based on wildcard matches11:58
cheateris that the way to do it then?11:58
LeoNerdbzr ignore .svn;  svn setprop svn:ignore .bzr11:58
cheateror is it possible to turn off this importing stuff?11:58
PengI don't know if that would prevent bzr-svn from noticing the .svn dirs, though...11:58
LeoNerdAhhh... That's an interesting one. Yes, you would have to disable the bzr-svn plugin11:58
LeoNerd(or uninstall it or something)11:58
cheatereven if the dirs are ignored?11:59
cheaterok i am now going to make a git checkout (ok clone) and will need bzr not to get confused by that11:59
LeoNerdbzr ignore .git11:59
LeoNerdWhich I suspect it'll do by default11:59
cheateryeah but then i get bzr-git or something like that12:00
cheaterand it will go crazy, no?12:00
LeoNerdHmm.. I'm not sure12:00
cheatersame situation as peng mentioned12:00
vilahmm hmm, I think foreign plugins detect the dor dirs before even thinking about .bzrignore12:00
LeoNerdWithout plugins, a mixed bzr+git checkout should be fine12:00
cheaterwhat do you think Peng? what will happen?12:00
LeoNerdI'm not sure how the bzr-git plugin will react in the presence of both sets of metadata12:00
cheateri hadn't installed any extra plugins but i don't know what is installed by default12:00
cheaterhow do you find out what plugins are installed?12:01
LeoNerdIdeally, it'd be nice if you could disable plugins on a per-workdir basis12:01
* Peng shrugs12:01
Pengcheater: "bzr plugins"12:01
LeoNerdSo just configure "Oi; bzr-svn, not now please"12:01
vilabut the foreign plugins are also intended to allow you to interact with foreign repos, not mix things into your working tree12:01
cheaterhmm i did "bzr help topics" and "plugins" was not listed as a command12:01
cheateroh it's in "bzr help commands"12:02
LeoNerdhelp topics  just lists a few more things you might want to ask for help about;  help commands  lists all the commands12:02
cheaterthanks12:07
jamcheater: I would expect bzr-git to work fine with .git and .bzr in the same dir, because .bzr is probed first12:15
jamhowever12:15
jambzr-svn and bzr-hg both put their probers before bzr12:16
jamAIUI12:16
jamand with bzr-svn if you were in a subdir, bzr wouldn't see the .bzr in the parent dir before bzr-svn saw .svn in the current dir12:16
cheaterjam: my problem is that i don't want bzr-git to work at all12:20
jamcheater: then why have it installed?12:20
cheaterjam: i don't want any git integration stuff or anything, i just want it to be normal files to bzr12:20
cheaterjam: i guess i don't have it installe12:21
cheaterd12:21
jamYou can set "BZR_DISABLE_PLUGINS=git" I believe if you ever do have to have it installed but not working.12:21
cheaterthanks12:21
LeoNerdAhhh cute12:21
jamcheater: you can do similar things with bzr-svn, etc "BZR_DISABLE_PLUGINS=git:svn:..."12:25
cheatercool :)12:26
cheaterthank you jam12:26
vilaaaaargh, noooo not *now*: bzr: ERROR: exceptions.AttributeError: 'LoomMetaTree' object has no attribute 'inventory'12:45
vilajelmer: ^ :-/12:46
vilapfew, reverting to revno 578-0 indeed worked12:48
vilajelmer: I filed bug #75869613:05
ubot5Launchpad bug 758696 in Bazaar "bzr.dev revno 5781 or 5782 broke bzr-loom (needs .inventory)" [High,Confirmed] https://launchpad.net/bugs/75869613:05
jelmerre13:11
jelmervila: thanks, I'll have a stab at that bug13:11
jelmerjam: bzr-git, bzr-svn and bzr-hg all insert themselves before the bzr prober for server side things13:12
jelmervila: https://code.launchpad.net/~jelmer/bzr-loom/inventorytree/+merge/5731113:18
vilajelmer: and compatible, rock&roll ! Well done13:19
* vila hot bugs are always easier to fix...13:19
vilajelmer: approved13:20
jelmervila: Thanks :)13:20
mok0When I am done with a branch in a shared repo, I usually just rm -r the directory. Is there any other way to do it? I am concerned that the data in the shared repo just accumulates this way13:35
beunomok0, not really, those revisions do stay around13:36
mok0beuno: and there's no way to clear it out?13:36
beunonot sure if there's a plugin that will clean out un-referenced revisions13:36
mok0Hm, this source tree is around 75 Mb13:38
mok0So if I get 75Mb of orphaned revisions every time I make a junk branch...13:38
mok0Need I say more? :-)13:39
beunoright, although if it shares any revisions with other branches, it re-uses them, obviously13:39
mok0beuno: ok, so it's not quite as bad... but still, a whole bunch of bookkeeping files I imagine13:40
vilamok0: a single revision use only a fraction of the tree size, so what accumulates is only the set of revisions that are not merged in any other branch13:40
mok0vila: I see, thanks13:41
vilamok0: not a single one, if you rm the branch, the .bzr/branch (which contains the files related to the branch itself) are deleted13:41
vilamok0: only the shared repo is preserved since it's in a parent directory13:41
mok0vila: is that "bzr rm branch" ?13:42
vilahmm, no a regular 'rm -fr', 'bzr rm' is for versioned files13:43
vilaversioned files *inside* a versioned tree that is13:43
mok0vila: ah so it's what I've been doing13:43
vilamok0: yes13:43
mok0vila: yeah bzr rm ... I use that frequently13:43
vilaok, I'm off, time to pack (a bit more than one hour before leaving for... see, sun and fun :)13:44
vilahave fun all !13:44
mok0See you, vila13:45
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
=== Chex_ is now known as Chex
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
TeTeThi, just encountered a problem with bzr on Lucid - a fix might be worth an SRU: http://pastebin.ubuntu.com/593214/17:56
=== beuno-lunch is now known as beuno
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
maxbTeTeT: I believe it's already planned, though the intent is currently to get the in-flight maverick SRU sorted first18:46
TeTeTmaxb: great, thanks!18:47
=== Ursinha is now known as Ursinha-afk
=== deryck[lunch] is now known as deryck
cheaterif i have a bzr checkout, and i do commit --local, what happens?19:44
jelmercheater: the revision only gets committed to your branch, not to the master branch19:45
jelmerso they diverge19:45
cheaterif i later do a successful commit (without --local), will it add all those local commits too?19:55
LeoNerdUseful for offline commits, say, on a laptop19:55
LeoNerdYou won't be able to commit at that point. You'll have to push first.19:56
LeoNerdMy usual workflow is: on laptop (offline), commit --local. When I get home, push. Or if I have some outstanding changes push --no-strict19:56
cheaterLeoNerd: but if i just "commit" i don't need to push, right?19:59
LeoNerdYou won't be able to commit19:59
LeoNerdcommit on a bound branch without --local will -first- try to check upstream. It will then notice the remote branch is not up to date, and refuse to work20:00
LeoNerdTo solve that, you have to commit --local (even though you are now online), then push. push will repopulate the remote branch.20:00
LeoNerdAlternatively, you can immediately push --no-strict, to push the outstanding revisions, ignoring the fact you have local uncommitted changes20:01
=== andreas__ is now known as ahasenack
Jordan_UI'm looking for a good introduction to bzr aimed at a new user, on Windows, that has no concept of what a revision control system is at the moment. Preferably GUI.20:25
jelmerJordan_U: have you seen the desktop guide ? http://doc.bazaar.canonical.com/bzr.dev/en/20:31
Jordan_Ujelmer: I hadn't that looks great (aside from the navigation being a bit non-intuitive).20:35
Jordan_UScratch that last comment about being intuitive, the page hadn't finished loading.20:35
Jordan_Ujelmer: Thanks :)20:43
jelmernp20:46
=== r0bby_ is now known as robbyoconnor
=== jdobrien is now known as webm0nk3y
=== Ursinha-afk is now known as Ursinha
=== psynaptic|sick is now known as psynaptic|away
groo_hi/2 all23:07
groo_ranch imports?23:07
groo_could any kind dev tell me what is the status in supporting git nested trees in branch imports?23:07

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