/srv/irclogs.ubuntu.com/2010/04/04/#bzr.txt

Infl8ableSoulm8so, the version of bazaar in hardy is 1.3.005:48
Infl8ableSoulm8how do I make it use 2.0.x05:48
Infl8ableSoulm8?05:48
Infl8ableSoulm8that or how do I cause the windows shell shortcuts use the the protocol 1.3 requires instead of the 2.0 version05:49
Infl8ableSoulm8?05:49
lifelessadd the bzr ppa on hardy06:12
Infl8ableSoulm8bzr ppa on hardy contains 1.3.x06:13
lifelessno it doesn't06:14
lifelesssee the bzr downloads page for instructions06:14
Infl8ableSoulm8oh, weak.06:15
Infl8ableSoulm8I forgot to apt-get update :P06:15
joda_bothappy easter07:44
joda_botanyone here? :D07:44
Infl8ableSoulm8so, can anyone familiar with TortoiseBZR tell me how to make it login to a remote respository as a different user than the one that is logged in on windows?  I would like to log in as a user on the linux box, but not as the user on the windows box.08:02
Infl8ableSoulm8using bzr+ssh://08:02
wgrantInfl8ableSoulm8: Tried bzr+ssh://user@host/path?08:15
Infl8ableSoulm8yeah08:34
Infl8ableSoulm8I mean that by default it is logging in as windows-user@boomheadshot.org instead of matt@boomheasdhot.org08:35
Infl8ableSoulm8but it doesn't seem to really matter at this point.08:36
Infl8ableSoulm8every time I commit something as one user, I can't update as a different user08:36
Infl8ableSoulm8the files are created as being owned by user1:usr1 so I have to chown -R the whole repository again08:36
Infl8ableSoulm8is it possible to set things up so all committed files are set 660 *:bzr ?08:44
Infl8ableSoulm8oh, I see...08:49
Infl8ableSoulm8user@08:49
Infl8ableSoulm8hrm.08:49
Infl8ableSoulm8that would work, but it would still require that the permissions on new files be set correctly.08:50
Infl8ableSoulm8hrm... looks like sticky chmod is the winner :/09:12
edakiriDoes Bazaar or ancilliary tools have support for keeping  track of un-cherry picks (the revisions you do not want)?  Last I knew, it did not.  Does any DVCS? Vague neural impressions says, "Darcs might."09:23
edakiriAs I recall, you have to respecify the cherries or uncherries every time you merge with bzr, which is manually tedious.09:24
fullermdNo, it's not sticky.  It's setgid.09:30
* fullermd does the whole rant again.09:30
Infl8ableSoulm8I called it 'sticky' because I found an email that referred to it that way09:31
fullermdedakiri: Well, you can't have a revision without having all of its ancestors.  So, it's always THERE in the history.  But you can commit a reversal of the changes, and that will propogate forward fine.09:31
fullermd(of course, if you then merge that branch into a branch where you WANT those changes, things get uglier)09:31
Infl8ableSoulm8I have no actual idea what it was talking about.09:31
fullermdWell, find the author of that email and kill them.09:31
fullermdWell, OK, maybe that's a LITTLE over the top.  Take off at least 3 limbs, anyway.09:32
Infl8ableSoulm8well, it actually was a chmod command.09:33
Infl8ableSoulm8something like chmod 677409:33
Infl8ableSoulm8I am only used to using the three digit commands.09:34
fullermd0___4 on a dir would be bizaare.  Presumably it's more like 02775 or 02770.09:34
fullermdYou certainly don't need 04000 in there.09:34
Infl8ableSoulm8well, if I had any clue what I was doing, I'm sure I would do it correctly.09:35
Infl8ableSoulm8and it was a recursive command09:35
fullermdOn filesystems with SysV semantics, setgid on a directory causes files within that directory to inherit the dir's group.09:36
fullermd(under BSD semantics, that's the default behavior)09:36
fullermdsetuid doesn't do anything in general.09:36
fullermdYou certainly do NOT want setuid/setgid on any of the _files_.09:37
Infl8ableSoulm8well, it's letting me commit and update as different users without throwing errors, now.09:39
edakirifullermd: The case which turns ugly is exactly what the main thing desired for the D in DVCS: maintaining multiple branches which desire to keep different code variations.  So it is this case i am seeking a way to solve.09:54
fullermddarcs is the only thing that might work for that, since it treats each change as an independent entity floating in space.09:57
lifelessvila:   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py", line 132, in get10:01
lifeless    return StringIO(response_file.read())10:01
lifelessvila: thats urllib, and its buffering10:03
vilalifeless: grr, yeah, someone put a FIXME there, in anger I presume, that means you need to override get(). You don't need to seek backwards right ?10:23
lifelessvila: no, I have a 4GB+ stream to deal with ;)10:27
lifelessvila: I'm calling _get for now.10:27
lifelessvila: this will be breaking http smart server initial clones10:27
lifelessvila: by breaking I mean 'this is why we are running out of memory'10:27
vilalifeless: bzr is supposed to use readv() for packs so should not be affected10:28
vilalifeless: or are you saying we *do* use get() ??10:29
vilalifeless: I have to go *now*, be back in a couple of hours10:30
vilalifeless: as hinted in the FIXME this *can* be fixed, bundle reader just needs to keep track of whatever it reads and give it back when needed instead of seeking backwards10:30
lifelessvila: not packs10:31
lifelessbzr+http10:31
lifelessvila: actually, I think that case is clean10:31
lifelessbye10:32
lifelessvila: back yet ?12:12
vilalifeless: wow, back ~3 minutes ago :)12:14
lifelessare you aware of any 32 bit limitations in python socket/urllib on 64bit Ubuntu ?12:15
vilano, and babune, as well as most its slave run with 64 bits OSes. I don't know how python is built there though12:16
vilalifeless: any specific case ?12:17
lifelesshttp://pastebin.ca/185648212:19
lifelessI hit ctrl-C when I was seeing no network traffic, and no error, on my test lmirror server12:20
lifelessthats the traceback ont he client12:21
lifelessI'm not saying that bzrlib.transport is necessarily buggy... but something strange happened *somewhere*12:22
vilalifeless: weird, self._rbuf seems to be a StringIO() buffer, I fail to see how that could block, could it be that you were *very* unlucky on yout ctrl-C ?12:26
lifelessvila: well,i ts more that I'm wondering why my server would suddenly halt12:26
lifelessa 32 bit issue would explain it, if something somwhere has a counter and it wraps at 2G12:26
lifelessor even at 4G12:27
vilalifeless: it's an extrenal server right, not one in the same process as your http client ?12:27
lifelessthe stream is - let me just wget it12:27
lifeless4126895989 bytes long12:27
lifelessdu -s /tmp/t/music/12:28
lifeless2099976 /tmp/t/music/12:28
vilaIIRC bt.http.response will read by 500K chunks12:28
lifelessis the amount writen to the output dir ont he machine I'm streamin to12:29
vilalifeless: 2099976 is not a multiple of 512 * 1024, weird12:34
lifelessits stuck, same place12:34
lifelessclient side si looping:12:35
lifelessrecvfrom(4, "", 524288, 0, NULL, NULL)  = 012:35
lifeless100% CPU use :(12:35
vilalunch time here,12:35
vilayou mean it loops *trying* to read but getting nothing ?12:35
lifelessright12:36
lifelessor12:36
lifelessits looping with a zero length buffer12:36
lifelessI'm going to check the params now12:36
vilaat least 524288 is 512 * 1024, so we are indeed respecting that12:37
lifelesswhy deoes 512*1024 matter ?12:38
lifelessoh, so I *know* that the server can send a 4G stream12:38
lifelessbecause wget can get it all.12:39
lifelessman recvfrom12:39
lifeless524288 would appear to be the length we're willing to receive12:39
lifelessso that call is ok12:39
vilayes, that  bt.http.response imposing that 512K to avoid memory errors12:41
vilas/that/this/12:41
lifelessI'm running it a gain with an assert in osutils.pumpfile12:46
lifelessjust incase its gotten a zero-length read or something silly organised12:46
lifelessvila: http://mail.python.org/pipermail/python-bugs-list/2005-January/027258.html is int he sapce12:55
lifelesshah! I think I know.12:58
lifeless32-bit squid build, I think12:58
lifelessyeah12:59
lifelessyup13:00
lifelessgnight13:04
vilalifeless: gnight, so the problem is solved for you ?13:05
lifelessvery sure it will be13:05
vilaok13:05
lifelessthe client was using a 320bit squid build without -DLARGEFILE wor wahtever13:06
lifelessI'll look into it more tomorrowish13:06
Annaahttp://tinypic.zapto.org/2kn4m8.png?t=1270382681 do my breasts look to big?13:12
fullermdIt must be hard to have a 320 bit build without LARGEFILEs...13:13
vilaAnnaa: dunno about your breats, but your brain, definitely no13:13
vilafullermd: naah, he emant really LARGE, like Annaa's13:13
* fullermd keeps waiting for you to type 'Anaaa'13:16
vilabananaaaaa13:16
fullermdIs that just a typo, or are you a sheep?  'cuz I've been thinking about making a new sweater...13:18
vilaI was thinking about some string search algorithm that mentioned banana as a useful test case :)13:25
jambanana-rama mo-mana fee-fi fo fana, banaaana15:15
jammorning vila and fullermd15:15
ferringbso... random question, using bzr-svn, now trying to merge the work back (quite a few moves, bunch of modifications)... bzr-svn however seems to just be attempting to do a remove/add instead of a move16:46
ferringbbit non optimal since history will be lost16:47
ferringbany ideas?16:47
=== radoe_ is now known as radoe
ferringbcurious, how would one go about pushing revs/history of a bzr branch into svn when there is no common ancestor?19:28
SamB_XPferringb: uh, carefully ;-)20:10
SamB_XPyou may wish to try it with a local toy SVN repo first20:10
ferringbSamB_XP: or toy branches20:19
* ferringb figured it out20:19
ferringbbasically push to an empty location in svn20:19
ferringbtrickier was how to get revs from a bzr branch directly into svn w/ the history fully merged in (hacked that one, but it worked)20:20
goundyHi23:07
goundyGuys, do you know a place where I can have a private bazaar repository for free ?23:07
goundy(I need this temporary actually :))23:07
lifelessany server you can sftp or ssh into23:11
SamB_XP(or access as a filesystem -- say, a flash drive?)23:16
Infl8ableSoulm8I will give you a free, private bzr repository for $100!23:22
Infl8ableSoulm8oh.23:22
SamB_XPI think he meant money-free rather than free-of-restrictions23:23
Infl8ableSoulm8right.23:23
Infl8ableSoulm8besides the fact that I'm a newb and no one would want to have their stuff hosted on my box to begin with :D23:24
SamB_XPa Linux newb ?23:24
Infl8ableSoulm8not so much a linux newb.23:24
Infl8ableSoulm8I am pretty good with linux for desktop purposes.23:24
SamB_XPgoundy: what organizations are you affiliated with?23:25
SamB_XPany?23:25
Infl8ableSoulm8but all this security and permissions stuff that comes with running a server is kinda over my head at the moment.23:25
goundySamB_XP, nope... not yet actually that's why I'm looking for a quicky :°)23:25
SamB_XPI thought maybe you had a school or something23:25
goundy<Infl8ableSoulm8> I will give you a free, private bzr repository for $100!> Ohooo generous :p23:25
goundySamB_XP, I do have one, but my code isn't targeted to it23:26
SamB_XPwell, they often have CS departments, and those often have some way of getting a shell account...23:26
SamB_XPanother option would be to use one of those computers your mother wishes you'd just throw away as a *nix server23:28
fullermdSee, I thought about trying that once.  But getting *nix running on an Apple ][ is a bit of a challenge.23:35
goundySamB_XP, yeah, unfortunately the only machine my mum wishes I throw away is yet down :p23:36
SamB_XPfullermd: lol23:36
SamB_XPfullermd: I'm thinking college was a few years back for you, yes?23:37
fullermdIt wasn't THAT long ago!  It was just...  umm...  OK, shaddup.23:38
Infl8ableSoulm8it could just be that their CS dept is that far back.23:38
fullermdShe does still wish I'd throw away the Apples, though!23:38
SamB_XPit's only that I don't think people young enough to still be in college were old enough to have any control when any Apple IIs the family may have had would probably have been thrown out ;-)23:42
fullermdPah.  Slackers.23:42
SamB_XPwhu?23:43
SamB_XPare you implying that more people your age should be getting PhDs or something ?23:43
fullermdActually, I acquired most of them from a school that was throwing them out (many, MANY years after they should've)23:43
SamB_XPah23:43
fullermdMost of the people I went to school with who intended to get PhD's have them by now.23:44
SamB_XPokay, that may throw off my reckoning ?23:44
fullermd(and the remainder probably won't get them anytime soon)23:44

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