/srv/irclogs.ubuntu.com/2008/01/31/#bzr.txt

luislavenahello everybody.00:12
luislavenaanyone had experience installing bzr on a shared host?00:13
poolieyes, sure00:13
luislavenapoolie: dreamhost, bluehost or site5?00:14
poolieoh, huh00:14
poolienone of those00:14
pooliewhy not use launchpad.net?00:14
luislavenapoolie: is for a private project00:15
luislavenapoolie: been pushing via ftp and pulling via http, but these dumb protocols are a bit slow.00:15
poolieare you using a pack repository?00:15
luislavenayep, pack-0.9200:16
luislavenawith 1.100:16
luislavenasorry, bzr 1.100:16
luislavenafreshly created repos :)00:16
beunoluislavena, I'm not sure you can install python apps on shared hosts00:16
beuno(I'm fairly sure you can't unless it's a virtual server or the likes)00:17
luislavenabeuno: thank you00:19
luislavenabeuno: maybe something like this00:20
luislavenabeuno: http://joshstaiger.org/archives/2007/01/bzr_on_dreamhos.html00:20
beunoluislavena, ah, seems pretty straight forward00:21
luislavenabeuno: I'll need to check if the dependencies can be installed in the same way, since I've 2.4.3 available and only tested bzr with 2.5.100:22
beunoif you're allowed to install stuff in your home, for the most part, those same steps should work00:22
beunoluislavena, bzr works fine with python 2.4X00:22
luislavenabeuno: thank you for the info00:23
luislavenabeuno: is there a way I can see if everything works as expected ? (selftest?)00:23
beunoluislavena, yeap, bzr selftest00:24
fullermdUff.  Not a particularly kind thing to do...00:26
Odd_Blokefullermd: What in particular?00:27
luislavenafullermd: yes, I know... will make the shared host a nightmare to other users.00:27
fullermdOdd_Bloke: running 'selftest' on a shared webhost?00:29
pooliebecause of cpu usage?00:29
poolierun it niced...00:29
poolieor run, say 'selftest command'00:29
pooliesorry, i mean 'blackbox'00:29
fullermdcpu, disk...   last time I ran it, it made my workstation crawl for about 40 minutes.00:30
fullermdStill negotiating the restraining order my hard drive filed at the time...00:30
luislavenafullermd: hehehe, no problem, the InstallationFaq contains pointers on how to check for the missing dependencies.00:31
luislavenaso far, the shared host lack all of them :P00:31
luislavenaI'll see if I can install them like bzr...00:31
luislavena(on $HOME)00:31
Odd_Blokefullermd: Ah, OK, I was thinking more generally.00:32
bob2ffworked fine on dh for me00:40
luislavenabob2: how did you handle the dependencies? ElementTree, pyramiko, etc?00:44
fullermdWell, you don't need paramiko unless you're sftp'ing _out_ from there.00:45
bob2aelementree is python, as is paramiko, and what fullermd  said00:46
bob2you could probably even get bzr+http working, I think they do fastcgi00:46
lifelessrevie requested: http://bundlebuggy.aaronbentley.com/request/%3C1201262061.16337.52.camel@lifeless-64%3E00:50
luislavenabob2: how bzr+http will handle authentication?00:54
bob2poorly!00:54
lifelessbob2: uhm00:56
lifelessluislavena: it should handle it fine00:56
luislavenalifeless: thank you :)00:56
luislavenabut anyway, it fails to compile the c part of bzrlib00:57
luislavenaso I think this shared host is not as good as other ;-)00:57
bob2hm, I was reading the bzr+http docs yesterday, and it looked like you couldn't control what people could write to00:57
lifelessbob2: thats access control not authentication00:58
lifelessbob2: bzr+http delegates authorisation and authentication to apache and makes no direct effort at access control00:59
bob2touche01:00
fullermdWell.  Access control is a subset of authorization...01:00
lifelessfullermd: bup01:00
lifelessfullermd: bah, nup, its not01:00
lifelessfullermd: its a subset of AAA, but other than that you can have any one without the other two01:01
fullermdThe third A in AAA is 'accounting', though.01:01
bob2but it's not possible to have differing read and write authorization with bzr+http yet, right?01:01
lifelessbleh, my brain has clearly faded01:01
fullermdDirstate does that to ya   ;)01:02
lifelessbob2: depending on what granularity you want, yes or no01:02
lifelessbob2: in a single repository, we still depend on VFS access for some methods, so any access to the data base implies full data visibility01:02
fullermdI would phrase it as "bzr+http delegates authentication to Apache, and abdicates authorization to merely be contingent on authentication".01:03
lifelessbob2: but you can certainly split read and write access in a couple of ways - you can run the server with different parameters via the apache config to block writers01:03
fullermdThe usual suggestion for that is "read/only bzr+http, read/write bzr+https with HTTP auth"01:04
lifelessnot sure why you'd split the protocol01:05
lifelessbut whatever01:05
fullermdWell, that makes the URL's almost the same on both sides.  Gives you SSL where you're sending auth info over the wire.01:09
lifelessdigest auth ftw; or has that not landed yet ?01:10
fullermdWell, it would also prevent a MitM when you were pushing data.  If anybody still bothers trying to carry those out.01:10
lifelessdigest supports body signing01:11
lifelessplus sign your commits kthxbye01:11
lifelessigc: I wonder if I can borrow you for http://bundlebuggy.aaronbentley.com/request/%3C1201262061.16337.52.camel@lifeless-64%3E01:16
igclifeless: sure. Meant to get to it yesterday.01:17
igcI'll move it to the top of my review list01:17
igc(ahead of thumper's one)01:18
thumper:(01:18
luislavenaguys, there is no feed generator that can hook push and commit?01:21
luislavenabranchfeed seems old and don't work.01:22
lifelessluislavena: my plugin should still work01:23
luislavenalifeless: can you point me to the branch?01:23
lifelessone sec01:23
luislavenalifeless: thank you01:24
lifelessbranchfeed is what I called mine lol, I had to re-read it01:25
luislavenalifeless: the one here doesn't work:01:26
luislavenahttps://code.launchpad.net/~bzr/bzr-branchfeed/trunk01:26
luislavenait's supposed to generate a feed in .bzr/branch/branch.atom, but no file get generated.01:27
lifelesshttps://bugs.edge.launchpad.net/bzr-branchfeed/01:28
lifelesscould you file a bug please01:28
luislavenalifeless: will help you if I run the plugin selftests?01:29
lifelessis the plugin installed on your client or server?01:30
luislavenaclient, doing everthing locally and sometimes using smart server.01:30
lifelessyah, I can't look at this right now01:31
lifelessplease file a bug with as much info as you can gather01:31
luislavenalifeless: yeah, sure. thank you again :)01:31
luislavenalifeless: done :)01:39
ubotuNew bug: #187479 in bzr-branchfeed "BranchFeed don't generate atom feed after commit or push" [Undecided,New] https://launchpad.net/bugs/18747901:45
=== mw is now known as mw|out
luislavenaguys, another silly question, but i cannot find a way to verify the signed commits02:07
luislavenathere is sign-my-commits and re-sign, but no verify-signed-commits or something similar.02:08
lifelesspoolie: perhaps https://code.edge.launchpad.net/~mbp/bzr/dev should be registered, its a dupe with https://code.edge.launchpad.net/~bzr/bzr/trunk02:11
lifelessluislavena: yah, someone was working on it02:11
luislavenalifeless: good to know, the check_signature and create_signatures configuration options works?02:13
luislavena(branch based and globals)02:14
luislavenaok, it seems so, just wanted to be sure :)02:15
abentleylifeless: is get_data_stream_for_search meant to have ordering restrictions?02:15
=== variaas_ is now known as variaas
=== variaas is now known as variaas_
lifelessabentley: no more so than the get_data_stream api it replaced02:59
abentleyThey both have prefixes with lists of versions after them.03:00
abentleyI'm not sure whether a prefix is allowed to be repeated.03:00
abentleyThe use of prefixes suggests that the designer wasn't expecting the prefix to change frequently.03:00
lifelessI don't think the current code or tests prevent that03:00
lifelessthe goal was a single namespace for all data atoms03:01
abentleySince ('a')['b'], ('c')['d'] isn't all that helpful.03:01
abentleyBut in packs, I would expect the prefix to change at least twice per revision.03:02
lifelesswhy?03:02
abentleyIf you read from the beginning.03:02
lifelessoh right03:02
lifelesscurrently on sftp I do four readv's per pack03:02
lifelesseach readv linear sorted03:03
lifeless(for fetching this is)03:03
abentleyCool.03:04
lifelessthat seems a reasonable tradeoff in simplicity/speed - it lets us keep the read revision, read inventory, read texts etc sequence03:04
abentleyOh, I see.03:04
lifelesswhich means we don't copy unreferenced data, can sanity check etc03:04
abentleyBut revisions and sigs are fulltexts, so it wouldn't hurt to read them at the same time as inventories.03:05
abentleyNo additional memory cost, at least.03:05
lifelessand transactional inserts into the repository means we can just flush to disk03:05
lifelessabentley: right, it can certainly be tweaked; howver the sigs and revisions are in different indices to the inventories03:05
lifelessso if we were trying to optimise memory more we would actually be dropping index content from memory after grabbing the data for that index03:06
abentleyYes, I suppose it makes sense to do each index in turn.03:06
lifelessI haven't had any breakthough thoughts about storage/repository; I will reply to the thread though and see if we can get a good compromise; I _do not_ want to prevent improvements03:07
abentleyEven though we haven't agreed on the structure for Storage, I think that we can agree that an implementation of iter_files_bytes that reads each pack only once would be a win.03:08
lifelessabentley: oh for sure03:09
abentleySo I'm going to look at restructuring the knit-building code to support that.03:09
lifelessabentley: great; I hope you'll find its already half way tere03:09
lifeless*there*03:09
lifelessI split out the 'get data' stuff to a KnitAccess helper a ways back03:09
abentleyOh, I've been wondering what that thing was.03:10
lifelessso PackAccess knows how to get stuff from an arbitrary key03:10
lifelessby mapping the key which is (index, key)03:10
lifelessthrough the index to get an actual pack file03:10
lifelessKnitAccess maps likewise but to a single file the .knit file03:11
lifelessthis gives KnitData as simply providing the logic for combining hunks etc03:11
abentleyHmm.  Somewhat different approach than I was thinking, but it could work.03:11
lifelessand KnitIndex maps into a combined index for packs, which filters out the fileid prefix03:12
lifelessso what I have been thinking about doing is03:12
lifelessadding a file id prefix to the standard knit code03:12
lifelesswhich the existing KnitIndex stuff would enforce as always being the file id the index is for03:13
lifelessand the pack index mapper would just stop filtering out the file id prefix03:13
lifelessthus giving the existing iter_versions etc stuff the ability to deal with many file ids at once03:14
lifelessanyhow, I'm rambling - this is what I had in my head, not the only way to do it :)03:14
abentleyWell, it's interesting.03:14
abentleyI basically already have the code to map a bunch of requested knit entries to their pack transport/name/offset/size.03:15
abentleySo I was thinking about doing that part up front.03:16
lifelessthe map code should a single index iter_entries query really :)03:17
abentleyBasically via the iter_raw_items variation on get_data_stream.03:17
abentleyYeah, I like that.03:18
lifelessthe thing I like about extending knit is that the combining logic does not get duplicated, or have to move03:19
lifelessso improvements there will still help anything thats roughly delta combining related03:20
abentleyThe downside is you can't retrieve everything in a single read.03:24
lifelesshmm? sure you can03:27
lifelessget_raw_records03:27
lifelessused by read_records_iter_raw03:29
lifelessso read_records_iter_raw is already multiple-file-id ready, as long as the _Access object it has been given is03:30
abentleyBy everything, I meant fetching files, revisions, inventories and signatures all at once03:33
lifelessoh right03:33
abentleyYou can achieve that by adding a prefix, I think.03:34
lifelesshmm, if we guarantee that the indices contain enough data03:34
abentleyYou then wind up with something very close it Storage.iter_raw_items.03:37
lifelessI like the idea of getting get_data_stream and insert_data_stream03:37
abentleys/it/to03:38
abentleylifeless: I think you were cut off: "I like the idea of getting get_data_stream and insert_data_stream"03:50
abentleyBut I'll mention that if we get the inventory first, we can do fetch and build_tree at the same time.03:58
lifelessyup03:59
lifelessfetch currently puts the inventory before all texts03:59
lifelessfor locality of reference its grouped too03:59
lifelessnot really cut off; just not finished03:59
=== lamont` is now known as lamont
Alohawhats the difference between a branch and a trunk?08:51
weigonAloha: one starts with a b, the other with a t. That's pretty much it.08:53
Alohaweigon, whats the point of differentiating?08:53
weigonAloha: "trunk" is svn-speak for the main-development-branch08:53
Alohaweigon, so why have more than one branch?08:54
fullermdTrunk is a branch that you call trunk.08:54
weigonAloha: release-branches, feature-branches, merge-branches, ...08:54
weigonin bzr-world everything is a branch, everyone has it's own repository.08:54
Alohaweigon, so whats the difference between feature branch and release branch?08:55
weigonAloha: I think the best example is taking a look how the linux kernel-development works08:55
fullermdPretty much the difference between a water glass and a milk glass...08:56
Alohawhy would my project have more than one branch? different parts of it go in different branches?08:56
weigonAloha: no, put sometimes you have to release something to users|customers08:57
weigonand they call you 6 month later about a bug and you are already working the next big release08:57
Alohaweigon, so you can pull up the source code from that release and work on the bug?08:58
weigon... and fix it for that release to build a new release (1.0.1), while you are still doing your main-dev in "trunk" for the 2.0 release08:58
weigonif you want to implement a new feature and want to write a Proof-of-Concept you will commit it not to trunk, but to a feature branch.08:59
weigonif it works well and matures, you merge the new feature back into trunk08:59
Alohaweigon, so your source code that you edited would be in 1.0-dev branch and your release would be in 1.0.1-release?08:59
weigonif it doesn't work out, you only have to trash your work, not the work of others that are in the main-dev branch09:00
Alohaweigon, gotcha09:00
weigonif you do it right, the main-dev branch is always in release quality09:00
weigoneverything unstable is in feature branches until it is well tested and can be merged over09:01
Alohaweigon, gotcha09:02
weigonAloha: that means proper test-cases, unit-testing, ...09:03
Alohaweigon, do you have a seperate branch for debian packages? or do you make those from release tarball?09:04
weigonAloha: debian packages are built aside anyway.09:16
Alohaweigon, aside?09:16
weigonAloha: scroll down on http://packages.ubuntu.com/feisty/net/hostapd09:17
weigonSource Package: hostapd, Download: [dsc] [hostapd_0.5.5.orig.tar.gz] [hostapd_0.5.5-3.1.diff.gz]09:17
weigonit is always a the original tar + a diff that includes the build-files for debian09:18
Alohaweigon, i know but the files uses to build the original tarball, does anyone keep a debian branch knowing that that branch will only be used to build packages?09:18
Alohas/uses/used/09:19
=== doko_ is now known as doko
ubotuNew bug: #187593 in bzr-webserve "list index out of range" [Undecided,New] https://launchpad.net/bugs/18759310:40
=== mrevell is now known as mrevell-lunch
=== SteveA_ is now known as SteveA
ricardokirknerhi. I just installed the bzr-svn plugin (I am running fedora core 7). However, when I try to check out an svn branch, I get an error telling me that the url is not a branch. The cmd 'bzr selftest svn' failed, but I cannot make out what the problem is. Can anyone help me out here, please?13:14
ricardokirknerthe error I get is '_get_location_config() takes exactly 1 argument (4 given)'13:15
=== mrevell-lunch is now known as mrevell
ricardokirknerok, I found out the error. I relates to bzr-svn not being able (yet) to check out from webdab13:40
ricardokirknerwebdav13:40
jelmerricardokirkner: bzr-svn supports webdav yet15:01
jelmer?15:03
awilkinsCan anyone tell me the significance of .~1~ files in my BZR trees?15:18
LeoNerdThey're files left behind by 'bzr revert'15:21
LeoNerdWhen you 'bzr revert' it moves your locally-changed file to .~1~ in case you wanted to keep it, before overwwriting it with a clean copy15:21
awilkinsAha, thanks15:21
* awilkins executes ls -r -inc *.~1~ | rm15:21
=== mw|out is now known as mw
datoawilkins: there is bzr clean-tree --detritus, from the bzrtools plugin. try it with --dry-run first.15:28
jelmerinfo je15:56
jelmerinfo jelmer15:56
jelmerwhoops15:57
jelmersorry15:57
=== bigdo2 is now known as bigdog
alefterisafter i upgrade my launchpad branch using sftp://<username>@bazaar.launchpad.net/~username/project/branchname, what should i do to my local working copy?17:01
beunoalefteris, upgrade it too17:01
beunoand, reconcile both17:01
beunobzr reconcile sftp://<username>@bazaar.launchpad.net/~username/project/branchname17:01
alefterisi was reading this http://beuno.com.ar/archives/48, it mentions that I should recogline only if there is a problem.. is reconcile a dangerous operation?17:03
beunoalefteris, oh, then I have to correct it17:03
beunoyou *must* do reconcile17:03
alefteris:)17:03
beunoalefteris, no, it isn't17:03
beunoupgrade might be17:03
alefterisok thanks17:03
beunoalefteris, I changed it a few hours ago, can you see if it's clearer now:  http://beuno.com.ar/archives/4817:04
beuno(upgrade, on the other hand, already does it's own backup before doing anything, so all operations are fairly safe)17:04
synichey folks.  does this mean anything to any of you?17:04
synic[projects]$ bzr branch  bzr+ssh://arolsen@bazaar.launchpad.net/~exaile-devel/exaile/main/ exaile17:04
synicbzr: ERROR: Could not install revisions:17:04
synicsasongko@gmail.com-20080129204555-7h0j46m8wwlpcff217:04
beunosynic, what version of bzr are you using?17:06
synic1.0.017:06
beunosynic, you might want to use http to branch17:06
beuno(and, is that your user in LP?)17:07
synicwell, I'm trying to branch because a pull failed with the same error17:07
synicyes, that's my LP user17:07
alefterisbeuno, you used to have a "check" step before the upgrade, its not actualy needed?17:07
beunoalefteris, not really, if you have knits, it isn't required17:07
beunoI also moved reconcile to _after_ upgrading17:08
beunoit's million times faster17:08
beunosynic, let me try and branch it17:09
synicyeah, I just installed bzr 1.1 and same error17:09
beunoI get 0 revisions17:09
synicuh, there are a lot more than 0 revisions17:10
beunohmmmm17:10
beunoLP is reporting problems with the branch...17:11
synicgreat.17:11
beunosynic, can you do: bzr reconcile  bzr+ssh://arolsen@bazaar.launchpad.net/~exaile-devel/exaile/main17:11
beunohas the branch been upgraded lately?17:11
synicwell, I didn't do it (I wouldn't even know how), but one of the other devs may have done something17:12
beunosynic, try and run reconcile, and I'll ask in #launchpad if anyone can help17:12
synicrunning it now17:12
beunoah, you already did...17:13
beunolet's give reconcile a try first17:13
synicwhew, reconciling isn't the speediest operation, heh ;-)17:23
synicbeuno: ok, yeah, it's still broken.17:24
beunosynic, argh...   I suspect it's a LP problem17:25
synicbummer17:25
beunolifeless, jam, abentley, any ideas on why https://code.launchpad.net/~exaile-devel/exaile/main  might be broken?17:26
abentleyBroken how?17:27
beunoabentley, it doesn't branch17:28
beuno0 revisions17:28
beunoand LP reports it has a problem17:28
beunosynic already ran reconcile on it17:28
beunoand still nothing17:28
beuno(nobody seems to be available in #launchpad)17:28
beunoI see there is a broken character in the last commit message17:30
beunobut I'm not sure if that can cause LP to go crazy17:31
beuno(codebrowse also breaks: http://codebrowse.launchpad.net/~exaile-devel/exaile/main/files)17:31
synicyeah, but on all the revisions, not just the last one (I don't know if that means anything)17:32
beunosynic, I think it basically mean LP can't ready from the branch either17:32
synichrmm17:33
abentleyYeah, you can see the "branch has errors" thing on the page17:33
beunoabentley, so... how can this be solved?   push --overwrite from a healthy copy?17:34
abentleyIt's also in format 5, which is a bit odd.17:34
abentleyDid you upgrade it?17:34
abentleyor did you push from an upgraded branch?17:34
beunosynic, can you find out what the last dev did?17:34
synicI'll have to wait until he gets online17:35
abentleyBut I can confirm that revision-history is empty, so Bazaar is correctly interpreting that.17:35
synicI'm not real excited to hear that :)17:36
beunosynic, maybe the branch was upgraded and not reconciled17:37
beunodo you have a healthy copy locally?17:37
beuno(even if a bit out of date)17:38
synicI have one at home.  I've been trying to log in and get it, but I can't get in for some reason17:38
* synic thinks of where there might be another17:38
synicah, I have one on exaile.org, but I'm not sure how old it is.17:39
beunosynic, just so we can check what storage format you have and narrow it down to "someone upgraded recently and broke stuff"17:39
synicok, yeah, I found it.  How do I check?17:41
beunosynic, bzr info -v | grep 'repository'17:41
synicbzr: ERROR: Unknown branch format: 'Bazaar pack repository format 1 (needs bzr 0.92)\n'17:42
beunosynic, ah, so it's packs. And you're using some old bzr version17:42
synicon exaile.org, yeah.  It's 0.9017:43
synicI'll upgrade, if it won't hurt anything17:43
beunosynic, I would recommend upgrading it to 1.0 (or 1.1 even)17:43
synick, doing that now17:44
beunoyou should try and get a hold on the last dev that uploaded17:44
beunosee if he can fix his locla copy17:44
beunoif not17:44
beunofind the latest healthy one you can find17:44
beunoto 'bzr reconcile;17:45
beunos/;/'17:45
beunoand then add the changed files17:45
synicok17:45
beunocommit17:45
beunoand move on  :D17:45
beunomake sure everyone is using bzr 1.0+, and have upgraded their local branches17:46
beunoI just blogged on how to upgrade a few days ago: http://beuno.com.ar/archives/4817:46
abentleybeuno: I'm trying to get more info on this, but no luck so far17:46
beunoabentley, great, thanks!   synic can you stick around for a while and see if we can dig a bit deeper?17:48
synicyeah17:48
dacresnihow do i get bzr 1.0 on ubuntu?17:48
synicmight be a bit before the other dev signs on17:48
synicif he does at all17:48
syniche's in australia, I'm in utah17:48
dacresnithanks17:48
beunodacresni, you can get the latest from: https://launchpad.net/~bzr/+archive17:48
synicbzr info -v | grep repository repository: Packs containing knits without subtree support17:49
synicthat's after the upgrade.17:49
dacresnii c17:50
beunosynic, good. I would run 'bzr reconcile' on it now17:50
dacresnithanks beuno17:50
beunodacresni, no problem!  :D17:50
synicbeuno: it says "no repository present".  Ack, it's a checkout, not a branch.  Rats.17:51
beunosynic, you can use 'bzr unbind' to make it into a branch, although I'm not sure who it's parent is17:52
synicit's parent is the broken branch17:52
beunosynic, I believe unbind won't call the parent at all if it's a regular checkour17:53
beunos/checkour/checkout17:53
synicheh, it's a --lightweight17:53
beunoaaargh17:53
beunonot your lucky day...17:53
synicno, no it isn't.17:54
beunowell, I'd find out what kind of beer abentley likes then  :p17:54
abentleyYou could try doing bzr reconfigure --branch, though.17:54
synicin the checkout?17:55
abentleysynic: yes.17:55
synick17:55
dacresniI like irc so much more than forums, its so much harder to search for what you wnt17:55
abentleyThat assumes that upstream actually has the necessary revisions.17:55
dacresnic ya17:55
abentleybzr reconfigure replaces bind, unbind and remove-tree.17:56
abentleyThough I suppose you probably want reconfigure --tree.17:57
dacresnihey, back18:01
dacresnihad a bit of a "problem with the package18:02
dacresniwell, i just wan'ted to fix my commit signing process18:03
dacresniit responded gpg: problem with the agent - disabling agent use18:05
dacresnibzr: ERROR: Failed to gpg sign data with command "['gpg', '--clearsign']"18:05
dacresniis this a bzr issue or a gpg issue18:06
dacresni?18:07
dacresnibeuno are you still there?18:07
beunodacresni, yes, although I haven't used gpg signing in bzr18:08
beunohave you signed any commits yet?18:08
dacresnii tried18:08
dacresnino i haven't18:08
beunodo you have your key setup with gpg?18:08
dacresnii think so18:09
dacresnii followed the instructions on the pgp site18:09
dacresnii mean gpg18:09
dacresniand those of the bzr site linked from bzrVSgit18:09
dacresnithe one http://blogs.gnome.org/jamesh/2007/10/04/signed-revisions-with-bazaar/18:10
beunodacresni, and you've setup the email to use to sign commits?18:12
dacresniim using this localy18:12
dacresniso no18:12
beunodacresni, does:   gpg --list-keys    print out your key?18:15
dacresnihmm18:15
dacresniyes18:15
beunoand that's the same email address you have configure in "bzr whoami"?18:16
dacresnipub something18:16
dacresniuid, my info18:16
dacresniaccept for the comment18:16
dacresnio wait18:16
alefterisbeuno, the upgrade prosedure at a launchpad branch sure takes a while :)18:16
dacresniok, so i put my whole name18:16
dacresnithanks i guess ill be fixing that18:17
beunoalefteris, ah, yes, large branches + remote access are always fun to watch  :D    The upgrade is worth it though!18:17
beunodacresni, np18:17
dacresnishouldn't it not use the comment?18:18
dacresnithats kind of silly18:18
dacresnii have 2 keys, one at home and one at work18:19
beunodacresni, that's why you can specify your email on ~/bazaar/, so it can find the key you want18:19
dacresnii c18:20
dacresniok, so i added the comment to my email,18:21
dacresnithats probibly going to screw up my patch emails should i use them in the future18:21
dacresniemail not valid18:22
dacresniseriously, does anyone know how that works? does it really compare the entire line? or could it exempt the comment?18:23
beunodacresni, I haven't used it really. jelmer, I believe I've seen you play around with signing commits?18:24
dacresnidang, i wonder if that came from intering the pass fraze to often18:29
beunodacresni, sorry, everyone seems busy today18:30
dacresni'ts ok18:30
dacresniit seems the probliem with pgp18:30
dacresnithere seems to be a problem with the aigent18:31
jelmerbeuno: yep, I'm signing most of my commits18:35
dacresnicould you help18:36
jelmerdacresni: is there a particular reason you'd like to sign commits ? There is no way to verify signatures yet afaik18:36
dacresniwell,18:36
dacresnii was trying to get my boss to use it18:36
jelmerdacresni: Should be a matter of setting "create_signatures = always"18:36
dacresnibut first i need to get the security features workign18:36
dacresnio yeha18:36
dacresni thats already there18:37
dacresniotherwise it wouldn't be asking me to  sign would it?18:37
jelmerdacresni: right, so what exactly is your question ? :-)18:37
jelmerthat should be all there is to it.18:37
dacresniwhy isn't gpg working, sorry it seems to be a problem with the agent18:38
jelmerdacresni: Have you got gpg working outside of bzr ?18:38
dacresnijust now, no18:38
dacresnii'll give you the error message18:38
dacresnigpg: problem with the agent - disabling agent use18:39
dacresnibzr: ERROR: Failed to gpg sign data with command "['gpg', '--clearsign']"18:39
jelmerdacresni: Did you create a key earlier?18:39
dacresnibut first i need to find out yes18:39
jelmerdacresni: Also, there is no added security in signing revisions at this point..18:39
dacresniyes i created the key18:39
dacresnioy,18:39
jelmerDoes "gpg --clearsign <somefile>" on the command-line work?18:40
dacresnisame issue18:40
dacresnigpg: problem with the agent - disabling agent use18:40
jelmerthe agent is optional18:40
dacresniand then proseads18:40
dacresniwell, this is kind of confusiong18:41
jelmerthat's just a warning, it should work fine without the agent as well18:41
dacresnisorry18:41
dacresniconfusing18:41
dacresniit did work, (im finding that i've already commited something"18:41
dacresnibut bzr still exits with an error18:41
jelmerit does the signature after the commit18:41
dacresniwas this resolved in later version?18:41
dacresniwell let me see18:42
jelmerso if the sign fails you will still have a revision, it just won't be signed18:42
dacresniwell18:42
dacresnii can't find the revision comment18:42
dacresnithat IS a problem18:45
jelmerdacresni: it's not in "bzr log" ?18:46
dacresninope18:46
dacresnihas anyone else experienced this problem18:46
dacresni?18:46
jelmerdacresni: What problem specifically?18:46
jelmernot being able to sign revisions?18:46
dacresnii will disable the signing but, not being able to comment revisions18:47
dacresnithats a problem18:47
jelmerdacresni: What do you mean with "comment" revisions?18:47
dacresnilet me see if disableing signing allows my comments to be saved18:47
jelmerdacresni: Not being able to specify a commit message?18:47
dacresniwell,18:48
dacresnitheoreticly yes but, if its not saving my comments, it snot saving my revisions18:49
dacresnii want to know if this ever happened in a more recent version18:49
dacresniim using, just now, 1.1.0 sorry18:50
dacresnii thought i was using 094 like i was an hour ago18:50
jelmerdacresni: What do you mean with comments? commit messages?18:50
dacresni"the package gave me errors in debian"18:50
dacresniyes the commit messagese18:50
jelmerdacresni: Does it ask you for a commit message or do you specify one on the command line?18:51
dacresniits been fixed after signing was disabled18:51
jelmerok18:51
dacresniit asked for a commit message18:51
dacresnithis is interesting behavior no?18:51
alefterisbeuno, upgrade finished, ole :)18:51
jelmerdacresni: It simply doesn't add a revision for me if the sign step failed18:52
beunoalefteris, yay!   Now reconcile should be fairly quick18:52
dacresnithats what's happened for me18:52
dacresnii just didn't look at it like that18:53
jelmerdacresni: That's correct.18:53
dacresniso where is the branch where they are implementing the security?18:55
dacresnithe revision signing?18:55
jelmerdacresni: Revision signing has been supported for a long time18:55
jelmerafaik nobody has started working on signature verification yet18:55
dacresnips this didn't happen at home, on my mac. i dont think18:56
dacresnihere im using ubuntu18:56
jelmerdacresni: what exactly didn't happen on your mac?18:56
dacresniat home, macports on a g518:56
dacresniit worked as normal18:56
dacresnii installed macgpg18:56
dacresnithen added the line to my bazaar config18:56
jelmerdacresni: It's gpg that's misconfigured on your Linux machine18:56
dacresnithen i signed some local commits, and it worked18:56
dacresniprobibly18:56
jelmerI'm quite sure it is18:57
dacresnii do believe the probem was with gpg18:57
dacresnithis is why i straddle between mac and linux19:01
dacresnilinux you have democracy issues and mac you have monarchy issues19:01
dacresnilike that dtrace issue... perhaps i should use solarus19:01
jelmerdacresni: There are more userfriendly frontends for gpg on Linux19:02
dacresnibut how can any work if gpg has issues19:02
jelmerThey can take of configuring gpg for you19:03
dacresniso what does that/19:03
dacresni?19:03
jelmerwhat do you mean? Examples of programs?19:03
dacresniyes, please19:03
dacresnifirst, whats this agent the error speaks of?19:07
jelmerdacresni: seahorse is one19:10
jelmerdacresni: gnupg's agent program19:10
jelmerdacresni: I don't use it but apparently you've got it configured19:10
dacresnibut what is the agent in reference to gnupg19:10
dacresniand why did mine screw up19:11
brink_Am I somehow getting Bazaar from the wrong universe?   On Windows and OSX I'm at 1.1.0   On Ubuntu the most recent version from apt-get seems to be 1.0.0.candidate.1.    Is my Ubuntu installation messed up?19:11
jelmerdacresni: You may want to ask in the gnupg channel19:11
jelmerdacresni: I suspect it's something similar to ssh-agent19:11
jelmerbut for gpg19:11
jelmerdacresni: Still, why are you so keen on setting up signing revisions? There's no point in doing so at this time and Bazaar may have better integration with apps like seahorse in the future.19:12
dacresnii c19:12
dacresniwell, i wanted to get some kind of security so that this app is comparable to git in some other way other than workflow flexablility19:13
Pengbrink_: Get it from PPA.19:14
Pengbrink_: https://launchpad.net/~bzr/+archive19:14
jelmerdacresni: revision signing won't get you any security at all at this point. it may help you verifying the integrity of now signed revisions in the future19:16
dacresniwell, ok19:16
dacresnithe only reason why i look at this project more closely than git is because it's all done in one language19:16
dacresniinstead of 519:16
jelmerdacresni: I agree it's a useful feature though19:16
dacresni1 being c19:16
jelmerdacresni: bzr is written in python...19:17
dacresnino i mean one of gits language being c19:17
jelmerah, ok19:17
brink_Peng:  Thanks.  I'll give it a try.19:21
PengWait, so signed revisions aren't verified?19:22
dacresniyup19:22
PengThat...sucks.19:22
dacresnii would like it if it varafied the integrity of the signature before its accepted to the tree on bzr servers19:23
dacresnii guess we'll have to settle for ssh19:23
dacresninot that that's a bad thing19:24
* Debolaz still has a fondness for the simplicity of git's design.19:28
dacresnihmm19:29
dacresniim curious of what that is19:29
jelmerDebolaz: in what way is git simpler than hg or bzr?19:29
dacresnii mean, simple is linus's style but how is git siimple19:29
jelmerthe way the commands work?19:29
dacresnithe security model itself19:30
dacresni'19:30
dacresni?19:30
DebolazThe commands are horribly complex.19:30
dacresniexactly19:30
DebolazBut the fundamental ideas that git is based on are very simple.19:31
dacresniand those are?19:31
jelmerDebolaz: I don't see that those ideas are so different from the ones in bzr or hg though19:31
dacresnithe decentralization model bzr copy19:31
jelmerdacresni: bzr is older than git...19:31
DebolazEverything is an object in a filesystem, named after its content. Every branch is simply a file pointing to an object. When you update, you just make new objects and write the name of the head tree object to the branch file.19:32
dacresnireally?19:32
dacresnii didn't know that19:32
PengAlso, the DVCS model is older than either bzr or git..19:33
jelmerDebolaz: The only thing that's different there is that bzr doesn't name a file after its contents but uses a pseudo random id19:33
DebolazIt could easily be reimplemented with a few shell scripts. Horribly inefficiently implemented, but still very simple in concept.19:33
dacresni? git could be reimplemented in a few shell scripts?19:34
jelmerDebolaz: I still don't see what's so fundamentally different.19:34
=== mw is now known as mw|food
dacresniso mw is out to lunch"?19:34
jelmerI think it's dinner, rather19:34
dacresniits only 119:35
dacresnio wait19:35
dacresninever mind19:35
Debolazjelmer: Well, I never made the claim that it was fundamentally different. But it is different, and it is simpler. Granted, I know very little about bzrs internal workings, but even if what you say is the only big difference in storage, then that still increases complexity by some bit.19:36
rcohensome complexity is necessary to get efficiency and features19:37
rcohengit's original storage model was horribly space inefficient19:37
DebolazYes it was. But very simple.19:38
jelmerDebolaz: Using ids rather than file contents to identify files doesn't impact the complexity of the storage layer all that much19:38
jelmerDebolaz: And you've still failed to mention a reason why it's simpler.19:38
rcohensimple and unusable for the primary use case19:38
rcoheni'm not sure what's so admirable about simplicity if it doesn't do what you need19:39
Debolazjelmer: You lose the ability for renames to be detected by design for instance. You have to track this differently somehow (Possibly using hashes, but then you're back at square one again).19:39
dacresniwell, this has been the argument between git and bzr before, storage format19:39
DebolazLet me again emphasize that I'm not saying anything bad about bzr here, I barely know bzr. :)19:39
jelmerDebolaz: bzr tracks renames explicitly rather than inferring them using complex algorithms that have to determine whether one file was a rename of another.19:39
rcohenit's highly debatable whether automatically detecting file renames is a good idea19:40
dacresniit might because not could cause duplicity19:40
rcohenit can do really bad things in the worst case, and a lot of effort is put into making sure that the worst case for a merge algorithm isn't all that bad19:41
jelmerDebolaz: Right, I'm not saying git is bad or there are no reasons for picking git over bzr either. I just don't understand why you claim git is simpler...19:41
fullermdCVS is simpler yet; we should switch   :)19:41
jelmerrcohen: yeah, I agree. It's usually better if you can predict when it's not going to work19:41
jelmerfullermd: :-)19:42
jelmerrcohen: Finding the right way to track file identity is hard though19:43
jelmerrcohen: bzr uses file ids, but they only allow you to track renames, not e.g. copies19:43
rcoheni'm a big fan of doing it explicitly19:43
rcoheni don't think supporting copies is all that useful19:44
rcohenthe point of doing it would be that whatever merge algorithm would be aware of it19:44
rcohenin my experience, a user would use the copy when they wanted to split a file19:45
jelmercopies can be useful when splitting files19:45
fullermdI'm a lot more interesting in splits and joins.  But copies you can kinda get for free with those mechanisms, so...19:45
rcohenwhich, if you then tried to merge across it, would cause horrible conflicts and ambiguity19:45
Debolazjelmer: Because I gave the complete description of how the fundamental of git works above, and I do not think bzr or hg can be described with as few lines. git is a simple design. Possibly at the cost of efficiency, userfriendlyness (Yeah, I agree about the commands being less than idea), and other things. Bzr might be better at those things and yes, I agree those things are a higher priority for most users.19:45
jelmerDebolaz: the description you just gave above almost matches bzr and hg19:46
rcohenDebolaz: the point is that in order to be useful even git has taken on extra complexity19:46
rcohenDebolaz: by comparing git "conceptually" to the implementations of bzr and hg you're comparing apples and oranges19:47
Debolazjelmer: I know there are significant differences from it at least for hg. Simply naming a revision by a SHA1 ID is not the same thing as actually storing the content in a file with that name. The former might be a part of something significantly more complex.19:47
DebolazBut I guess we can agree to disagree, I don't want to make this turn into a flamewar. :)19:47
jelmerDebolaz: yeah, let's do that :-)19:48
fullermdShucks.  I was just making popcorn...19:48
jelmerrcohen: Yeah, merges would be an interesting problem for splits19:48
jelmerrcohen: but it would be awesome if we could get that working19:48
rcohenjelmer: believe me, i've thought a lot about it19:49
rcohenthere be dragons19:49
DebolazHowever, I would like to make a point about automatic detection, not neccesarily about renames. Whenever something isn't automatically detected, or enforced a certain way, users will screw it up. I think the most notable example of this is subversion branching.19:49
jelmerrcohen: :-)19:49
jelmerrcohen: even without proper merge support being able to represent copies would be nice though19:49
jelmerrcohen: since we get that data when we import from other version control systems19:50
rcohenjelmer: it's hard to say what should happen without merge support19:50
rcohenlet's say your merge doesn't know anything about copies and the system pretends that the full history applies to both files19:50
rcohennow, you didn't really want a copy, you wanted a split19:51
rcohenso you go ahead and delete half of each file19:51
rcohenin another branch, someone modified the file19:51
rcohenthen you merge that branch in19:51
rcohensuddenly, you've got a massive conflict in the file which deleted that section19:52
jelmerrcohen: ouch, yeah, that would be a problem19:52
rcohennow let's say you didn't want to split, you really wanted a copy (because you're into cutting and pasting, who knows)19:52
jelmerDebolaz: yeah, leaving out the concept of a branch really hurt Subversion19:52
rcohensomeone in another branch modifies the file19:53
jelmerDebolaz: and it hurts bzr-svn now, since it has to guess what users consider a branch19:53
rcohenyou merge that branch in, both files get the merge, but you only wanted the "original" to get the change19:53
foomis there a way to create a branch in an svn repository using bzr?19:54
foomi tried bzr push but it threw an error at me19:54
jelmerfoom: try "bzr svn-push"19:54
rcohenone of the big problems is that there are conflicting use cases for copy19:54
jelmerfoom: I haven't gotten round into implementing it in "bzr push" yet19:54
foomaha, thanks. :)19:54
rcoheni could make you even more afraid if you wanted to support a separate "split" command :)19:55
dacresnithats like telling telling a species with no eyes that something is red19:55
jelmerrcohen: I was about to suggest that :-)19:55
jelmerrcohen: Actually, we already have a split command, but it splits trees, not files19:55
dacresnithats only a little inefficient19:56
rcohenjelmer: let's take an easy case for split, the top and bottom halves of a file each go their own way19:57
abentleybeuno: The error message we have is Could not install revisions: sasongko@gmail.com-20080129204555-7h0j46m8wwlpcff219:57
rcohenjelmer: what happens if in another branch someone adds content at the place where the file was split?19:57
rcohenjelmer: it gets worse if there are conflicts at the split point19:58
abentleybeuno: I realize you've already seen something like that.19:58
jelmerrcohen: Representing that conflict in the file(s) would be the tricky bit.19:59
rcohenjelmer: it's not so much the problems with the merge algorithm and the UI19:59
Debolazjelmer: I've had to extend git-svn for the same reason. It makes the ideological but foolish assumption that the subversion users know what they're doing. :)19:59
rcohens/and the UI/as the UI/20:00
jelmerrcohen: Perhaps create conflicts in both files, adding a conflict in both cases and a comment?20:01
jelmerrcohen: I see your point though20:01
rcohenjelmer: also remember that was the easy case :) files can be split in other bizarre ways which may not be detected properly or are partial copies, etc etc20:02
jelmerAaron has also explained some other issues potential issues with merges after copy earlier20:02
jelmerEven without merge, I think copy could be still be quite useful though20:03
jelmerfor "bzr log" and "bzr annotate"20:03
* fullermd seconds.20:03
jelmerand just for roundtripping20:03
rcohenso just an annotation in the history which says "this file was copied from that file"?20:03
rcohenbut not actually used for anything20:04
jelmerrcohen: Well, only when looking at the history of a file20:04
jelmerrcohen: Do you know whether Subversion supports merges across copies?20:06
rcohennot offhand, though i doubt it20:06
abentleyrcohen: A day after you expressed reservations about LCA not doing resolution against the base initially, a user found the problem with that; it doesn't emit conflicts when one side deletes a line, but the other changes it.20:06
abentleyrcohen: But in my defense, knit gets that wrong too.20:06
rcohenabentley: ah, knit can be made to do that correctly :)20:07
rcohenthere's a subtle difference in how cdv and bzr implement the algorithm20:07
rcohenin cdv, the annotations are on the space between the lines, which catches deletes20:08
abentleyrcohen: Yeah, I know.20:09
abentleyBut even if you're even if you're versioning the lines, suitable historical info will let you catch that case.  I'm pretty sure weave handled it, and I believe I can extend LCA to handle it, too.20:10
rcohenyes, weave should handle it20:10
rcohenif you are going to add annotation information to the pack format in the future, that may be worth keeping in mind20:11
abentleyrcohen: Do you know offhand whether annotation of the lines can be cheaply transformed into annotation of the edges?20:12
rcoheni understand that there are practical tradeoffs to be made, you obviously don't want to show the between-line versioning to users when they use the "blame" command so it would be extra info20:12
rcoheni don't think so20:12
rcoheni haven't really looked into it, it may be possible to store a small set of differences and otherwise make it automatic20:13
rcohenabentley: if you have a fast way of determining whether i change came after another, then i think only the deletes would get lost20:15
abentleyPity deletes are the reason we're interested in edge annotation :-)20:16
rcohenyeah :) but storing the standard annotation plus a little extra deletion info might work20:16
abentleyAnyhow, I'm interested in edge-base merging generally because I believe it can do moves within files, and between files.20:18
rcohenthere be dragons20:19
rcoheni'm currently more interested in improving the UI for conflicts20:19
rcohenthere are some conflicts which are difficult for users to resolve20:20
rcohenfor instance, someone deletes a big section of code, someone else makes a 1 line change to it20:20
fullermdThat one bits me with some regularity   :|20:21
rcohenthe poor merging user is left to stare at these 2 huge blocks of code and figure out what's different and why20:21
dacresnihow does git handle it?20:21
dacresnii mean, thats what comments are for20:21
dacresnito tell why20:21
dacresniin both revision comments and inline comments to the code20:21
abentleyrcohen: Oh, I certainly have bigger fish to fry than that.20:22
fullermdComments don't help when I'm staring at 1 line of code, and 80 lines of code, where I took that one line from the 70-some that were on the other side last time, and have no idea which were added.20:22
rcohenabentley: i've come to consider UI a big fish20:22
abentleyThat is, I don't plan on implementing edge merging soon.20:22
abentleyI agree that UI is more important.20:23
abentleyYou get quickly diminishing returns with merge algorithms.20:23
rcohennow, if your merge algorithm has annotation information, it should be possible to call out the 1 line which caused the conflict for the user20:23
dacresniit sounds like you can't tell when either line was added or subtracted or which20:23
rcohenabentley: absolutely agreed on diminishing returns, fun as it is to work on merge algorithms20:24
rcoheni've got another crazy idea about doing per-conflict virtual common ancestors20:25
rcoheni came up with it in the context of weaves, but it may be possible to fit it into other merge algorithms20:25
brink_Is there a way that version-info could somehow be inserted into my code automatically?20:34
brink_A revision number would be fine.20:34
cliechtii have a low power/low resources hardware where a wiki like moinmoin uses too much memory. so i thought i could use a bazar repository there, with a working copy on the server. i'd then run docutils over that copy to generate my HTMLs. so, is there an easy way to run update and a script when i push my local repo to the server.20:41
cliechtii could write a plugin, but is there a hook that is executed on the server when i do a push?20:42
datocliechti: maybe you'd like to take a look at http://ikiwiki.info, a static wiki "compiler". it's recently gained (or is about to gain) bzr support.20:45
cliechtidato: ok, that's the direction i'm thinking of, but it seems that ikiwiki is using perl, so it is the wrong language with P for me ;-) and i'm having my nice ascii art to svg plugin in docutils :-)20:49
datocliechti: I'm completely a python person myself, but am quite happily using ikiwiki for my personal site. ymmv.20:50
beunoabentley, did you find out anything about that broken branch (FYI, it's not really mine, I was just helping out and got curious)21:45
abentleyKinda.  I'm on a call right now.21:46
* synic perks21:46
beunoabentley, no hurries21:49
igcmorning22:36
RollyHi all. I keep getting an AttributeError: 'module' object has no attribute 'ssl' error when I try to branch any https:// url. Here's the bzr output: http://p.caboo.se/private/x2dbvkbelnrngdsscb9s1w23:04
Rollydoes anyone have a clue? I have googled to no avail23:04
beunoRolly, seems you're missing a dependency23:05
Rollyyou think it's a python problem, or a bzr problem?23:05
RollyI am clueless when it comes to python, I'm afraid23:06
beunoRolly, neither, you're probably missing some package23:06
beunolet me check23:06
Rollythanks :)23:06
mwhlooks like your python doesn't have ssl support23:07
mwhwhich is a little strange23:07
mwhRolly: what os are you on?23:07
Rollyyeah, I just saw this: http://paltman.com/2007/11/15/getting-ssl-support-in-python-251/23:08
RollyI'm on a debian etch box23:08
Rollyw/ python2.4 installed from apt23:08
mwhmaybe you need to install python-ssl or something23:08
beunoyeap, svn2bzr doesn't seem to require any special dependencies23:08
mwh_however_23:09
mwhin this case just branch from http://bazaar.launchpad.net/~niemeyer/svn2bzr/trunk23:09
Rollycheers, I didn't think of that23:11
mwhthat's what the url you were trying to access would have redirected you to23:12
Rollyinstalling the ssl 1.13 python package didn't work23:14
RollyI would try to install python 2.5 from source, and use that. But I'm afraid to bork anything on this box that depends on python 2.4 :p23:14
mwhthere's not usually much reason to install things from source on debian...23:16
mtaylorRolly: install python2.5 packages?23:16
Rollymtaylor: I did, but the system python (`which python`) remains my old 2.423:17
Rollymwh: probably, but I'm mystified by the package system. For example, how would I go about reconfiguring my existing python 2.4 install? I have no idea23:18
Rollymwh: actually, http://bazaar.launchpad.net/ redirects to https://bazaar.launchpad.net/23:22
Rolly:(23:22
cliechtimwhudson: do you have something to do with lag.net (loggerhead homepage)? the last two development link at the bottom of the page do not work properly23:39
mwhudsonno23:39
=== Rolly is now known as kumi
=== kumi is now known as rolly
=== mw|food is now known as mw
rollycool, I fixed my problem with just "apt-get --reinstall install python2.4"23:47
rolly:)23:47
rollyHmm, there's a problem with svn2bzr. I have to comment out "import bz2", because that's part of Python now. But then bzr crashes with global name 'bz2' is not defined in lines like this: self._tree_cache[str(revno)] = bz2.compress(marshal.dumps(tree, 2)).23:52
mtaylorrolly: why do you need to comment out import bz2?23:53
rollybecause if I don't, I get ImportError: No module named bz223:54
mtaylorrolly: that's because you don't have it then...23:54
rollyI think I read somewhere that bz2 is part of python23:54
mtaylorit is23:54
bob2that would be because it is NOT part of python :)23:54
mtaylorbut you still need to import it23:54
mtaylorto use it23:54
rollyAh ok23:54
mtaylormtaylor@solace:~$ python2.423:54
mtaylorPython 2.4.4 (#2, Jan  3 2008, 14:46:35)23:54
mtaylor[GCC 4.2.3 20071223 (prerelease) (Ubuntu 4.2.2-4ubuntu3)] on linux223:54
mtaylorType "help", "copyright", "credits" or "license" for more information.23:54
mtaylor>>> import bz223:54
mtaylor>>> bz2.__file__23:54
mtaylor'/usr/lib/python2.4/lib-dynload/bz2.so'23:55
mtaylorbut that file is in the python2.4 package23:55
mtaylorwhat python is your bzr trying to use?23:55
rolly2.4.123:55
mtaylorhead -1 `which bzr`23:55
rolly#!/usr/local/bin/python23:56
mtaylorah. installing python from source are we?23:56
rollythat's 2.4.123:56
mtaylorok, so that python install doesn't seem to have bz223:57
mtayloris your bzr also in /usr/local/bin - like, you build/installed it from source?23:57
rollyhmm... that is obviously not the python I just reinstalled via APT. That was 2.4.4 I'm sure23:57
mtaylorright23:57
rollyI did build bzr from source23:57
mtaylorthat would be in /usr/bin/python23:57
mtaylorok.23:57
mtaylorso that means it's also in /usr/local/bin/bzr, right?23:57
rollycorrect23:57
mtaylorany particular reason for installing from source? or that's just the way you did it?23:58
mtaylorrolly: you're running debian testing, right?23:58
rollyand also correct that /usr/bin/python can import bz223:58
rolly:|23:58
rollymtaylor: I don't think so. How do I check?23:59
mtaylorcat /etc/debian_version23:59
rolly4.023:59
mtaylorapt-cache show bzr | grep Version23:59

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