/srv/irclogs.ubuntu.com/2009/02/05/#bzr.txt

gotgenesI've made some local, uncommitted changes but decided they would be better suited to be put into their own branch. Is there an easy way I can branch, keeping the local changes?00:42
jelmergotgenes: "bzr branch thisdir otherdir; cd ../otherdir; bzr merge --uncommitted ../thisdir"00:42
gotgenesjelmer: awesome, let me try that00:43
bob2if you're using checkouts, make a new branch, and 'bzr switch' the working copy to the new branch00:43
gotgenesbob2: no checkouts in this case00:43
EnCuKouOr commit --local, branch, and uncommit00:44
gotgenesjelmer: Brilliant!00:48
gotgenesEnCuKou: that would also work, too.00:49
mwhudsonmerge --uncommitted is cool01:04
jmlyeah01:15
igcmwhudson: did that TODO for revnocache prove interesting?01:27
mwhudsonigc: yes01:27
igcmwhudson: lifeless has some thoughts he'd like to share on how best to use btrees so be sure to ping him before hacking on that bit01:28
mwhudsonigc: i'm hip-deep in reviewing launchpad code today though01:28
igcmwhudson: np. Just making sure I didn't forget to tell you :-)01:29
mwhudsonigc: ok, i saw, i cogitated, but no more than that :)01:29
=== asac_ is now known as asac
=== spm_ is now known as spm
LaserJockany ETA on working ~bzr PPA for Intrepid?02:35
* igc lunch02:43
=== timchen1` is now known as nasloc__
poolielifeless: ping?04:31
poolielifeless: i got a pqm failure full of lines like this:04:31
pooliemerge http://sourcefrog.net/bzr/remove-sftplock http://bazaar-vcs.org/bzr/bzr.dev04:31
poolieCommand failed!04:31
poolieAll lines of log output:04:31
poolieExecuting pre-commit hook /home/pqm/bin/kill-chroot-processes.sh /srv/pqm.ubuntu.com/chroot-amd64 && /home/pqm/bin/dchroot-run make check at Thu Feb  5 04:26:46 200904:31
poolieScanning for processes to kill in chroot /srv/pqm.ubuntu.com/chroot-amd6404:31
poolieScanning for processes to kill in chroot /srv/pqm.ubuntu.com/chroot-amd6404:31
poolieremoved directory: `/srv/pqm.ubuntu.com/chroot-amd64/tmp/bzr-limbo-011qkx'04:31
lifelessspm: ^04:31
spmhrm04:32
spmtom did some changes there this morning....04:32
lifelessmy guess04:32
lifelessthe commit before left dirt04:32
lifelessand the kill-checker found that dirt and exited non-zero as a result04:33
lifelessso -- resubmit your merge04:33
lifelessand file a bug that we aren't cleaning up bzr-limbo-011qkx during test runs04:33
lifelessand tell everyone to submit every merge twice until we do :P04:33
poolie:/04:33
lifelessor we can roll the clean-checker back04:34
lifelessbut we had a bunch of stale bzr test processes yesterday, from months back04:34
lifelessand the sysadmins pinged me04:34
lifelessthis is an existing tool written for lp04:34
spmlifeless: would it be worthwhile reverting tom's change to pqm-config, till you guys get this stuff sorted?04:36
pooliethe second request i sent just failed too04:36
lifelessspm: things without motivation often don't get sorted04:36
lifelesspoolie: interesting, hang a tick04:36
poolielifeless: what's it supposed to do?04:36
lifelessspm: can you check if there is other dirt left behind?04:37
lifelessspm: perhaps the check is not fully cleaning04:37
spmpoolie: basically is doing: for ROOT in /proc/*/root; do === in the chroot04:37
spmlifeless: sure, one sec04:37
lifelesspoolie: it finds processes and temporary directories created in the chroot, and zaps em04:37
poolieas part of the *next* merge?04:37
lifelesspoolie: so that old test runs that left cruft don't cause spurious success||failure to new ones04:37
lifelesspoolie: that part seems odd to me too :P04:38
lifelessspm: I'd be inclined to run it before and after, FWIW04:38
poolieok and the third one just failed too04:38
spmlifeless: a prehook as well?04:38
poolieistr that pchroot or dchroot handles this as a standard feature04:38
lifelessspm: /home/pqm/bin/kill-chroot-processes.sh /srv/pqm.ubuntu.com/chroot-amd64 && /home/pqm/bin/dchroot-run make check && /home/pqm/bin/kill-chroot-processes.sh /srv/pqm.ubuntu.com/chroot-amd6404:39
lifelessspm: for lp too IMO, but thats a different discussion. Lets find out the cause of this problem, and then unblock poolie04:39
spmsure - fixing - one tick04:40
spmpoolie: try now04:41
poolieok sent04:42
pooliespm: still sucks04:50
spmlifeless: I think we're picking up procs from another chroot on that box04:51
lifelessspm: better disable it for now then04:51
lifelessspm: if you would be so kind04:51
spm2/2 then? :-P04:51
poolieyes, please disable it04:52
lifelesswell, 2/1 for zings, and $help-each-other-whenever ;)04:52
poolie2/2 what?04:52
spmhahahahha04:52
poolie100% of my submissions have failed04:52
poolieit sounds like a useful feature but only if it works :)04:52
LaserJockpoolie: you happen to know if bzrtools is gonna get updated in ~bzr PPA any time soonish?04:54
poolieyes, soon04:54
poolieLaserJock: what do you use from bzrtools btw?04:54
spmpoolie: go for it. btw did I ever mention that bzr rocks for doing config file management?04:55
LaserJockpoolie: I have no idea but I can't upgrade bzr-svn I don't think04:55
poolie?04:55
pooliespm, trying again04:55
LaserJockI don't know, but I can' do a clean upgrade, I've gotta remove something, let me check04:56
LaserJockok, so I can upgrade bzr and bzr-svn but bzrtools gets removed04:57
LaserJockI don't know what all is in bzrtools but I've always been told it's pretty important to have04:57
pooliespm, ok, i got a real failure, yay05:01
spmpoolie: cool - progress of sorts :-)05:01
lifelessnight all06:07
lifelesspoolie: were you going to reply to that mail ?06:07
* spiv heads off to SyPy06:14
thumperhow do I get bzr to show me the revision id of the last revision from the commandline?06:19
mwhudsonthumper: bzr revision-info06:20
thumperta06:21
vilahi all06:56
pooliehello vila07:12
fullermdme blinks.09:22
fullermdI thought autopack only did its thing when we got up to 10 packs (or various farther iterations)09:22
ronnymoin09:39
=== mark1 is now known as markh
=== kiko is now known as kiko-afk
bartzitzhello, i'm affected by this bug https://bugs.launchpad.net/bzr/+bug/319790 (can't unshelve my changes)11:54
ubottuLaunchpad bug 319790 in bzr "bzr unshelve crashes losing all changes" [Medium,Confirmed]11:54
bartzitzsomeone suggests restoring the shelf manually, but how do i do it?11:54
ronnyjelmer: say - are there any plans to have some kind of content-addressing in bzr?11:58
=== AfC1 is now known as AfC
igcnight all13:06
beunough13:18
beunomac and windows encoding are not getting along13:18
beunodoes anyone know how I can avoid getting into this situation?  http://paste.ubuntu.com/114010/13:18
Takouch13:19
Peng_igc: You're probably gone now, but the "log multiple files and directories" merge directive you just sent has an incorrect target_branch, so BB won't track it.13:24
verterok_beuno: playing with the encoding options when mounting the sshfs?13:26
verterok_beuno: hi!, btw13:26
beunoverterok_, hai!13:27
beunoverterok_, no sshfs involved  :(13:27
beunoblain branching back and forth13:27
verterok_:/13:29
Takjelmer: ping?13:29
=== thunderstruck is now known as gnomefreak
=== kiko-afk is now known as kiko
Lo-lan-doHi all14:07
Lo-lan-dojelmer: I guess subvertpy is in NEW... is the package available somewhere in the meantime?14:07
ronnypypi?14:10
Lo-lan-do?14:12
ronnypython package index14:12
Lo-lan-doI'll have a look, thanks.14:13
ronnyits easy-install able14:13
Lo-lan-doOh.  No go then, I need dpkg-able :-)14:13
ronnyhmm14:13
ronnymaybe there is a ppa on launchpad14:14
* Lo-lan-do rebuilds from the source package available in the PPA14:14
ronnyjelmer: btw, how does one do a commit with message from a wc/client in subvertpy?14:14
ronnyclient.commit seems to be without message14:15
james_ware the messages done with callbacks?14:16
ronnyi have no idea14:16
=== thunderstruck is now known as gnomefreak
jelmerronny, you need to specify a callback for the message14:20
jelmerronny, client_ctx.log_msg_func = lambda items: "bla"14:20
ronnyyikes14:20
jelmeritems is the list of things being committed14:21
ronnyjelmer: is it possible to tell it the author?14:21
jelmerronny, the callback ? no, the author isn't known at that point14:21
jelmersvn sends back the author only once the commit is done14:22
ronnywhat where they thinking?14:23
Takjelmer: I was looking at the md-bzr debian branch - ironpython shouldn't be in the build-depends14:27
tedgHello, I thought there was a way to attach metadata to a file in bzr, but I can't seem to figure out to do it.  Can I do that from the command line?14:39
Taknew version will depend on bzrtools, though, and xmloutput (once there's a deb package)14:41
gnomefreakis there a way to use bzr to generate an upstream tarball using the version in the debian/changelog?14:43
jelmerTak, right now, it does depend on ironpython, see the mdp file14:43
jelmergnomefreak, bzr builddeb --export-only . IIRC14:43
ronnyjelmer: btw, do you guys have any plans for content-addressing?14:43
gnomefreakjelmer: thanks ill try it14:43
ronnyi need a git-alike object db soon that can handle more than just blob/tree/commit/tag14:43
ronnyhowever i need it content-addressed14:44
gnomefreakthat failed :(14:44
TakI can remove the reference, but it's not being used anyway14:44
jelmergnomefreak, it works fine here, what error do you get?14:45
gnomefreakjelmer: http://pastebin.mozilla.org/61631114:45
jelmerronny: I'm not sure I follow14:46
jelmerronny: What do you mean by content-addressing? Being able to fetch revisions/texts by their checksum?14:46
jelmergnomefreak, you're not exporting upstream from bzr, any reason for not just using uscan?14:47
ronnyjelmer: yeah14:47
jelmerronny, I don't think there are any plans for that14:47
ronnyok14:47
gnomefreakjelmer: not sure how would be the biggest reason14:47
ronnythen i'll reimlement git's object db soon14:47
ronnygit cant be extended with new types14:48
gnomefreakmaybe ill just get the most recent and update change as needed14:49
bialixhi, any bzrlib hackers here?14:50
jelmergnomefreak: uscan already parses debian/changelog, I think if you use the right magic options for it it can download the appropriate tarball14:50
jelmerhi bialix14:50
bialixI have question about test14:50
bialixhi jelmer14:50
gnomefreakjelmer: thanks ill look at man page14:50
bialixmy question is: how can I test that some method I call write rnings?14:51
bialixwarnings14:51
bialixI'd like to avoid write black-box test14:51
bialixany ideas?14:52
* bialix looks at TestCase attributes14:59
bialixor maybe I need to use bzrlib.trace.push_log_file?15:00
bialixpush_log_file is fine15:19
santagadasomething missing from the bazaar user guide is if using bazaar server by itself provides any form of security15:57
Peng_santagada: It does not. That's what running it through ssh is for. :)15:59
Peng_Or http.15:59
MattCampbellOr SMB if you're on an all-Windows LAN.16:01
santagadabut http is not using the smart server right?16:04
MattCampbellThe smart server can be used over HTTP.16:05
santagadaMattCampbell: really? that is not on the user guide I think16:06
santagadaMattCampbell: Great! that was one of the problems I thought when moving from subversion to bazaar...16:07
MattCampbellsantagada: What's wrong with bzr+ssh?16:07
santagadaMattCampbell: firewalls, stupid firewalls, and windows users16:08
Lo-lan-doWhat's wrong with bzr send + email?  Surely even Windows users can send mails...16:09
santagadaMattCampbell: and it is far easier to connect a subtree of a web server to ldap than to change a whole system login to suport a dev team16:09
santagadaLo-lan-do: :)16:09
MattCampbellHmm, let me double-check that you can run the bzr smart server over HTTP; I may be confusing bzr with Mercurial.16:10
MattCampbellNow I'm curious; does Launchpad even support authenticated bzr access over HTTP?16:15
MattCampbellI know Launchpad supports bzr+ssh via a custom SSH server using twisted.conch.16:15
Lo-lan-doAnd as for firewalls, surely they don't block HTTPS, do they?16:16
MattCampbellI'd hope not, though some especially anal ones may require you to use a proxy with the CONNECT command.16:17
Lo-lan-dohttp://sam.zoy.org/blog/2007-04-23-use-sshd-and-httpd-on-the-same-port-almost is your friend16:17
Takmost "especially anal" ones don't support CONNECT at all16:18
Takin my experience16:18
santagadathere is a firewall on some machines on my university that blocks some http verbs that mod_svn uses16:18
MattCampbellThen I suppose they allow direct access to port 443.16:18
Lo-lan-doIn my experience, these ones are more of a hindrance to work getting done than anything else, so the problem becomes a human problem that technical solutions won't help solve.16:18
santagadaso you can update/checkout from http but not commit16:18
santagadaMattCampbell: yes, using https solves the problem16:19
MattCampbellDoes anyone know of a firewall that monitors the traffic on outgoing connections to port 443 to make sure it's really SSL?16:20
santagadastill as I don't have the custom ssh server lp uses I prefer https with ldap for repo comunication16:20
santagadaMattCampbell: yes, the traffic shappers used by some ISPs does this16:21
MattCampbellsantagada: You could probably do a good imitation of Launchpad's ssh server if you know Python and Twisted.16:21
Lo-lan-doYou can still tunnel SSH over SSL then.16:21
santagadaMattCampbell: yep... but still, http and ldap can be used by non python programmers16:21
MattCampbellI assume Launchpad's custom SSH server is part of the code-hosting component which will be kept proprietary.16:22
santagadaLo-lan-do: double the encryption for double the security? :)16:22
Lo-lan-doNo, double the encryption so these proxies can only see an SSL stream without knowing it's really SSH inside.16:23
santagadaLo-lan-do: I got it, but it still doesn't solve the problem of having a ssh server that uses ldap for authentication, without messing with the system one16:23
Lo-lan-doI'm not sure I follow...16:24
Lo-lan-doWhy do you want two sshds?16:24
santagadaLo-lan-do: if your set of bzr users are not the same as your unix users16:25
santagadaLo-lan-do: or for example if you have a windows server16:25
Lo-lan-doOh, *ugh*16:25
santagadaLo-lan-do: both of the situations happen16:26
Lo-lan-doI bet they do.  Poor guys...16:27
bialixno, they're not poor, because bzr gave them rich-roots!16:27
bialixhi garyvdm16:29
garyvdmHi16:29
bialixI've looked at the bug about UI factory16:29
bialixbut did not find solution quickly16:29
bialixit seems there was big change recently16:30
garyvdmbialix: I'm looking at it atm.16:30
bialixold code rely on self.stdout/self.stdin16:30
* bialix nods16:30
garyvdmYhea that was me - but stdout/stdin should be there16:30
bialixI've tracked it down to bzrlib16:31
garyvdmI'm getting a different traceback16:31
bialixyou've changed the base class, there I'm stopping16:31
bialixI'm running bzr.exe 1.1116:31
bialixI guess you're using bzr.dev16:31
garyvdmI have the same problem on 1.11 and bzr.dev16:32
garyvdmThis is the traceback I'm getting16:35
garyvdmI get it from any q* command. Ones that use the subprocess ui factory like qpull, and ones that use in process ui factory, like qlog.16:36
garyvdmI don't get it if I just run bzr pull16:36
garyvdmI get it if I revert back to rev 575 of qbzr16:37
garyvdmwhich is before I started changing the ui factories16:37
bialixhmmm16:38
bialixcan you pastebin your traceback16:38
* bialix reverts to 575 too16:39
garyvdmhttp://pastebin.com/d7f36feaa16:39
garyvdmSorry - I pastebined it a while ago and forgot to send the url <-- silly me16:39
bialixyou've got completelly different error16:40
garyvdmSame problem with rev 54916:40
bialixcan you try with lp: url? without ssh key16:40
bialixI don't have the problem with 57516:41
* garyvdm tries to figure out how to disable his ssh key on ubuntu16:41
bialixoops16:42
* bialix has no idea16:42
garyvdmGot it16:42
MattCampbellsantagada: BTW, you *can* run the bzr smart server over HTTP; it's documented in the user guide.  You can use either FastCGI or Apache 2 with mod_python.16:42
garyvdmbialix: Going to boot Windows16:45
santagadaMattCampbell: I was at section 7.4... thanks16:45
bialixgaryvdm: no problem with r576 too16:45
* bialix waits for gary to rebbot16:45
santagadaMattCampbell: I think there should be a link to the appendice about it... or a more proiminent one16:46
garyvdmAhh - bialix - can I give you a bundle to test16:46
bialixof course16:46
MattCampbellsantagada: Or sinze the smart server's HTTP transport is a WSGI application, you can run it as a separate HTTP server (using e.g. wsgiref or paste.httpserver) and have Apache proxy to it.16:48
MattCampbellThere are actually very many options for deploying a WSGI app, as I recently learned.16:49
bialixgaruvdm: btw, there is another bug introduced in r579. when I click Cancel in password dialog the subprocess cannot stops16:49
bialixgaryvdm: sorry ^^16:49
santagadaMattCampbell: yep, if it is a wsgi app it is very very flexible16:51
santagadaMattCampbell: my latest idea is use cherokee web server + scgi16:52
MattCampbellsantagada: Why Cherokee?16:53
santagadaMattCampbell: Cherokee is very light, like lighttpd but seems even simpler to configure16:54
santagadamaybe ngix is also a good idea... or lighttpd16:55
bialixgaryvdm: you're still here?16:57
garyvdmYhea16:57
bialixr576-581 (including) have no problem for me16:57
bialixoffending revision is 58216:58
garyvdmbialix: I've just sent you bundle.16:58
bialixGary, why you need to change base class? I'm curious16:58
garyvdmBecause TextUIFactory expects to be able to prompt the user and get a response from stdin17:00
garyvdmThe only situation qbzr can handle that is for passwords.17:01
bialixhmmmmmmmmmmmmmmmmmmmmm17:02
bialixI cannot reproduce the bug on the netbook with English XP17:02
bialixbut can on Russian Windows17:03
MattCampbellI don't even know what this bug is, but it smells like a Unicode problem.17:03
garyvdmI think the problem my be with using super - so maybe python version.17:03
MattCampbellWell, my comment is based on bialix's one statement about the bug happening on Russian Windows but not English Windows.17:04
garyvdmMattCampbell: The error: AttributeError: 'SubprocessUIFactory' object has no attribute 'stdout'17:04
garyvdmbug 32475817:05
ubottuLaunchpad bug 324758 in qbzr "'SubprocessUIFactory' object has no attribute 'stdout'" [High,New] https://launchpad.net/bugs/32475817:05
bialixweird17:05
bialixbut there different plugins set17:06
bialixgaryvdm: different traceback now17:07
bialixbzr: ERROR: exceptions.TypeError: __init__() takes exactly 1 argument (4 given)17:07
bialix  File "C:\work\Bazaar\plugins\qbzr\lib\subprocess.py", line 617, in __init__17:08
garyvdmbialix: ok - let me boot into windows17:08
bialixgaryvdm: http://pastebin.com/m2766934317:09
* bialix waits17:11
bialixgaryvdm: http://pastebin.com/m2766934317:12
bialixgaryvdm: it seems in the older bzr versions CLIUIFactory constructor has only self argument17:13
Lo-lan-doHow recognizable is the bzr crowd?17:14
Lo-lan-doFor the sake of example, let's assume the context of a large beer-oriented pub filled to the brim with geeks.17:14
LeoNerdI find I quite often use 'bzr shelve' etc.. in svn checkouts. If I haven't used it for a while, it has to spend a while pulling changes from the SVN repo. Is there some command I can schedule via cron, maybe, so that my local bzr-svn cache is kept up to date?17:15
=== bac is now known as bac_lunch
NecoroLo-lan-do: the guys prasing Linus Torvalds as a (semi)god are probably git-fanatics ...17:15
Lo-lan-doLeoNerd: I think that's a bug I reported already, and jelmer said it would be fixed for 0.5.1.17:16
GaryvdMbialix: Got to do some work related stuff - but I'll return shortly17:16
* bialix going to home soon17:16
LeoNerdLo-lan-do: Oh.. I don't think it's a bug... it works well enough.. I just would like it to keep its cache up to date while I'm not using it. Say, overnight.17:16
bialixGaryvdM: if I'm commenting out extra args from constructor I'm get the same traceback17:17
Lo-lan-doLeoNerd: Five minutes for a bzr update when there's only one revision to pull qualifies as a bug for me, but YMMV.  Anyway, just run "bzr update" at night, and you should be fine.17:18
bialixI guess we can simply set stdout attribute from our code if bzr < 1.1217:18
bialixGaryvdM: I'm heading to home, will try to check the trick with stdout at home17:19
bialixGaryvdM: but it seems we should override CLIUIfactory constructor in the way similar to TextUIFactory17:20
* bialix bbl17:21
LeoNerdLo-lan-do: Oooh.. Well, if there really is only one revision then mine is quick. It's just our repo is massive, it gets the order of 5 commits a minute. If I haven't used bzr-svn in a few weeks, it has to spend many minutes catching up. I'd like to have a daily cron task that keeps the cache fresh, as of that morning17:21
Lo-lan-doLeoNerd: Apparently (from the logs) something scans all SVN revisions after having fethed the new ones.17:22
Lo-lan-doIf I'm up-to-date, a bzr update takes ~10 seconds.17:23
Takditto, at least17:23
Lo-lan-doIf I need to pull revs, then it's ~15 seconds doing useful stuff followed by ~5 minutes spent doing "something" to every revision in the cache.17:23
Lo-lan-doIn my case we have ~7000 revs in SVN.17:24
Takmine is like 130k17:24
Lo-lan-doTak: And it's still fast?17:25
Lo-lan-doI must be doing something wrong then...17:25
Tak...fast?17:25
Lo-lan-doSorry, I may have misunderstood.  Do you also see delays of several minutes when doing a bzr update?17:26
kfogelterminology question: in bzr, do people tend to refer to the mainline as "mainline", "trunk", "master", or something else?17:27
Lo-lan-doI tend to use trunk because that's what people coming from SVN know.17:29
Lo-lan-doAlso, because it sits well with the concept of branches.17:30
LeoNerdkfogel: "what mainline" ?17:30
Lo-lan-doThe one with the Holy Penguin Pee, of course.17:30
kfogelLeoNerd: "mainline" == "the branch that developers of the project socially agree contains the latest code that is ultimately destined for release"17:31
LeoNerdkfogel: But such a concept doesn't always exist17:31
Lo-lan-doI would s/release/the next release/17:31
LeoNerdThat's surely the point of decentralised working, no?17:31
kfogelLeoNerd: no, I don't think it is.  The concept always exists, as a concept :-).  Whether it exists in a given project is usually not a matter of controversy, but can sometimes be.17:32
kfogelLeoNerd: another way to think of it is "the place where a change needs to land to be taken seriously by the group of people who call that place 'mainline'".17:32
kfogelLeoNerd: So you see, it's not less decentralized, it's just that the term can be relative.  As indeed it can be with a centralized VC system too.17:33
clementekfogel: I call it the „official“ branch or refer to it by name; for instance „In bzr.dev ...“17:34
Lo-lan-do(I still don't know how to find you guys tomorrow night at the Delirium Café...)17:35
kfogelclemente: that works, though not equally well in all writing contexts17:36
kfogelI guess I'll go with trunk for the generic term, for now.17:36
TakLo-lan-do: yeah, I see long delays when updating, pulling, merging, even when there are no changes17:37
Lo-lan-doTak: Ah.  Reproducibility is always good :-)17:37
GaryvdMbialix: I can reproduce the problem now.17:45
benrometschsorry if this is a ridiculously stupid question, but I'm trying to figure out whether bzr or git is better for me, and I cant find a way of creating a local branch in bzr - am I missing something?17:46
benrometsch\]17:46
Peng_benrometsch: Bzr doesn't support git-like local branching. You only get one branch per directory.17:46
benrometschright that's what I thought17:46
benrometschis there a philosophical reason for this?17:47
Lo-lan-do"Not implemented yet".  Not very philosophical :-)17:47
benrometschlol17:47
Lo-lan-doWell, it depends on what you call a local branch, actually.17:47
NecoroLo-lan-do: is there really a plan to have something like this?17:48
Lo-lan-doNecoro: Apparently there is.  The keyword is "colocated branches".17:48
Necoroah ok17:48
NecoroI thought, that it was really avoided as of "we do not want this"17:48
Lo-lan-dobenrometsch: "bzr branch $remote" gives you a branch that is local, doesn't it?17:48
TakI have never understood the "need" for colocated branches17:49
benrometschbut I mean you cant switch branches within the same directory17:49
Lo-lan-doNecoro: I think it's "we do not want this unless implemented properly", which is slightly different.17:49
benrometschso if I have a project with files/dirs in it I cant create a local brach, make changes and then if required quickly revert back to the original branch17:49
Lo-lan-dobenrometsch: Correct, although you can simulate that with a shared repo and a lightweight checkout.17:49
benrometschyeah but that's just like SVN...17:50
benrometschand we already use SVN17:50
Necorobenrometsch: Oo - bzr branch $remote b; cd b; code ...; cd ..; rm -rf b17:50
Lo-lan-doI don't have a good answer for you then I'm afraid :-/17:50
Necorobenrometsch: or I am not really understanding your point ;)17:51
Necoroas the branch you get with "bzr branch" is _local_ as in: the remote branch does not notice any changes you do here17:51
benrometschi just like the way in git you can easily create branches locally without having to create a seperate directory structure17:51
Lo-lan-doNecoro: "in the same directory"17:51
benrometschand then flick between then with a simple command17:51
Necorowell ... I have a shell alias for sth like this ;P17:52
Necoro"cdp branch"17:52
Necoro^^17:52
Lo-lan-doThat's what colocated branches are about, and they're at the discussion stage.17:52
benrometschtbh the experience of playing with bazaar vs git - bzr is much nicer17:52
benrometschcleaner OSX install, better documentation17:52
benrometschgit has been problematic for us here esp in windows17:53
benrometschso is $remote a special keyword when branching>?17:54
Necoroeh no17:54
Necoroit is just a placeholder for the remote branch URL17:54
Necoro;)17:54
benrometschok I see17:54
benrometschjust wanted to check17:54
Lo-lan-do"bzr branch <remote>", if you prefer17:55
Necorobenrometsch: btw: have you had a look at mercurial ... just to give you another option at hand in case neither bzr nor git are what you are looking for17:55
Necorothough I do not know if hg has "local branches"17:55
benrometschyeah I just downloaded it a moment ago17:56
Necoro(the one thing I really prefer from bzr over hg and git are "revision numbers" ... not having stupid SHA-hashes one has to deal with)17:57
Peng_Necoro: Hg does have local branches, but you can't delete them once you create them. (Recently it became possible to hide them though.)17:57
NecoroPeng_: well ... not being able to delete them could be an issue ...17:58
Peng_Indeedy.17:58
Peng_Generally people use separate clones for short-lived branches, just like in bzr.17:59
santagadabenrometsch: this local branch thingie might be what I was looking for18:00
Necoroand not having local branches has one advantage: you clearly see on what branch you are working on ;) - w/o having to do "git branch" or tweak your shell prompt ;)18:00
santagadakeep the directory I'm working with but change the branch18:00
Peng_Though you can tweak your shell prompt if you want to.18:00
Peng_Who doesn't want "cd" to take 300ms?18:01
santagadaprobably just moving things around would do also18:01
NecoroPeng_: my shell prompt shows me the current bzr revno and whether there are uncommited changes ;)18:01
Necoroon larger repos I have to turn it off ^^18:01
benrometschyeah santagada local branches are one of the things I think would really speed stuff up but I take other people's points that having directories explicitly defining branches can be useful18:02
Necorowith git it could be less problematic as it is way faster18:02
santagadathe problem I see is with dev tools18:02
santagadafor example textmate has the concept of project wich is a directory18:03
benrometschyep that's what would help us - being able to just update changed files rather than having a whole new directory18:03
santagadaahh forget it... it is just an "mate ./" anyway18:03
santagadabenrometsch: what ide/editor do you use?18:04
jelmerLo-lan-do: Hi!18:04
Lo-lan-doHi jelmer :-)18:04
jelmerLo-lan-do, We don't really stand out from the rest of the FOSDEM crowd I think..18:04
Necorobenrometsch: if you just want to overwrite the current dir w/ another branch and do not care about local changes, "bzr pull" is your frient18:04
benrometschintellij idea18:04
Necoros/frient/friend/18:04
jelmerLo-lan-do: I'll try to wear my Bazaar t-shirt at the beer event on friday18:04
Lo-lan-do'kay18:05
Necoro(well "bzr pull --overwrite" this is actually)18:06
benrometschNecoro: yeah that's ok but it still means I have to create another directorym then work in that, then pull back18:06
benrometschwhich doesn't follow the workflow of our IDE that well18:07
Necorobenrometsch: eh no18:07
benrometschso is hg more like git or bzr?18:07
Necorosuppose you branched URL_A - worked on it ... and then want to pull in URL_B and overwrite everything you just did18:07
Necorobzr branch URL_A b; cd b; code ... ; bzr pull URL_B --overwrite18:07
benrometschYeah that's the problem tho - the cd b;code18:08
benrometschthat's not good for me18:08
Necorobut even in git, you have to create a directory in which the code exists18:08
Necorothis is not ClearCase ;P18:08
benrometschbut in git I can just say18:09
benrometschbranch <branch name>18:09
benrometschthen carry on in my IDE18:10
Necorowell ... do "bzr pull <branch name> --overwrite" (with restrictions as noted above)18:10
Necorowhich does the same - replacing the current branch by another branch18:10
benrometschwhat about creating a new branch18:11
Necorowell ok18:11
Necoroyour point18:11
benrometschha ;)18:12
benrometschho well I'll give hg a run and see18:12
benrometschthat has local branching right>18:12
benrometsch?18:12
Necoroaccording to Peng_18:13
jelmerthere's a proof-of-concept plugin for bzr that provides local branching support18:14
benrometschthanks for the help anyway18:27
GaryvdMbialix: Fixed both problems :-)18:30
santagadabenrometsch: tell us what you discover... I'm interested at least18:30
ronnyjelmer: does dulwitch give complete access to git via bzr apis?18:30
jelmerronny, no, that's bzr-git (which is built using dulwich)18:30
jelmerdulwich is generic, not specific to bzr18:30
jelmer(a bit similar to bzr-svn / subvertpy)18:31
ronnyjelmer: ah, so dullwich gives git ?18:31
jelmerronny, yep18:31
ronnyjelmer: its really nice how you gradually implement everything i need for anyvc18:32
jelmerronny, :-)18:32
kfogelIf anyone wants to proofread this, I'd be grateful:18:32
kfogelhttp://www.emacswiki.org/emacs/BzrForEmacsDevs#Regulars18:32
kfogelTrying to get those people prepared for the Big Day.18:32
ronnyjelmer: does dulwich use any of git, or is ir completely independ18:33
ronnyjelmer: and of course - how is the performance ;P18:33
=== abentley1 is now known as abentley
bialixgaryvdm: thanks18:48
bialixgaryvdm: but it's better to not use bencode improvements18:49
bialixI have another regression with bzr 1.1118:49
garyvdmSorry - I don't understand18:50
=== bac_lunch is now known as bac
bialixwait a sec18:52
Takkfogel: looks good to me18:53
bialixgaryvdm: http://pastebin.com/m20409afe18:54
kfogelTak: thank you!18:54
bialixgaryvdm: I'm fixing this18:57
garyvdmbialix: Ok - Thanks18:57
jelmerronny, it's pretty bad at the moment, but I'm working hard on fixing that18:57
bialixbut another one problem bother me18:58
jelmerronny, as is the author of pyrite (we're merging some of the code we have in common)18:58
bialixgaryvdm: try to simply press OK in te password dialog when accessing lp:18:58
ronnypyrite?18:58
ronnyjelmer: btw, can it be possible to add custom object types later?18:58
jelmerronny, a Python re-implementation of Git18:59
* ronny needs more than commit/tag/blob/tree18:59
jelmerronny, completely (including command-line, etc)18:59
jelmerronny, yeah, sure18:59
bialixI'm every time got: http://pastebin.com/m2f2d9bdd18:59
bialixspiv is not here I guess18:59
jelmerronny, they're already separate classes at the moment, the only thing left to fix would be allowing registration of new types (type int -> class is in a dictionary at the moment)19:00
bialixspiv: when you awake, can you comment on this: http://pastebin.com/m2f2d9bdd19:00
ronnyhmk19:00
bialixspiv: it's when we passing empty string instead of password while accessing lp branches19:00
bialixgaryvdm: but when I do the same in the console I don't have such traceback19:01
jelmerronny: what sort of custom objects are you looking at adding?19:01
ronnyjelmer: want to split up mime messages and stuff like vcs checkouts19:04
ronnyalso i need object lists19:04
bialixgaryvdm: what is your unfinished plans for 0.9.7? bzr 1.12 should be released next week, I need to be ready to release 0.9.7 in time wit rc119:05
garyvdmbialix: just regression fixing.19:06
garyvdmbialix: I'm spending alot of time on lp:~qbzr-dev/qbzr/graph-refactoring - That can land after 0.9.719:07
bialixyes please19:07
bialixgaryvdm: we have something urgent?19:08
ronnyjelmer: basically i want more object tpyes to deal with backups on a higher semantic level19:08
jelmerronny: For anyvc, or is this for something entirely different?19:09
ronnyjelmer: different19:09
ronnyjelmer: i want a nice neat backup tool and remote syncable mailbox19:09
jelmerronny: Ahh19:09
garyvdmbialix: what is that?19:09
ronnyjelmer: ald blobs alone aint nice enough19:10
bialixsorry, do we have something urgent to be done before bzr 1.12 released?19:10
garyvdmbialix: no.19:10
bialixgood19:10
jelmerronny: new object types won't be propagated by "regular" git though (not sure if that's what you intended to do)19:11
garyvdmbialix: sorry : bug 32587319:11
ubottuLaunchpad bug 325873 in qbzr "Dbl Click on file in qbrowse does not open qcat window." [Medium,Confirmed] https://launchpad.net/bugs/32587319:11
garyvdmI'll squash it now.19:11
bialixum, ah19:11
bialixit has one duplicate https://bugs.launchpad.net/qbzr/+bug/32353519:12
ubottuLaunchpad bug 323535 in qbzr "Crash when tryng to view a file." [Undecided,New]19:12
ronnyjelmer: i dont care for regular git in that case19:13
ronnyjelmer: btw, does the implementation allow for multiple concurrent writers?19:14
jelmerronny, in theory, yes (all writes should be atomic)19:15
ronnyin practice ?19:17
bialixgaryvdm: re your extdiff patch. what branch/version of extdiff plugin you're using/testing on?19:20
garyvdmdifftools plugin?19:20
jelmerronny, haven't stress-tested it yet19:20
bialixyep19:21
ronnyjelmer: the code looks slow19:21
ronnyjelmer: im thinking about implementing it in vala19:21
garyvdmbialix: lp:bzr-difftools rev 4119:22
jelmerronny, the code hasn't been optimized yet, that's what I'm working on now. The delta resolving / delta basis cache is the main thing that needs to be fixed19:22
bialixok19:22
jelmerronny, if you're going to work in vala, libgit is probably a better choice19:23
garyvdmbialix: ver 0.91 if that means anything.19:23
bialixI need to write something in the news19:23
ronnyjelmer: not so sure - need to see if it actually can handle object types19:24
bialixI mean for announce19:24
LarstiQevening19:24
jelmerronny, I think it would require some trivial patch, that could go upstream19:25
jelmeryo LarstiQ19:25
LarstiQyo jelmer, ronny, bialix19:25
bialixyo LarstiQ!!!19:25
* bialix hopes "yo" is respectable word19:26
AmanicAyo is cool19:26
bialixyo AmanicA!!!19:26
AmanicAyo yo alexander19:27
bialix:-D19:27
ronnyyo LarstiQ19:27
ronnyjelmer: i think a gobject based implementation of git would help19:27
jelmerronny, what's stopping you ? :-P19:28
ronnyi would be able to use thigns like quarks, dataches and other fun things19:28
ronnyquarks = atomic strings reduced to a unique integer19:28
LarstiQbialix: I doubt it is fit to address the queen with, but it's perfectly fine for me :)19:28
Lo-lan-doDepends on the queen maybe.19:29
* jelmer away for food, back later19:29
santagadakfogel: theres a lather on your BzrForEmacsDevs19:29
ronnybbl19:29
kfogelsantagada: "lather"?19:29
santagadayep19:29
kfogelsantagada: er, do you mean a sort of froth?19:29
jelmerLo-lan-do, I figured out the bug you reported wrt slowness19:30
kfogelBecause that's not good for my computer :-).19:30
Lo-lan-dojelmer: \o/19:30
santagadakfogel: I never saw that before... It was supposed to be a later I think19:30
bialixLarstiQ: fine19:30
kfogelsantagada: wow, I'm totally not understanding19:30
ronnyjelmer: i need any docs availiable on the git repo format evolution19:31
ronnybrb19:31
santagadakfogel: wasn't you that posted the link to http://www.emacswiki.org/emacs/BzrForEmacsDevs19:32
garyvdmbialix: I think that bug 307270 might be related to the problem I was having with ftp passwords in qbzr19:32
santagada?19:32
ubottuLaunchpad bug 307270 in qbzr "password prompt + empty password = traceback" [Low,Confirmed] https://launchpad.net/bugs/30727019:32
bialixGary, hmm19:32
kfogelsantagada: yes, I posted that19:32
kfogelsantagada: what I posted was actually:19:32
garyvdmbialix: I'll do some debuging19:33
kfogelhttp://www.emacswiki.org/emacs/BzrForEmacsDevs#Regulars19:33
santagadakfogel: so, there is a type in there s/lather/later19:33
kfogelsantagada: aaaaah19:33
kfogelthank you19:33
santagadatypo19:33
bialixgaryvdm: because you're working on Linux too, may I ask you about PPA?19:33
bialixluks: are you here?19:34
garyvdmbialix: Sure - I don't know if I will be able to answer19:34
bialixgaryvdm, luks: our PPA still has only 0.9.5, https://launchpad.net/~qbzr-dev/+archive/ppa19:34
santagadakfogel: and if you want some inspiration to work more on the page I can point you to a kind of the same document for python, its on http://www.python.org/dev/peps/pep-0374/19:34
Necorodoes "bzr pull" does the right thing on bound branches?19:35
garyvdmbialix: Ah - I've never built a deb before - I guess now is a good time...19:35
Necoroor should one use "bzr up" instead19:35
bialixI'm mostly indifferent on this, because I'm windows guy and because I know how to run from sources, but it seems important for hardcore ubutu users19:35
Necoroif it is the latter, the EmacsForBzrDevs page should be corrected ;)19:36
bialixmaybe luks can provide some instructions19:37
garyvdmbialix: Cool - I will address this.19:38
kfogelsantagada: that's great, thank you19:38
bialixgaryvdm: Great!19:38
kfogelNecoro: it does19:38
Necorokfogel: ok - I tested it ... it does as long as you used "bzr branch && bzr bind" - using only "bzr checkout", it won't work except you are giving the branch again19:41
kfogelNecoro: sure.  The recipe uses branch, not checkot.19:41
kfogelcheckout19:41
bialixAmanicA: I'm trying to implement new layout for scmproj control dir. I'm not sure how to detect that remote branch (w/o WT) is our control dir actually. Any ideas?19:42
Necorokfogel: I know ;)19:42
kfogelNecoro: (I've been using that model for bzr code, and for bkrpr development, and other things, so it is tested)19:42
Necorokfogel: any particular reason, why you are not using co && up? or is it just to keep the amount of commands to learn down?19:43
kfogelNecoro: I've never used them in bzr myself.  I'm not sure when to use them (as opposed to branch / merge / pull).19:48
Necoro;) ok19:50
LaserJockanybody have issues with latest bzr-svn from ~bzr PPA?19:52
Takimo there's never a good reason to use co/up with bzr19:52
LaserJockall of my branches with updates say that the branches have diverged19:52
LaserJockif you want to keep a SVN-like workflow co/up is nice19:52
Takif you want to keep a svn-like workflow, why are you using bzr? ;-P19:53
* bialix sometimes thinks this channel should be called #bzr-svn :-P19:53
LarstiQTak: it's a valid way to work.19:53
LaserJockTak: people don't always have a choice19:53
Lo-lan-doTak: Local branches while cooperating with others who don't do bzr.19:53
LaserJocksome people like SVN's workflow but aren't allowed to use SVN19:54
Lo-lan-doAlso, merge tracking, disconnected work, all that.19:54
LarstiQTak: also, trunk being a checkout usually fits well imo.19:54
LarstiQLaserJock: see UPGRADING in bzr-svn source, jelmer said he would incorporate that into the packaging for the next upload19:55
LaserJockLarstiQ: what does that mean?19:55
Takthat was a rhetorical question...19:56
LarstiQLaserJock: it means 0.5 uses a different svn-bzr revision mapping by default.19:56
LaserJockLarstiQ: can I use it with the older version of bzr-svn?19:57
Lo-lan-doNo, which is why you should read that UPGRADING file.19:58
LarstiQLaserJock: yes, you can set 'default-mapping = v3' in ~/.bazaar/bazaar.conf or ~/.bazaar/subversion.conf19:58
bialixgaryvdm: look at recent thread about password bug in bzr.dev ML19:58
LarstiQLaserJock: but that won't gain you any of the advantages19:58
LaserJockLarstiQ: the problem is, I use multiple bzr/bzr-svn versions on the same branches19:58
LarstiQLaserJock: that is not a problem per se19:59
LaserJockbzr is hard enough with backwards compatibility as is, having to watch bzr-svn versions to kinda sucks19:59
etenilHi there19:59
* LarstiQ uses multiple bzr-svn versions against the same svn paths19:59
LarstiQLaserJock: well then, I suggest you set that default-mapping19:59
LaserJockLarstiQ: you use then on the same bzr branch?20:00
etenilis branching a project the same as unbinding a checkout?20:00
etenilI started working on a checkout, but don't want to commit back to the trunk. Can I just unbind my checkout and make it a branch?20:01
LarstiQLaserJock: no, I communicate via svn20:01
Necoroetenil: yes20:01
LarstiQetenil: yeah20:02
LarstiQetenil: you could also use `bzr reconfigure`20:02
LaserJockLarstiQ: ah, see that's my problem, I'm working on the same branches with multiple bzr/bzr-svn versions20:02
etenilok20:02
etenilthanks a lot guys20:02
etenil+20:02
LarstiQLaserJock: bzr-svn talks to svn.20:02
LaserJockLarstiQ: sometimes one version will do something that "breaks" the branch for the other version20:02
LaserJockLarstiQ: right, but different bzr-svn versions using the same branch to talk with svn sometimes gives troubles20:03
LarstiQLaserJock: if you keep the resulting bzr branches from different bzr-svn version seperate, you have no divergence.20:03
LarstiQLaserJock: that I haven't experienced yet.20:03
garyvdmbialix: My ftp problem - it seems like it's nothing to do with qbzr.20:03
jelmerLarstiQ, LaserJock: Only because of bugs in older bzr-svn versions20:04
bialixah20:04
LaserJockwell, I don't want to keep different bzr branches20:04
garyvdmbialix: I'm going to try somthing with bug 30727020:04
LaserJockthat's kinda silly to have multiple branches of the same exact thing20:04
ubottuLaunchpad bug 307270 in qbzr "password prompt + empty password = traceback" [Low,Confirmed] https://launchpad.net/bugs/30727020:04
bialixgaryvdm: I'd start to look at bzrlib CLI code at first20:04
* bialix heh20:05
LaserJockok, so can I just merge these branches and it'll "Just Work"?20:05
LaserJockor should I just start over and rebranch20:05
LarstiQalas, LaserJock is gone20:12
=== ja1 is now known as jam
jamls20:16
jamhey all20:16
GaryvdMHi jam20:19
* fullermd waves at jam.20:20
mwhudsonmorning20:20
bialixhi jam20:21
jamhi bialix20:22
jamI don't think this has to do with qbzr anymore20:22
jamtry doing "bzr pull lp:qbzr"20:23
jamversus just doing "bzr pull"20:23
jamThe former also gets the traceback for me20:23
bialixjam, GaryvdM trying to debug this problem20:23
beunojam, hi, do you know how I can avoid getting into this situation?  http://paste.ubuntu.com/114010/20:23
jambeuno: well, you renamed all of them20:24
jamat least here where the encoding isn't hiding things:20:24
jamAutobus 2 pisos ingl?s20:24
jam!= Autobus 2 pisos ingle?s20:24
ubottuError: I am only a bot, please don't think I'm intelligent :)20:24
jambeuno: I'm guessing you are on Mac OS20:24
jamdoing a checkout from someone who used linux20:24
jamand on linux they checked in a file with e + accent20:25
beunojam, windows20:25
jamwhich is a single char20:25
jamor windows20:25
jamdoesn't matter20:25
beunowell, actually, yes, it was committed on linux20:25
jamon linux or windows e + ' is a single char20:25
jamon Mac, e + ' is 2 characters20:25
jam(mac *conveniently* renames files for us)20:25
beunowell, actually, yes, it was committed on linux20:25
jamare you on windows now?20:26
beunonope20:26
jamAs that would be unexpected behavior20:26
jamyou are on Mac now, right?20:26
beunoin brazil, 400km away from the rpnolem  :)20:26
beunoer, problem20:26
jamso the *problem* is that Mac OS automatically renames files with "combining characters" for us20:26
beunoright20:27
jamwhen everyone else just leaves them alone20:27
Lo-lan-dojam: Actually, I think everyone else converts to one combined character.20:27
Lo-lan-doFrom what I've read, Linux and Windows automatically rename files to the canonical form A, Mac OS renames to canonical form B.20:28
Lo-lan-do(Replace A and B by their actual names)20:29
beunojam, so no way around it?20:29
Peng_Lo-lan-do: Composed and decomposed?20:29
Peng_Or something.20:29
Lo-lan-doPeng_: Something like that, yes.  So that would be forms C and D :-)20:29
Peng_"Decomposed" sounds too zombie.20:29
jamLo-lan-do: from my experiments20:30
jamlinux and windows do nothing20:30
jambut the standard usage when someone is typing is20:30
jamNFC20:30
jam(which is also the XML standard)20:30
jamand Mac decided on a variant of NFD20:30
jam(I think it is close, but not exactly NFD)20:30
jambeuno: you could use a really old version of bzr with an old format repository and working tree, back when I actually tried to make that sort of thing work20:31
jamalternatively, rename all of the files manually20:31
jam( I think cut & paste will work here)20:32
jamcommit it20:32
jamand then when they update on Linux all of the files will be in NFD20:32
beunojam, I'll start renaming it then  :)20:33
jamnote that on Linux and Windows, NFD forms often look like crap20:33
jamdepending on your Unicode implementation20:33
jamon Windows you tend to get "e[]"20:33
jamthat may be better in newer versions20:34
jamit was the case in XP, IIRC20:34
jamEventually we might be able to take the "case-insensitivity" work that mhammond has worked on20:34
beunono matter, it'll teach people to stop using freaking accents20:34
jamand apply it to unicode normalization20:34
jamat one point I had been making things work by assuming everywhere != Mac was NFC20:35
jamand then translating 'on-the-fly'20:35
GaryvdMbaltix: I'm going to make the SubprocessUIFactory raise a KeyboardInterrupt if the user canceled, and in the main process, not call the normal abort, but just clear the process queue.20:35
jamthe problem was that it turned out that Windows liked to used mixed encodings20:35
jamIIRC20:35
jamGaryvdM: I think qbzr is fine20:35
jamGaryvdM: "bzr pull lp:bzr" gives the same "toomanyconnections" traceback20:35
jamIt has to do with "read_mergeable_from_url", I believe20:36
GaryvdMbaltix: Then we won't see that traceback if the user presses cancel - only if they press ok with blank password20:36
LarstiQGaryvdM: do you mean bialix instead of baltix?20:37
jamah, I've tracked it down20:37
jamread_mergable_from_url raises an exception, but still populates the "possible_transports" list20:37
GaryvdMjam: if you "bzr pull lp:bzr" and press ctrl-c you don't get the traceback - qbzr should do that if you press cancel in the ui.20:37
jamthe exception is trapped at a higher level20:37
jamGaryvdM: sure with ^C you could just raise KeyboardInterrupt in the client20:38
GaryvdMLarstiQ: Yes - thanks.20:38
jambut just hitting "<enter>" the bug is in bzr20:38
bialixGaryvdM: with Cancel we don't have any problem now20:38
bialixonly with blank/incorretc password20:38
bialixI guess transport raises some error when it cannot connect?20:39
GaryvdMbialix: Ah - Ok - then I'm not going to make that change.20:40
=== kiko is now known as kiko-afk
bialixjam: yes, you're right about ...mergeable20:44
jambialix: I'm posting a fix20:44
bialixso it's bzr bug then20:44
jamthe exception is bzr, yes20:44
bialixjam: thank you very much!20:44
=== mthaddon_ is now known as mthaddon
bialixGary: jam said it's the bug in bzr itself20:45
garyvdmbialix: Yes - but I thought that we went handling the cancel correctly.20:47
bialixsorry?20:47
bialixgaryvdm: I guess we do it correctly, is it not?20:48
garyvdmbialix: Yes20:48
bialixok20:48
jamgaryvdm: translating ESC in the qbzr dialog into ^C in the client seems reasonable to me20:56
garyvdmjam: We do that by sending a SIGINT from the main process.20:56
jamk20:57
garyvdmjam, bialix: Still, might be better to raise KeyboardInterupt in the sub process. The sub process allready knows if the user pressed ok or cancel, and by doing it that way we rule out any delay in the signal being received.20:59
bialixjam: can you suggest most efficient way to detect is remote branch (without WT) has some specific file?21:00
jambialix: something like:21:01
jamremote = Branch.open(location)21:01
bialixgaryvdm: I don't follow. Is not we already do this?21:01
jamremote.lock_read()21:01
jamrt = remote.repository.revision_tree(remote.last_revision())21:01
jamrt.path2id(filename)21:01
jamif that is None, then the path doesn't exist21:02
pooliehello jam, bialix21:02
kfogelsantagada: "lather" is correct there21:02
jamhi poolie21:02
bialixhello poolie21:02
kfogelsantagada: "lather, rinse, repeat" is a stock phrase meaning to go through the same cycle again; it refers to washing clothing.21:02
bialixjam: thanks21:02
bialixI suspect something about inventory21:03
garyvdmbialix: No - at the moment, the main process writes to the stdin, and then sends SIGINT on unix and the event on Windows21:03
jamkfogel: I thought it had to do with shampoo21:03
jamsince they generally say exactly that on the bottle21:03
jamwhich is an infinite loop21:04
jam:)21:04
jamor at least, they used to21:04
fullermdThat's why it takes me hours to wash my hair.21:04
bialixgaryvdm: what's wrong then?21:04
kfogeljam: oh, wait, you're right21:04
jamfullermd: until you pass out ?21:04
Lo-lan-doUntil there's no shampoo left?21:04
fullermdWell, eventually you run out of shampoo...21:04
bialix:-D21:04
fullermdThat qualifies as a NMI and breaks the loop   :p21:05
garyvdmbialix: There may be a delay in the signal/event being received, and so the sub process might do more than necessary.21:06
bialixNMI?21:06
garyvdmhttp://en.wikipedia.org/wiki/Non-maskable_interrupt21:07
garyvdmHad to look it up myself :-)21:07
jamfullermd: I would think passing out would also qualify as an NMI21:07
bialixlol, hardware things, I like it21:07
pooliejam, want to talk?21:07
bialixgaryvdm: you has recently fixed the problem with cancel (revno 595)21:08
fullermdDepends on whether the shower curtain slows you before your head hits the tile...21:08
garyvdmbialix: It work, but it can be better.21:08
bialixgaryvdm: if subprocess waits for the password I don't think it will do more than that21:08
bialixbut not worse for win32 please!21:09
bialix:-)21:09
garyvdmbialix: Currently we write the qbzr:GETPASS: message to the stdin before we send the event.21:10
bialixgaryvdm: yes21:10
garyvdmbialix: I'll make sure it's better :-)21:11
bialixgaryvdm: ok :-)21:11
bialixjust a thoughts: why bzr-gtk is not released anymore?21:11
bialixit reached the top?21:12
ronnyre21:14
santagadakfogel: living and learning.... I never heard that expression before, only "rinse and repeat"21:14
ronnyhmm21:17
ronnyback to python21:17
ronnyjelmer: anything i can do for dulwich?21:17
bialixgaryvdm: we can send the event before we send the bencoded message, maybe you have in mind this?21:20
garyvdmbialix: I think it will be much more reliable to raise the KeyboardInterupt in the subprocess if accepted == False21:21
bialixgaryvdm: do you mean after receiving bencoded string?21:22
garyvdmYes21:22
bialixplease, don't use accepted == False21:22
ronnyjelmer: how do legacy/new style git objects work out?21:22
bialixjust `not accepted`21:22
garyvdmbialix: Yes21:23
bialixgaryvdm: I think I understand your intent better now, thank you for explanation21:24
garyvdmbialix: I'm going to also try fix bug 325924 before we release21:25
ubottuLaunchpad bug 325924 in qbzr "TooManyConcurrentRequests with traffic reporting for smart media." [Medium,Confirmed] https://launchpad.net/bugs/32592421:25
jelmerronny: They should work; I've never encountered them though, James implemented them.21:25
ronnyoO21:25
bialixok21:25
ronnyjelmer: whats the difference?21:26
jelmerronny, a different object header afaik21:26
bialixjelmer: I'm just curious: what is the status of bzr-gtk now?21:27
ronnyjelmer: what james did implement them?21:27
ronnyie is he here21:27
jelmerronny: In terms of todo-items, I think one of the things that needs more work is the index21:27
jelmerronny, it's james_w21:27
ronnyjames_w: can you point me to some docs about the evolution ofthe git repo format?21:28
jelmerronny, I think the main docs are the C source files21:31
jelmerbialix, pretty similar to what it was a while ago21:32
ronnyhmm :/21:32
bialixjelmer: the lack of man power?21:32
jelmerbialix: yeah21:33
bialixI understand21:33
lifelessjelmer: btw, branch.nick is likely what is connecting to the master21:33
lifelessjelmer: its used for the window title, or used to be21:33
jelmerlifeless, ahh21:33
jelmerlifeless: That would indeed be it21:33
ronnyjelmer: the whole object parsing stuff in dunwich looks like please use c instead of python for 20x speedup21:33
bialixwe have similar bug in QBzr21:33
bialixs/have/had/21:33
jelmerronny, the delta apply stuff can be optimized a lot by avoiding string copies21:34
ronnyhmm21:34
jelmerronny, plus, we don't do lru caching of delta bases yet (which git does)21:34
ronnyhmm21:34
jelmerI'm not necessarily opposed to having a faster implementation in C21:34
jelmer(or pyrex)21:35
lifelesswhat about putting such a thing in libgit2 then linking to that from pyrex/CPython21:35
Jc2k+121:36
ronnyjelmer: i want to implement a semilar api in vala, then map to python via a binding or pybank21:36
Jc2klibgit2 is horribly unfinished right now, i bet they'd love some help bringing it up to speed21:36
Jc2ki started writing git in vala, but it turned into something else (git sucks for our 'personal cloud'/backup/sync/everything is versioned monster use case)21:37
jelmerI wouldn't want to blame dulwich's current slowness on Python though21:37
ronnyjelmer: the parsing uses patterns that have much overhead in python compared to plain c21:39
xnoxHello everyone! Is it possible to shelve something and then unshelve in another branch? All branches are in the shared repo.21:39
ronnyJc2k: what was that again?21:40
lifelessronny: everything in python has a lot of overhead compared to C :P21:43
Jc2kronny: a project im working on which is still vaporware so im reluctant to talk about too much :)21:43
lifelessronny: its just that python doesn't stab you in the face 5 times a line of code21:43
jamxnox: you can copy the .shelf directory around, but you could also "bzr merge --uncommitted ../other" and then bzr revert ../other21:43
Jc2kronny: theres a hackfest on it after FOSDEM where we are going to suck juergbi's brain out threw a straw :)21:44
ronnywhen/where is fosdem again21:45
ronnyi might have to visit21:45
Jc2kbelgium, this weekend21:45
ronnythis already21:47
ronnythen i cant come21:47
Jc2ksucks :(21:47
jelmerlifeless, btw, I managed to implement a working BranchBzrDirInter21:49
lifelessjelmer: nice21:49
jelmerLooks like I can kill off all svn-* commands except for svn-import soon21:49
lifelessjelmer: <321:49
xnoxjam: thanks that's what I needed =D21:55
* xnox likes bzr better than git. Farewell my first ever learned vcs. You have served well git =D21:55
lifelessback shortly, breaking ze fast21:56
Haffi___Hi, how do I keep a file from being in source control in bazaar?22:43
garyvdmHaffi___: bzr ignore filename22:47
Haffi___Haha, figures22:48
Haffi___I hate when programs have sensible command names, it makes me look dumb when I ask questions in IRC chatrooms...22:49
=== mlh_ is now known as mlh
lifelesspoolie: also, I would really appreciate any comment on my fetch-history-bug-issue, I mailed about yesterday morning22:58
lifelesspoolie: groupcompress is basically blocked at the moment on that22:59
johnf1I know I'm probably not the first to complain but I'm willing to put in time to make it happen. What is needed to ensure that the bzr PPAs always keep bzr,bzrtools and bzr-svn in sync?23:00
lifelessjohnf1: do you know how to do debian packaging ?23:00
johnf1yes23:00
lifelessjohnf1: in our docs there is a ppa document23:00
johnf1yep just read it23:00
lifelessjohnf1: start by reading that; I suspect that making sure the beta has matching versions leading up to a release will be a good start (catches bugs)23:01
lifelessthen when the release happens, if you wanted to do the uploads yourself, for instance, you could upload all of them23:01
lifelessbut some of the trouble is 'ppa'23:01
lifelessbecause it doesn't act like a debian repo, apt will wedge and try to remove rather than waiting for the full upgrade to be possible23:01
johnf1yeah it seems in a strange state at the motion eg beta has a bzrtool 1.11 package but only for dapper23:02
lifelessjohnf1: we would be delighted if you wanted to dive in and focus on this23:03
lifelessthere is a lp team you should join23:03
lifelessto get upload accecss to the ppa23:03
johnf1ok It's on my TODO list for this arvo23:04
lifelessschweet23:05
lifelessping me anytime23:05
pooliespiv, lifeless: thanks for the summary from yesterday, that sounded good23:05
pooliei don't have any particular technical feedback23:06
pooliei am also interested though in how we're organizing work on hpss23:06
lifelesscool, it fitted so well I didn't expect anything :)23:06
lifelessorganising? hmm, you can do that :P23:06
jelmeris there any equivalent to self.outf for stderr?23:06
poolieit seems like it goes more than twice as fast when someone else is pairing with spiv23:06
lifelessjelmer: trace.note I think23:06
pooliejelmer: not directly; i guess generally you should go through trace23:07
jelmerok23:07
jelmerlifeless, poolie: Thanks23:07
lifelesswell, this stuff is a refactoring I've been mumbling about onlist for about 9 months now23:08
lifelessso we didn't do much guessing23:08
lifelesscertainly the serialisation work he's been doing is needed to line up with this, really just a case of glueing the two ends together now I hope23:09
pooliejam, if you're still around23:10
poolieshould we leave kerguelen in its semi-broken state?23:10
poolieor ask them to reinstall it?23:11
lifelessigc: ping23:11
poolieor, alternative, put it on a machine we completely control somewhere else23:11
poolieinside vmware say23:11
jmlspiv: ping23:50
jmlspiv: Can you please update https://bugs.edge.launchpad.net/bzr/+bug/255292 ?23:50
ubottuLaunchpad bug 255292 in launchpad-bazaar "MemoryError/OverflowError in _read_info_file during branch unlock when pushing over SFTP" [Undecided,Incomplete]23:50
spivjml: ok23:51
mwhudsonbtw23:54
mwhudsoni've seen that one a few times now23:54
mwhudsonnot in a useful way, of course :/23:55

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