/srv/irclogs.ubuntu.com/2008/05/12/#bzr.txt

=== mwhudson_ is now known as mwhudson
rockstarI've just done a bzr checkout of an svn repo (using bzr-svn).  Problem is, when I bzr push the checkout to a branch, I get "bzr: ERROR: At lp:~entertainer-releases/entertainer/devel you have a valid .bzr control directory, but not a branch or repository. This is an unsupported configuration. Please move the target directory out of the way and try again."00:37
rockstarIs there a way to work around this?00:37
jelmerrockstar: can you try pushing to a slightly different location?00:38
jelmerIt might be that there's an incomplete branch around00:39
lifelessrockstar: push --use-existing-dir00:40
rockstarlifeless, same error00:43
Pengrockstar: You're using a checkout? Like, "bzr checkout"?00:48
mwhudsoni guess sftp in an rm .bzr should work00:48
rockstarPeng, yea, bzr checkout http://<path-to-svn>00:48
rockstarmwhudson, ?00:48
PengIt's possible to push from a checkout?00:49
lifelessmwhudson: I think the sftp server prhobits that00:49
lifelessrockstar: bzr init --rich-root-pack URL might work00:49
rockstarlifeless, will that kill my bzr log?00:50
lifelessrockstar: EPARSE00:50
rockstarWell, the thing I'm trying to accomplish is pretty much a conversion from svn to bzr.  I want to keep the versioning.00:51
lifelessof course00:51
rockstarI was just wondering if a bzr init would blow out the past versioning00:51
lifelessno00:52
lifelessbzr init prepares a fresh database00:52
rockstarAnd the versions are stored in the database?00:52
lifelessuh00:53
lifelesswe have lots of things that are versioned00:53
rockstars/are/aren't/00:53
lifelesscan you be more specific ?00:53
rockstarOkay, the output of bzr log, along with the actual changesets00:53
lifelessI'm saying create a fresh database on lp00:53
lifelessthat you then push into00:53
Pengrockstar: If there was already a branch at the location, "bzr init" would error out.00:54
spivrockstar: init'ing a repo on a remote server isn't going to affect the history you have locally.00:54
rockstarAh, on the destination.00:54
rockstarI think this bazaar version is just too old.01:03
lifelesswhat version is it?01:04
rockstar0.9001:05
rockstar:)01:05
lifelessyes, please run something created this millenium01:05
rockstarYea, I guess this is the default in gutsy01:05
PengIt is.01:07
PengYou can use bzr's deb repo thingy. https://launchpad.net/bzr/+archive01:07
PengOr upgrade to Hardy, which almost has the newest version of bzr.01:07
rockstarPeng, yes, but there's currently no bzr-svn for 1.501:09
jelmerrockstar, https://lists.ubuntu.com/archives/bazaar-announce/2008-May/000149.html01:09
rockstarAnd I tried building my own package, and it doesn't seem to like life01:09
jelmerno PPA yet though01:09
rockstarjelmer, thanks, I'm on that list01:10
nysinIs there documentation somewhere on the intended usage pattern of bzr-gtk? It looks like it only pays attention to the this/other/base files, but then doesn't fold that back to the non-this/other/base files. How is one intended to bridge that?01:10
rockstarEr, no bzr svn for 1.4.  1.5 is just barely rc01:10
jelmerrockstar: see that link - that's bzr-svn for bzr 1.401:10
nysingconflicts in particular01:10
rockstarAh, the ppa must be broken.01:10
rockstarI saw an email on the list that said "since 1.4 and 1.5 are coming out so close together, there won't be a ppa release of bzr-svn for 1.4" and thought there would be a release.01:11
jelmerrockstar: I announced I wouldn't do a release a the same time as bazaar 1.401:11
jelmerThe bzr-svn intended to work with 1.5 also happens to work with 1.401:12
rockstarAh, I see.01:12
rockstarRegardless, it's working now.01:12
PengOMG! New bzr-svn! Yay!01:13
jelmer(-:01:13
PengSince I always run bzr.dev, it's been a long time since I've had bzr-svn working.01:14
thumperrockstar: you should have the ~bzr PPA in your sources.list :-)01:18
PengHuh. bzr co has a -r option, but up does not.01:19
* Peng uses revert, then.01:19
rockstarthumper, I do.  I was working on another system01:19
thumperah01:19
* rockstar has more than one system... :)01:19
Pengjelmer: BTW, from when I ran pyflakes/pylint, there are quite a lot of unused imports.01:23
jelmerPeng: patches are welcome :-)01:24
PengHmm.01:26
PengI think I actually got all of the imports.01:26
PengI stopped working on it a bit after that and never got back to it.01:28
bob2"someone" should add lazy_import support to pyflakes/lint01:28
Pengbzr-svn doesn't lazy_import much, so it wasn't a big problem.01:30
bob2ah01:30
PengNow, all of the whining about too many methods or too many arguments or too many lines, that was annoying.01:31
spivbob2: there is a pyflakes branch with lazy_immport support01:31
jelmerpylint gives a lot of output and a lot of it is not actually fixable in bzr-svn (such as classes having to much methods or functions having too much arguments)01:31
spivbob2: thanks to mwhudson, IIRC.  You can find it on lp.01:31
jelmerPeng, yeah, indeed01:31
bob2oh, awesome01:32
spivbob2: yeah, it is awesome01:35
bob2also awesome is the "notification" plugin01:35
Pengjelmer: The thing is, my linted branch has lots of XXX comments strewn about about things I didn't know how to resolve.01:35
mwhudsongetting pylint to be useful is A Project01:36
rockstarmwhudson, yea, I'm dealing with that right now...01:43
beunoabentley, BB web interface seems to be hung up  (email works though)02:11
Pengbzr: ERROR: You must have a branch nickname set to loomify a branch02:16
Peng:(02:16
abentleybeuno: It auto-restarted a minute ago.  Should be fine now.02:16
beunoabentley, ah, thanks.  Is this because of sqlite, or something else?02:17
PengOh, ok.02:17
abentleybeuno: It's an unfortunate interaction between TurboGears and SQLite.02:18
beunoabentley, ah, because I want to use BB for a project of mine, and I was thinking of porting the backend to mysql (which I know better then postgre)02:20
beunobot sure if that's something you'd like to see done02:20
beunos/bot/but02:21
Pengabentley: bzrtools needs its version compatibility thingy updated for bzr.dev.02:23
jelmerDoes anybody have experience with the redmine bug tracker?02:36
=== jamesh_ is now known as jamesh
igcjelmer: when you get a moment, can you double check my write up re bzr-svn in the User Guide?03:01
igcsee http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#bzr-svn03:01
igcI probably ought to give an explicit svn-import example03:02
igcanything else?03:02
jelmerigc: Sure, I'll have a look now03:02
igcthanks03:03
jelmerigc: svn-push is only required when creating a new branch in Subversion, you should be able to just use "bzr push"03:05
igcjelmer: ah good03:06
igcI was wondering whether there was any other need for using svn-push over push03:07
igcsounds like there isn't?03:07
igcjelmer: the help did say svn-push would go away one day03:07
igcis that some time off still?03:08
jelmerigc: renames are supported (pushing into svn and then pulling those changes back in from svn works) but copy tracking isn't imported03:08
jelmerigc: yep, that's still the plan but it depends on some changes in bzr itself03:08
jelmerbug 12187503:09
ubottuLaunchpad bug 121875 in bzr "cmd_push() should abstract away transport.mkdir()" [Wishlist,Confirmed] https://launchpad.net/bugs/12187503:09
igcjelmer: any magic source for keeping a bzr repo mirror in sync?03:09
igce.g. a std svn hook we suggest?03:09
jelmerigc: not really - you can just use "bzr pull" like you would for keeping a mirror of a bzr branch in sync03:10
jelmer"bzr svn-import" is incremental and can be used for full repositories03:10
jelmerigc: there's also a small typo; s/0.49/0.4.9/ for the version number03:11
igcjelmer: any idea how most bzr-svn are keeping mirrors in sync? cron jobs with svn-import or pull mainly?03:12
jelmerI think so, yes03:13
jelmerI personally just run pull manually whenever I need the mirror03:13
jelmerigc: having an example use of svn-import up there may indeed be useful as well03:18
igcjelmer: yes I think so too03:18
jelmerVerterok: w00t on the DMG :-)03:22
Verterokjelmer: Hi :-)03:22
Verterokjelmer: right now I'm trying to build the minimal dependencies (svn client + libs + svn-python), but it's not working as expected :(03:26
jelmerVerterok: you're building subversion 1.5?03:26
Verteroksort of :P, only trying to get the minimal dependencies to run bzr-svn03:27
Verterokbut the simples solution to make it available for bzr-1.5, is to bundle bzr-svn in OS X dmg, and point to the subversion dmg03:27
jelmerThat would be a huge improvement over the current situation03:28
jelmerincluding the svn bits in the Bazaar dmg would be nice but may not be worth the effort03:28
Verterokthat's my conclusion too...after a few hours trying to get it working03:29
Verterokjelmer: for the moment I can build the Tiger dmg (no Leopard yet), but I think I achieved building a universal installer (I can easily add bzr-svn to it) for Tiger...now I only need a mac intel with triger to test it :P03:32
jelmerVerterok: awesome, thanks ! :-) There's been quite a few people asking about this...03:33
Verteroknp ;)03:35
* Verterok looking for a owner of mac intel with Tiger (to help beta test the installer) 03:36
=== Toksyuryel` is now known as Toksyuryel
michalskihello, problem: typing this in the terminal: ----> bzr push lp:~michalski/+junk/vector-core03:49
michalskireturns error:   bzr: ERROR: Transport operation not possible: http does not support mkdir()03:49
Pengmichalski: You're trying to push over http.03:50
michalskihow do i do so differently03:50
Pengmichalski: You should run "bzr launchpad-login" to log in to LP, and it'll start pushing over bzr+ssh.03:50
michalskiah ok :)03:50
Pengmichalski: What version of bzr?03:50
michalskinot 100% sure but im guessing the latest03:50
michalskiit says: No Launchpad user ID configured.03:51
* igc lunch03:51
michalskihow do i do this?03:51
Pengmichalski: Oh.03:51
Pengmichalski: "bzr launchpad-login michalski" or whatever your username is, then.03:52
michalskisuccess :) thanks03:53
michalskipeng03:53
michalski:)03:53
Peng:)03:53
michalskigoodnight03:53
PengGood night.03:53
jelmerigc, is there a particular reason rebase is discussed under "pseudo merging" rather than "brief tour of popular plugins" ?04:07
jelmerI personally like how that bit is done better because users will likely not care how certain functionality is provided04:07
jelmer(e.g. just having a note for some bits of the user guide saying "this functionality requires plugin X")04:08
jelmeranyway, just my €0,0204:10
Verterokjelmer: running selftest svn (OS X) I get this: http://rafb.net/p/qutRww45.html04:16
Verterokany ideas?04:16
jelmerah, ouch04:17
jelmerplease file a bug about that bit04:17
jelmerlooks like I broke compatibility with subversion 1.504:17
Verterokah, it's fresh branch of trunk04:17
Verterokups04:17
Verterokok, I'll fill a bug then. should I add any additional info?04:18
jelmernope, that should be sufficient04:19
Verterokok, thanks04:19
igcjelmer: no deep reason. the plugins chapter didn't exist when I wrote the rebase stuff04:41
igcjelmer: for the reasons you outline though, I didn't feel compelled to move it04:41
huyx你好05:08
bignoseI love bzr shell. I love ssh-agent.05:24
bignoseI'm less enamoured of gpg-agent.05:24
lifelessI haven't sipped from that fountain yet05:25
bignoseIt only seems to remember my "secret key is unlocked" state for five minutes or so, and I can't find any configuration to turn it off.05:25
lifelessI'm still using gnome-gog05:25
lifeless*gnome-gpg* I mean05:25
bignosewhich clangs horribly compared to 'ssh-agent', that simply remembers I've unlocked my key for the entire session.05:25
bignosewell, my sessions last longer than my GNOME session, since I reconnect to my screen session.05:26
* igc picking up kids - bbiab05:45
abentleyPeng: I've updated bzrtools' version number on the dev branch.05:49
bob2ooh, and it ate 'heads'05:50
Pengabentley: Thank you! :)05:51
Pengbob2: Wait, what did you mean by "ate"?05:52
PengThat's neat that heads is a part of bzrtools now.05:53
PengAnd I just installed it like last week. :P05:53
abentleybob2: Yeah, heads is really useful when you need it, so I wanted to get it broader distribution.05:53
fullermdOoh, nifty.05:54
abentleyAlso I'll be ensuring it's maintained.05:54
bignoseso what do folks use to ensure their 'bzr shell' in a 'screen' session keeps the GPG key open?06:04
bignoseif 'gpg-agent', then how did you configure it to stop forgetting the key every few minutes?06:05
lifelessI'm done, later all07:04
VerterokI just uploaded a universal installer for 10.4 (Tiger), I can't test if it works in i386 arch...beta testers are welcome :)07:23
i386Verterok: oh nice - only tested on PPC?07:23
Verteroki386: yep, I don't have mac intel...yet07:24
i386ahh07:24
i386Ill test it if you want07:24
Verterokthat would be great! :D07:24
i386is it on the website?07:25
Verterokyes: http://launchpad.net/bzr/1.4/1.4/+download/Bazaar-1.4-OSX10.4-universal-1.dmg07:25
* Verterok heading to bed...07:37
Verteroki386: thanks for testing the installer, if you encounter any trouble with the installer, please contact me IRC or mail (I'll check IRC in the morning)07:38
igcjamesh: see the bzr mailing list for a Python string concatenation test program. Can you please check I'm not doing something dumb? :-)08:06
jameshigc: note that there are a few different cases to consider08:09
jameshigc: in the case that was being discussed, we had a list containing all the strings to be concatenated as the starting point08:09
jameshyour test program starts with a file descriptor and incrementally reads in the data08:10
jameshso it really depends on what you want to test08:10
jameshas for measuring the memory usage, valgrind's massif tool might be a good way to compare the algorithms08:12
igcjamesh: yeah - my test program reflects exactly what happens in bzr-fastimport08:17
igcit's actually reading a # of bytes from a stream and tracking line #s as it goes: hence the readline approach08:17
jameshigc: right.  So the optimal code for fastimport might be different to the optimal code for knit.py08:18
jameshigc: unrelated to the concatenation bit, using the file object as an iterator will be faster than repeatedly calling readline()08:20
jameshiirc08:20
jameshit definitely was in older versions (reading the file in larger chunks)08:20
igcsure - I actually pass the blob size to readline though so I suspect I need to keep using it08:21
PengI think iterating over the file object buffers more than calling readline().08:21
jameshigc: the size arg to readline() just limits how much data it will return08:22
jameshigc: iter() protocol reads larger blocks from the file then returns successive lines from those blocks08:22
igcI know - and I need to do that to follow the git-fastimport spec08:22
igci.e. there's no certainty the blob will be newline terminated08:23
jameshigc: so you just use read(size_of_blob) for the blob, right?08:23
igcthat won't track the newlines for me though08:25
igcperhaps I can scan the blob after the fact though08:25
jameshigc: blob.count('\n') might be what you want then08:41
jameshigc: count() also takes optional start/end arguments in case you want to carve up even larger string blocks08:42
igcjamesh: cool - I'll try that08:42
igcjamesh: the only issue then is whether \n is good enough for newline detection on Windows08:44
jameshigc: the answer to that will depend on whether fastimport data streams are considered to be text or binary08:44
jameshigc: if they contain binary data inline, then they probably need to be handled as binary08:45
jameshin which case line endings should always be \n08:45
igcboth :-)08:45
igcthey contain binary08:45
igcbut we report reports in turns of text line #s08:45
igcs/reports/errors/08:46
jameshigc: so if I have a binary file that happens to contain '\n', would it be represented as '\n' or '\r\n' in the stream?08:46
jameshif the file format depends on switching back and forth between text and binary mode, then it sounds broken :)08:46
igcthe binary content would be exactly as is08:47
igcbut it's a line-based format otherwise08:48
jameshit sounds like the file needs to be treated as binary then08:48
igcwith a size indicator given on the line above where binary content starts08:48
igcjamesh: I think count('\n') will be good enough08:49
jameshigc: http://www.kernel.org/pub/software/scm/git/docs/git-fast-import.html seems to indicate a binary file format where newlines are represented by \n08:51
bignoseso what do folks use to ensure their 'bzr shell' in a 'screen' session keeps their GPG secret key open?08:53
bignoseif 'gpg-agent', then how did you configure it to stop forgetting the key every few minutes?08:53
AfCAh! bzr 1.4 is available now. Terrific.08:55
RAOFbignose: You should be able to pass in --default-cache-time or somesuch; that's what I've done in the past.08:56
AfCbignose: put a gpg-agent.conf in your ~/.gnupg directory08:56
AfCbignose: the parameters you want are default-cache-ttl and08:56
AfCbignose: max-cache-ttl08:56
AfCThe defaults are to expunge your keys in time frames on the order of minutes, which I find just a little too aggressive.08:57
AfC[I mean, shit, day or week is fine; if you're being paranoid then half day or hour or even half hour, but _minutes_?]08:58
bignoseso how can I make it *never* expire, the way 'ssh-agent' works?08:58
AfC[we use heuristics to flush keys anyway if certain actions have occurred, but in practise we find reboots to do the trick]08:59
bignosemy sessions commonly live for many months.08:59
AfCbignose: put a rather large number of seconds in those settings.08:59
bignoseso a setting of 0 won't do it?08:59
AfCbignose: it didn't seem to, but maybe I was being misled.08:59
jameshAfC: so I suppose you're not one of those people who carry half their PGP key around on a USB key?08:59
AfC(it might have disabled caching all together)09:00
AfCjamesh: uh, no.09:00
bignose<URL:http://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html> doesn't indicate what a value of 0 will do.09:00
bignoseI guess I'll just have to experiment.09:00
jameshAfC: I do know people who have things set up so they can recover their PGP key with a USB key plus their desktop or laptop, or with just the desktop and laptop together09:00
jameshhaving just one is not enough09:01
bob2using par or something?09:01
bignoseAfC, RAOF: thanks for the helpful response.09:01
jameshbob2: gfshare09:01
AfCjamesh: Oh, I'm a big fan of two factor authentication, but I just never managed to make it work. (eg, there is an SD slot in this damn thing, but I haven't managed to get that to work yet, etc)09:01
* igc dinner09:14
* awilkins used to do smartcard developmen and has never bothered with 2-factor auth apart from his work-supplied RSA secureid09:32
awilkinsMy work it are now planning to only allow read-only access to unencrypted USB keys :-(09:32
awilkinsVery irritating ; I don't deal with any classified data, so it just stops me using a BZR repo on my USB key to work at home.09:33
AfCawilkins: (obviously the mechanism for reading encrypted devices is not something you are able to replicate elsewhere. Interesting)09:40
awilkinsAfC: It's some proprietary piece of crap09:43
awilkins"SafeBoot"09:43
AfCThe vogue at a number of our clients has been to use hardware VPN devices and to only allow people to connect to foreign networks through such devices09:44
AfCwhich leads to the poor shmucks carrying around this heavy module strapped to the back of their laptop's monitor to then go to either ethernet or a PCMCIA wifi card.09:45
AfCand, of course, a neato hard-to-use pain-in-the-ass web interface to control the thing.09:45
AfC"usability"09:45
awilkinsNasty. We have to use Cisco VPN, but with the "Windows Firewall" setting on09:45
awilkinsSo I can't use my router as a VPN bridge with vnpc09:46
AfC[like, "if you connect your laptop to a foreign network not through this device, your employment be terminated. Immediately"]09:46
AfCawilkins: annoying09:46
awilkinsYeah, I usually prefer to shove my laptop under the desk and remote desktop it on my vastly superior monitor / keyboard cluster09:47
awilkinsHence me finding BZR so useful - I can just work offline and tote the data in on a USB key09:47
awilkinsSo when they encrypt those keys it will be yet another annoyance.09:48
awilkinsI'd ask if they could supply a license for my to use it at home, but I don't want it on my machine.09:49
awilkinsI don't trust any encryption product you can't read the source for (not that I'm skilled enough to vet it myself, but at least I have the comfort of knowing that hundreds of others have)09:50
AfCCertainly09:50
awilkinsIMHO they should have found someone who could provide them with a support contract for TrueCrypt09:51
awilkinsI understand their need to have someone to blame, and to pay money to assuage their guilt at not being man enough to take the rap themselves09:51
AfCawilkins: hah. You should have started a concern to sell such support :)09:52
awilkinsLikewise for archiver - they must have shelled out 15,000 euro, minimum, for a WinRAR license09:53
awilkinsThey could have donated , say, 8,000 euro to 7-zip and made them very happy russians09:53
awilkinsThe "TrueCrypt support" thing may have legs09:54
awilkinsI wonder if anyone offers it aready09:54
awilkinsVerterok: ping?10:50
=== mwhudson_ is now known as mwhudson
quicksilverOuch.11:56
quicksilverbzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no attribute 'get_name'11:56
mwhudsonquicksilver: something to do with paramiko versions11:56
quicksilverso I was just gathering from google searches.11:57
quicksilvercareless upgrading is the root of all evil.11:57
quicksilver"Andrew Bennetts" apparently fixed it on the 10th of April, in bzr.11:58
quicksilverI wonder which bzr version contains the fix.11:58
mwhudson1.4 should12:00
quicksilverhmm. I'm using 1.4. I think.12:00
quicksilverah, no, I"m using 1.312:00
quicksilverd'oh.12:00
quicksilvererm. I'm in a mess!12:01
quicksilvermacports thinks I have 1.4 but bzr --version says 1.312:01
quicksilver--->  Activating bzr 1.4_012:02
quicksilverbzr --version12:02
quicksilverBazaar (bzr) 1.312:02
quicksilvermakes no sense to me :(12:02
mwhudsonthat seems broken12:02
quicksilverI shall force macports to recompile it. If that doesn't work I will go cry on the shoulders of the macports people.12:05
quicksilverthat fixed it.12:06
quicksilverI obviously broke something in some unpleasant way.12:06
quicksilvergrmargh. Now I broken py25-bz2. Bad python day!12:12
mwhudsonquicksilver: this is all much easier on ubuntu :-)12:13
* awilkins just runs the installer for windows12:14
quicksilvermwhudson: believe me, I am no stranger to the shortcomings of anything-which-isn't-apt.12:16
quicksilvermwhudson: I *really* wanted apple to use dpkg for OSX. They even hired a dpkg developer.12:17
mwhudsonquicksilver: parallels is only $50 :)12:17
* mwhudson stops being gratuitously unhelpful12:17
* quicksilver was even a debian developer once. elmo over there did his security call.12:17
johIs it possible to edit a committed message?12:49
jameshjoh: no12:50
jameshalthough you can create a new revision with a different message12:50
jameshif you want to change the revision you just committed and you haven't done any other work, then try "bzr uncommit; bzr commit"12:51
bob2if it was the previous commit, and no one else has merged/pulled it, you can uncommit and re commit12:51
johAw, I forgot to add --fixes12:51
johOk12:51
johWhat if I already pushed the changes to LP?12:53
jameshjoh: you can "push --overwrite" to update the branch even if you've diverged12:58
jamesh(which uncommit+commit will do)12:58
johjamesh: Great, thanks :-)12:58
=== mrevell is now known as mrevell-lunch
munculhi ! How can I simply: log to machine ; bind to repository with configuration; than diff checkin etc,  ; and remove .bzr/13:38
muncul2. is it possible to have working tree in 2 repos ?13:39
muncul1. i mean using /.bzr to version /etc13:39
bob2dunno about the rest of your question, but you'll want to use etckeeper or something13:44
bob2or else you won't be versioning file permissions13:44
munculi want to have some files from /etc/ in bzr13:50
munculbut i do want to have repo on central server13:50
munculand delete /.bzr after work13:50
munculso config history is known only to me13:50
bob2you'd need to write a little shell script to do that for you13:51
bob2but lightweight checkout .bzr dirs are quite small13:51
munculbut when i have repo on server13:51
munculand log to machine13:51
munculhow to make this .bzr binded to central repo13:51
bob2"bzr bind"13:52
munculi tried: bzr: ERROR: Not a branch13:52
munculas i said after work i deleted /.bzr last time13:53
bob2yes, you need to get that back, or not delete it13:53
munculso how after delete13:53
munculsimply branch ?13:53
munculand then bind ?13:53
quicksilverwin 2913:53
munculbut i got conflicts13:54
quicksilver! :(13:54
munculbranch destroys my current /etc/13:54
bob2don't do that13:54
munculbzr is fine but some things seem diffictult to me13:54
bob2branch to another dir, mv .bzr to /etc13:54
munculaaaa13:54
bob2seriously, not deleting it is a lot less hassle13:54
munculbut deleting is for privacy13:55
munculsometimes needed13:55
munculgood idea with branching to /tmp/ and moving .bzr13:55
munculthx13:55
bob2"bzr co bzr+ssh://whatever/ /etc" will probably work, too13:55
munculcheckout doesn't work if i have not .bzr13:56
bob2wfm13:56
munculyes works but creates second etc dir13:56
=== mrevell-lunch is now known as mrevell
awilkinsmuncul: If you want privacy, would using a lightweight checkout and restricting access to the master branch work for you?14:23
=== bigdo3 is now known as bigdo2
munculawilkins> probably shoud if lighwight .bzr works as link only14:36
awilkinsIs jam Mr Meinel?15:12
vilaawilkins: You mean our beloved Mr John Arbash-Meinel ? Then yes ;-)15:13
awilkinsI was hoping to ask him exactly how one uses his "service" plugin15:14
awilkinsCoolio, he dabbles in Judy AND DICOM.15:17
jamawilkins: hi, yeah that is me15:28
jamI'll be afk for a bit, but I can discuss it with you later.15:30
jamawilkins: in short summary, you can just run 'bzr service' in a terminal, and then run one of the clients (there is a C program, and a python one)15:30
jamthere are some caveats, but I can get to those later.15:31
awilkinsjam: I was enquiring because I wanted to use it with the bzr-eclipse plugin15:34
awilkinsSo would I just replace the call to bzr.bat with a call to the equivalent "bzr-service.bat" ?15:35
awilkins(the other approach I'm trying at the moment is binding a "bzr shell" session to a process object and piping things to and from.15:36
jamawilkins: well, if someone ran "bzr service" then you can talk to the process via sockets16:03
jamThe structure is rather trivial16:03
jamI might recommend a couple quick fixes16:03
jamso that it is a bit more robust/secure16:03
jamit worked for what I wanted at the time (proof of concept)16:03
jamIt shouldn't be too hard to clean up16:03
beunois there a hook for the smart server to run "bzr update" after a user pushes to it?16:32
beunoI'm not sure if the post-push hook will do that16:33
awilkinspost-push uses SSH to run a bzr update local to the server16:34
beunohm, that's no good. I need the server to run the update as a different user16:35
beunoI currently have a cron running updating all repos, but that's getting too expensive16:35
ricardokirknerhi. I know this might be a little offtopic, but does anyone know what the current status of trac-bzr is? I want to start using it at the company I work, but from what I saw it seems to be little activity right now.16:44
jambeuno: not on the server side, afaik16:46
jambeuno: you could certainly hook something like that into our new "post_branch_tip_changed" hook16:47
jamor whatever it is called16:47
LeoNerdAnyone here familiar with the 'mmv' command..? Lets you rename multiple files at once based on some pattern. I wonder if a 'bzr mmv' plugin could be based on it?16:49
beunojam, the post_branch_tip is on the server side then?16:50
guilhembstatik: hello! May I phone you for a few minutes, please?17:04
statikguilhemb: certainly, privmsg17:04
guilhembstatik: I bet you cannot see my replies in the privmsg17:06
statikguilhemb: I cannot17:06
guilhembok, maybe my registration for privmsg didn't work, retrying...17:06
guilhembstatik: but I can see your messages; if you pasted me your phone number in the privmsg I would see it.17:08
statikguilhemb: ok, will do17:08
nDuffjust curious -- does anyone have knowledge as to how actively paramiko is maintained? I posted a bug report & patch to the ML and bug tracker there ~a week ago, and haven't seen any activity.17:33
vadi2Somehow loggerhead is messing up. If I click on any of the "changes" links on this page (http://bazaar.launchpad.net/~vadi-mapper-dev/vadi-mapper/main/files), it always gives me changes for the whole trunk, not specific to a file like the tooltip says so.17:47
jambeuno: post_branch_tip, IIRC, is fired locally and on the server17:49
=== kiko is now known as kiko-fud
beunojam, great, I'll give it a try, thanks for the tip17:50
jamnDuff: robey is fairly active, but he is only 1 developer, and can get backlogged with other stuff17:50
jamnDuff: if it is critical, you could probably ping someone here, as we've worked with him a bit17:51
nDuffjam, probably not that critical -- I can patch my tree manually for the time being -- but thank you for the update; given the lack of any ACK, I was worrying that paramiko was under abandonment.18:01
=== mrevell is now known as mrevell-dinner
pickscrapeAre there any plan afoot for some client-side plugin management UI?19:14
pickscrapei.e. something that will manage installing/updating/uninstalling plugins.19:15
pickscrapeYes, your friendly neighborhood package manager could do that, but few plugins appear to be packaged at all.19:16
beunopickscrape, yeap, I'm working on that19:16
pickscrapesweet!19:16
beunoit's pretty advanced19:16
pickscrapeIs any of it public? I'd like to have a nosey at it... :)19:16
beunoI'd like to release a preview version of it these next weeks19:16
pickscrapeYet another killer feature point to bzr :)19:17
beunopickscrape, I'll upload one today, and email you the URL if you send me a reminder email  (argentina@gmail.com)19:17
pickscrapeWill do19:17
=== mw is now known as mw|food
beunothe first step is, it tells you if the command you are running is from a plugin you don't have installed19:17
beunowhich is finished19:18
beunothe installing bit through a checkout is half-way there19:18
beunoand I got the core bits I needed into 1.4, so that's why it's been stalled for a while19:18
pickscrapeI suppose it would make sense for plugins to maintain a 'current release' branch, so it can always update from the same place.19:19
beunothat would be the idea  :)19:19
pickscrapeEmail sent19:20
pickscrapeTangent, but is anyone aware of any use-case examples of using the loom plugin?19:20
beunopickscrape, great, thanks. I'll upload in a few hours, when I take a while off work19:20
beunopickscrape, packaging mostly19:21
beunowhere you have to maintain multiple patches19:21
pickscrapeIt seems like one of those fantastic features that could have all sorts of great uses, but I can't imagine any just from the docs.19:21
beunoI believe that's what drove it's development, but I could be wrong, and lifeless is very unlikely to be awake already19:21
pickscrape'Oh, lifeless is a person?19:22
beunohe's *the* person  :)19:22
pickscrapeVery unfortunate name to have when it gets written next to branch names on launchpad. :)19:22
pickscrapeHad me thinking the branch was dead...19:22
beunohahahah19:23
beunoI promise, he's a person. I've met him19:24
pickscrape:) I believe you. I genuinely did think 'lifeless' meant the branch hadn't been touched for more than X amount of time though.19:32
* james_w files a bug against lifeless 19:33
pickscrape:)19:33
pickscrapeMaybe I'm the one who needs a bug ticket raising...19:33
james_whi beuno19:34
beunohey james_w!  how are you doing?19:34
james_wgreat thanks. How are you?19:34
datohello beuno, james_w19:35
james_whi dato19:35
beunojames_w, good good, trying to start the week properly, but it doesn't seem to be working  :)19:35
beunohey dato!19:35
james_wstart it on tuesday, that always makes it a little easier.19:36
beunoI'd love to, but I have to convince too many people to follow my lead, and it just feels like it might not work as well...19:37
datojelmer: right, bzrtools need one more upload by me. let's see if I can do it tomorrow (together with bzr-gtk, hopefully)20:06
=== mw|food is now known as mw
BasicOSXUsing the email plugin is there an entry you can put into location.conf to prevent email notification just for a specific project?20:16
jelmerdato: yup - thanks!20:17
=== kiko-fud is now known as kiko
ricardokirknerhi. i am trying to access a bzr branch that is exported by apache, but requires authentication and I get the following message: Unable to handle http code 401: expected 200 or 404 for full response20:49
ricardokirknerI have googled it, but couldn't find any answer20:49
ricardokirknerdo you guys have any idea if auth is working when using http?20:50
beunoricardokirkner, 401 seems to me access denied20:50
beunoare you sure the user/password is correct?20:51
ricardokirknerbeuno, bzr never even asks me for use/pass20:51
beunoricardokirkner, it's not interactive20:55
beunoyou have to add it in the url20:55
ricardokirkneroh. wait... i'll try that20:55
ricardokirkner:-D20:55
ricardokirknernow it WAS interactive... after specifying the username, it asked me for the password20:56
ricardokirknerthank you20:56
beunoricardokirkner, yes, it is for passwords20:56
beunoyou're welcome  :)20:56
beunoI wonder if that can be considered a bug...20:56
beunojust to annoy vila perhaps20:57
pickscrapeDoes seem to violate the principle of least surprise.20:57
* beuno looks to see if it's been reported before20:58
=== mwhudson_ is now known as mwhudson
beunoricardokirkner, bug #22971421:07
ubottuLaunchpad bug 229714 in bzr "Accessing a password protected URL through http without username should ask for username" [Undecided,New] https://launchpad.net/bugs/22971421:07
ricardokirknerbeuno, I might even attempt to fix that bug, thank you :-)21:15
beunoricardokirkner, that would rock  :)21:16
ricardokirknerwhen I get back home from work, I will try21:17
ricardokirknerI was just wondering.. I know about repositories, and that they allow to reduce duplicate space, but what happens if I start with just one branch and later on I decide I want to use a repo, because I will have many branches... can I just create the repo and then move my branch into it, or what should I do?21:21
datocreate the repo21:21
datocd into it21:21
datobzr get your branch21:21
=== ja1 is now known as jam
ricardokirknerdato, ok, so in order for the data to be stored in the repo I just re-checkout my branch, right? sounds easy enough. thanks21:33
datoyep21:34
ricardokirkneranother newbie question (I am really getting into this :-)). when I have created a repository with branches in it. is there a simple way to checkout the full repository? when I point bzr to the url of the repo, I get a message about it not being a branch (which is quite correct)21:36
mwhudsonno, not really21:36
mwhudsonthere is a 'multi-pull' command in bzrtools, which is like one tenth of what you're asking for21:37
beunosounds like nested branches21:37
* beuno stares at LarstiQ 21:37
datobeuno: not really, I think21:37
beunodato, well, partially at least21:38
ricardokirknerbeuno, not really. I just mean the whole repo, but the branches within are just related by belonging to the same project21:38
beunoenough to other LarstiQ with it21:38
beunoright, it should share some code with nested branches though21:38
datoI don't think so...21:40
beunohm, then I'll get back to work  :)21:41
pickscrapeI just did update on a checkout that contained some commits I'd made using --local, and they've vanished23:42
pickscrapeI can see the commit using the heads plugin. Any tips on how I can get it back?23:43
pickscrapeWould the rebase plugin be of use here?23:43
james_wpickscrape: are they listed at the end of "bzr status"?23:44
pickscrapeOh, yes they are actually.23:44
pickscrapeAs pending merges, and many of the files in the repo are marked as modified too23:45
james_wyeah, they get converted in to "pending merges", if you resolve any conflicts and commit you will see them in the output of "bzr log -r -1"23:45
pickscrapecommit with --local again? (if I don't want to go upstream yet)23:45
james_wthat will work.23:45
james_w(I hope)23:46
pickscrape:)23:46
pickscrapeYep, that worked, though I now have one revision with the three commits as parents of it. Presumably though this is what would have happened when I wanted these revisions to go upstream anyway, right?23:47
pickscrapeUseful bit of experience this... Would update be the correct command when you do want to sync your local commits with upstream?23:48
pickscrapei.e. update, then commit without --local23:48
pickscrapeAh, doing update again I now see the completely clear message it gives at the end about local commits being pending merges.23:50
pickscrapeI missed that before because I'd done the update through olive (messing about)23:50
james_wpickscrape: yes, if both upstream and you were moving forward (committing) then you would need to do a merge at some point to send your work upstream23:51
pickscrapeYes. In this case I'm the only one doing any committing.23:51
james_wthis can either be an explicit merge with "bzr merge", or an implicit one with "bzr update"23:51
james_wbut upstream are committing on their branch?23:51
james_wor are you upstream as well?23:52
pickscrapeI'm upstream as well. I'm experimenting with the centralised workflow.23:52
pickscrapeI actually think there's as little room for improvement here. My local checkout was the same as upstream with a few commits extra.23:52
pickscrapeSo I think in that case, update could have left things as they were.23:53
pickscrapeInstead it's forced me to merge, when I might not have wanted to at this point.23:53
james_wah, my instinct would have been that it would have done exactly that23:53
pickscrapemerge, or leave alone?23:54
james_wleave it alone23:54
pickscrapeYes, I'd expected it to be a noop.23:54
jmlwhat's the recommended bzr-svn to use.23:54
james_whi jml23:55
james_wpickscrape: I see now that it does always merge23:56
jmljames_w: hi.23:56
jmljames_w: it's been a while :)23:56
james_wjml: I think 0.4.10, or 0.4.9 failing that23:56
james_ware you in Prague next week?23:56
jmlI am.23:56
james_wgreat!23:56
igcmorning all23:57
james_wI've got some questions for you, come prepared :-)23:57
james_whi igc23:57
=== mw is now known as mw|out
jmljames_w: actually, if you ask them now, perhaps via email, I might be even more prepared.23:57
pickscrapejames_w: Yes, I just tried it with a trivial example23:57
james_wjml: that's true, I don't know exactly what they are yet, so I'll write you an email later explaining what I'm working on if that's ok?23:58
jmljames_w: that'd be great.23:58
jmlLast week, I made my first working .deb in preparation for UDS :)23:59
james_wpickscrape: so, you could say that "update" means, give me upstream's branch with anything I have locally being working tree modifications/pending merges, which gives you this behaviour.23:59

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