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

=== timchen1` is now known as nasloc__
=== sdboyer is now known as lyricnzs_wife
=== lyricnzs_wife is now known as sdboyer
=== mark1 is now known as markh
vilahi all08:22
* fullermd waves at vila.08:23
davidstrausshi08:39
davidstrauss(in delayed response to earlier greetings)08:40
Peng_Good morning. (Hey, I came in under an hour!)09:21
=== asac_ is now known as asac
=== menesis1 is now known as menesis
=== toytoy_ is now known as toytoy
bvkhi, is it possible to create a branch without copying full repository?14:27
vilabvk: creating a branch copy only the needed revisions from the repository, using a shared repository may help as opposed to standalone branches though15:02
bvkvila: i tried shared repositories; bzr branch inside a shared repo takes same disk space as any other branch :(15:05
vilabvk: I can assure you that branches inside share repos use less space than standalone branches :-)15:06
vilabvk: if only because branches inside shared repos doesn't have repository folders inside their .bzr folder15:07
vilabvk: issuing 'bzr info' inside your branch folders will tell you *where* the branch repo is (whether it's shared or not)15:09
bvkvila: let me check again :(15:10
fullermdWhoah.  I didn't know bzr info could do that...15:10
bvkvila: i am not sure you got my last two messages or not :( pasting here again15:16
bvkvila: http://pastebin.com/ff5489a615:16
bvkvila: what am i doing wrong there?15:17
vilabvk: you're measuring your working trees not your branches, try 'du -sk .bzr' in your ' x', 'a', 'trunk' and 'a1' folders15:19
vilashared repo are meant to share branches not working trees, may be you're after --hardlink in 'bzr help branch' instead ?15:20
vilafullermd: you're kidding ?15:21
bvkvila: okay, i got it now, thanks :D15:22
fullermdvila: Hm?15:23
vilafullermd: I thought you knew all options of all bzr commands by heart and you said: "Whoah.  I didn't know bzr info could do that..."... hence my surprise (or it was a joke that I totally missed :-)15:25
fullermdOh.  I meant I didn't know it could knock you off IRC   ;)15:25
vilalol, indeed I missed it :)15:26
* fullermd pours another cup of coffee for vila.15:26
fullermdSilly mondays   :)15:27
loffeWhat is the "best" way to convert a svn project into bzr? bzr svn-import gives me a segfault :(15:33
asabilloffe: did you try fast-import ?15:34
loffeasabil, Couldn't get it to work...15:36
loffeasabil, svn.core.SubversionException: ("Can't open file 'https:/loffe@svn2.assembla.com/svn/tidsredovisning/format': No such file or directory", 2)15:36
smoothiceloffe: https:/15:39
smoothiceloffe: You need two slashes?15:39
loffesmoothice, yes, I have two slashes in my command15:40
smoothiceloffe: ok15:40
loffe~/.bazaar/plugins/fastimport/exporters/svn-fast-export.py https://loffe@svn2.assembla.com/svn/tidsredovisning | bzr fast-import -15:40
asabilloffe: http://bazaar-vcs.org/BzrMigration#head-45d1d93c64578685cc2c942204f8a31840a5fa6715:47
asabildid you take a look at this ?15:48
loffeasabil, yes, of couse15:48
Peng_loffe: Try using "svn+https" instead of "https" as the protocol.15:49
smoothicePeng_: I think that’s only necessary when you're using SSH (svn+ssh)15:50
Peng_smoothice: When using http(s), it helps work around some issues.15:50
smoothicePeng_: Ah, ok15:50
loffeNope, it didn't work15:51
loffesame error15:51
Peng_D'oh. Sorry, I don't know, then.15:51
Peng_loffe: bzr-svn 0.4 or 0.5? You could try the other.15:51
Peng_Sorry, I don't know much about bzr-svn. Poke jelmer...who /quit 15 minutes ago. Erm.15:52
asabilloffe: from the svn-fast-export script doc, it seems like you need a local copy of the repository16:00
loffeasabil, ok, I just got a dump file16:00
loffegoing to fiddle a bit with it. I maybe have to setup a whole local repo..16:01
asabiloki16:04
loffeasabil, I think I made it :D16:06
asabilgreat :)16:07
asabildid you have to setup a local repo ?16:07
Peng_loffe: You should still bother jelmer about your bzr-svn issues, next time you see him.16:07
asabilor just using the dump file ?16:07
loffeasabil, local repo16:07
asabiloki16:07
loffenever used svnadmin before. Assembla was great and simple, until their policy changed :(16:08
Peng_Policy?16:09
fullermdWait.  jelmer not on IRC?  Isn't that one of those tipoffs that you're actually dreaming?16:09
Peng_Hmm, maybe I fell asleep while I was watching TV?16:09
loffePeng, now they don't allow a free private space16:09
Peng_But why would the fullermd in my dream tell me it's a dream?16:10
Peng_And shouldn't I be doing something more interesting?16:10
Peng_loffe: Oh. Huh.16:10
asabilloffe: moving to launchpad now ?16:10
loffeasabil, nope, it's not a open source project16:10
fullermdPeng_: Maybe you're only dreaming that I'm in your dream telling you it's a drea@*%@!#   Error: stack depth exceeded.16:10
asabiloh oki16:10
loffeasabil, unless lp provides private space?16:11
asabilI am not aware of that16:11
Peng_fullermd: If you crash my dream, will I wake up or die or something?16:11
fullermdPeng_: Maybe being awake is just the debugger prompt of your dreams.16:12
fullermdThat would explain why in dreams you get from point A to point B so much faster; when you're awake, you're always single-stepping.16:13
Peng_That's..um..if I think about that, I think I'll get really creeped out.16:13
fullermdMy work here is done   :)16:14
beunohello hello!17:02
Peng_Good morning.17:03
beunoanyone know why bzr would get angry at me when trying to upgrade to 1.9?17:03
beunobzr: ERROR: Invalid url supplied to transport: "%E1ngulo-corte_globo_thumb.jpg": Unable to encode the URL as utf-8: 'utf8' codec can't decode bytes in position 0-2: invalid data17:03
beunohiya Peng_17:03
Peng_That's a neat error, but I definitely can't help. Sorry.17:05
Peng_Upgrading tries to open transports on files?17:05
* beuno looks at vila hiding in the corner17:05
Peng_Maybe it's bzr-svn's doing?17:05
beunoPeng_, no svn involved at all17:06
Peng_Yeah, but do you have bzr-svn enabled?17:06
beunothe error, I believe, doesn't come from the transport really, it's just because I'm using the --recurse plugin17:06
beunono, no svn in like 50 miles from here  :)17:06
Peng_Heh.17:07
beunohrm17:14
beunoI'm getting problems upgrading all over the place...17:14
* beuno files a bug17:18
vilabeuno: what is the --recurse plugin ?17:19
beunovila, it upgrades all the branches in a dir recursively17:19
beunobut, upgrading manually gives me the same error17:19
beuno:(17:19
beunoabout 20% of my branches are having problems upgrading17:20
vilabeuno: great, you just ruled out the plugin :)17:20
beunovila, http://paste.ubuntu.com/95218/17:20
beunoI'm running 1.10 on the server17:20
beunoin case you're curious enough to help  ;)17:21
vilabeuno: I'm about to call it a day :-/17:21
beunoalthough, that's the traceback *with* the plugin...17:21
beunovila, no worries, I'll file a bug17:21
beunoenjoy you're vacations  :)17:21
vilabeuno: but rough intuition: your traceback in the plugin smells like double-escaping17:22
beunoah17:22
beunoit is!17:22
vilaof course that doesn't match your report as you get the same error without the plugin17:22
beunovila, it turns out the plugin sticks it's nose in even if you don't use it17:22
vilaand your 20% was suspicious too, did you mean %20 instead ? :-)17:23
beunohahah17:23
beunook, removing the plugin fixes the upgrades17:23
beunoI17:23
beunoI'll fix the plugin and send a patch to jelmer17:23
beunothanks vila17:23
* vila can call it a day happily then :-)17:23
LarstiQbeuno: thanks for the hug ;)17:49
beunoLarstiQ, :)17:49
beunojelmer!   just the man I was looking for...17:50
Peng_jelmer: Internet troubles?17:50
=== Daviey_ is now known as Daviey
LarstiQI don't see jelmer around here17:51
beunoLarstiQ, is he at the CCC as well?17:52
LarstiQthough he is supposed to go along for dinner17:52
LarstiQbeuno: yup17:52
Peng_CCC?17:52
LarstiQPeng_: http://events.ccc.de/17:52
LarstiQah, he is sitting 15 meters away17:54
* LarstiQ detaches for dinner17:54
Kobazokay17:55
Kobazso umm17:55
Kobazi'm getting this wiggity problem17:55
Kobaz$ bzr push17:56
KobazRemoteRepository(https://user@bzr.local/bzr/myProject/webServices/.bzr/) is not compatible with17:56
KobazKnitPackRepository('file:///usr/home/user/projects/webServices/.bzr/repository/') (no details)17:56
Kobazoh. i forgot to use bzr+https17:58
Kobazhmm17:58
Kobaznever mind17:58
smoothiceIs it possible to do Bazaar transactions over HTTP like you can SVN?17:59
beunosmoothice, with webdav, yes18:00
smoothicebeuno: I thought only SVN can do WebDAV18:01
smoothicebueno: Any guides on doing that?18:03
Peng_smoothice: There's a webdav plugin somewhere or other (check http://bazaar-vcs.org/BzrPlugins ). I don't think it works 100%.18:05
smoothicePeng_: ok18:06
loffeHow can I keep an updated working-tree on a remote server?18:11
loffeI know I can push to a remote host creating a branch, but I get no files on the server, only the .bzr dir18:12
Peng_loffe: push-and-update plugin18:12
Peng_loffe: Though you have to create a working tree ("bzr co") before it'll act.18:12
loffePeng, I don't have bzr on the remote server18:13
loffeit's a webhost...18:13
Peng_loffe: bzr-upload?18:13
Peng_Your web host is boring! :P18:13
loffePeng, :P18:14
smoothiceIf I have a client running bazaar 1.10 but a Server running 1.9 and the 1.10 client runs bazaar commands over bzr+ssh will there be conflicts?18:16
smoothiceIn other words, are 1.10 repositories backwards compatible?18:16
smoothiceanyone?18:18
Peng_smoothice: 1.10 doesn't introduce any new formats.18:18
Peng_smoothice: If something isn't backwards-compatible, it's a bug.18:18
smoothicePeng_: Ok... I was just wondering since I have a Mac OS X 10.4 server with a 10.5 client18:19
Peng_(Well, the oldest hpss protocol was dropped recently, wasn't it?)18:19
smoothicePeng_: I updated my 10.4 server to Python 2.6.1 and when I try to install Bazaar 1.9 it says "please upgrade to python 2.5"18:30
Peng_smoothice: Heh. Erm.18:30
smoothicePeng_: :/18:31
Peng_smoothice: Python 2.6 should be supported, but it doesn't seem to have been added to the 'bzr' script. You could try editing it in.18:31
smoothicePeng_: how would I do that?18:31
Peng_smoothice: (Just change KNOWN_PYTHONS)18:31
smoothicePeng_: Where is that?18:32
Peng_smoothice: ...in the "bzr" script18:33
smoothicePeng_: "bzr" script? huh?18:33
Peng_smoothice: The executable you run to run Bazaar.18:34
smoothicePeng_: The installer won't even let me install Bazaar.18:34
Peng_Err, I'm sorry about the problems, but I don't really know what to do here.18:36
smoothicePeng_: ok18:36
Peng_If you install from source, it would be easy to work around.18:36
smoothicePeng_: Where can I download the 1.9 source? I only see the trunk...18:38
verteroksmoothice: what installer are you using? the dmg?18:38
smoothiceverterok: Yeah18:38
verteroksmoothice: the installer check if Python25 is installed, and assumes you have and older version :/18:39
smoothiceverterok: yeah18:39
* verterok 's fault18:39
verterok:)18:39
smoothiceverterok: Oh.. it was YOU!18:40
smoothiceverterok: ok18:40
* verterok hides18:40
verteroksmoothice: I'll fix that in the upcomming 1.10 installer (apologize the delay)18:40
smoothiceverterok: for Mac OS X 10.4?18:40
verteroksmoothice: yeap18:40
smoothiceverterok: Is it possible you could send me a patch for 1.9 source so I can get 1.9 installed asap? Or does that not make logical sense?18:41
verteroksmoothice: the problem isn't bzr is the installer checking for python2518:42
smoothiceverterok: Can you recreate the 1.9 package?18:42
verteroksmoothice: I was about to said that ;). if you can wait a while I 'll rebuild the 1.9 installer and change the 2.5 check18:43
smoothiceverterok: sure18:43
verteroksmoothice: ok, booting my ibook to build it, I'll let you know when it's done18:47
smoothiceverterok: ok thanks... I'll stay here. I might be afk for a while but I'll get either a private message or a message directed toward me eventually...18:48
Kobazignored perl/lib/perl5/i486-linux-gnu-thread-multi/auto/DBI/DBI.so matching "*.so"18:48
Kobazwhy is bzr ignoreing my .so files18:48
Kobazi never added *.so to bzr ignore18:48
Peng_Kobaz: bzr comes with a default ignore list.18:52
Peng_Kobaz: Errm, check ~/.bazaar/ignore. I'm not sure if you can edit it.18:53
smoothicePeng_: Yep.. .so is in that list18:54
Kobazk18:54
Kobazah18:54
Kobazi see it18:55
smoothiceverterok: How's it coming? good?18:58
verteroksmoothice: all good, uploading ATM19:00
smoothiceverterok: Ok... are you going to replace the .dmg on the Bazaar web site or simply provide me with it? or something19:00
verteroksmoothice: I can't replace it, so it'll be new version of the installer. I'ld like to test it first :) so I'm uploading it to a non-launchpad place so you can get it19:02
verteroksmoothice: ~ 8 min to finish the upload19:06
smoothiceverterok: ok19:06
verteroksmoothice: btw, to grab the sources of bzr: https://launchpad.net/bzr/+download19:08
smoothiceverterok: ok19:08
verteroksmoothice: http://verterok.com.ar/DMG-1.9-1/19:13
smoothiceThanks19:14
smoothiceverterok: Got it thanks19:14
verteroksmoothice: let me know if the fix works, if not I'll need to add a special case to test for 2.6 installation19:15
smoothiceverterok: There was an error while evaluating JavaScript for the package.19:15
verteroksmoothice: ok, let me check19:16
smoothiceverterok: ok19:16
verteroksmoothice: python 2.6 is installed in: /Library/Frameworks/Python.framework/Versions/2.6/ ?19:19
smoothiceverterok: yes19:19
beunoverterok!  hi!19:19
verterokbeuno: hi!19:20
verteroksmoothice: ok, I missed that bit :p19:20
smoothiceverterok: I have to go eat lunch... just send the link the same way you did before and I'll get it19:20
smoothiceverterok: I'll stay on IRC, just afk19:20
verteroksmoothice: ok19:22
smoothiceverterok: ok back19:40
smoothiceverterok: done yet? did you find the javascript issue?19:55
verteroksmoothice: ok, I think I found the problem.19:56
smoothiceverterok: ok19:56
verteroksmoothice: the problem is I'm building the installer against python 2.5 :/19:57
smoothiceverterok: oh haha19:57
verteroksmoothice: so Crypto, etc. are linked against 2.519:57
verteroksmoothice: I need to install 2.6 in order to build the installer19:58
smoothiceverterok: ok... that isn't bad it? Like you do you _need_ 2.5?19:58
verterokif you need this ASAP, maybe it's easier for you to run from source19:58
smoothiceverterok: As soon as possible would be preferable... and I can do anything to help if you need...19:59
verteroksmoothice: isn't bad, but I need to check the whole build process, and install the dependencies in the new python 2.6 installation (mpkg_dmg, etc.)19:59
smoothiceverterok: How do I run from source?20:00
verteroksmoothice: install the dependencies: paramiko and pycrypto20:01
smoothiceverterok: how do I do that?20:01
verteroksmoothice: I'm looking for the url's20:02
smoothiceverterok: ok20:02
smoothiceverterok: Would it just be easier to downgrade to 2.5.2? Is that even possible?20:02
verteroksmoothice: http://bazaar-vcs.org/InstallationFaq20:02
verteroksmoothice: I'm quite sure you can have 2.5.x installed side-by-side with 2.6.x20:03
smoothiceverterok: I guess it's worth a try...20:03
verteroksmoothice: in the meantime, I'll start my 2.6 setup20:04
Jc2kjelmer: ping20:08
smoothiceverterok: Should I get 2.5.2 or 2.5.4? or .320:09
verteroksmoothice: the latest 2.5.x should be ok (me thinks)20:10
verteroksmoothice: I have 2.5.220:10
smoothiceverterok: Ok I'll try the latest... 2.5.420:10
smoothiceverterok: Ok I got 2.5.4 working and the installer works20:16
verteroksmoothice: cool20:16
beunoso...20:33
beunodoes bzrlib tell me in any way when an upgrade succeeds?20:33
nDuffbeuno, I would expect it to return without throwing an exception; that's the way most things indicate that they've succeeded in python, all the way down to os.chdir()20:35
nDuffbeuno, this isn't C, where everything has a return value that needs to be explicitly checked. :)20:35
beunoI kinda expect that too, but since I'm tweaking a plugin to recursively upgrade and delete the backup dir if it succeeds, I'm trying to ensure the maximum degree of success possible  :)20:36
abentleybeuno: I recommend not deleting the backup dir.  There is no way to be absolutely certain that a backup succeeded, and the consequences of failure may be grave.20:48
abentleybeuno: Also, I think that recursive upgrading should be core functionality.20:49
beunoabentley, I need to upgrade 100+ branches20:50
beunoand I don't have the space to have the backup dir on it20:51
beunoso I don't really have a choice  :(20:51
abentleybeuno: That is a shame.  Perhaps you should make a backup somewhere else first, then.20:52
beunothere's a plugin from jelmer to do recursive upgrade, maybe I'll take a crack at shaping it into a patch for the core20:52
beunoabentley, I have a backup already  :)20:53
beunoso I'm ready to upgrade all the branches at the office to 1.9!20:54
abentleybeuno: Great.  What I mean about "absolutely certain" is that, despite our testing, there's a small chance that the upgrade code is buggy.20:55
nDuffbeuno, you might consider moving to a rich-root format at the same time -- might make things less painful for you whenever bzr upstream finally switches to rich-root-by-default by getting all the pain (for you, at least) over at the same time.20:56
beunoabentley, right, I've heard rumours. I do have a backup, but in general, I haven't had a backup break since 0.11. Maybe I can add an extra check that tries 'bzr info' or something among those lines20:57
abentleybeuno: I haven't heard rumours, it's just worth being paranoid when the stakes are that big.20:59
beunoabentley, I know  :)20:59
beunow00t!20:59
beunoscript works20:59
beunonow I have to get it to stop choking on encoding problems, and I can run it through all the branches20:59
beunoabentley, do you know anything about bzrlib.bzrdirs?21:04
abentleybeuno: Sure.21:04
beunoI'm getting: InvalidURL: Invalid url supplied to transport: "Sin%20t%A1tulo-1.psd": Unable to encode the URL as utf-8: 'utf8' codec can't decode byte 0xa1 in position 5: unexpected code byte21:04
beunowhen doing:21:05
beunobzrdirs = list(bzrdir.BzrDir.find_bzrdirs(t))21:05
beunoso I'm either using it wrong, or encoding isn't managed too well in bzrdirs21:05
abentleybeuno: What's t.base?21:06
beunobzrdir.find_branches seems to blow up21:06
beunoabentley, this is the code: http://paste.ubuntu.com/95383/21:07
beunot.base is: file:///home/beuno/biometrix/21:07
abentleybeuno: Sounds like a problem with encoding handling, then.21:08
beunoso it explodes when doing:  pending.append(current_transport.clone(subdir))21:09
beunoand subdirs comes from...21:09
beunosubdirs = list_current(current_transport)21:09
beunohm, this keeps going up21:10
beunoaaanyway, I may end up sending a patch or two during this week to the list  :)21:10
beunothanks abentley21:11
abentleybeuno: np21:11
=== fawek_ is now known as fawek
sohailhey, is there some way to have bzr mv multiple ifles on Windows21:59
sohailbzr mv directory/assload_of_files* other_directory/22:00
sohaildoesn't work b/c of stupid cmd.exe22:00
Jc2kjelmer: ping22:31
jelmerJc2k: pong22:31
Jc2kjelmer: so i nearly got the server working again.22:31
jelmerJc2k, but please be quick, at a conference and about to run out of battery :-)22:31
Jc2kgaaah!22:31
Jc2kfind_missing_objects22:31
Jc2krepo.find_missing_objects22:32
jelmerwhat about it?22:32
Jc2ki passed in the graph walker from server.py22:32
Jc2kthats seems to be a silly move22:32
Jc2kit ends up building a pack of commits i want and have, but not the ones in between22:32
jelmernot sure I follow22:32
jelmeris this with r107 ?22:32
jelmerI think I've also fixed that22:33
Jc2kah22:33
Jc2kthat wasnt there earlier :]22:33
jelmer(local / remote fetch from git to bzr works as of a couple of hours ago)22:34
jelmeryeah, I didn't have any bandwidth :-(22:34
Jc2kserver should work again the next time you have power22:34
jelmercool22:35
Jc2ki was going to ask about how i should fix what you have already fixed, so i'll merge, test and push22:35
Jc2kand look at your bzr-git stuff for bzr git-serve22:35
jelmertime to find some juice, brb22:35
Jc2kttys22:35
jelmerJc2k, re22:47
* Jc2k pushed something22:49
beunojelmer, hi!  I've been playing with your upgrade-recurse plugin22:52
beunoadded a dirty way of deleting the backup.bzr dir after upgrade22:52
beunoand I have more plans for it, after I find the encoding bug in bzrlib.bzrdir22:52
beunopushing to: lp:~beuno/bzr/upgrade-recurse  if you're interested22:52
beunonow, off for a quick shower and dinner22:53
eferraiuoloI was looking for some help when using BZR with SVN22:53
eferraiuoloFor every operation I'm asked for my password on the SVN server22:53
eferraiuoloI am connecting to it via HTTPS so I figure it's using Web-Dav22:53
eferraiuoloHow can I make things where I don't have to authenticate every single operation?22:54
eferraiuolo...It's Google Code's SVN that I'm connecting to...22:54
jelmerbeuno, hi23:42
jelmerJc2k, hi23:42
jelmerbeuno, cool, I'll pull it23:42
jelmerJc2k, will check that out too :-)23:42
jelmereferraiuolo, hi23:42
jelmereferraiuolo, this is a bug in bzr in handling the passwords23:42
jelmerif I understand correctly it should be fixed in the next version23:42
jelmeryou should be able to work around it for now, by using the credentials stored in the subversion configuration directory23:43
xivulon_hi all, is there a 2 way sync bzr<->cvs? I can see the bzr-cvsps-import, what would be a good way to "export"?23:43
jelmeryou can force svn to cache the password by running "svn ls <url>"23:43
Jc2kjelmer: its not quite working as plannned23:44
Jc2kjelmer: but seeing as bzr-git has interesting stuff, ive no plans to go to bed just yet :]23:44
jelmer:-)23:45
jelmerJc2k, I'm now pushing to http://people.samba.org/bzr/jelmer/bzr-git/trunk btw23:46
Jc2kkk23:46
jpdsHow do I close LP bugs with bzr commit? --fixes #### ?23:47
jelmerjpds, "bzr commit --fixes lp:#####"23:48
jelmerJc2k, ENONEWCOMMITS23:48
* Jc2k blink23:48
jelmerin your git-serve branch23:49
Jc2kjelmer: if you have all of lp:~johncarr/dulwich/git-serve, then you have working push and nearly working clone23:49
jelmerah, now it's there23:50
Jc2kweird, there was nothing to push23:51
jpdsjelmer: Many thanks!23:51
jelmermaybe just a PEBKAC on my side23:51
LarstiQxivulon_: there is a very experimental launchpad.net/~bzrcvsserve iirc23:53
Jc2kjelmer: i dont think repo.head() works any more..23:53
LarstiQxivulon_: but I don't think 2way sync is really doable with that23:53
Jc2kjelmer: patching it now to see if im right..23:53
Jc2koooh.23:57
=== mark1 is now known as markh
xivulon_LarstiQ, thx will give it a look23:59
jelmerJc2k, what is generate_pack_contents() used for ?23:59
jelmerJc2k, it seems to duplicate the code of find_missing_objects()23:59

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