/srv/irclogs.ubuntu.com/2012/07/02/#bzr.txt

nmbAny devs awake who could take a look at bug 1019954 ?06:40
ubot5Launchpad bug 1019954 in Bazaar "RemoteBzrDir can't access branches that local BzrDir can access" [Undecided,New] https://launchpad.net/bugs/101995406:40
nmbIt seems like the PathFilteringTransport that is used in the server jail is not letting the RemoteBzrDir access the paths at .bzr/branches, but I can't quite track down why.06:41
=== jam1 is now known as jam
mgzmorning!08:08
=== yofel is now known as Guest57033
vilajelmer: the fix for weave I mentioned last week is up for review: https://code.launchpad.net/~vila/bzr/1020007-branchformat4-lock/+merge/11301410:51
jelmervila: cool, I'll have a look10:53
jelmervila: r=me11:05
jelmernow we just have to wait for python-launchpadlib to be uninstalled before it can land..11:06
vilaurgh, you filed an RT for that ?11:07
jelmervila: jam replied to the RT about installing it11:08
jelmervila: 5402311:08
vilacool, thanks11:09
vilaoooh, the pkg_resources warning popping its ugly head, good, hopefully this will help address this mess ;)11:11
jelmervila: well, if we just uninstall python-launchpadlib that won't really address the issue11:12
vilaindeed, but someone may get more incentive to fix the root issue (which has always be a total mystery for me)11:12
jimishi, how can I checkout only specific files from my +junk repo into current dir?11:15
jimisFor now I'm using "bzr checkout lp:~user/+junk/dir ."11:25
jimisbut it brings all files so it's a bit of a mess11:25
mgzgo back a step, what are you actually trying to do?11:26
jimisfetch a script of mine into a cgi-bin directory11:27
jimisbut I don't need all the rest11:27
jimishmmm I'll work around that by fetching elsewhere and hard-linking11:28
jimisif you think of a way to checkout a file in bzr please let me know, I'll be back in a while11:29
mgzthat's a reasonable approach11:29
jelmerjimis: bzr cat can do that for you11:30
jelmerbzr cat -d lp:~user/+junk/dir name-of-file > name-of-file11:30
mgzthen chmod, then try and remember not to edit the file11:30
mgzhaving an actual branch and a link is better11:30
mgzpartial checkouts into an existing dir would have a worse problem,11:31
jelmerI guess views could in theory do this for you?11:32
mgzyou'd have files both in the repo and the current dir that the vcs has no idea how to sync11:32
mgzviews would work provided the local dir was kept clean11:33
mgzI'm not sure if they actually do anything useful with the tree though11:36
mgzright, they just affect what bzr sees, not what's on disk11:39
mgzjelmer: bug 1001169 is a dupe of bug 41343011:40
ubot5Error: Launchpad bug 1001169 could not be found11:40
ubot5Launchpad bug 413430 in Bazaar "ShortReadvError on index file" [High,Confirmed] https://launchpad.net/bugs/41343011:40
jelmermgz: marked as such11:41
mgzta11:42
jimisjelmer: with bzr cat I wouldn't be able to update12:22
jimismgz: local dir not clean, but thanks anyway12:23
jimisI'll follow the link way :-)12:23
jelmerjimis: you can just rerun the command to update12:24
jimisjelmer: that wouldn't merge my local differences :-p12:27
jelmerjimis: true12:27
jimis(some values are set on top of the script)12:28
=== Guest57033 is now known as yofel
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
jelmervila: could I tempt you to do a review of https://code.launchpad.net/~jelmer/bzr/branchfmt/+merge/100220 ?15:25
vilajelmer: hmm, yet another branch with bzrlib/tests/per_branch/test_bound_sftp.py.THIS where are you getting that from ?15:29
vilajelmer: note the final '.THIS'15:30
vilajelmer: and by 'another' I mean I already encounter that in one of those suspicious merges I mentioned last week15:31
jelmervila: hmm, I'm not sure... it must have been from a long time ago15:34
vilathe scary bit is that that kind of file comes from a conflict and resolving the conflict should delete it...15:35
jelmerI guess I had a local change to it at some point..15:37
vilaintroduced in lp:bzr at revno 6503 removed at 6519 (guess who committed them ;)15:42
vilaso, no harm done on trunk (also 2.6b1 apparently was released with it), but it would be nice if you could kill for good ;)15:43
vilajelmer: reviewed as needs info, please enlighten me ;)15:47
jelmervila: commented16:10
vilajelmer: So, this is about reducing branch.py size ? Will that really make a difference on startup ?16:17
=== zyga is now known as zyga-afk
jelmervila: a bit - it also makes it easier to move the rest of this stuff out into a oldfmt plugin or something like that16:29
jelmerand it simplifies the overall amount of code in branch.py, which should make it easier to read16:30
vilahmm, right, would be nice to put your explanations in branchfmt/__init__.py then or newcomers will have a hard time understanding the in-progress layout16:34
jelmervila: is that really necessary? We don't have something like that for repofmt either16:44
vilajelmer: repository.py and repofmt are more cleanly separated, you're not there yet with branchfmt, so my review is: please add comments. It will take you less time than trying to convince me to not put them :)16:46
* vila off to dentist16:46
mgzheh18:57
mgzJelme is so fast he lost his 'r'18:58
mgz"it's part of bzrtools" is an increasingly bad answer18:58
jelmerusing the R hurts my throat too much :P19:03
mgzit's been rolled too much.19:03
* mgz bounces bug 1019984 on again19:04
ubot5Launchpad bug 1019984 in Dulwich "dpush to github from bzr copy of git repo fails on winxp" [Undecided,New] https://launchpad.net/bugs/101998419:04
mgzmaybe looks like bzr-git should override the dulwich SSHVendor with that from bzrlib?19:05
jelmermgz: I guess that would be an option19:14
Noldorinheh19:43
Noldorinpush issue again with bzr-git eh!19:43
Noldorinjelmer: does that tempt you to fix the other dpush issue while you're at it? ;)19:43
jelmerNoldorin: as berfore, patches welcome :)19:46
Noldorinjelmer: still can't persuade you damnit19:46
Noldorinlol19:46
Noldorini only mention this again because someone is using my git mirror now, :P19:46
Noldorinand it's annoying19:46
Noldorinyou know that a) i don't understand the codebase very well, b) i'm shit at python, c) i don't have the time...19:47
Noldorinjelmer: but you said you'd get on it if someone paid you ha19:47
Noldorinmaybe i should find out how much now lol19:47
jelmerNoldorin: I don't really have the time either (or rather, I choose to spend my spare time on other things)19:50
Noldorinyes i know19:50
Noldorinyou've said before...19:50
Noldorinbut a) and b) are true still ;)19:50
Noldorinhence why i asked if someone paid you heh...19:50
jelmerNoldorin: I'm not the one bringing it up again..19:50
jelmer:)19:51
Noldorinhmm i think you misunderstand19:51
Noldorini'm not criticising you here19:51
Noldorinlanguage barrier perhaps. never mind :)19:51
mgzwindow not having an ssh binary and bzr push not updating working tree aren't really bzr-git related19:54
Noldorinnot what i'm talking about though19:54
mgzthe thing with pet bugs is only you can care for them properly.19:57
jelmermgz: bug 1019984 is definitely not a dulwich bug though19:59
ubot5Launchpad bug 1019984 in Dulwich "dpush to github from bzr copy of git repo fails on winxp" [Undecided,New] https://launchpad.net/bugs/101998419:59
jelmermgz: dulwich shouldn't know about bzr's SSHVendor20:00
jelmerI'll reassign it to bzr-git20:00
mgzwell, arguably dulwich should have a less lame SSHVendor20:00
mgzbut I agree bzr-git is probably the easiest place to fix it20:00
mgzif I ever get downstairs I'll give it a go.20:01
jelmermgz: I would argue that bzr's SSHVendor is the lamer one to be honest20:01
mgzit works on windows though! mostly...20:02
jelmerdulwich support for paramiko would be ace too20:03
jelmerthat's quite different from monkeypatching bzr's SSHVendor into Dulwich though20:03
mgzright.20:06
mgzthe code in dulwich seems to encourage monkey patching20:06
mgzI'm not sure if that was the intention.20:06
jelmersortof, it was meant to allow bzr to plug in its own ssh thingies20:10
jelmerand mercurial20:10
Noldorinhah20:42
Noldorinoh well20:42
Noldorinjelmer ignores me now20:42
Noldorincan't even pay him ;)20:42
Noldorinbyew20:42
jelmerNoldorin: ?20:49
jelmerNoldorin: what did I ignore?20:49
wgzjelmer: what else apart from dpush depends on that SSHVendor in dulwich?20:50
wgzjust doing info and branch seem to work here anyway20:50
jelmerwgz: fetching over ssh depends on it as well20:50
jelmerwgz: you probably have ssh.exe installed?20:51
wgzmy terminal claims not...20:51
wgzand I use plink normally and have bzr configured to use that20:52
jelmerbzr-git might already be inserting the ssh vendor20:52
jelmerthere is some code there20:52
wgzis there a -D I can pass that will tell me what bzr-git is up to with transports?20:53
jelmerwgz: it doesn't really use transports, except for a dummy GitTransport20:54
wgzokay, I can repo with branch git+ssh20:58
Noldorinjelmer: read above ;)21:44
Noldorinjelmer: though i guess we can't even pay you these days hehe22:18
=== iBasic is now known as BasicOSX

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