/srv/irclogs.ubuntu.com/2008/07/22/#bzr.txt

mwhudsonhm00:13
mwhudsonwhy are the only calls to bzrdir.clone() with preserve_stacking=True in the branch_implementations tests?00:14
mwhudsonhm00:14
mwhudsoni guess a branch is certainly involved if there is stacking going on00:14
lifelessmwhudson: push --stacked uses clone, no ?00:19
mwhudsonlifeless: i guess i should have inserted the word 'direct' into my sentence somewhere00:19
spiv"Lightweight checkout (format: dirstate or dirstate-tags or pack-0.92 or rich-root or rich-root-pack)" :)00:19
mwhudsonspiv: and the format is actually development1 ?00:20
spivmwhudson: no, it actually is one of those00:20
mwhudsonok00:20
mwhudsonspiv: https://bugs.edge.launchpad.net/bzr/+bug/25042200:20
ubottuLaunchpad bug 250422 in bzr "pushing over hpss ignores stacking policy" [Undecided,New]00:20
mwhudsonspiv: instant thoughts?00:20
spivmwhudson: "that sounds like a bug"00:24
mwhudsonspiv: i'm glad you think so00:24
spivmwhudson: A -Dhpss trace might be interesting.00:24
spivmwhudson: a wild guess is that RemoteRepository doesn't look at the stacking policy?00:25
lifelessI din't want to invent ftp00:26
lifelessso the client is meant to resolve $shit00:26
mwhudsonspiv: the problem is that i don't know which piece is _supposed_ to look at the stacking policy00:27
mwhudsoni guess i should read through cmd_push00:27
lifelessso I'm thinking for marks00:33
spivmwhudson: me either :)00:39
mwhudsonhmmmm00:41
mwhudsonspiv: the problem seems like it might be RemoteBzrDir.get_config not doing the right thing00:44
spivmwhudson: I can certainly believe that.00:49
mwhudsonspiv: i commented on the report00:49
spivmwhudson: if you implement a "def get_config(self): self._ensure_real(); return self._real_bzrdir.get_config()" does that fix it?00:50
mwhudsonspiv: let's find out00:50
mwhudsonspiv: no00:51
mwhudsonthough, um00:52
mwhudsonspiv: if you add it to the right class, yes, that seems to help00:52
mwhudson:)00:52
spivmwhudson: that's good to know.  Send a patch to the list :)00:54
mwhudsonspiv: where should a test go?00:54
mwhudsoner00:56
mwhudson        config = my_dir.get_config()00:56
mwhudson        if config is None:00:56
mwhudson            self.assertFalse(isinstance(my_dir, bzrdir.BzrDirMeta1))00:56
mwhudson            raise TestNotApplicable(00:56
mwhudson                'This BzrDir format does not support configs.')00:56
* mwhudson objects, furiously00:56
lifelessIsNotInstance ?00:56
lifelesshmm, I want a composer00:56
spivlifeless: I suggest Bach00:57
lifelessEDEAD00:57
lifelessin this regard, I'm a vitalist00:58
mwhudsonso what are BzrDirFormat5 and BzrDirFormat6 ?00:59
lifelessbzr 0.5 and 0.600:59
lifelessthey are all-in-one formats00:59
mwhudsonso caring about them is not at all encouraged?01:01
lifelesswe upgrade from them01:01
lifelessbut clearly they cannot support stacks because their repository is not modular - you can't change the repository logic without stopping it being a bzrdirformat5 or whatever01:02
mwhudsonok cool01:04
lifelessthat test wants a whitelist not a blacklist because of e.g. bzr-svn etc01:05
lifelessits an /interface/ test not an implementation test.01:05
ppireshi :-)01:08
mwhudsonlifeless: whitelist as in "these formats are allowed to not do get_config" ?01:08
lifeless09:56 < mwhudson>             self.assertFalse(isinstance(my_dir, bzrdir.BzrDirMeta1))01:09
lifelessthats a whitelist01:09
lifelessthese formats are required to do it01:09
mwhudsonoh, ok01:09
lifelessppires: hi01:09
lifelessmwhudson: installing bzr-svn won't magically change a static list like that, and it doesn't have a full plain text format01:10
mwhudsonlifeless: right, fair enough01:10
ppiresdo i need bzr installed in order to use something like bzr-eclipse plug-in?01:10
lifelessppires: yes01:11
lifelessppires: there is a faq for installing bzr-eclipse01:11
ppiresyes there is lifeless, but as i'm having some issues with the plug-in itself just wanted to double check. thanks01:12
lifelessVerterok: ^01:12
lifelessVerterok is the author01:12
mwhudsonlifeless: it wasn'01:12
mwhudsont immediately clear to me that bzr-svn's bzrdir should return None from get_config as opposed to a config that had no values set01:13
lifelessmwhudson: I don't actually know what it does offhand :P01:13
mwhudsonthough i guess set_default_stacked_on is part of the config interface...01:13
jelmerlifeless: it returns an object that converts some svn file properties to bzr settings01:17
bob2is it a known bug that merging a bundle based on a revision you don't have causes a traceback (couldn't find it on lp but want to double check).01:17
jelmerin particular the mergeWithUpstream property used by svn-buildpackage, which is convert to the equivalent for bzr-builddeb01:17
mwhudsonhmm01:18
* mwhudson appears to be unable to drive send01:18
jelmermwhudson: why does that matter?01:18
mwhudsonbzr send -o- produces something reasonable01:18
mwhudsonbut 'bzr send' doesn't attach anything to the mail01:19
Verteroklifeless: thanks01:19
mwhudsonjelmer: because of the way the test for bzrdir.get_config() is written01:19
Verterokppires: if you have any issues with the plugin, maybe I can help01:20
lifelessVerterok: I demoed bzr-eclipse at lugradio live too FWIW01:21
Verterokppires: also I'm going to release a new build in the next few days (hope I can get it for tomorrow)01:21
Verteroklifeless: yay! :)01:21
ppireshi Verterok i'm here looking how to install plug-ins. http://bazaar-vcs.org/UsingPlugins is not very clear about it01:22
ppiresi mean, they talk about folders, but not how to install them. should they be compiled somehow?01:22
Verterokppires: which OS?01:23
ppireshttp://bazaar-vcs.org/XMLOutput only offers the source-code.01:23
ppiresLinux, Ubuntu 8.04 to be more precise01:23
Verterokppires: bzr branch lp:bzr-xmloutput/0.4 $HOME/.bazaar/plugins/xmloutput01:24
Verterokppires: that should do the trick :)01:24
mwhudsonis there a convention for including bug numbers in merge requests?01:24
Verterokppires: or you could do a checkout:  bzr co lp:bzr-xmloutput/0.4 $HOME/.bazaar/plugins/xmloutput01:24
ppireslp is a shortcut to launchpad?01:25
spivYep.01:26
ppirescool!01:26
lifelessbye guys01:26
ppiresVerterok: i'm using eclipse ganymede (3.4) and bzreclipse leaves some "unable to staisfy dependency" in the Error log01:27
igcmorning01:28
Verterokppires: I'm not sure if it works with 3.4, let me check (I'm still with 3.3)01:28
Verterokmornin' igc01:29
igchi Verterok01:29
ppiresi cannot reach "Console" and "Decorators" tabs. eclipse complains about invalid values01:30
ppiresbye lifeless and thanks01:30
ppiresmorning igc01:31
Verterokppires: you must configure the location of the bzr executable01:31
Verterokppires: in the "Bazaar" pref. page01:32
* Verterok launching Eclipse 3.401:32
mwhudsonspiv: sent to the list01:32
Verterokppires: I can't even start 3.4 :( (I think I should download the final release :P )01:40
ppiresyou were right Verterok01:40
Verterokppires: it's working? if not, could you pastebin the error?01:41
ppireseheh, i'm running the latest stable release01:41
ppiresVerterok: this is a lamme question, but are Decorators the ability to mark graphically resources like files?01:42
ppiresand folders..01:42
spivmwhudson: thanks01:43
Verterokppires: yes, to show the status of the file/folder/project01:43
ppiresok, i answered this one and i was in doubt. https://bugs.launchpad.net/bzr-eclipse/+bug/16090701:44
ubottuLaunchpad bug 160907 in bzr-eclipse "When creating new classes in Eclipse it would be nice if they were automatically added to bazaar" [Undecided,Incomplete]01:44
ppireswow cool bot!01:45
Verterokppires: right, the files/folders are flagged with the db-like orange icon (like in the CVS plugin)01:46
ppiresnever used cvs. anyway, Verterok does this plug-in support bzr+ssh?01:47
Verterokppires: it should, because it uses bzr to execute the commands01:48
ppiresi'm not used to bzr that's why this may sound a bit confusing to me.01:49
Verterokppires: be carefull with the authentication, check Bug #12193601:49
ubottuLaunchpad bug 121936 in bzr-eclipse "Eclipse hangs in bazaar operations that require user input" [High,Triaged] https://launchpad.net/bugs/12193601:49
ppiresic, tks!01:52
Verterokppires: for workaround until I fix it, look the Authentication section in http://bazaar-vcs.org/BzrEclipse/Installation01:52
ppiresnow i'm going for bed. work tomorrow. tks a lot Verterok! i'll keep in touch ;-)01:52
Verterokppires: np, sleep well, see y'later01:53
* Verterok running out of battery, be back in while01:54
* mwhudson lunches01:56
* beuno dinners02:02
cody-somerville+02:03
* emgent thinking to sleep.02:08
mwhudsonthis is a little surprising: http://pastebin.ubuntu.com/29167/02:40
* mwhudson digs02:58
* spiv -> lunch04:28
* mwhudson is probably done pelting the bazaar list with merge requests now05:00
=== beuno_ is now known as beuno
mwhudsonhuh how bizaare05:47
mwhudsonbeuno: still here?05:48
beunomwhudson, yeap05:48
beunodespite my ISPs attempt to make me got to sleep05:48
mwhudsoni have this pair of branches where merging a into b gives 'nothing to do' and merging b into a gives conflicts05:48
mwhudsonwtf??05:48
=== sdboyer is now known as menu_system
=== menu_system is now known as sdboyer
mwhudsonwhat now?? http://pastebin.ubuntu.com/29210/05:55
mwhudsonwhat now?? http://pastebin.ubuntu.com/29210/05:56
=== beuno_ is now known as beuno
spivmwhudson: that's an unexpected traceback.06:15
mwhudsonyeah06:15
spivIt makes about as little sense to me as it does you :06:15
spiv:)06:15
mwhudsonit happens with the installed 1.6b3, not bzr.dev06:16
mwhudsoni guess it's a circular import06:16
mwhudsonand one of my plugins happens to import branch earlier or something06:17
mwhudsonspiv: does it happen for you?06:17
mwhudsonit's very quick, obviously, before even the check that '.' is a branch06:17
spivmwhudson: nope, but I only have bzr.dev06:18
mwhudsonfair enough06:19
* mwhudson corrects the mail he's about to send from going to Martin Pool to going to Martin Albisetti 06:41
mwhudsonone of you guys has to change his name, i think06:41
spmmwhudson: put forward the request in #canonical-sa's?06:56
mwhudsonspm: maybe06:57
kiorkyjelmer_: https://bugs.launchpad.net/bzr-svn/+bug/25070607:02
ubottuLaunchpad bug 250706 in bzr-svn "branching locally tries to reach forward svn server" [Undecided,New]07:02
jmlI want a programming language / refactoring tool / editor / vcs that understands itself.07:33
jmland a pony.07:33
spivA self-aware pony?07:35
jmlmaybe.07:36
jmlIt's hard to say. I so rarely use ponies to make changes to things.07:37
mwhudsonjml: i'm sure you can still get a LispM from somewhere07:38
jmlmwhudson: do you reckon they'd integrate with my freerunner?07:39
mwhudsonjml: they would probably destroy it quite thoroughly if they fell on it07:39
jmlhaha07:39
jmlfreedom prevails.07:39
mwhudsonmy word, you can still buy genera07:40
mwhudsonor pirate it, apparently: http://www.advogato.org/person/johnw/diary/12.html07:42
* mwhudson wallows in computing nostalgia07:52
jmlmwhudson: heh07:53
mwhudsonon http://en.wikipedia.org/wiki/HyperCard now07:54
jmlmwhudson: so, the thing that provoked this outburst of mine was thinking that I was saying "extract method foo from bar" twice: once in emacs and once in my bzr log07:54
mwhudsonjml: someone has been talking about this sort of thing on the rope-dev mailing list recently i think07:54
jmlmwhudson: glyph mentions this sort of thing from time to time.07:55
jmloh wow. rope isn't brm.07:55
mwhudsonbut he's not been being very clear and i haven't put the effort in to really understand what he's on about07:56
jml*nod*07:56
mwhudsonyeah, rope looks a little interesting07:56
mwhudsonbut, sigh, time07:56
bob2wonder what "Mercurial, GIT and SVN (pysvn library) support in refactorings" means07:56
mwhudsonalso i entirely failed to get ropemacs to work at all last time i used it07:57
=== doko_ is now known as doko
kiorkyjelmer_: for the auth problem, somehow some branch.conf werent wearing the good url, fixing it fixes auth cache.09:58
kiorkyjelmer_: can we use svn urls and rely on svn cache, without having to put url with creds inside ?09:59
kiorkyjelmer_: i mean urls in the branch.conf09:59
poolienight10:23
Peng_Good night.10:25
colbracChanging an unlocked branch through bzrlib doesn't set a lock right? (for example branch.set_push_location(location)). I wonder how bzr-gtk should behave regarding setting and releasing locks on branches. I assume you only read_lock when it takes a little while to read out all the stuff you need and want a consistent set and set a write_lock if you want change stuff that takes a little while, while changing small bits like the mentioned set_defa10:45
colbracult_location() don't need a lock?10:45
colbrac* the mentioned set_push_location()10:46
Peng_Bazaar takes out a write lock for a moment when it renames a modified pack-names into place. It's the right thing to do.11:06
colbracbut fully handled by bzrlib.. I guess bzr-gtk has to be checked that in all cases a lock is set it is released asap.11:21
* Peng_ shrugs.11:22
Peng_I think many operations take out locks themselves and some require you to do it, but I don't know.11:22
PieterDoes Bazaar have something like Git's merge diff view?11:28
Jc2kwhat is special about gits merge diff view o_O11:32
Jc2ki've never seen it11:32
Pieterit shouws two columns of ++'s11:32
Pieteras with http://ss.frim.nl/==814 for example11:39
Jc2kno idea personally11:41
Jc2kis that a gitk feature, or a git feature?11:41
Jc2k(can i do it in a shell)11:41
Pietergit feature11:41
Pietergitk just adds some colors11:42
james_wis that the same as "git diff --cc" ?11:42
Pietermore like -c, I think11:44
Pieterbut it's the same as "git show <merge>"11:44
james_wI don't think we have that, would you care to file a bug?11:44
james_wI think it would be good to have for those that want it.11:45
Pietersure11:45
james_wand if you can explain the use case, rather than just saying that we should clone the git feature that would be appreciated.11:46
Pieterigc: your merge seems fine, and git-bzr still works as first :)11:46
igcPieter: ok, thanks for the test11:47
mwhudsonthere is merge --preview, is that anything like the git feature?11:49
PieterI don't know.. can I use it on an existing merge?11:50
james_wmwhudson: I don't think so.11:51
mwhudsonok11:51
james_wI think the git feature allows you to attribute changes to each side of the merge.11:52
igcnight all11:52
james_wnight igc11:52
Pieterjames_w: #25078312:06
james_wthanks12:06
mark1is anyone familiar enough with http://research.operationaldynamics.com/blogs/andrew/software/version-control/bzr-orthogonal-patches.html to answer a couple of questions related to it?12:24
=== mark1 is now known as markh
Odd_BlokeMoin.12:24
Odd_Blokemarkh: Possibly.  What are the questions? :)12:31
markhthe article mentioned keeping the revision history for the underlying changes as a motivation - but once you get to the end of his article (ie, after the final commit), a "bzr log --long" only shows a single revision for the merge - not the smaller revisions that you merged from the initial tree.12:32
markhso the question is "what am I missing?" :)12:32
markhso the "bundle" and everything else described works as advertised - but the point about the revision history isn't mentioned after the introduction12:33
markhactually, I think I know...12:37
markhI did "bzr merge ..\orig_branch\filename.py"12:37
markhI imagine I needed to do lots of individual "merge -r ..." commands to get what I was after12:37
markhmanually extract them from the log I guess...12:38
Odd_BlokeSo I'm not really familiar enough with the article to help after all.  But you probably do want several 'merge -r's rather than a 'merge <filename>'.12:39
jelmerkiorky: bzr-svn already uses the svn cache but it doesn't write to it12:44
markhactually, it appears I'm missing the point :)  The conclusion says "Contributors meanwhile can create all the private revisions they ever wanted, and don’t have to forecast which are going to be publicly visible and which aren’t. So they can leave off worrying about a proper commit messages, etc, until they actually go to create and submit an orthogonal patch."12:46
markhok, I see where I got confused now :)  The person putting the patch together makes the commits, then sends them upstream - but its still only those explicitly committed in the patch creation process that are included, not all the original checkins that went towards it.12:48
Peng_(Off-topic) This is odd. markh's second-to-last line wraps to three lines, and on the second one, a bit of the blank space just shows whatever was last on the screen. Another blank spot doesn't.12:49
jameshI generally try to keep my branches focused so I don't have to try and reverse engineer a single branch into feature branches12:50
jameshif they are orthogonal, then I can usually work on them independently.  If they are not orthogonal, then the loom plugin can help.12:51
LarstiQoh hey, loom, I forgot that as a solution.12:51
markhyeah, but often working towards one feature means editing 4 files - which logically break down as 2 patches for review12:51
markhthen you have 1 tree, with 4 files with mixed up checkins.  Its seems very hard to create a bundle from just 2 of those files for review12:52
jameshif you do have a single branch and the changes you want to separate are related the loom plugin can still be useful12:52
markha patch is obviously fine, but a bundle seems hard12:52
markhyeah - I'm not familiar with loom yet :(12:52
jameshstart with two threads: the upstream trunk and your combined branch12:53
jameshcreate a thread in between them for the first change, moving the relevant work down from the top thread12:53
jameshthen merge up again (which should be a null merge due to the changes already being present)12:53
jameshrepeat until you're finished and discard the top thread12:53
markhthanks for the tip!  I'll have a read up on it...12:54
Odd_Blokemarkh: Shelve from bzrtools would also allow you to do something like this (shelve one reviewable set of changes, commit, unshelve, commit).12:56
=== serg_ is now known as serg
markhOdd_Bloke: thanks, but I think that might be slightly different - each of the files had already been locally committed many times.  loom sounds like it might be closer (not that I've looked yet...)13:02
markhshelve is closer to mercurials "queues" iirc?13:02
Odd_BlokeI'm not sure, but it does sound like looms would work better for you. :)13:03
LarstiQmarkh: from my understanding, you would do one merge -r range for each range you want to include in the logical patch13:04
Peng_Shelves aren't the same thing as mq.13:04
markhLarstiQ: hi!  and commit each one?13:04
markhbugger :)13:04
Peng_Shelve is just for letting you temporarily remove changes from the working tree, and then put them back.13:05
LarstiQmarkh: you could do that if you wanted that granularity, or just commit one thing if that is ok to you13:05
Peng_You could probably use it as a really poor man's mq, but not very well.13:05
Peng_(Since you can have multiple different shelves.)13:05
bob2what are queues more like then?  looms? branches?13:06
markhwhen I initially read the article, I thought it would bring across each of the initial commits, with their original message.  I now (think I!) understand it only brings across the explicit commits you make in that "cherry-pick" branch.13:06
LarstiQmarkh: say you want to create a bundle to just review a cog change, and have relevant changes in revisions 1, 2, 4, 6 and 7.13:06
LarstiQmarkh: correct.13:06
LarstiQmarkh: well, content changes even, it doesn't bring across revisions.13:07
markhI guess I meant "and commit messages" :)13:07
LarstiQmarkh: untill someone makes it so that cherry picks get recorded fully.13:07
markhI was talking with you about this exact issue at eurocon.  So IIUC, loom is the only reasonable way to magically create a bundle that did include both changes and checkin messages?13:08
LarstiQmarkh: (continueing my example) you would then 'bzr merge -r 1..2; bzr merge --force -r4; bzr merge --force -r6..7; bzr commit' Assuming I'm not off by one, and you want to create one revision. (Depends on how big the changes are I guess)13:08
LarstiQmarkh: ah, if you want to recreate the revisions more or less exactly, I would do 'foreach rev: do bzr merge -rrev; bzr ci -m `bzr log -rrev path/to/orig`; done'13:10
LarstiQin my current knowledge, for that workflow13:10
LarstiQlooms might be better13:10
LarstiQmarkh: not sure if the foreach plugin would help there13:10
markhwould that include the original author of the patch?13:10
LarstiQmarkh: no, it would take as committer whatever is set for the one doing the new commits.13:11
LarstiQcould be done too of course13:11
markhI see a good use case for the bzr-orthogonal-patches.html, but just checking loom is probably the only good solution if I want the "full history"?13:11
LarstiQbut I have to get back to my exercises with ambigous notation :/13:12
markhno probs - thanks!13:12
LarstiQmarkh: the "real" solution is making cherry picks record the fact.13:12
markh(in my case, for my recent patch, bzr-orthogonal-patches.html is actually a better answer - I'm just curious)13:12
LarstiQimo.13:12
markhLarstiQ: right - just making sure I understand things as they are now - its all getting clearer each day :)13:12
LarstiQmarkh: I'm not well versed enough in looms to answer that unfortunately.13:13
LarstiQmarkh: The for loop with the ci -m `bzr log -r` trick is what I practically do right now if I find myself in that situation.13:14
LarstiQmarkh: did I tell you I had gotten python-nautilus running?13:16
LarstiQpygi: you were still going to tell me about Novell's plans on nautilus integration btw.13:16
markhno!  I also found myself cringing at some windows specifics I forgot about when taling to you :(13:16
markhbut I've a really nice tbzr build, with the very nice qt4 based qbzr, and largely working!  But I must go and re-acquaint myself why my girlfriend for a while...13:18
LarstiQmarkh: I really really have to kick myself back to studying now or I'll avoid studying all day long, but I will check back on tortoise status later today, and try to publish something that works with nautilus.13:18
LarstiQmarkh: oooh13:18
LarstiQmarkh: have fun, and I look forward to checking out the qbzr stuff :)13:18
pygiLarstiQ, you must be joking :)13:20
PilkyLooking at qbzr has really made me want to start working on BazaarX again13:40
PilkyI just need to find the time from somewhere13:40
rjekHi.14:33
rjekIs it a bug or an unwarrented expectation of mine that using setup.py to install bzr into ~/opt/bzr-1.5/ yeilds something that won't work because it can't find bzrlib?14:34
rjek(well, it does find bzrlib, just the ancient one that's installed system-wide)14:34
rjekAdditionally, is it the case that the current stable bzr-svn requires a non-stable release of bzr to run?14:39
rjekI ask this question due to receiving this error: bzr: ERROR: Installed bzr version 1.5 is too old to be used with bzr-svn, at least 1.6 required14:39
rjek(I did a lightweight checkout of http://people.samba.org/bzr/jelmer/bzr-svn/stable/ and bzr was obtained from the release tarball)14:39
Odd_Blokerjek: Try prefixing the bzr command with 'PYTHONPATH=~/opt/bzr-1.5/lib/python:$PYTHONPATH'14:40
rjekOdd_Bloke: Sure, I've been informed about that solution.  But as a non-Pyton user who just wants to use bzr (with no regard of what it's written in) I was a bit surprised that it didn't "just work".14:41
Odd_Blokerjek: Well, if you installed anything in a non-standard location, expecting it to 'just work' is optimistic.14:43
rjekNot when there's an install script!14:43
rjekIf all it was doing is just copying files to a directory, what's wrong with the common makefile with an install target?14:44
jelmerrjek: you need a released version of bzr-svn for bzr 1.514:44
rjekI was kinda expecting a tool called "setup" to set it up for use, rather than just copying it somewhere.14:44
Odd_Blokerjek: But you don't want a tool called 'setup' to monkey around with your shell environment, because it will almost certainly do something wrong.14:45
rjekOdd_Bloke: Quite.  However, rewriting a bit of the (trivial) bzr launcher script it puts in bin/ seems like an ideal approach.14:45
rjekIf the setup tool isn't actually going to set it up then, perhaps changing its name to something that doesn't suggest that it will would be wise, to avoid confusion for people like me who have no interest in Python?14:46
radixrjek: wouldn't you expect a command that involved the word "install" (instead of, say, "copy") to actually make it usable in the installed environment?14:46
rjekjelmer: Where can I obtain this from?  The plugins page on bazaar-vcs.org doesn't mention anything other than the stable branch.14:46
radix(i.e., make install)14:46
rjekYes.  And in general, they do.14:46
jelmerrjek: It's on the bzr-svn wiki page, http://bazaar-vcs.org/bzr-svn14:46
radixnot if you specify a prefix like ~/opt/bzr-1.514:47
rjekjelmer: That page doesn't exist.14:47
rjekradix: `./configure --prefix=~/opt/foo && make install` almost always works.14:47
radixrjek: maybe you use a different version of 'make' than I do, but it certainly won't set up my PATH and LD_LIBRARY_PATH on my system14:47
jelmerrjek: sorry, http://bazaar-vcs.org/BzrSvn14:47
rjekI don't understand why "./setup.py install --home ~/opt/foo" should be any different.14:48
rjekradix: I've not suggested that it should.14:48
rjekjelmer: Thanks,14:48
radixIt's _not_ any different from that. you're complaining that it doesn't do _more_ than the usual 'configure; make' dance because it's named differently.14:48
radixat least that's my understanding of what you've been saying.14:48
rjekErm.14:48
rjekI'm saying `./configure --prefix=~/opt/foo && make install` yeilds something that just works, and `./setup.py install --home ~/opt/foo` does not.14:49
radixok, I don't get it. how does that work?14:49
LarstiQradix: rjek's point is rewriting the bzr script at install time.14:50
radixLarstiQ: yes, I understand that feature request14:50
radixbut "./configure; make install" never made that just work for software I've installed14:50
jelmerrjek: "./configure --prefix=~/opt/foo && make install" doesn't work either in a lot of cases14:50
KinnisonFor pure apps it would.14:50
Kinnisonfor apps which contains libraries, it may not14:50
radixheh, "pure". yes, right14:50
Kinnisondepending on what the app does wrt. building hard paths into its link14:50
rjekI can't think of an application I've installed that way that didn't work.14:51
radixso yes, if it's only a binary, and you absolutely specify the binary, it'll run the app14:51
radixrjek: any app which exposes most of its functionality through a library which the main binary links with14:51
radixI've dealt with some recently, actually14:51
rjekI don't give a toss if it exposes a library - I'm wanting to install bzr to use bzr :)14:52
* Odd_Bloke notes that "echo PYTHONPATH=$HOME/opt/foo/lib/python:$PYTHONPATH >> ~/.bashrc" would have been much quicker than this conversation. :)14:52
radixrjek: yes, I understand that, and bzr should be wonderfully awesome and easy to use14:52
KinnisonOdd_Bloke: Not for someone who didn't know how.14:52
rjekradix: Your sarcasm suggests that it's not important for bzr to be easy to use.14:52
* Kinnison thinks that having the setup.py somehow modify the incoming bzr driver script to stuff the right pythonpath on the front wouldn't be *too* hard14:52
radixI also don't give a toss when I'm using an application that has 'configure; make' and it doesn't work, which actually happens14:53
=== sdboyer is now known as sdboyer|at_work
* rjek sighs.14:53
radix:(14:53
* Kinnison looks on, distinctly unimpressed14:53
Kinnisonnever mind, eh?14:53
LarstiQWell, we could have handled that better.14:53
radixyeah, sorry.14:54
radixI'm trying to make amends.14:54
LarstiQradix: thanks.14:54
KinnisonInterestingly we already put this effort in for Windows14:57
Kinnisonwe create a customised bzr.bat14:57
radixok, I think I've proven to him that I'm way more of an ass than anyone else here14:58
Kinnison:-)14:58
radixand, now I'm filing a bug about the problem14:58
Odd_Bloke< ubottu> Launchpad bug 250789 in bzr "radix is an ass" [Undecided, New]14:59
Odd_Bloke^_^14:59
ubottuLaunchpad bug 250789 in bbs2ch "旧仕様の定数値を参照している" [Undecided,New] https://launchpad.net/bugs/25078914:59
radixthat's "radix is an ass" in Japanese15:00
radix"radikusu issu an assu"15:00
radixbug #250826 (or does the bot automatically find new bugs?)15:06
ubottuLaunchpad bug 250826 in bzr "setup.py should rewrite bin script when installed to a non-standard location so it can be run without specifying PYTHONPATH" [Undecided,New] https://launchpad.net/bugs/25082615:06
Peng_Yay, I restarted Loggerhead with only 0.994 seconds of downtime. :)15:31
Stavros_hello15:42
Stavros_i tried to install bzr in freebsd from sources but the command bzr is not found15:43
Stavros_any idea what might be wrong?15:43
Peng_The 'bzr' script isn't in your PATH?15:43
Stavros_this is possible15:43
Stavros_wouldn't the installer do that?15:43
Peng_You did a "setup.py install"? Its output should say where it went.15:44
Stavros_ah15:44
Stavros_hmm, it shows site-packages15:44
Peng_Well, it went in the same directory as "python" is in, unless you told it not to.15:44
Stavros_ah15:45
Peng_Stavros_: That's bzrlib, not the "bzr" script.15:45
Stavros_indeed, i'm looking for the script15:45
Stavros_it turns out that it works in bash15:45
Stavros_thanks15:47
* Kinnison attaches a possible fix bundle to https://bugs.launchpad.net/bzr/+bug/25082615:52
ubottuLaunchpad bug 250826 in bzr "setup.py should rewrite bin script when installed to a non-standard location so it can be run without specifying PYTHONPATH" [Undecided,New]15:52
* Kinnison goes back to work now15:52
jammwhudson: ping16:14
jamrjek, radix, Odd_Bloke: Of course, even easier is to just do16:15
jampy setup.py build_ext -i16:15
jamln -s ~/bin/bzr $PWD/bzr16:15
jamI think I have the order backwards there16:16
jambut you get my idea16:16
jam:)16:16
radixah, because it does the magic when it knows its in a development environment?16:17
jamradix: no because python always imports from the local directory of the script16:18
jamarguably, *python* does the magic16:18
radixyeah, but the bzr script isn't in the same place that bzrlib is, right?16:18
radixor maybe it is16:18
radixI thought it was in a 'bin' or 'scripts' directory or something16:18
radixoh, there it is16:19
Kinnisonjam: But that's not the instructions we specify in INSTALL16:22
* Kinnison has punted a patch to the bug16:22
Kinnisonit's not ideal (lacks NEWS etc) but it does the job I think16:22
jamradix: no, some of the other canonical projects (like PQM) use a 'bin', but bzr does not16:27
jamKinnison: yeah, I commented on it already16:27
radixKinnison: thanks16:27
Kinnisonjam: I wonder where the mail from LP is then :-(16:28
* Kinnison pokes dejectedly at his maildir16:28
jamKinnison: lp delays emails for a few minutes16:30
Kinnisonoh16:30
jambecause sometimes you make multiple changes16:30
jamand it wants to batch them together16:30
Kinnisonfair enough16:32
* Kinnison has responded to your comment anyway16:32
slangaseksupposing I have created a bzr repo using bzr cvsps-import16:33
slangasekand I now want to push the lot to a public server16:33
slangasekwhat's the best way to do that?16:33
slangasek(noting also that this is a live CVS repo, so I don't intend this to be a one-time import; so I need to stow it in such a way that I don't lose any other branches that I add over time)16:38
LarstiQslangasek: does cvsps-import create multiple branches?17:01
slangasekyes17:01
* pickscrape is migrating his IT department from svk to bzr *tonight*17:02
* pickscrape stresses17:03
kiorkyuhm, is that possible to pull changes from smoewhere but without updating the working copy yet, like with hg pull17:05
LarstiQslangasek: the repo-push plugin?17:06
slangasekLarstiQ: well, I think my larger concern is not "how do I push it?", but "how should I lay things out so that the cvsps imported branches co-exist with my bzr-only branches?"17:08
Pilkydo people know that the bzr website seems to be messed up?17:09
jamkiorky: generally no, though if you have a shared repository you can17:10
jamcd ..17:10
jambzr branch OTHER_PERSONS_STUFF17:10
jamand then you'll have it locally but not merged17:10
Pilkyas it seems to be showing a bunch of directories for users rather than the site itself17:10
jamPilky: yeah, the wiki seems to be down17:11
jamI'll ask17:11
LarstiQPilky: hmm, non frontpage still seems to work17:11
pickscrapeDown for me17:12
Pilkyah, back up now17:12
pickscrapeYep17:12
jamyeah, back up now17:12
LarstiQslangasek: I have no cvsps experience, how would they not co-exist?17:13
dashhi. anybody know of a guide for getting started with bzrlib? i'm looking at the api docs now, just wondering if there's some description of good starting points for common tasks17:14
=== splodge2 is now known as splodge
pickscrapedash: this has become my bible: http://bazaar-vcs.org/Integrating_with_Bazaar17:15
dashthanks!17:16
dashthat looks exactly like what I want. :)17:16
pickscrapedash: along with this: http://starship.python.net/crew/mwh/bzrlibapi/moduleIndex.html17:16
pygipickscrape, aha, I found a bug on the page!17:32
* pygi hides17:32
pickscrape:)17:36
pickscrapeI think I was told it was a bit out of date when I was first pointed at it17:36
pickscrapeWhat bug did you find?17:36
pickscrapeI wish it explained more (i.e. something) about locking.17:36
slangasekLarstiQ: cvsps-import creates a "Bazaar-NG meta directory, format 1".  If I add my own branches inside of that tree, will future cvsps-import runs clobber them?  And if I don't, will I have inferior performance?17:37
slangasekif nothing else, I can take the cvsps-imports and stick them in an "upstream" tree on my server, and build a "debian" tree next to it17:38
LarstiQpickscrape: individual functions will try to take out a lock when they need to, but there are cases where it is better to take out a lock yourself.17:41
is_nullhello everybody, is it possible to track a remote subversion repository in a subfolder, and branch it? I'd like to track the framework used in an application and be able to maintain a branch of it17:41
pygipickscrape, a missing ")" :P17:42
LarstiQslangasek: the meta directory doesn't tell me much, but assuming it is a repository you can add your own branches under that, I'm fairly confident to say cvsps-import will not clobber even if I don't know it.17:43
slangasekLarstiQ: ok, guess I'll test :)17:43
LarstiQslangasek: but you could add your own branches under repo/vorlon for example, I doubt it will touch that :)17:43
LarstiQis_null: part of what you want to do sounds like bzr-svn17:44
pickscrapeLarstiQ: yes, I was aware of commands taking the lock themselves. However, I'm not sure sure about what when it is better to do the locking yourself.17:44
slangasekLarstiQ: ok, confirmed that it doesn't clobber it, thanks17:44
is_nullLarstiQ, i've read this: http://bazaar-vcs.org/BzrForeignBranches/Subversion but it doesn't say about tracking *in* a subfolder of the bzr repo17:45
slangasekLarstiQ: now, the question is whether that's the layout I /want/, since everything imported by cvsps-import has rather ugly names, and I'm thinking it might be nice to have that off in its own namespace :)17:45
is_nullnow i've read the faq as well ;)17:46
LarstiQslangasek: right, that might be done by cvsps, no clue :/17:47
slangasek?17:48
LarstiQis_null: well, you would convert the svn branch into a bzr one first, and then track a bzr branch normally (if that worked, sigh)17:48
LarstiQslangasek: bzr cvsps-import --layout-as-i-want17:48
slangasekLarstiQ: er, heh17:48
LarstiQslangasek: you have by far more cvsps knowledge than I by now though, so :)17:49
slangasekLarstiQ: I'm pretty much stuck with the CVS tag and branch names if I want to be able to use it, so I would argue that the ugliness is inherent :)17:49
is_nullLarstiQ, i mean, can bzr track the svn branch in a sub-directory of the bzr repo?17:49
is_nulllike git-submodule (which does not support svn)17:49
slangasekis_null: 'bzr join'17:50
slangasekis_null: I think that's what you're after17:50
slangasekit's good and evil :)17:50
LarstiQis_null: in bzr terms, a repository and a branch are different things.17:50
LarstiQis_null: I don't know what git-submodule does.17:50
LarstiQis_null: but tracking a svn branch by having a bzr branch in a bzr repo is no problem at all, I just think you are using different terminology.17:51
is_nullLarstiQ, bzr repo: /myapp, svn repo: svn://foo, i'd like to track svn://foo in /myapp/framework17:51
LarstiQis_null: is /myapp something you created with 'bzr init-repo'?17:52
is_nullLarstiQ, yes17:52
LarstiQis_null: ok, no problem then.17:52
is_nullnice, thanks17:52
LarstiQwell, at least for the 'tracking in a subdir' part.17:52
LarstiQis_null: it could be svn://foo does really funky stuff and bzr-svn will be need to taught that17:52
LarstiQis_null: but give bzr-svn a try with svn://foo and let us know how it went17:53
is_nullwhat package is bzr-svn part of?17:54
LarstiQis_null: bzr-svn17:54
LarstiQis_null: http://bazaar-vcs.org/BzrForeignBranches/Subversion17:54
is_nullthanks again!17:54
=== abentley1 is now known as abentley
bartt5When using bzr shelve in shell inside Emacs, the carriage-return isn't automatically added when pressing y, n. q, etc18:05
bartt5Does anyone now how to instruct Emacs to add a carriage-return in this case?18:05
is_nullbzr-svn is not up to date with installed bzr version 1.6b3.18:25
is_nullThere should be a newer version of bzr-svn available.18:25
is_nullbzr: ERROR: exceptions.ImportError: cannot import name make_file_knit18:25
is_nullwith bzr and bzr-svn from the gentoo overlay18:26
LarstiQis_null: I think I saw someone mention before that there was something wrong with the gentoo overlay18:26
LarstiQis_null: gentoo aside, I'd either match up bzr 1.5 and bzr-svn 0.4.10 (from memory, the page lists which version match), or go with bzr.dev and lp:bzr-svn/0.418:31
Peng_LarstiQ: You're correct.18:31
Peng_(with those versions)18:31
is_nullok! thanks18:32
is_nullsame problem when trying to run tests: http://nopaste.com/p/a8I2lKBYG18:35
is_nullwith versions dev-util/bzr-1.5, dev-util/bzr-svn-0.4.10, dev-util/bzr-rebase-0.218:36
beunohrm, anyone know why I would be getting this: http://paste.ubuntu.com/29354/18:37
LarstiQis_null: with bzr 1.5 and bzr-svn 0.4.10 you get a message complaining something doesn't match with _1.6b3_ ?18:37
is_nullLarstiQ: http://nopaste.com/p/aghDKt9Mg18:38
beunoI moved around branches inside my shared repo, but I don't see why that would make it explode18:39
LarstiQis_null: that is very weird. bzr-svn 0.4.10 has cache.py with CacheTable right there18:43
LarstiQis_null: can you confirm /usr/lib64/python2.5/site-packages/bzrlib/plugins/svn/cache.py exists?18:44
is_null07bd547b639ef507eb603dc85a342a04  /usr/lib64/python2.5/site-packages/bzrlib/plugins/svn/cache.py18:45
LarstiQis_null: that is correct.18:47
is_nullanything else i can do?18:48
LarstiQis_null: you could run that with BZR_PDB=1 set, only helpful if you know python/pdb18:50
LarstiQis_null: ah, hmm18:51
LarstiQis_null: please do do that, and then type in 'import cache' 'p cache.__path__'18:52
LarstiQis_null: I think I know what the problem is, namely there being a 'cache' module/package on sys.path that bzr-svn isn't expecting there. To be more precise, it is only expecting to be run from a bzr source tree I think.18:54
is_nullLarstiQ, true18:55
is_null/usr/lib64/portage/pym/cache18:55
LarstiQis_null: right18:55
is_nullseems like a minor bug18:55
LarstiQis_null: is this something that the gentoo packaging runs automatically?18:56
is_nullLarstiQ, "this"?18:56
LarstiQis_null: bzr-1.5 selftest svn18:56
LarstiQis_null: or did you run it seperately yourself?18:57
is_nulli do it, but the ebuild can do it as well, i'm not re-installing it each time18:57
is_nullchange from cache to: from bzrlib.plugins.svn.cache import CacheTable now a new problem: http://nopaste.com/p/aaUuwowFob18:58
is_nullthe same problem18:58
LarstiQright, I expect more problems of the same sort18:58
LarstiQis_null: so, two things.18:58
LarstiQis_null: if you are interested in the results of running the tests, I suggest for that to cd to the bzr 1.5 sourcedir, and run ./bzr selftest svn18:59
LarstiQis_null: for the larger problem, I think a bug filed against bzr-svn saying that its importing style is fragile in the face of same named modules on the path is fair.18:59
LarstiQis_null: if you want to attach a patch to that bug, I don't think jelmer will have a problem with that ;)19:00
* LarstiQ is called to dinner.19:00
LarstiQis_null: I'll see how far you are when I get back.19:00
is_nullLarstiQ, thanks a lot for you support!19:00
is_nullnow i have https://bugs.launchpad.net/bugs/246683 :)19:05
ubottuLaunchpad bug 246683 in bzr-svn "Assertion `*path != '/'' failed" [Undecided,Fix committed]19:05
slangasekhum, anyone here know bzr-email?19:06
slangasekmore to the point, does it actually work for anyone?19:07
jelmeris_null: you need a newer version of bzr-svn19:07
jelmerslangasek: yep19:07
jelmerslangasek: what's not working?19:07
slangasek  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/email/smtp_connection.py", line 213, in send_text_and_attachment_email19:07
slangasekjelmer: that19:07
jelmerLarstiQ: the imports have already been fixed in bzr-svn's branch19:07
slangasek    assert isinstance(attachment_text, str)19:07
slangasekAssertionError19:07
jelmerslangasek: can't remember seeing that before; any chance you can file a bug?19:08
slangasekyep19:08
james_wslangasek: running under BZR_PDB=1 and getting type(attachment_text) would be useful19:09
james_wmy guess is unicode19:09
LarstiQjelmer: hmm, but there is no bzr-svn with those fixes compatible with bzr 1.5 is there?19:11
slangasekjelmer, james_w: bug #250901 filed; I'll try with BZR_PDB=1 on my next commit19:13
ubottuLaunchpad bug 250901 in bzr-email "traceback on all commits" [Undecided,New] https://launchpad.net/bugs/25090119:13
jelmerLarstiQ: only the one in Debian has them19:15
jelmerslangasek: thanks19:15
slangasek(Pdb) type(attachment_text)19:15
slangasek<type 'NoneType'>19:15
slangasekjames_w: ^^19:15
slangasekanything else I should check before dropping out of the debugger?19:16
is_nulljelmer, you ad19:16
is_nulljelmer, you advice to use which version of svn, bzr and bzr-svn please?19:16
jambeuno: check your plugins for bug #25051419:17
ubottuLaunchpad bug 250514 in bzr-email "bzr-email fails to send via a gmail tls smtp connection (needs ehlo cmd)" [Undecided,New] https://launchpad.net/bugs/25051419:17
jambeuno: sorry, bug #25089319:17
jam:)19:17
ubottuLaunchpad bug 250893 in bzr "Traceback when moving branches in a shared repo" [High,Incomplete] https://launchpad.net/bugs/25089319:17
jelmeris_null: in general, I would recommend bzr 1.5 and bzr-svn 0.4.1019:17
jambeuno: at least, auditing the code here, everything looks like it should be fine19:17
beunojam, I'll try with --no-plugins19:18
jelmeris_null: however since you're hitting those two bugs I would recommend bzr.dev and bzr-svn from the 0.4 branch in your case19:18
beunojam, same with --no-plugins19:18
is_nulljelmer, with svn 1.5.0?19:18
jambeuno: can you look at your /...pythonpath/site-packages/bzrlib/bundle/__init__.py file19:19
jamand see if read_mergeable_from_url takes possible_transports?19:19
jamIt certainly does in bzr.dev19:19
jelmerslangasek: looks like this is a bug if no diff should be sent19:19
jelmere.g. if difflimit = 019:20
slangasekjelmer: well, I /want/ a diff to be sent; I thought difflimit = 0 meant unlimited19:20
slangasek:)19:20
jambeuno: my best guess after plugins is that the install packaging isn't properly overriding the bzrlib/bundle/ sub-package19:20
jambeuno: another thing to check is the timestamps on the __init__.py file and the __init__.pyc files19:20
jamif the .pyc is newer, it won't get rebuilt19:21
slangasekjelmer: btw, does anyone have a post-commit hook that will tag bugs 'pending' in the Debian BTS? :-)19:21
beunojam,19:21
beunolrwxrwxrwx 1 root root    45 2008-07-22 02:17 __init__.py -> /usr/share/pyshared/bzrlib/bundle/__init__.py19:21
beuno-rw-r--r-- 1 root root  2872 2008-07-22 02:17 __init__.pyc19:21
jambeuno: can you check: /usr/share/pyshared/bzrlib/bundle/__init__.py19:21
jelmerslangasek: not yet afaik, but I agree it would be nice to have such a thing :-)19:22
jambeuno: though it certainly looks like it is *today* :)19:22
slangasekdamn, I just volunteered myself, didn't I19:22
jambeuno: and the contents of __init__.py ? does it have possible_transports?19:22
beunojam, hm, no19:22
jambeuno: .... :(19:23
jambeuno: so, do you want to try uninstalling and re-installing?19:23
beunoand, surprise surprise, it has an older timestamp19:23
jamobviously something weird19:23
beunoI just did: setup.py install   in bzr.dev19:23
jambeuno: also, how do you have bzr 1.6b4 ?19:23
jelmerslangasek: :-)19:23
beunoshouldn't that overwrite everything?19:24
jamah, but did you uninstal the system package first?19:24
jambeuno: I can't say how smart the python installer is19:24
slangasekjelmer: do you think this should be a feature of bzr-email, or a new post-commit hook?19:24
jamas debs verses setup.py install19:24
beunojam, ah, I didn't19:24
slangasek(I guess I could just wrap the 'bts' command...)19:24
jambeuno: kind of like the old case of "./configure; make; make install' versus "apt-get install"19:24
jamthey don't *talk* to eachother19:24
jambeuno: we can certainly update the bug to say that "setup.py install" doesn't overwrite the existing install cleanly.19:24
beunojam, right, I can't remove the package because it will remove:19:25
beunolaunchpad-dependencies19:25
beunolaunchpad-developer-dependencies19:25
jamthough 'bzr' may punt and point fingers at disutils19:25
beunowhich I sort of need19:25
jambeuno: isn't there a remove-force but don't remove dependencies?19:25
jelmerslangasek: I would say it should be a feature of a new post-commit hook, perhaps part of bzr-builddeb (though James is perhaps a better person to decide that)19:25
jamI don't know apt very well19:25
Odd_Blokejam: 1.6b4 is what bzr.dev is currently marked as.19:26
slangasekjames_w: your thoughts?19:26
jamOdd_Bloke: no, I know that, I thought beuno installed from a package, and we've never released a b4 package19:26
beunojam, I can't seem to get it to go away on it's own. It insists on taking others with it19:26
Odd_Blokejam: Ah, OK.  I only glanced over the scrollback. :)19:27
jambeuno: well, I'm at the limit of my understanding of apt-get without a command line (currently logged into win32)19:28
jamLarstiQ, jelmer: ^^ do you have an idea how to apt-get remove without taking all dependencies with it?19:28
jamOdd_Bloke: ^^19:28
* Odd_Bloke doesn't know.19:29
jelmerjam: aptitude unmarkauto <package> I think19:29
beunojam, that doesn't seem to do anything for me19:30
beunouhm, jelmer19:31
jelmerbeuno: if you run that on the dependencies and then deinstall the package itself19:31
jelmerit shouldn't take the dependencies with it19:31
beunojelmer, ah, thanks19:31
james_wslangasek: I agree that it appears to be a difflimit = 0 bug. I also think that there should be a special value for no limit, perhaps 0 or -119:32
james_wslangasek: or did you mean on tagging things pending?19:32
slangasekjames_w: ah, I'd moved on, I was asking about tagging things pending :)19:32
james_wI think something separate to bzr-email would be better. Using bts or tagpending will probably reduce the work.19:33
slangasekright19:34
is_nulli don't understand this error when trying to checkout bzr-svn: http://nopaste.com/p/aFhoMZdbP19:35
LarstiQis_null: svn co?19:36
is_nullyes19:36
LarstiQis_null: on a bzr branch? :)19:36
is_nullmy bad ... i got a little confused19:37
Odd_Blokedoko: o/19:38
alleeemail plugins problem:  with bzr push sftp://foo@bar/path/to/repo  and  a ~foo/.bazaar/locations.conf on host bar, neither the settings in [/path/to/repo] nor [sftp://foo@bar/path/to/rep/] are used here :(    Is it my fault?  Or are plugins on the repo server ignored?19:41
jelmerallee: the email plugin only triggers on commit, not on push19:41
slangasekdoh, I think that was about to be my next question19:42
slangasekjelmer: is this a limitation of the post-commit hook logic?19:43
jelmerslangasek: it's an implementation choice in the email plugin19:44
jelmerslangasek: it only triggers on commit because if you also trigger on push that means you could be sending the notification email more than once (once on commit, once on every push)19:45
jelmerIt would be nice to allow the user to decide when to trigger the notification email though19:46
slangasekjelmer: but in theory, there might be different audiences who would be interested in receiving mail about it at different points...19:46
alleejelmer: uhm, not good. I prefer not to use a leight-weight checkout, but only stuff that pushed to the 'authoritive central' repo matter.   IMHO push IS A commit-in-one-go ;)    Is there already a tool that handles push e-mail too?19:46
slangaseki.e., I really want to generate email when I've pushed to a repo on alioth, not just when I've committed locally19:46
jelmerslangasek: yeah, I agree it would be nice to support email on push as well19:48
slangasekwishlist against bzr-email?19:48
jelmerslangasek: yeah19:48
alleeah clarification from my side:  I don't need a push configured locally, but once on the repo server so everyone push/commit to the central repo triggers it.19:50
alleeslangasek: can you post the bug/with id here?   I would like to subscribe19:51
slangasekallee: well, the latter relies on your server side having some smarts, because the only way to configure this right now is via ~/.bazaar19:52
slangasekallee: yes, I'll post the bug # here19:52
alleeoh, I naively assume bzr sftp:// does it like rsync: start a remote bzr and talk to it19:54
Odd_Blokeallee: bzr+ssh:// does do that.19:55
allee Odd_Bloke: bzr+ssh (e-mail) triggers also (e-mail) plugins this way?19:57
* allee tries ...19:57
* allee failed20:01
ppireshi there :-)20:03
Odd_Blokeallee: Sorry, I meant bzr+ssh starts a remote bzr, not that it does any of the email stuff.20:05
alleeOdd_Bloke: no problem.  It was worth a quick try ;)  Thx.20:06
ppiresallee: shouldn't that plug-in be installed in the remote bzr?20:32
ppiresi'm totally newb at this, but that's my logic. if you call remote bzr, then commits are made in the remote bzr instance, and so triggering any plug-ins there and not on your machine. perhaps i'm wrong20:33
Odd_Blokeppires: The issue here is that the email message is wanted on push to branches on that machine, not on commits to branches on that machine.20:34
alleeppires: yes, I did.  but e-mail plugin is only called on a) commit and b) on the host bzr does run20:34
allee.. not the remote repo server20:34
Odd_Blokeallee: If you were bound to a remote branch using bzr+ssh, I would expect commits to trigger on the remote host.20:35
alleeOdd_Bloke: mhmm, I've to leave now.   I'll try your workaround tomorrow.  Thx again20:36
Odd_Blokeallee: That would still be individual commits and not pushes though.20:38
ppiresOdd_Bloke: ic20:47
slangasekallee: bug #25093420:50
ubottuLaunchpad bug 250934 in bzr-email "bzr-email should support email on push" [Undecided,New] https://launchpad.net/bugs/25093420:50
mwhudsonjam: hi20:51
alleeslangasek: thx20:51
jammwhudson: hi, just wondering if you had PQM rights to merge your earlier patch20:51
mwhudsonjam: no20:52
cjwatsonhi, I'm trying to sort out problems with lp:~ubuntu-core-dev/casper/trunk20:55
cjwatsonalso mentioned in https://answers.launchpad.net/launchpad-bazaar/+question/3969320:55
cjwatsontrying to branch this locally says:20:55
cjwatson$ bzr get casper test20:55
cjwatsonbzr: ERROR: Revision {Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--base-0} not present in "x_Matt_Zimmerman_<matt.zimmerman@canonical.com>_Sun_Mar_13_00:51:19_2005_1366.3".20:55
cjwatsonbzr reconcile crashes:20:56
cjwatsonReconciling repository file:///home/cjwatson/src/ubuntu/casper/bzr/casper/20:56
cjwatsonbzr: ERROR: exceptions.KeyError: 'Arch-1:matt.zimmerman@canonical.com--2004%casper--main--0--patch-21'20:56
jammwhudson: I forgot to check, but isn't there an associated bug for that fix?20:56
jamor was this a drive-by fix?20:56
cjwatsonlifeless tried to help me at the distro sprint, but we only really succeeded in making things worse20:56
cjwatsonso I'd appreciate expert help :)20:56
cjwatson(not that lifeless isn't. er. I'll shut up now)20:56
mwhudsonjam: it was drive-by in fixing some other bug20:56
mwhudsonbug 250418 in fact20:57
ubottuLaunchpad bug 250418 in bzr "bzr_dir_for_branch_stacked_on_relative_url.clone('...', preserve_stacking=True) miscalculates stacked-on URL" [Undecided,New] https://launchpad.net/bugs/25041820:57
mwhudsonthere's a fix for that one to review too :)20:57
jamcjwatson: 'reconcile' complaining is a known issue, I would have thought "bzr branch" was already fixed in the last beta release20:57
* mwhudson goes to have breakfast20:57
cjwatsonjam: the branch has been a bit buggered for a long time, though20:58
cjwatsonit's worked fine for those of us who already have copies of it ...20:58
jamcjwatson: well, when I look at it, I see nothing in the repository there21:00
jamand the last revision shows up as "NULL"21:00
jamhttp://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk/.bzr/branch/last-revision21:00
jamcjwatson: is it supposed to be a hosted branch, or a mirrored branch?21:01
jamcjwatson: ah, it looks like it might be a hosted branch, and the branch mirror script is borking on the missing mainline revision?21:01
jammwhudson, jml: Can you shed more light on what is going on?21:02
jamcjwatson: so are you branching from "lp:casper" which actually means you are using bzr+ssh most of the time?21:02
cjwatsonjam: I branched from it approximately a zillion years ago21:03
cjwatsonI think at the time it was hosted on rookery21:03
cjwatsonright now, bzr info says: checkout of branch: bzr+ssh://bazaar.launchpad.net/%7Eubuntu-core-dev/casper/trunk/21:03
jamcjwatson: well, my current comment is that it is the bazaar-launchpad guys and their custom mirroring stuff21:03
cjwatsonjam: mwhudson asked me to come here ...21:04
jamI would guess that the bzr+ssh side is working okay21:04
jamthough "bzr reconcile" would still bork21:04
cjwatsonit should be a hosted branch, yes21:04
jamand the mirror script is broken for fetching branches that have ghosts in their mainline21:04
jamThey might then chose to kick it back to us, because of some fetch api they are using that breaks for them.21:04
jambut I'll let them debug that side of it.21:04
cjwatsonjam: 'bzr push' fails on the same branch, FWIW21:08
cjwatsonsftp://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk/ seems to work, at least for log21:08
cjwatsonah, but branch still fails, meh21:09
cjwatsonI've put the branch at http://people.ubuntu.com/~cjwatson/tmp/casper/trunk/.bzr/ in case it's useful21:10
mwhudsonjam: ghosts on mainline sounds like a recently fixed bzr bug21:23
mwhudsonat least there was some problem with them recent21:23
mwhudsonly21:23
mwhudsonmaybe this will go away when we update bzr on the codehosting systems?21:23
jammwhudson: if wishes were fishes, we'd all eat a lot of fish21:26
jambut yeah, maybe21:26
jamreconcile still has a problem21:26
jamand check probably does too21:26
muffinresearchI writing something where I need to get the last rev for a specific file through the bzrlib api. Looking at the API I can see two ways to do it. Either subclass log.LogFormatter and stash revision.revno or to use log.find_touching_revisions. Am I missing a more direct approach?21:44
mwhudsonmuffinresearch: yes21:44
mwhudsonthough i forget what the best way is21:47
mwhudsonone way is to load an inventory and look at the InventoryFile for the file21:47
jammuffinresearch: try this21:47
jamFirst ,do you have a Branch or WorkingTree ?21:47
jambut something like:21:47
muffinresearchCan get either21:48
jamwt, relpath = bzrib.workingtree.WorkingTree.open_contaning(path)21:48
jamwt.lock_read()21:48
jamfile_id = wt.path2id(relpath)21:48
jamie = wt.inventory[file_id]21:48
jamsorry scratch that21:48
jambasis_tree = wt.basis_tree()21:48
jambasis_tree.lock_read()21:49
jamie = basis_tree.inventory[file_id]21:49
jamlast_modified_revision = ie.revision21:49
jambasis_tree.unlock()21:49
jamwt.unlock()21:49
muffinresearchyep that seems much more direct21:49
muffinresearchthanks!21:50
jamif you only have a branch, you would do something more like21:50
jamrev_tree = branch.repository.revision_tree(branch.last_revision())21:50
jamie = rev_tree.inventory21:50
jametc21:50
jamie = rev_tree.inventory[file_id]21:50
muffinresearch@jam: cheers for your help21:59
pickscrapeAre bzrlib's progress bars generically usable from within plugins?22:12
jampickscrape: "generically" I suppose22:20
jamusing22:20
jampb = bzrlib.ui.ui_factory.get_nested_progress_bar()22:20
jam...22:20
jampb.finished()22:20
pickscrapejam: thanks, I'll look into it :)22:20
colbracjelmer: Which command can I use to test the tick addition?22:34
beunomwhudson, just finished fixing everything in your review, and replied to your email with comments22:58
mwhudsonbeuno: excellent22:58
beunonow, I've been poking at my evil fill_div function22:58
beunoI've started and abandoned a few approaches22:58
Peng_Ooh, what's going on now?22:59
beunodo you have something specific in mind?22:59
beunoPeng_, shhhh, it's secret    :)22:59
beunoand it's like 7k diff, that's all I'm saying about it22:59
Peng_Adding Mercurial support?!22:59
* Peng_ runs away.22:59
beuno:p23:00
pickscrapeThey're making a merge algorithm that *never* results in any conflicts23:00
jelmercolbrac: I was using some experimental bzr-svn stuff, not sure what else uses it23:00
Peng_pickscrape: It uploads your merge to MTurk?23:02
beunomwhudson, ^  on the fill_div bit23:06
mwhudsonbeuno: it was just that the code in the function was a bit nonsensical23:07
mwhudsonbeuno: on the phone now23:07
beunomwhudson, right. I kept running into problems with types, so it ended up looking like that.  I'm obviously missing something very simple.  No hurry though, waiting on the phone is always more annoying then waiting on irc  :p23:08
igcmorning23:37
Jc2kevening23:37
beunoafternoon23:39
emgentnight.23:43
pickscrapeevening23:44
Peng_That about covers it.23:47
* fullermd has a nice diurnal anamoly.23:47
pickscrapeThat sounds painful. You should get it seen to23:48
pooliehi23:56
jelmercolbrac, I'm upgrading the format of the trunk bzr-gtk branch atm, please don't push anything; it may be discarded23:57
jelmer'morning poolie23:57
colbracok23:57
colbracActually I'm puzzled atm why the 'Merged!' mails from BB show the wrong previous status23:58
jelmerwhich ones in particular?23:58
colbracFix lp115...bla and Remove olive.glade -take2 have semi-approved23:59
colbracwhile Fix lp115.. is approved, and Remove.. conditionally approved23:59

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