/srv/irclogs.ubuntu.com/2013/03/22/#bzr.txt

jelmerkolbe: what bob2 said00:36
=== thumper-lunch is now known as thumper
kolbeHow do I go about branching into a shared repository and resuming such a thing?01:56
=== wedgwood is now known as wedgwood_away
=== r0bby is now known as robbyoconnor
=== mmrazik is now known as mmrazik|afl
=== mmrazik|afl is now known as mmrazik|afk
=== jamesh_ is now known as jamesh
=== mmrazik|afk is now known as mmrazik
bob2make repository09:22
bob2cd to it09:22
bob2branch09:22
bob2success09:22
=== mmrazik is now known as mmrazik|lunch
=== mmrazik|lunch is now known as mmrazik
=== wedgwood_away is now known as wedgwood
marcoceppiWhere is the bazaar.conf on Windows 7 installs?13:43
LarstiQmarcoceppi: `bzr --version` has a line with 'Bazaar configuriation:'13:53
marcoceppiLarstiQ I try overriding ssl.ca_certs in a bazaar.conf file in the "configuration directory" but it doesn't seem to take effect13:54
marcoceppiNevermind, I've gotten past that problem, Now whenever I try to Branch on windows with bzrlib I get invalid url supplied to transport when using lp: addresses13:59
LarstiQmarcoceppi: is that with bzr straight, or using some of your own code?13:59
marcoceppiLarstiQ It's using bzrlib in a light python wrapper I wrote, that does a Branch.open('lp:charms/ubuntu') which produces this error:14:01
LarstiQmarcoceppi: you'll need to load plugins14:01
LarstiQlet me check14:01
marcoceppiLarstiQ I do already, this code currently works on Ubuntu14:01
LarstiQmarcoceppi: ah hmm14:02
marcoceppihttp://paste.ubuntu.com/5637024/14:02
LarstiQmarcoceppi: pastebin the error?14:02
LarstiQcheers :)14:02
LarstiQmarcoceppi: ah, that looks like an ssh problem14:02
marcoceppiNothing in the .bzr.log other than the "Launchpad login" thing14:02
marcoceppiYes, which Windows handles so well :) So, any way to work around that on Windows?14:03
LarstiQmarcoceppi: it is possible to set up ssh on windows, I believe putty works14:04
LarstiQmarcoceppi: or if you don't mind, you can use http instead of bzr+ssh14:04
marcoceppiLarstiQ I wouldn't mind too terribly, to be honest, how would I force load_plugins to translate lp: urls to use HTTP instead?14:05
marcoceppiAnd does the bzr+http scheme allow for pushing?14:05
LarstiQmarcoceppi: it should use http already if you don't have launchpad-login set, afaik14:05
LarstiQmarcoceppi: no14:05
LarstiQso I'm a bit confused by the error log14:05
LarstiQmarcoceppi: http://wiki.bazaar.canonical.com/Bzr_and_SSH has some instructions14:07
marcoceppiWell, I guess I need bzr+ssh to work then. I know PuTTY doesn't actually do anything but make software available, so I'm not sure how Bazaar would know to use it for SSH connections14:07
LarstiQmarcoceppi: bzr has some support for putty/pageant14:07
marcoceppiAh, interesting14:08
marcoceppiI'll give that a shot, thanks LarstiQ14:08
LarstiQmarcoceppi: I hope it is enough14:08
* LarstiQ back to math14:08
marcoceppiWell, I'll be back soon enough if it's not ;)14:08
=== mmrazik is now known as mmrazik|otp
marcoceppiLarstiQ still not working, I wonder if it's because of the %5C in the URL, it's having some weird issue with URL decoding14:21
marcoceppiOH, I know what I did wrong14:23
marcoceppiI'm using os.path.join to build the lp: url14:23
=== mmrazik|otp is now known as mmrazik
kolbebob2: "bzr branch lp:mysql-server/5.5 ." gives me "bzr: ERROR: Target directory "." already exists"15:08
kolbewell i managed to get that pretty easily by using --use-existing-dir but i have to say this workflow is pretty perplexing to me15:09
kolbeoh nope, that didn't work either15:10
kolbe"bzr: ERROR: Already a branch: "."."15:10
mgzkolbe: you want to branch it into a fresh directory15:14
mgzpossibly without the tree, or possibly colocated, but you can't just branch over the top of an existing branch15:14
kolbemgz: some time yesterday bob2 had told me "make repository; cd to it; branch; success"15:14
kolbebut that doesn't really seem to work out so well15:14
kolbei guessed that "make repository" meant "bzr init" but perhaps that wasn't right15:15
mgzindeed not15:15
mgzyou want `bzr init-repo`15:15
kolbehuh15:16
mgztry reading the introduction section of the user guide15:16
kolbemgz: the main goal of all of this was to try to find a way for "bzr branch" to allow me to resume if my connection dies part way through15:17
kolbei already have a shared repository and i was just doing "bzr branch lp:mysql-server/5.5 5.5" from the directory that holds the shared repository15:17
mgzhttp://doc.bazaar.canonical.com/beta/en/user-guide/15:17
kolbebut if my connection dies and bzr branch stalls, i couldn't figure out any way to get it to resume15:17
mgzright, the general work around for that is do a manually pull in a sequence of revision ranges15:18
kolbethat guide doesn't seem to address resuming a branch operation, i looked there at some point15:18
kolbeoh my15:19
mgzso, `bzr branch -r..100 FROM` then cd into the branch and `bzr pull -r100..200` and so on, can shell script that reasonably easily15:20
mgzyou probably want to make sure you're using bzr+ssh, so give bzr your launchpad login and upload your ssh key to your user account if you've not done it already15:21
kolbedoes bzr+ssh have some particular benefit when just branching some public project?15:25
mgzfaster for subsequent operations, so, useful in this case15:26
kolbeok, thanks15:26
* kolbe wonders what bzr+ssh is doing that makes it faster than whatever happens when not using it15:27
mgzit does operations server-side15:28
mgzso, pulling in changes when you already have some is handled by your client saying what it has then the server packing up the missing bits and sending them15:28
mgzrather than the client looking at the data files directly and trying to pull out the bits it needs15:29
kolbean initial branch seems to take an extremely long time, no matter how fast my connection is15:30
kolbeis bzr manually grabbing each revision since the dawn of time?15:30
mgzno, but it is the whole project history15:31
mgzit's packed up in a sane manner, but for big old projects it's still a lot of data15:31
kolbeyeah15:31
=== mmrazik is now known as mmrazik|afk
=== deryck is now known as deryck[lunch]
=== yofel_ is now known as yofel
SamBkolbe: bzr-svn is the one that has to grab revisions one-by-one17:30
kolbeblah, this is horrible17:49
=== deryck[lunch] is now known as deryck
=== wedgwood is now known as wedgwood_away

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