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

dobeyjames_w: but the commit() call that tarmac is making, is passing committer='Tarmac' as an argument00:19
dobeyit was working fine before i upgraded to 2.2.0 today00:19
mkanatIs "bzr send" using a "mailto" url or something?00:21
mkanatNot all MUAs support all the mailto query parameter extensions.00:21
thumperit worked fine in kde, just not gnome00:22
thumperprobably a weird setting00:22
mkanatAhh, yeah.00:23
spivGood morning.00:47
pooliehi there spiv00:48
jammkanat: just a note, the primary in-memory cache is brought down to disk in trunk with the bzr-history-db work00:50
jamhi spiv00:50
mkanatjam: Yeah, that's the primary thing that makes this possible.00:50
mkanatjam: But the revision cache is still in memory, IIRC.00:50
jammkanat: it is, but it isn't as necessary00:50
* mkanat nods.00:51
jamISTR there are times when it is useful00:51
jamwe would have to check00:51
mkanatYeah, there are times we have to map revids to revnos in a loop, IIRC.00:51
jamwe could push harder on moving it to disk if we had to00:51
mkanatjam: I think that's probably what we'll do.00:51
jamshort-term denormalization of a given table00:51
mkanatjam: But that won't work in the codehosting situation, will it? Because we can't write to the disk.00:52
jamwe can00:52
jamit already does00:52
mkanatAh, okay.00:52
james_wdobey: well, that's when the error was added, so that's no surprise01:13
james_wdobey: is test_branch a file you have added?01:19
james_wdobey: and in your pastebin "a_branch.tree.commit("Reading, 'riting, 'rithmetic")" doesn't look like it is passing committer=01:20
mtaylorif I don't want to re-branch - is there a way to migrate a standalone branch to one inside of a shared repo?02:14
fullermdreconfigure02:14
mtaylorfullermd: heh. that's too easy02:15
fullermdOh.  Well, the Seven Trials of Courage, climbing the North Face of the Eiger, _then_ reconfigure.02:16
mtaylorfullermd: excelent. that's better02:17
fullermdAnything for a steady customer  :p02:19
mkanatpoolie: I should be able to get to Loggerhead stuff by the end of the week. But if there's something that you need more urgently than that, please let me know.02:31
pooliemkanat: nothing springs to mind, i'd just suggest talking to chex or spm or similar if you see them online03:00
mkanatpoolie: All right. :-)03:00
=== Ursinha is now known as Ursinha-afk
spivpoolie: what's the process for getting 2.1.2 into lucid-updates?  There have been quite a few dupes of bug 559436, and it just bit Mary...05:47
ubot5Launchpad bug 559436 in Bazaar 2.1 "AttributeError: 'NoneType' object has no attribute 'get_config' (affected: 8, heat: 45)" [High,Fix released] https://launchpad.net/bugs/55943605:47
lifelessspiv: read all about it on the stable release update pacge05:52
pooliespiv, or see my previous mail about srus06:09
mtaylorlifeless: all of the web pages say bzr-hg is under heavy dev ... is it usable for day to day? or will I have less pain with just plain hg?06:20
lifelessmtaylor: we use it in prod to import hg on lp.net.06:22
lifelessmtaylor: go figure :P06:22
mtaylorlifeless: oh - well, that's something then :)06:22
mtaylorlifeless: there doesn't seem to be a _great_ way to figure out what form a url should take... can you recommend any help I should look at? or should I just read the source?06:22
lifelesshttp:// ?06:23
lifelessI dunno06:23
mtaylorlifeless: hah! I was trying to make it much harder - doing hg+http :)06:24
mtaylorlifeless: thanks06:24
spivpoolie: On reflection I think what I really meant to ask was "why didn't 2.1.2 get proposed as an SRU more-or-less when it was released?"  Ideally we'd have proposed it already given the severity/frequency of that bug I think.06:59
pooliei don't think there's any good answer07:11
pooliewe should have07:11
pooliethe make-a-release chain is already pretty long07:11
spiv*nod*07:20
spivActually, looking at my mail, lifeless said he was about to propose 2.1.2 as an SRU for lucid the day 2.1.2 released. :P07:27
lifelessI may have done so even.07:29
spivHmm, I wonder where it is then...07:30
lifelesshttps://bugs.edge.launchpad.net/ubuntu/+source/bzr needs some love07:31
spivYeah, I was just noticing that :(07:32
spivhttps://code.edge.launchpad.net/~lifeless/ubuntu/lucid/bzr/2.1.2-sru07:33
spivlinked to bug 52804107:33
ubot5Launchpad bug 528041 in Bazaar 2.2 "bzr: ERROR: exceptions.AssertionError: _remember_remote_is_before((2, 1)) called, but _remember_remote_is_before((1, 6)) was called previously. (affected: 21, heat: 136)" [High,Fix released] https://launchpad.net/bugs/52804107:33
lifelessthere you go07:33
lifelessI was about to claim that I sucked07:33
spivSo where in the SRU process did that get stalled?07:35
lifelessprobably the usual place : the start07:35
* lifeless takes off the bitter hat07:35
spivHeh.07:35
spivWell, it looks like we got past step 1 of https://wiki.ubuntu.com/StableReleaseUpdates#Procedure :P07:36
spivlifeless: so my reading of the SRU page says the next thing that needs to happen is someone needs upload the package to lucid-proposed.  Does that sound right to you, and can you do that?07:44
lifelessAIUI no07:45
lifelessww haven't set up per-package uploads for bzr and its in main07:46
spivSo we should subscribe ubuntu-sponsors to the bug to find a sponsor?07:48
poolieprobably07:48
poolieyou may need to nag someone07:48
cody-somervilleI'll sponsor it.07:51
spivcody-somerville: thanks!07:52
cody-somervilleDoes bzr have an exception from the TB to push entire new releases via -updates?07:55
lifelesscody-somerville: no, and we're not asking for that07:55
lifelesscody-somerville: these point releases are managing in an SRU way upstream07:55
pooliecody-somerville: if this is from 2.1.1 to 2.1.2 the changes should be compatible with the sru criteria07:55
pooliesafe fixes for important bugs07:55
spivThis is from 2.1.1 to 2.1.207:57
cody-somerville47 files changed, 2926 insertions(+), 2331 deletions(-)07:57
lifelessnoooo07:58
lifelessits either very mechanical, or something confused in udd07:58
spivA heap of that is noise from Pyrex-generated C, I suspect.07:59
lifelessbzr diff -r bzr-2.1.1..bzr-2.1.2 | diffstat07:59
lifeless 34 files changed, 717 insertions(+), 160 deletions(-)07:59
lifelesscody-somerville: ignore the .c files, they are autogenerated - equivalent to configure08:00
spivHeh, yep, lots of /home/mbp/ became /home/robertc/ in Pyrex-generated comments in the C.08:00
lifelesswe should probably add some sed in there08:01
poolieurk08:04
cody-somervilleGenerally an SRU is as minimal as possible to fix a single specific bug. Some packages like landscape have permission from the TB to push point releases like this into -updates. Considering bzr's testsuite, you guys should probably ask for the same exception. In the mean time, is there a minimal diff I can upload? If not, I'd recommend pinging someone from the SRU team to get permission as to avoid doing something that'll end up being08:05
cody-somervillerejected.08:05
pooliehm08:05
pooliewe have done previous SRUs on similar changes08:05
spivIt sounds like it would be good to get formal permission from the TB just to expedite the process?  I know we've had point release SRUs go through before, but IIRC also with some to-and-fro about whether they really satisfy the letter of the SRU policy or not.08:08
* cody-somerville nods.08:08
poolieok08:08
spivExpedite the process in future, anyway, perhaps not expedite this particular SRU ;)08:08
poolieso in the interim, do you want to merge the patch just for this change?08:09
pooliei find it a bit hard to believe that will be much safer but i understand the general process08:09
cody-somervilleIts up to you guys. I was hoping this was just a quick patch that I could do real quick before heading off to bed.08:09
cody-somervilleIf you want you can get approval from SRU board and I can upload when I wake up if you haven't found someone else to sponsor it by then08:10
spivpoolie: well, the linked bug is for the siginterrupt issue, which is definitely good to have fixed, but the bug that triggered me asking about SRUs was bug 559436...08:10
ubot5Launchpad bug 559436 in Bazaar 2.1 "AttributeError: 'NoneType' object has no attribute 'get_config' (affected: 8, heat: 45)" [High,Fix released] https://launchpad.net/bugs/55943608:10
pooliecody-somerville: and how do we get that approval?08:10
cody-somervillesubscribe ubuntu-sru team08:11
cody-somervilleand then possibly poke someone on the team08:11
pooliespiv, can you do that?08:20
* bialix waiting for Garyvdm08:36
pooliehi bialix08:37
bialixhi poolie !08:37
=== oubiwann is now known as oubiwann-away
spivpoolie: sure08:46
spiv(The team was already subscribed to that bug as per the procedure on the SRU wiki page, but I'll find and poke someone on it)08:48
=== oubiwann-away is now known as oubiwann
pooliespiv, so re https://bugs.edge.launchpad.net/launchpad/+bug/61574008:49
ubot5Launchpad bug 615740 in Launchpad itself "test_on_merge.py doesn't handle eintr (affected: 1, heat: 6)" [Undecided,New]08:49
pooliewhat the best plan for handling eintr now?08:49
pooliesuch a saga...08:49
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
spivpoolie: depends!09:02
poolieso there's one select call that's failing09:03
spivpoolie: don't have any signal handlers is a good plan, if you can09:03
poolieoddly, raising select.error not IOError09:03
spivpoolie: if you can't, register it with signal.siginterrupt is good, if you can assume python >= 2.6.609:04
spivif you can't do that (you do want the signal to interrupt syscalls, or you can't assume 2.6.6), then your options are less good.09:05
spivselect at least is safe to retry the call, if it's happening in your own code.09:05
pooliei think it is09:05
pooliei don't know if lp assumes 2.6.6 yet?09:06
poolieprobably not09:06
spivGiven that 2.6.6rc1 only just hit maverick, I doubt it :)09:08
spivOk, I need to wind up for the day, but at least I have code that makes 'bzr reconcile' fix non-canonical CHKs now.09:10
poolieyay09:14
dakirahi.. how do I get only a list of modified/added files for the last few commits?10:03
luksdakira: bzr st -r -3 (last two commits)10:22
dakiraluks: great.. thx!10:42
=== khmarbaise__ is now known as khmarbaise
fullermdNote the difference between "-r-3" (compare rev -3 to the current working tree status) and "-r-3.." (compare rev -3 to the latest commit)10:44
dakirafullermd: so "-r -3" == "-r-3.."?10:46
fullermdNo, "-r-3" == "-r-3"...  I don't think there's any long form.  "-r-3.." == "-r-3..-1"10:46
dakirafullermd: look closely... not "-r-3" but "-r<space>-3".. the latter seems to be equivalent to "-r-3.."10:47
luks"-r-3.." != "-r-3..-1" because the range is exclusive10:47
fullermdThey're the same thing, space or not.10:47
fullermdStandard option parsing.10:48
fullermdEr, -r-3.. IS exactly the same as -r-3..-1.  Open ended ranges go to the end of the tree.10:48
luksthen my bzr is doing something wrong :)10:48
fullermd(well, mod some bugs that have existed in the past with parsing them at least)10:48
luksoh10:49
luksmy bad10:49
luksit's sorted differently10:49
luksI wonder why -r-3..-1 isn't sorted10:50
fullermdAny other day, I'd say "I dunno".  Today, the answer is obviously "the world is out to get me".10:52
dakiraluks: hm.. -r-3.. and -r-3 give me the same results (they compare with the working tree) while -r-3..-1 compares with the last commited revision!10:54
* fullermd frowns.10:54
fullermdThat's...  unexpected.10:54
spivI occasionally think that -0 should mean "working tree".10:55
fullermdI'd rather have a tree: or something.10:55
spivThen I go have a nice cup of tea in a quiet corner somewhere and reason returns ;)10:56
fullermdWell, I do see that listed behavior.  I'm pretty sure it used to be like I think it is, so I presume it was changed intentionally...  I don't think I like it though.10:56
fullermdspiv: Really, it should be "+1"  ;p10:57
spivfullermd: no, 0 comes after -110:57
spivfullermd: and the uncommitted working tree is the nearest thing we have to the next revision after the most recently committed one...10:57
fullermdYes, but 0 is already taken for null.  Anyway, we want to go one rev forward from the current state, so...10:57
spivRight, hence -0 ;)10:57
fullermdOf course, since it's not committed yet, it's not real.  So, it should be 'i'.10:58
fullermdUnless, of course, we steal the imaginary axis to be the timeline along which we allow editing commit logs...10:58
* fullermd goes off and hides.10:58
spiv$\lim_{revno\to 0}revision(revno)$11:01
dakirafullermd: here's what I get http://pastebin.com/NvRWeNWq11:01
spivOr something.11:01
* spiv wanders off11:01
dakirabzr is 2.1.111:02
=== Ursinha-afk is now known as Ursinha
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
dobeyjames_w: a_branch is a tarmac.Branch, and its commit method calls the bzr commit with committer='Tarmac'14:15
james_wdobey: ok, given that I can't see this code I'll have to take your word for it. Also given that I can't see it I can't help you debug it any more.14:16
dobeyhttp://bazaar.launchpad.net/~rockstar/tarmac/main/annotate/head%3A/tarmac/branch.py14:23
dobeyhttp://bazaar.launchpad.net/~rockstar/tarmac/main/annotate/206/tarmac/tests/test_branch.py#L4014:24
bialixddaa: hello14:25
ddaahey bialix14:25
dobeyi'm trying to get those tests back in trunk and working again. and i almost had it. the commit() worked fine yesterday morning, and the started failing after i ran update-manager and bzr got upgraded to 2.2.014:25
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
james_wdobey: I don't know. It seems to pass it down ok, but it clearly uses it, you might want to pdb and find out at what level it loses it.14:37
dobeyyeah, i went hunting through the code path from the stack trace last night and didn't see anything obvious in the code :-/14:41
* jelmer waves to james_w, dobey14:42
james_whi jelmer14:42
dobeyhi jelmer14:42
dobeyah, how the little things can wreck havoc15:03
dobeya_branch.*tree*.commit() is not a_branch.commit(). sorry :)15:08
jelmerhehe15:09
jelmerbeen there, done that.. with the exact same method.15:09
dobeywith commit --fixes in bzr, does it store the url as lp:NUM or http://bugs.launchpad.net/bugs/NUM ? or something else?15:28
jelmerdobey, the latter15:28
jelmerdobey: see also "bzr cat-revision", that will dump the raw representation of a revision15:29
dobeyah15:29
dobeythanks15:30
=== deryck is now known as deryck[lunch]
abentleyAnyone have a suggestion on how to debug InvalidUseOfScopeReplacer in the Launchpad test suite, when the test, run by itself, doesn't cause it?15:49
abentleyI've been trying to backtrack to find the test that is abusing the scope replacer, but so far no dice.15:49
mgznope, 's one of the oddities I've run into before and not had time to track down.15:53
mgza bunch of the doctests fall over with it on ironpython and jython.15:54
abentleymgz, with the Launchpad test suite or the bzr test suite?15:54
mgzin bzr, sorry.15:54
TyphIf I push to a location, why would then running bzr update in that location produce "bzr: ERROR: No WorkingTree exists"16:36
GaryvdMjam: For  some reason, paramiko is no longer being included in libary.zip16:36
jamhmmm. I wonder if it got installed as a plain .egg16:36
jam.egg doesn't work with py2exe16:37
GaryvdMTyph: If you push to a remote location, working trees are not created.16:37
GaryvdMjam: Yes  - It is installed as an .egg16:37
GaryvdMTyph: you can create the working tree by running bzr checkout16:37
TyphGaryvdM: oh. oops :D. thanks.16:38
GaryvdMTyph: and if you push to a remote location that allready has a working tree, it will then be out of date, and will need a bzr update16:38
GaryvdMTyph: This is due to limitations in the remote protocols.16:39
bialixheya Gary!16:39
GaryvdMHi bialix16:39
bialixdid you saw my messages?16:40
GaryvdMbialix: Yes - was just going to reply.16:40
rubbsTyph: also, if you are pushing to a remote location just to update files for say a webserver, you may want to look at some plugins like push-and-update. I'll see if I can dig up relevant links16:40
bialixok16:40
Typhrubbs: no no, I was just trying to recreate a borked checkout on the server. I've never had to push a brand new copy anywhere before :)16:41
rubbsTyph: ah, cool. Just checking.16:41
GaryvdMbialix: Surely there is a syntax that will work for both versions. I'll take a look.16:41
=== Ursinha is now known as Ursinha-afk
jamGaryvdM: I'll log in now and try to fix that16:46
jamGaryvdM: I needed to do "python setup.py install -O1 easy_install -O1 -Z" to get it to not install using an egg16:51
GaryvdMbialix: Please could you see if this runs with pyqt4.4: http://pastebin.org/46602616:51
bialixGaryvdM: with your patch test suite did not errored, but tests failed16:56
=== deryck[lunch] is now known as deryck
jamGaryvdM: it should be fixed now, care to try again?16:56
GaryvdMjam: Thanks16:56
GaryvdMbialix: Please pastebin test output.16:57
bialixGaryvdM: that paste writes success, but is it really success?16:57
=== Ursinha-afk is now known as Ursinha
GaryvdMbialix: Yhea - need to check that it's actually connected....16:58
bialixGaryvdM: http://pastebin.org/46603516:58
GaryvdMbialix: I think that previously, the connections in that test were not connecting, and the are now, and exposing bugs in the test.17:10
bialixouch!17:11
GaryvdMFunny that they are connecting in qt 4.4, and not 4.6/4.7.17:11
=== beuno is now known as beuno-lunch
bialixGaryvdM: I would like to add direct support of colo in qbzr. E.g for commands qswitch, qmerge, maybe others17:16
bialixthere is custom qswitch in the explorer to understand colo, but I think we can do better in qbzr17:16
* bialix off to home, bbl17:18
CcxCZis there way to bind branch multiple times?17:29
GaryvdMjam: Thanks - that worked.17:33
GaryvdMjam: Is there an easy to test the speed of paramiko? I'd like to see if my patch makes it faster.17:34
jamGaryvdM: I don't know of any specific way. I assume trying to do an ssh loopback and see how fast you can transmit bytes17:34
jamI don't really know how to set that up, though17:34
GaryvdMok17:35
jamprobably you could do something with a loopback to openssh via sftp, and just try to read a 1GB file17:35
jamor ssh localhost dd if=/dev/urandom17:35
jamor something like that17:35
jamyou could do /dev/zero because it is fast, but I think the channel auto-compresses, and that compresses a bit too well :)17:36
CcxCZdoesn't urandom wait for entropy?17:37
jamCcxCZ: I thought /dev/random did and /dev/urandom layered cryptographic randomness on top of entropy17:37
jampsuedorandomness17:37
CcxCZA read from the /dev/urandom device will not block waiting for more entropy.17:38
* CcxCZ RTFMed17:38
fullermdYeah, it's the other way around.  urandom doesn't block; random does.17:38
CcxCZthough that's not very good for benchmark I guess17:39
jamGaryvdM: if you don't mind working through the bzrlib api, you could probably just use "t = bzrlib.transport.get_transport('sftp://localhost/...'); t.get_bytes()"17:40
jamThat handles all of the "how do I set up paramiko" stuff :)17:40
GaryvdMjam: I specifically want to see if I'v removed the "1-2 seconds" that you mention in Bug 27179117:41
ubot5Launchpad bug 271791 in paramiko "Paramiko depends on RandomPool (affected: 3, heat: 17)" [Medium,Triaged] https://launchpad.net/bugs/27179117:41
jamGaryvdM: well that is easy to tell17:41
jambzr log sftp://host17:41
jamwe've patched pycrypto repeatedly for that IIRC17:41
jamhowever, you also have to have a system where time.time()'s resolution is 15ms17:42
jam1ms is fast enough to not really notice 100 calls.17:42
jam1ms == 100ms total, 15ms == 1.5s total, very noticeable17:42
jamyou can do a loop on time.time() to determine the resolution17:42
CcxCZanyway I guess there isn't simple way synching multiple branches at once. As I look in .bzr/branch/branch.conf, there can be only one bound branch.17:43
GaryvdMjam: I have 1ms time.time() resolution, so I guess I won't be able to test.17:44
jamGaryvdM: well, IIRC 'import paramiko' triggered it, you could see if it takes 100ms to do so.17:45
jamHowever, I'm pretty sure that code doesn't exist in pycrypto 2.1+17:45
jamThey, at least, rejected my patch for it on the basis that you shouldn't be using that code anywy17:45
* GaryvdM going to get food, while I wait for my build to download.17:47
dobeyi'm not overly familiar with bzrlib, but i need some help with getting revision properties out of the revisions from one branch that are being merged into another17:59
CcxCZdobey: can you elaborate on that?18:01
dobeyi have one branch that has some revisions, with multiple revisions where one revision has a bug fix, but the last revision does not for example18:02
dobeyand when i merge that branch into another, i need to get all the bugs revision properties for all the revisions that are being merged in18:03
dobeybut it's not clear to me how to do that exactly18:03
dobeyi can get properties from the last revision, but it's not clear to me how to get them for all of the revisions which are being merged18:08
GaryvdMdobey: Maybe take a look at what bzr missing does.18:11
GaryvdMdebey: It will involve some graph call, which, I'm not sure.18:12
GaryvdMdobey: If you look at bzrlib.missing._find_unmerged , It's quite clear.18:16
GaryvdMInstead if the remote_branch.last_revision_info(), use the last revision that you used when you looked at the branch.18:17
GaryvdMdobey: You can also look at the revisons that have been removed from branch using uncommit, or pull/push --overwrite18:18
=== beuno-lunch is now known as beuno
abentleyjam, I'm trying to debug an InvalidUseOfScopeReplacer in the Launchpad test suite.  Unfortunately, it's not clear what test is actually misbehaving the tests that raise it run fine by themselves.18:23
abentleyjam, do you have any suggestion how to debug it?18:24
dobeyGaryvdM: hrmm, i'm doing a missing._find_unmerged to try and see what's going on, and i get an error:18:32
dobeybzrlib.errors.ObjectNotLocked: <bzrlib.groupcompress._GCGraphIndex object at 0x959156c> is not locked18:32
GaryvdMdobey: Things are normally locked by missing.find_unmerged, which then calls missing._find_unmerged18:33
GaryvdMdobey: I pointed out _find_unmerged, because thats were the interesting code is.18:34
dobeyah18:34
dobeyGaryvdM: thanks!18:48
jamabentley: does it tell you the name of the variable it isn't liking?19:21
abentleyjam, "ui".19:21
abentleyjam, it's raised from a use of bzrlib.ui.ui_factory.nested_progress_bar in bzrlib/transform.py19:22
abentleyjam, my bad.  It's _factory.19:23
jamhmm... there is some confused imports in that file, given that 'ui' is in the lazy section and spelled out explicitly as 'bzrlib.ui'19:23
abentleyjam, http://pastebin.ubuntu.com/476067/19:23
jamabentley: no it is 'ui', '_factory' is the LazyObject attribute that failed19:24
abentleyjam, okay.  I thought you were looking for the attribute it wasn't liking.19:25
jamabentley: The attribute in the module, which is 'ui', not the attribute of the lazy object.19:25
abentleyjam, right.19:26
jamAnyway, I've seen this when asking meliae to dump_all_objects() because it touches everything (In that after it is run, something crashes late)19:26
jamyou might try excluding the meliae tests vs running everything19:26
jam(or including it :)19:26
abentleyjam, I don't think the launchpad test suite runs the bzr test suite.19:26
jamabentley: not the bzr suite. But recently someone added meliae support to launchpad19:27
abentleyjam, hmm.  Okay.19:27
jamand I've seen when running bzr, if I ^\ and do a dump, when the process finishes it crashes with the IllegalUse error19:27
jamI haven't quite tracked it down yet. (As I don't think meliae should be triggering, but I could see that it might when it tries to call __sizeof__)19:28
abentleyjam, there are no tests that match 'meliae', so I'm not sure if we're testing it.19:30
jamabentley: you might grep the source for 'dump_all_objects()"19:31
abentleyjam, only used in one place, and its test is disabled because it broke other tests.19:33
jamok, so it isn't me triggering it (directly)19:34
abentleyjam, no I was asking your advice partly because you're awake, and partly because you implemented lazy imports.19:35
jamabentley: you could try something trivial like: http://paste.ubuntu.com/476074/19:36
jamsorry, there is some noise there19:36
jamjust the import ui change19:36
abentleyjam, that noise looks strangely familiar :-)19:36
jammostly I'm trying to help isolate the issue.19:36
jamthis sort of thing usually occurs when you do19:37
jamfrom module import attribute19:37
jamand in module that is actually a lazy attribute19:37
jamspiv tracked down a case where a package imports a submodule and triggers this (if in bzrlib you used lazy_import to get bzrlib.ui, for example)19:37
abentleyjam, since I can't reproduce the problem without doing a full test run, I've started a full test run with the import changed.19:41
svakshahi, while pushing a branch bzr hangs with "|      2KB     0KB/s | Fetching revisions:Inserting stream ". Any idea why this happens? TIA.20:14
svakshaearlier today it allowed me to commit so at the moment i'm not sure if the error is due to the network or something else.20:15
svakshanever mind, problem solved, network issue20:20
digitalicehi20:26
digitalicehow can i checkout a single file from a repo?20:26
digitalicelike in git: git checkout folder/file.txt20:26
=== verterok1 is now known as verterok
abentleydigitalice, you can't checkout a single file, but you can get a copy of one using "bzr cat branch/file.txt > file.txt"20:27
digitaliceno :S?20:28
digitalicemmm20:28
maxbhuh20:28
maxbwell sulk then :-)20:28
maxbI was about to suggest that 'bzr revert file' might actually be wanted20:29
=== oubiwann is now known as oubiwann-away
jamabentley, maxb: given http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html20:30
jamit actually means he wanted "bzr revert"20:30
maxbyup20:30
maxb!blame git20:30
jamApparently 'git checkout PATH' is revert the content20:30
jamto the explicit value20:30
jamnot exactly what I think of for checkout, but maybe it fits gits model20:31
jamsince 'git checkout' is turn the wt into a given revision (possibly based on branch pointer)20:31
maxbgit has this madness where several commands do almost completely different things depending on whether they act on the whole tree or specific paths20:32
abentleyjam, crazy.20:32
jamabentley: :)20:33
jamabentley: for https://code.launchpad.net/~abentley/bzr/revision-id-from-committer/+merge/32246 why only target 2.2 and not older releases?20:33
ddaaIt probably makes some sense. My guess would be: ease of implementation20:34
abentleyjam, the bug doesn't cause pain in earlier releases because they won't raise NoWhoami.20:34
ddaasince that seems to be an overriding design factor in git20:34
jelmerjam: As somebody who has used git on a regular basis, that use of "git checkout" doesn't make sense to me either.20:35
rubbsgit is confusing20:35
* rubbs is grateful he learned with bzr, it just makes sense20:35
maxbI agree - so much more that git, even a little more than mercurial, bzr's concepts and UI are definitely a strong point20:42
maxb(And to anyone who wonders what I meant about mercurial.... 'hg resolve' == 'bzr remerge')20:43
rubbsright, and to be honest I find the one directory per branch a feature. also the lack of a staging area (just why?) and sane by default actions.20:46
rubbsand the empty directory tracking has saved my bacon before20:47
maxbmhm. I'm not sold on the one directory per branch thing, but the rest, yes.20:47
jelmermaxb: There is a patch in progress to resolve that :-)20:49
maxbYes. I'm eagerly looking forward to it :-)20:50
maxbIt would help my case for adopting it at work, where we do java stuff. Java IDEs tend to make project setup / pointing at a new filesystem directory more heavyweight than it should be20:50
maxbAlthough Bazaar's lacklustre Eclipse support is likely still going to be a major sticking point20:51
jelmermaxb: I guess lightweight checkouts can be of use there, but unfortunately their setup is less trivial than colocated branches.20:51
rubbsah, yeah I can see the colocation being an issue with IDE's. I'm a sysadmin so most of my "coding" is done in Vim.20:52
maxbThe problem with lightweight checkouts is that they make sense to someone who has bought into bazaar, but look like a lot of work to someone who has not20:52
krisives-gearboxDoes anyone know how nested branch support is started/coming along?20:52
GaryvdMjelmer: Did you want me to run the test suit on bzr-svn tip, or the last release?20:53
jelmerGaryvdM, tip please20:53
=== oubiwann-away is now known as oubiwann
GaryvdMok - Doing that now20:54
jelmerGaryvdM: also, thanks for doing so!20:54
GaryvdMSure, np20:54
GaryvdMjelmer: Sorry - bug seems to still exist.21:02
jelmerGaryvdM: ok21:03
jelmerGaryvdM: Thanks for checking.21:03
GaryvdMjelmer: we need to nag vila to add our plugins to babune...21:03
jelmeryeah21:03
GaryvdMI'm also hoping to setup a daily build of the windows installers21:04
abentleykrisives-gearbox, AFAIK, no one is working on it.21:05
krisives-gearboxabentley: Is the draft doc rather complete?21:09
abentleykrisives-gearbox, I don't remember.  It certainly wasn't approved, though.21:10
krisives-gearboxabentley: Where would I go to help that get into motion? My employer wants the feature and is willing to commission it21:11
abentleykrisives-gearbox, you shoul talk to poolie.21:11
krisives-gearboxabentley: Does that involve idling in IRC all the time ?21:12
abentleykrisives-gearbox, he also can be emailed at mbp@canonical.com21:13
GaryvdMjam: I'm done on the ec2 instance. So you can shutdone if needed.21:13
krisives-gearboxOh, Martin Pool21:13
GaryvdMjam: Can we please save it state to.21:13
GaryvdMjam: The paramiko patch is working nicely.21:13
=== Ursinha is now known as Ursinha-lunch
jamGaryvdM: starting a bundle request now21:15
GaryvdMjam: Thanks for the use of it. Now that I have had the confidence of doing a few builds, I'm going to try build my own build host in a vm.21:17
GaryvdMMaybe setup nightly builds.21:17
jamGaryvdM: that would be nice. Though we may just want to get it set up on babune21:23
jamonce vila gets back21:23
jam(next week)21:23
=== oubiwann is now known as oubiwann-away
=== Ursinha-lunch is now known as Ursinha-afk
=== oubiwann-away is now known as oubiwann
=== oubiwann is now known as oubiwann-away
=== oubiwann-away is now known as oubiwann
=== oubiwann is now known as oubiwann-away
latexerhey everyone... when using bzr on windows (Win7), I was expecting to be able to put a .ssh/config file in place to override the User config for a certain host...22:42
latexerbut it doesn't seem to obey/work.22:42
latexerI've tried in C:\Users\foo\.ssh\config and C:\Users\foo\AppData\Roaming\.ssh\config22:42
latexerneither seem to have an effect.22:43
latexerAny suggestions?22:43
lifelessare you using putty ?22:44
lifelessor openssh ?22:44
lifelessif you're using openssh, wherever your openssh looks for the config should work22:44
latexerAFAIK, openssh, I used the "standalone" installer to install bzr.22:44
lifelessif you're using putty, I think you need to use pageant or whatever22:44
lifelessthe standalone installer uses putty I think22:44
lifelesswhat change do you need make on a per-host basis (there may be another way to change it)22:44
latexerlifeless: it says: "Connected (version 2.0, client OpenSSH_3.8.1p1)" when connecting...22:45
maxbOr perhaps bzr on windows might be using paramiko?22:45
lifelesslatexer: ok definitely openssh then :)22:46
latexerlifeless: yeah, so I was trying the usual OpenSSH spots, no luck.22:49
latexerlifeless: suggestions for how to find out where OpenSSH is looking?22:50
lifelesswell, we run ssh pretty simply22:51
lifelessuhm, sysinternals have a strace-like tool22:51
lifelessyou could use that22:51
latexerlifeless: oh, indeed. I'll give that a try.22:51
latexerlifeless: thanks.22:51
=== Ursinha-afk is now known as Ursinha
_habnabitIs there a bzr command that just returns the URL a branch is bound to?23:53
_habnabitNothing more or less.23:53
Methsbzr info with a bit of grep?23:53
_habnabitI was hoping to avoid post-processing.23:54
_habnabitI guess I could make a plugin to do it.23:55
MethsWell when a branch can have no URLs or many what kind of output do you actually want?23:56
_habnabitA branch can be bound to multiple URLs?23:56
Methswell, not bound probably, but push and pull can be different23:56
_habnabitYeah. I'm only talking about the bound URL.23:57
lifelessbzr info only atm23:57
lifelessI think you need a 3-line python script / plugin23:57
_habnabitMmkay.23:57

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