/srv/irclogs.ubuntu.com/2008/04/23/#bzr.txt

abadger1999jam: Shh..  Not that one, the other one!00:00
abadger1999:-)00:00
lifelesshi guys00:01
lifelessI'm back on deck00:01
mwhudson_wb lifeless00:01
=== mwhudson_ is now known as mwhudson
abadger1999So I'm a bit conflicted about all the changes going into the 1.x series.  I love how it makes the code better instead of crufty.  But at the same time as a packager, I sometimes feel like I shouldn't be pushing a new update to a release.00:02
LaserJockis there a way to see what branch format a branch on LP is in without branching it?00:02
abadger1999Which is okay for Fedora (just update to the next release, it will be out in < 6 months)00:02
jamLaserJock: bzr info URL00:02
jamI would generally recommend the http url, otherwise you get something about the RemoteRepository, IIRC00:02
abadger1999But it's going to be hard if I do that for RHEL (five years on an old version of bzr with no upstream bug fixes or security fixes).00:03
LaserJockdarn, still getting "not a branch"00:03
mwhudsonLaserJock: can you give us more details?00:03
LaserJocktrying to pull bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/ubuntu-hardy/00:04
jamabadger1999: well i would argue that we've had lots of upstream bug fixes and security fixes, we just stamp it with a new release ... :)00:04
jambut I understand your point00:04
jamas of yet, there hasn't been enough impetus to backport anything00:04
jamI think we've had only 1 'x.y.1' release, and maybe discussed doing it 2 or 3 times00:04
abadger1999jam: Yep!  So far I've just rolled out updates with every new bzr release to gain all the new features/performance/bugfixes.00:06
abadger1999But every time I see an entry under API BREAKS, I have to re-evaluate whether I can keep doing that or if doing so will break the expectations of the users consuming my package.00:06
abadger1999It's just a mismatch between a fast moving product like bzr and pushing it to a distro with a long-term support cycle.00:08
abadger1999Not sure what you guys could do about it except maybe emulating gnome by introducing new API (and deprecating the old one) instead of removing API when it is superseded by something better.00:09
abadger1999But that's an increased support burden on you so I understand why you wouldn't want to do that.00:09
jamabadger1999: we do that for most things00:10
jamthough "long term" is months in our case, not years00:10
LaserJockmwhudson: any thoughts?00:10
jamabadger1999: but sometimes we decide to cut our losses, rather than support something broken for a long time00:10
abadger1999jam: heh.  Yeah :-)00:10
abadger1999months vs years is the issue I face :-)00:10
jamabadger1999: we've supported the disk formats for years00:11
foomyeah but you can't use an old version of bzr for anything00:11
foombecause everyone *else* is using new formats00:11
bob2LaserJock: wfm (r3377)00:12
LaserJockmwhudson: so it seems that bzr+ssh didn't work but http did00:12
abadger1999Which leads to problems on a long-term supported distro... introduce a new version so some users can collaborate with others using the new format or stay with the old version so some other users can continue using their in-house, custom tools.00:12
mwhudsonLaserJock: oh, hm00:12
mwhudsonLaserJock: you have done bzr launchpad-login, i take it?00:13
LaserJockwhat do you mean?00:13
abadger1999I guess another option would be to allow for multiple versions of bzr/bzrlib to be installed.00:13
LaserJockoh, no, I haven't00:13
LaserJockwhy do I need to do that?00:13
mwhudsonLaserJock: so bzr+ssh knows with user to use00:14
LaserJockI told it to use my LP id00:14
mwhudsonoh, ok00:14
mwhudsonLaserJock: can you pastebin what happens when something goes wrong?00:14
abadger1999Use deprecation until a new disk format appears/you don't want to keep supporting all the cruft.  Then release with all that fixed and the module as bzrlib2.00:14
LaserJockmwhudson: it's just:00:15
LaserJockUsing saved location: bzr+ssh://laserjock@bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/ubuntu-hardy/00:15
LaserJockbzr: ERROR: Not a branch: "bzr+ssh://laserjock@bazaar.launchpad.net/~ubuntu-core-doc/ubuntu-doc/ubuntu-hardy/".00:15
foomabadger1999: that only really seems doable for a mature project that's not changing rapidly00:15
abadger1999That works for libraries, but I don't know that it would work for bzr since it has a client app as well.00:16
abadger1999foom: Definitely would be better for mature projects :-)00:16
abadger1999But GNOME is a counterpoint.  They've managed not to break API compatibility for a long time despite making many changes to the API.  But they pay for it by having to drag all the compatible stuff along with the good changes.00:18
mwhudsonLaserJock: bzr -Dhpss pull and look at ~/.bzr.log ?00:18
LaserJockmwhudson: doesn't look all that helpful to me but I can pastebin it for you00:20
mwhudsonLaserJock: please do00:20
abadger1999Oh well, when wearing my Fedora hat I love that bzr is evolving rapidly, when wearing my EPEL maintainer hat, I often feel guilty that I'm pushing a bzr update which may break someone's code somewhere.00:21
abadger1999Like I said in the beginning.  I'm conflicted about this and don't see an easy answer.00:21
LaserJockmwhudson: http://paste.ubuntu.com/7807/00:21
mwhudsonLaserJock: can you write to this branch?00:25
LaserJockin what way?00:25
mwhudsonpush to it00:25
LaserJocksupposedly :-)00:25
mwhudsonare you a member of ~ubuntu-core-doc ?00:25
LaserJockyes I am00:26
thumperLaserJock: I'll take a closer look on the machine...00:26
LaserJockI'm just in the middle of trying to fix a boo boo00:26
LaserJockwhich I made need some help figuring it out00:26
LaserJockwe lost some revisions on the edubuntu-hardy branch00:26
LaserJockand I'm not sure the best way of getting them back00:27
LaserJockI think as long as I keep the formats straight I should be able to just push00:27
mwhudsonuh00:27
mwhudsonthere is no .bzr directory at all in the push area for this branch!?00:27
LaserJockmwhudson: which branch?00:28
mwhudsonLaserJock: ~ubuntu-core-doc/ubuntu-doc/ubuntu-hardy00:28
LaserJockyou mean you can't find one or do I see one? :-)00:29
thumpermwhudson: yes there is00:29
thumperah00:29
thumperdamnit looking at the wrong one00:29
mwhudsonLaserJock: i'm not asking you a question, don't worry00:30
LaserJockmwhudson: ok, phew ;-)00:30
mwhudsonLaserJock: is there the slightest chance that some one has done the equivalent of "rm -rf .bzr" on this branch?00:30
LaserJockmwhudson: mdke said he was updating the branch formats00:30
mwhudsonoh00:30
mwhudsonho ho00:30
LaserJockin so doing I lost 9 revisions in my edubuntu-docs branch00:31
LaserJockwhich is what I was originally trying to fix00:31
LaserJockbut it got me sidetracked when I couldn't bzr pull the ubuntu-hardy branch00:31
LaserJocks/edubuntu-docs/edubuntu-hardy/00:32
=== Necoro_dM is now known as Necoro
mwhudsonso, i have to admit, i don't really know what's happened here00:37
LaserJockhmm, ok00:38
mwhudsonif mdke was trying to do format upgrades, that sounds like its probably related00:38
LaserJockwould be logical00:38
mwhudsonLaserJock: is the version you see at the http: url at the revision you expect?00:38
LaserJockyeah, it pulled in a couple revisions00:39
LaserJockit looked fine to me00:39
mwhudsonlooks like 379900:39
mwhudsoni can copy that back into the push area00:39
mwhudsoni guess i can do the upgrade on the server too while we're at it...00:40
LaserJockmwhudson: so you're able to recover the branch?00:42
mwhudsonLaserJock: yes, if you want me to00:43
LaserJockmwhudson: any reason not to?00:44
LaserJockI assume we don't want it in the state it's in00:44
mwhudsonLaserJock: i can't think of one00:44
LaserJockas long as we don't loose anything :-)00:44
mwhudsonLaserJock: do you want it upgraded to rich-root-pack at the same time?00:44
LaserJockyeah, that's what we're after00:45
mwhudsonin progress00:45
LaserJockmwhudson: can you see if anything happened to kubuntu-hardy and xubuntu-hardy?00:46
LaserJockI know I lost 9 revisions in edubuntu-hardy but I assume I can fix that with a bzr push00:46
mwhudsonthey look ok00:48
mwhudsonedubuntu-hardy has been upgraded00:48
mwhudsonwhich might be where you revisions went00:49
mwhudsonif mdke did it by downloading the branch, upgrading and uploading it again00:49
LaserJockyeah00:49
LaserJockI don't know why he wouldn't have the revisions though00:49
LaserJockmaybe he forgot to bzr pull first00:49
LaserJockmwhudson: would it be possible to have one of you guys convert kubuntu-hardy and xubuntu-hardy on the server?00:51
LaserJockso we don't end up with issues like this00:51
mwhudsonLaserJock: yes, sounds sane00:51
LaserJockI'm sure mdke would appreciate it00:52
mwhudsonLaserJock: can you ask a question on launchpad-bazaar ?00:52
LaserJockI can00:52
lifelessabadger1999: they have actually broken ABI since 2.0, if you consider ABI in the broader sense of 'the behaviour' rather than just 'it links and structs are the same size'00:53
lifelessabadger1999: but this doesn't invalidate your point about the costs00:54
LaserJockmwhudson: question asked and I fixed up edubuntu-hardy00:58
=== mw is now known as mw|out
=== kiko is now known as kiko-zzz
lifelessspiv: bug 22080601:55
ubotuLaunchpad bug 220806 in bzr "PyCurlTransport doesn't define the _remote_is_at_least_1_2 property" [Undecided,New] https://launchpad.net/bugs/22080601:55
spivlifeless: ta02:02
lifeless:)02:02
abentleylifeless, spiv: Initial branch of rocketful over bzr+ssh is excruciatingly slow.02:05
spivabentley: hmm.02:05
lifelessabentley: yes02:05
abentleyOur new hire reported it took 4 hours.02:05
bob2ow02:06
bob2segwayfuel02:06
lifelesswe're running bzr 1.3.1 on devpad02:06
abentleyI'm not sure how long it took for me at first.  tens of minutes?02:06
lifelessit should have the newer graph logic02:06
lifelesswhat bzr did the hire use?02:07
abentleyI dunno, but it looks pretty wrong with bzr.dev.02:07
lifelessdid they create a pack or knit local repo?02:07
lifelessthere is currently transcoding required, and that can buffer pretty highly02:07
abentleyThey just did bzr branch bzr+ssh://devpad.canonical.com/code/rocketfuel/launchpad/devel trunk02:08
abentleyI can confirm that on my box, this does tons of Graph.get_parents_map calls.02:09
lifelessthere is a debug flag02:10
abentleyIt's doing _walk_to_common_revisions(), which looks wrong.02:10
lifelessit should be exponentially increasing in data retrieval02:11
lifelesswith a cap02:11
abentleyMany of these calls were 14k or so.02:13
lifelessif you do -Dhpss02:14
lifelessit reports hit rate and stuff02:14
abentleyI'm reporting the results I got from doing Dhpss02:14
abentleyThere were a lot of results with 43474 bytes.02:15
abentleythen a lot with 83598 bytes02:16
lifelesswhat was the retransmitted revisions count ?02:17
abentleyAlways 0 of x02:18
lifelessok02:19
lifelesshow many minutes did the graph traversal take ?02:19
abentleyDunno.  I killed it before it completed.02:20
lifelesshow many minutes in was that ?02:20
lifelessand what was the last hit rate you had reached ?02:21
abentleyThe time was 488.46002:22
abentleyThe last hit rate was 98%02:23
lifelesswhat was the rtt around the last request?02:23
lifeless(just the tiem from sending to the hit rate output)02:23
abentleyLooks like 0.00902:24
lifelessso something doesn't add up here to me02:24
abentleyNo, you probably want from 439.611  hpss call w/body: ' to '444.812  Current RemoteRepositor'02:25
lifelessso 5 seconds02:25
lifeless12 steps a minute02:25
abentleyThe length of the last request was 146775 bytes02:27
lifelessthats a pretty big upload02:27
lifelessso there is a tradeoff we can make02:28
lifelessbetween retransmitted revisions; network latency, and request size02:28
abentleyI thought for initial branches we were still doing the tarball thing.  Is that gone?02:29
lifelessyes02:29
lifelesswe need to handle such similar cases that can't be special cased like that anyhow02:30
abentleyBut it seems like this one could be special-cased to great benefit.02:30
spivabentley: there's a new method that will stream all the necessary revision data in a single request -- once it knows what revisions to ask for.02:31
lifelessabentley: the tarball special case nearly broke the supermirror; it was very harsh on server load02:31
spiv(and without the nasty 'buffer the whole response before sending' that the tarball method had)02:32
abentleyWe probably don't need to be so extreme, but I would think _walk_to_common_revisions could be done on the server side.02:32
lifelessabentley: improvements in this area are welcome; I think I've posted lots on the list in the past02:33
lifelessabentley: doing _walk_to_common_revisions on the server side is something that conceptually eludes me02:33
abentleySo I'm wrong in thinking this is a regression?02:33
abentleyI could have sworn it completed in tens of minutes for me.02:33
lifelessits not a 1.4/bzr.dev regression *if* the bulk of the delay is in the graph walk02:34
abentleylifeless: _walk_to_common revisions is used to determine what we need to send, right?02:34
lifelessabentley: what we need to request from the server yes. And it depends on our local graph02:34
abentleyIn this case, we know the local graph is empty.02:35
lifelessabentley: yes02:36
lifelessabentley: though in general we don't want to do size(repo) operations, we do have a [relatively] cheap 'len()' for the revision graph.02:37
abentleySo in this case, we only need server-side data to know what to send.02:37
spivOk, it took just over 1000s for the graph walking for that to complete for me.02:37
spiv(from my laptop to London)02:37
lifelessyah02:37
lifelessthis is clearly improvable02:38
lifelessabentley: I'm ok with us special casing the selection somewhat; I think its important though that 'bzr branch bzr+ssh://launcpad...' into an existing non-empty repo *also* be fast02:38
abentleyYeah, I agree.02:39
lifelessabentley: the current worker method that is used to fetch is 'RemoteRepository.get_data_stream_for_search'02:39
abentleyThe reason I raised it now was because it seemed plausible as a regression.  I knew you'd done some work in that area.02:39
lifelessabentley: if I were to special case the empty repository case I would look at constructing a search by hand02:39
lifelessyeah, its very plausible as a regression02:40
abentleyI'm going to see how long it takes me.02:40
spivIt gets to 99% relatively quickly (only two minutes).02:47
abentleyspiv: It's at 97% for me at 417.13702:48
spivActually, that's a slightly confusing measurement.02:49
spivMore interesting is that after about 90s it starts getting lots of results of only 14 bytes, rather than 10s of kB.02:49
lifelessspiv: I bet its running into reached parts of the graph02:50
lifelessspiv: this is where I ran out of time and had to switch tracks02:50
lifelessspiv: history shortcuts will lead to inconsistent round trips being needed to reach a node N02:51
abentleyIs it just me, or should we be implementing a graph traversal on the server side to avoid all these get_parent_map calls?02:52
lifelessabentley: the get_parent_map calls are server side graph traversal02:53
lifelessabentley: remember that we don't have full duplex facilities02:53
abentleyI'm seeing  hpss call w/body: 'Repository.get_parent_map'02:53
abentleyWhich makes me think we're asking for a whole bunch of parents, then waiting for the result.02:53
abentleyThen asking for more parents.  Etc.02:54
lifelesseach time we do that we recieve more data than we asked for02:54
lifelessthe server anticipates future requests and bundles those into the response02:54
abentleyCool.02:55
abentleySo that's why you expect it to increase exponentially.02:55
lifelessit performs a breadth first search on the server side02:55
lifelessand trims revisions we've already recieved02:55
lifelessthe result is cached in the clients RemoteRepository object02:55
abentleyBut it is definitely not increasing exponentially.02:56
lifelesshave a read of remote.py's RemoteRepository._get_parent_map02:56
lifelessI think I was misremembering02:56
lifelessI tried a half dozen strategies when doing this02:56
lifelessexpoential increases, constnat sizes, etc02:56
lifelessI believe it can be improved significantly while still only exposing 'get_parents_map' to the python client code02:57
lifelesshmm03:00
lifelessexponential backoff would be good03:01
abentleyIt started stream_revisions_chunked at 1135s03:02
lifelessI don't know if it needs a new wire flag or not03:02
lifelessso 20 minutes03:03
lifelessI suspect the knit conversion is a performance issue tho03:06
lifelesswe're going to be unpacking and repacking the entire history03:06
abentleyThat's not a factor for this case, is it?  Rocketfuel is in pack-0.9203:08
lifelessoh, it is too03:13
lifelessI wonder if we annotate it on the server, send it, and then strip on the client03:14
abentleyWell, bazaar seems to be doing *something* fairly CPU-intensive.03:18
abentleyBut bazaar doesn't CTRL-\ during network ops...03:19
lifeless20098 abentley  15   0 1314m 1.2g 3020 S    0 32.7  12:17.25 python03:19
abentleyThis is how long it took you to branch rocketfuel?03:20
abentleyOh, ps output.03:20
lifelessspiv: ^ sure we don't buffer anymore?03:20
spivlifeless: yes03:21
lifelessabentley: 'top' actually03:21
spivlifeless: jam recently reported that to me too03:21
spivlifeless: I haven't had time to dig into it yet, but it doesn't seem to be a regression03:21
abentleyeh?  Your 'top' output has my login name?03:23
spivOn devpad03:23
abentleyOh.03:23
lifelessabentley: :P03:23
abentleylifeless: So on my side, 'top' says:03:24
abentley15492 abentley  20   0  475m 346m 2816 R 79.6 34.3  11:20.95 python03:24
* spiv -> lunch03:27
* mneptok takes this opportunity to pimp htop03:39
RAOFMmm, sweet htop!03:40
mneptoki've updated my Unix toolset from top to tail.03:41
mneptok(namely, to htop and inotail) ;)03:42
RAOFinotail?  Hm, haven't seen that one :)03:47
lifelessreally its a bug03:48
lifelessshould be able to select() on a disk file fd03:48
abentleybranch complete: 73m, 4.4 seconds.03:54
abentleyrockstar_: It took me 1h, 13 minutes to branch rocketfuel.  Does that jibe with your experience?03:58
rockstar_I think it was closer to two hours03:59
mlhI was reading themail on bzr for gedit04:18
mlhoption C - subprocess. This might solve a lot of problems  -- to strongly disassociate the ui from bzrlib04:18
mlhyou coould even haev the tui start up a bzrlib process and send it commands.04:19
mlhyou'd have to be careful of context/environment though04:19
mlhas well as interop with gedit/win32 exlporer/nautilus etc it might help the perceived speed of bzr if the client is very small04:20
mlhit's a big task though04:20
mlhsee http://www.martiansoftware.com/nailgun/ for a similar idea for java - in this case the client is in C04:21
igcbb i a few minutes04:43
lifelessok, I have the new stream stuff functional06:16
lifelessnow to eliminate join, and then optimise the stream copy06:16
lifelessI'm pushing up the current branch, because I'm fading now, still not entirely well I don't think06:17
AfClifeless: best wishes for a speedy recovery06:19
lifelessAfC: thanks06:24
johnfIf I have two totally separare bzr trees with no common ancestors is it possible to merge one into the other.06:25
johnfbasically I have some scripts I was keeping in a different bzr branch that I want to add to the main app06:25
spivYes, "bzr merge -r0..-1 ../unrelated"06:25
johnfspiv: cool that worked. Thanks06:26
lifelessall pushed anyhow - the 'versioned_files' branch06:38
mdkemwhudson_: yes, I've been doing rm -rf .bzr on it overnight - on purpose07:48
mdkemwhudson_: I'm just pushing the upgraded branch up now (for ubuntu-hardy)07:49
jameshmdke: how did the upgrade go?08:16
mdkejamesh: seems to have gone fine, although i've discovered now that mwhudson_ has the magic ability to do it on the serverside08:23
mdkehttps://answers.edge.launchpad.net/launchpad-bazaar/+question/3046908:23
jameshmdke: the delete-then-upgrade strategy can take a while for knit branches with a large number of files08:24
jameshsince you get "2*n_files + constant" round trips08:25
mdkejamesh: yeah, I left the delete on overnight08:25
jameshsftp lets you do things more efficiently (by pipelining commands), but I don't think lftp takes advantage of that08:25
mdkejamesh: one thing is that it does seem to break the LP branch - when I deleted it overnight, one of the users got a bit surprised and came in here to ask about how it could be restored; so I found it restored and upgraded when i woke up :)08:27
jameshmdke: were they accessing it via http or bzr+ssh?08:27
jameshand did they have write access to the branch?08:27
mdkewithout realising that that had been done, I redeleted it and pushed it again08:27
mdkejamesh: probably bzr+ssh and yes08:28
jameshmdke: then that access would have gone through to the writable area where you were deleting stuff08:28
mdkeah08:28
mdkeoh well, I had posted to the mailing list to warn people08:29
mdkecouldn't have done much more08:30
jameshpack formats comprise many fewer files, so the delete takes a lot less time08:33
jameshalthough people are usually upgrading to pack formats than from them08:33
* mdke nods08:36
* igc dinner09:55
awilkinsHmm, bzr:// isn't always fastest is it?10:11
* TFKyle expects file:// would be faster personally :)10:12
awilkinsIt is, especially into a --no-trees repo10:12
awilkinsbzr:// transferred about 5 MB of data then the bzr process on the server starts really chewing CPU10:13
awilkinsMind, this is a rather large tree10:13
ubotuNew bug: #220936 in bzr "bzr report internal error when I try to access repository under other locale then repository was created" [Undecided,New] https://launchpad.net/bugs/22093610:41
toojaysHi11:01
toojaysI'm wondering if anyone here can help me out with bug 219832.11:02
ubotuLaunchpad bug 219832 in bzr "KnitCorrupt: corrupt: incorrect number of lines while branching from svn" [Undecided,New] https://launchpad.net/bugs/21983211:02
silwoli got a problem with bzr and paramiko installed in my home directory on a server without root access for me11:51
silwolinstalled paramiko using "python setup.py install --home ~"11:51
silwoldid the same for bzr11:51
silwolwhen I want to branch from sftp url, I get11:51
silwoluser@server:~$ bzr branch sftp://server/path/to/branch11:51
silwolbzr: ERROR: Unsupported protocol for url "sftp://server/path/to/branch": Unable to import paramiko (required for sftp support): cannot import name util11:51
silwolanybody knows what the problem could be?11:51
TFKylesilwol: you might need to add where that installed paramiko to PYTHONPATH11:52
toojayssilwol: Do you need to set PYTHONPATH maybe?11:52
silwolPYTHONPATH is set to ~/lib/python11:53
silwolwithout it, bzr does not even run at all11:53
datosilwol: and is paramiko there too?11:54
silwolesd07016@hssesrv01:~$ ls $PYTHONPATH11:54
silwolbzrlibparamiko11:54
datook11:54
silwoldo i need pycrypto installed?11:57
toojaysI reckon you do.11:58
TFKyleheh, yeah11:58
silwolhmmm, too bad... there is no gcc :-(11:58
TFKylesilwol: out of curiosity, what version of python?11:59
silwol.2411:59
silwol2.411:59
silwola current rhel server11:59
TFKyle'k, so that wouldn't work even if it didn't need DES (which it probably does)12:00
TFKylemight be able to steal someone elses binaries and hope they work :D12:00
silwolwell, i'll create some on my local pc12:02
silwolhope there are no symbol problems12:02
TFKylesilwol: hmm, you might be able to extract the rpm for rhel (I'd assume it'd have a pycrypto package, I could be wrong though) and throw the files in ~/lib/python12:02
=== kiko-zzz is now known as kiko
silwolTFKyle: the admin told me there is none, otherwise he would already have it installed12:03
TFKyleah12:03
TFKyleguess gcc is too big for the admin to want to put on?12:04
silwoli think it's a security issue... will ask him again12:05
silwolthanks for your help anyway... if i run into problems again, i'll come back12:05
* TFKyle should probably look into doing pure-py equivs of most stuff in pycrypto, too bad everyone having 2.5 can't be relied on (makes it easier for the hashing stuff, can just call hashlib.sha256/etc. for some stuff instead of having to implement it in pure-py)12:08
=== mrevell is now known as mrevell-luncheon
=== mrevell-luncheon is now known as mrevell
silwolokay, it worked by copying pycrypto compiled on my laptop13:19
silwolthanks people13:19
awilkinsThis is bugging me ; I'm trying to test some mods to gconflicts ; but I'm finding it hard to make a simple tree with text conflicts in it13:42
awilkinshttp://pastebin.ca/99445313:45
awilkinsCan someone explain what I'm seeing in the link? I think it's incorrect behaviour personally, but perhaps there's a good reason.13:45
awilkinsWhat I would expect is a text conflict, not a content conflict13:46
james_wso would I13:46
james_wdoes "bzr conflicts --text" list it?13:46
awilkinsNope13:48
awilkinsThe logs correctly note each relevant revision as a modification to stuff.txt13:49
james_wit seems that the file ids get mixed up then, but you're typescript suggests that they shouldn't13:49
awilkinsThe logs never note a deletion of stuff.txt, so how can a merge produce one?13:49
awilkinsLet me try this in a non rich-root repo13:50
awilkinsOk, trying with standalone pack.092 branches13:50
awilkinsDoes it in plain pack.92 branches too13:51
luksI get a text conflict using the same steps13:52
james_wI can't reproduce either13:52
james_wawilkins: are you on up-to-date bzr.dev?13:52
awilkinsFile-ids are identical13:52
awilkinsjames_w: No, this is 1.3113:52
awilkinsErm, I thought it was, it's 1.3013:53
james_wawilkins: I can't reproduce with 1.3.1 either13:55
awilkinsWHen I finish installing 1.3.1 I'll try it again13:55
james_wthanks13:57
awilkinsSame again, contents conflict13:59
awilkinsHmm, let me try with no plugins13:59
awilkinsStill the same with no plugins14:02
awilkinsIs this a windows-specific thing?14:03
james_wcould be14:05
awilkinsI'm presently working on the theory this may be a unicode BOM thing (?!?!?!?)14:06
awilkinsI'll try again with ANSI files14:06
ubotuNew bug: #195217 in bzr-lpreview "ReadOnly error when running bzr review-submit with no arguments" [Undecided,New] https://launchpad.net/bugs/19521714:11
awilkinsBingo ; it's because the magic function in bzr is detecting the files as binary14:11
abentleyawilkins: Yes, it could be a unicode BOM thing.  binary detection is based on finding non-ascii bytes.14:11
abentleySpecifically 014:11
abentleyi.e. the NUL bytes.14:11
abentleySo technically ASCII, but never used in text documents.14:12
abentleyawilkins: Your files aren't utf-16 are they?14:12
awilkinsabentley: Yes, they are14:12
abentleyOh, they are binary, then.  Thanks for playing.14:13
awilkinsabentley: 'tis what you get by default as output from Powershell14:13
awilkinsabentley: You do the same test using cmd.exe as a shell and it works fine14:13
awilkinsGrr, the output encoding on PSH being utf-16 by default is bloody annoying14:18
abentleyawilkins: bzr does tend to assume that files are in a bytes-based encoding.  Even if I could fix it for utf-16 files, merge would act funny because it wouldn't detect newlines correctly.14:18
awilkinsabentley: I agree that utf-16 is something of a marginal format, especially in the west14:18
abentleyI suppose if we detected a BOM, we might be able to skip the rest of the test.14:20
awilkinsWant a bug submitted so people can spit on it?14:20
abentleyBut that doesn't solve the problem that '\n' doesn't mean newline in utf-1614:20
abentleySure14:21
awilkinsNo, it's \n\0 with an even offset, yes?14:21
abentleyWell, it depends on whether the UTF-16 is LE or BE.14:22
awilkinsWould a BOM convey that, perchance14:23
abentleyIndeed it would.14:24
awilkinsPython seems to be pretty encoding-savvy from what I've seen of the docs - first langauge I've seen which knows which encoding your source file is14:24
abentleyIt's definitely much better than older languages like C, but Python 3.0 will really get it right.14:26
sssslanghi could some can told me how to make bzr didn't complain differences between same dos and unix files(about the EOL).14:52
ubotuNew bug: #221021 in bzr "bzr send should write to a remote file when --output file provided" [Undecided,New] https://launchpad.net/bugs/22102114:57
=== mw|out is now known as mw
ubotuNew bug: #221031 in bzr "switching between checkout and branch causes abandoned lock" [Undecided,New] https://launchpad.net/bugs/22103115:26
jammorning all15:30
Odd_Blokejam: o/15:31
jelmerjam, Odd_Bloke: dudes!15:31
Odd_BlokeSweet.15:32
james_whi all15:34
james_wInstaller testing is fun!15:34
james_wjam: how was your holiday?15:35
awilkinsWho do I mail merges for gtk plugin to?15:39
Odd_Blokejelmer: ^15:39
* awilkins is poised to mail jelmer15:40
james_wthere's a list isn't there?15:40
awilkinshttps://launchpad.net/~bzr-gtk15:41
Odd_BlokeI think so, but jelmer probably knows the details. :p15:41
jelmerawilkins: bzr-gtk@lists.canonical.com15:41
TFKylecould also just ping him here :)15:41
* jelmer is here, but behind a very laggy sattelite connection from the UK15:41
Odd_Blokejelmer: Whereabouts are you?15:41
awilkinsJelmer is team owner, but no contact details listed. Isn't there a "default place to mail stuff" field for this15:41
jelmerOdd_Bloke: in a train somewhere near Wakefield15:42
jelmerawilkins: yes, bzr-gtk@lists.canonical.com :-)15:42
awilkinsSent, just a small patch to improve the external conflict util starter15:43
Odd_Blokejelmer: Oh, cool. What brings you to the UK?15:43
* awilkins muses that it can't be anything you could get in Amsterdam15:43
jelmerOdd_Bloke: visiting a company here that's doing some samba-related stuff15:44
Odd_Blokejelmer: Cool.15:44
jelmerawilkins: hunting would be something that's allowed in the uk but not in .nl I think :-)15:44
TFKylespeaking of bzr-gtk, any way to make visualize default to showing the date column? (in current trunk)15:45
=== kiko is now known as kiko-afk
jelmerit should just remember whether or not you have that column enabled15:47
TFKyledoesn't seem to here, where's it normally store that?15:47
awilkinsTFKyle: Seems to store it in the global bzr config (or try)15:53
jamjames_w: my holiday went quite well, though it was a bit longer than I usually prefer15:54
TFKyleawilkins: ah15:55
james_wjam: better longer than shorter :-)15:55
awilkinsTFKyle: It stores it properly, but it doesn't seem to work here15:55
TFKyleseems to be there (under the DEFAULT section), just not getting it back properly, I'll have a look at the code15:55
awilkinsBug in the property settings15:57
awilkinsfixx0red15:58
awilkinsWant a merge bundle?15:59
TFKylemm, indeed15:59
TFKylesure15:59
awilkins /msg me your email addy15:59
TFKylethanks16:02
jamjames_w: it seems Thunderbird + Lightning + Gmail is capable of locking my machine hard when it goes to alert me about missed events16:07
jamjames_w: anyway, 2 shorter vacations is better than 1 longer one (for me at least)16:07
james_wjam: are you using compiz?16:07
jamI had to get a bit creative with holidays to string together 3-weeks uninterrupted16:07
jamjames_w: yes16:07
james_wjam: hardy?16:07
jamyep16:08
james_wcheck you have the latest compiz-fusion-plugins-main installed16:08
jamWell, there are 2 issues16:08
james_wit sounds like exactly the problem I was having that I found the fix for this morning.16:08
jam1 is that I get a quick "beep beep beep" for 3 alerts16:08
jamand then it freezes16:09
jam2 is that it has lightning, but not 'provider for google calendar' which means I can't *modify* any of those alerts16:09
jamI'll make sure to update, though16:09
jamthanks for the heads up16:09
james_whmm, maybe it's different then.16:09
jamjames_w: "apt-get update && apt-get upgrade" is asking to install 123MB of stuff16:11
jamso something is being updated :)16:11
jamcompiz-fusion-plugins-main is in that list16:11
* james_w crosses his fingers16:11
jamwell, for now I've uninstalled lightning-extension, but I might bring it back16:11
jamIf I had "provider" I could at least silence the alarms for now, and get back to work16:12
jambut without it, it prompts me every 5 minutes or so16:12
jamwhich doesn't give a lot of uptime16:12
awilkinshmm, Hardy RTW is out today, no?16:12
jamI thought it was today or tomorrow16:12
awilkins01 days to to go16:12
awilkinsWhat timezone is Ubuntu Central?16:13
jamProbably UTC16:13
jamor maybe UTC +116:13
jamLondon, IIRC, is UTC + 116:13
awilkinsLondon?16:13
awilkinsUTC +1 this time of year16:13
james_wit will probably be about 24 hours from now.16:14
awilkinsI've not tried it out yet16:15
awilkinsI'll have to download it twice, 32 bit for wifetop and thumb, 64 for desktop16:16
awilkinsDo you advise a ditribution upgrade or a reinstall?16:24
awilkins(ok, ok, this isn't #ubuntu)16:24
ubotuNew bug: #221060 in bzr "Cannot branch Python onto launchpad" [Undecided,New] https://launchpad.net/bugs/22106016:25
james_wawilkins: dist-upgrade should be fine, are you on gutsy?16:25
awilkinsjames_w: Yup, gutsy on the wifetop and desktop16:26
awilkinsjames_w: Will that really reduce the download size any though :-P16:26
james_wno, it's going to be comparable either way.16:26
stiansehi guys, I have a problem on windows bazaar verson 1.3.1. When I try to run "bzr stat" or "bzr commit" I get "bzr: ERROR: [Errno 13] Permission denied". Anybody knows what's wrong?16:27
james_wit would only be if you were concerned about getting a "clean" experience.16:27
james_wstianse: what version of windows?16:27
awilkinsjames_w: I only just bleached the thing clean after installing horrible Samsung printer drivers16:27
awilkinsThey mess with your privs16:27
stiansejames_w: windows xp16:27
james_wstianse: I think it might be something to with locking. I can't remember the details though I'm afraid.16:28
awilkinsBlech, my new co worker has terrible halitosis16:29
stiansejames_w: ok. what I've done so far is pretty basic. running init, add, commit and push to a sentalized server. using branch to get a local branch. aplied some changes. And now I'm trying to commit these locally.16:30
=== kiko-afk is now known as kiko
awilkinsstianse: Is your local branch a checkout or a standalone branch?16:30
james_whmm, odd that it is failing now16:31
james_wstianse: can you run with "-Derror" and pastebin the result.16:31
james_wstianse: as in "bzr -Derror st"16:32
stianseawilkins: I used the branch commmand, so I would say a branch? (I'm more experienced in the subversion-world, but trying to convert :-)16:32
awilkinsstianse: Have you used a bzr bind command at all?16:33
stianseawilkins: no, no bind command16:34
stianseshould I?16:35
stianseawilkins: http://pastebin.com/m92ff48216:35
awilkinsstianse: Only if you want it to automatically push changes to the server16:35
james_wstianse: are there any read only files in your tree?16:35
stianseno, I don't want that. it's pretty experimental code i'm working on. don't want to push until it's more stable16:35
james_wstianse: are you familiar with the python debugger at all?16:36
stiansejames_w: no, sorry. more a c-guy ;) but I have a guy in my office that probably is. but it would have to wait until tomorrow I guess16:37
awilkinsstianse: Do you have any of the files in the tree open in a process that is demanding an exclusive lock?16:37
awilkinsstianse: Your error is occuring in a routine that just calculates a hash of the file, so it's not writing to a file16:38
stianseawilkins: of course, why didn't i think of that! just wait a second and i'll try one more time16:38
awilkinsstianse: A resource file, possibly? Source files are usually not locked up like this by the IDE.16:39
stianseawilkins, james_w: thanks for your help, it works now16:39
stiansewell, you don't know with visual studio :-)16:39
stianseperhaps i should just stick to emacs16:40
awilkinsNever had that specific problem with VS.16:40
awilkinsIt's a shame the stack dump doesn't dump parameter values16:40
stianseok, I'll try to investigate what the exact problem is if I ever experience it again16:41
james_wyup16:41
stiansesee you later, gotta go eating dinner. thanks again!16:41
awilkinsstianse: You might want to shove a quick catch clause into sha_file_by_name to plop the filename to the console.16:41
awilkinsjames_w: Would it be possible to make the stack dump show parameter values?16:43
* awilkins knows not enough about Python16:44
james_wI'm not sure, but it would be good if it did.16:44
james_wyou could probably write an alternative dumper that did it.16:44
awilkinsI mean, you have all this funky access to functions as objects and stuff.....16:44
=== kiko is now known as kiko-fud
abentleyawilkins: When you submit patches, a brief description of what the patch does is greatly appreciated.17:12
VadiI did a bzr ignore with a pattern, and it said this: "Warning: the following files are version controlled and match your ignore pattern:". Did it unignore those files too? Or they're still in bzr?17:26
abentleyThey're still in bzr.17:28
abentleyFiles are only removed from bzr if you delete them or run "bzr remove".17:28
=== BasicMac_ is now known as BasicOSX
VadiOkay thanks17:49
=== Ursus is now known as Noia
=== kiko-fud is now known as kiko
mathrickho-humm18:29
mathrickI need some conceptual help18:29
mathrickI need to do the following:18:30
mathrickI have two machines, one with fast link, but no external IP (so only accessible when I'm home), and another which has external IP, but is very slow to connect to18:30
mathrickso far I've been using a checkout off the slow machine18:31
mathrickbut I'd like to only bind it to it when I'm not home, and otherwise bind to a branch of the repo on the fast machine18:32
mathrickand run a cronjob to sync from fast to slow periodically18:32
mathrickI can do that, but the problem I've run into is when conflicts arise18:33
mathrickit seems that neither checkouts, nor branches from a repo will tell me that the bound location / parent branch is conflicted if that happens18:34
mathrickwhat would be the best way to run what I want then, in a way that would allow me to reliably and no-brainerly catch any conflicts?18:34
mathrickconflicts as in there's another dev on my team, who can access both fast and slow repos independently from me18:35
mathrickso if we commit conflicting changes to separate repos, things break down, since the conflict isn't reported anywhere besides the sync cronjob run on the fast machine18:36
jammathrick: branches can't be conflicted, only working trees, so I'm a little curious how you are getting conflicts18:45
jamI suppose it depends how you are doing the sync18:46
jamif you are just using "pull" then the cron script will probably be raising "DivergedBranches"18:46
mathrickjam: yeah18:46
mathrickbut the thing is, I wont see from my checkout that there are unmerged revisions18:47
mathrickie. I won't notice the trees being out of sync unless I specifically look for that18:47
jammathrick: you could always keep an extra branch, which you could check18:47
jamso you would have:18:47
jamsftp://slow-host/repo/{mainline,fast-tip,slow-tip}18:48
jamAnd then the fast-tip is always a 'pull --overwrite' of the one on fast, and 'slow-tip' is "official"18:48
jamand you try to keep "mainline" at the same tip18:48
jamwhen it fails, you'll still have the others to see that they aren't the same18:48
mathrickæh, I got lost18:48
mathrick<jam> and you try to keep "mainline" at the same tip <-- here18:49
jammathrick: when you are at home, you bind to "sftp://fast-host/fast-tip"18:49
mathrickyep18:49
jamyour cron job tries to sync that to "sftp://slow-host/mainline" and always syncs it to "sftp://slow-host/fast-tip" with --overwrite18:49
jamif it succeeds as syncing it to slow-host/mainline it also overwrites slow-host/slow-tip18:50
jamthen when you are away from home18:50
jamyou bind to sftp://slow-host/slow-tip18:50
jamand your cron job tries to sync that to "sftp://fast-host/mainline", "sftp://fast-host/slow-tip" etc.18:50
jamit's a little bit messy, but would mean you can check when you are out of date, etc.18:50
jamI think I can simplify it a bit18:51
jamgive me a sec to think18:51
mathrickjam: okay, and would I get any indicator when I try to commit and the branches have diverged?18:51
mathrickcommit from my laptop that is18:51
jammathrick: not at commit time, no18:51
jamyou would have to check18:51
jamthough you could add a 'pre-commit' hook that could check for you18:51
mathrickthat's precisely the problem I have with my current setu[18:51
mathrickit doesn't blow up when the trees have diverged18:51
mathrickI guess18:52
jammathrick: well, you have another problem which is that you have no way of *detecting* that the branches have diverged18:52
jamI'm trying to solve the ability to detect it first18:52
mathrickah18:52
jamand then work on doing the detection at commit time18:52
jammathrick: wouldn't your cron job alert you that the branches have diverged?18:53
mathrickjam: okay, so lemme know if you work out a simpler version (or decide it can't be done)18:53
jammathrick: as in, send you an email because it couldn't finish the 'pull'?18:53
mathrickjam: yes, I began building status notification into it, but then during testing I discovered that the checkouts continue happily18:54
mathrickso instead of just having a "lesse why it failed status page", I need something to make it fail to begin with18:54
jammathrick: well, if you always did 'push --overwrite' it would probably start to complain18:54
jamthen  the push would always succeed18:55
jambut you would have to be careful to save the other branch's tip so you could merge it18:55
jammaybe that is better18:55
mathrickbut --overwrite is destructive in the face of a conflict, no?18:55
jamI think you are slightly misunderstanding conflicts versus the revision DAG18:56
mathrickpossibly18:56
jam*committed* revisions cannot have conflicts, they just have a graph18:56
mathrickyes18:56
jamIt is possible for 2 branches to be at different tips18:56
jamso we refuse to allow you to 'push' so you don't lose one of the tips18:56
jammathrick: anyway, I think I've worked something out, give me a sec18:57
fullermdYou probably mean 'divergeance', not 'conflict'.18:57
mathrickmost probably18:57
jammathrick: http://rafb.net/p/0tvWF366.html19:02
jam^^- Use that as the cron script on fast host19:03
jamIt won't tell you on 'fasthost' when you are out of sync, but I can fix that.19:03
jammathrick: http://rafb.net/p/BziHfX38.html19:07
jamBasically, when it sees the branches are out of sync, it swaps them19:08
jamso that your checkout will complain19:08
jamThe only time it will succeed accidentally19:08
jamis if you had the branches out of sync19:08
jamand then you switch positions at the same time the cron script runs19:08
jamoh, and I guess this will eternally swap the branches, so I guess there is a 50/50 chance of it swapping it back19:09
jamYou could stop that by remembering the last successful push/pull and stop if that hasn't changed.19:09
mathrickjam: lemme look at it19:14
mathrickjam: okay, so I take it that the latter paste replaces the former one?19:21
jammathrick: it is a different way to do it, but generally yes19:21
mathrickok19:22
mathrickjam: so, what it does is that when I have my branch bound to, say, fast-tip, and the branches diverged, what I'd be actually acessing is the mainline, which will trip over my commit because it won't see what it expected?19:23
jammathrick: right19:23
mathrickjam: and it doesn't actually matter which is where, as long as they are swapped when they diverge, and not otherwise, right?19:24
jammathrick: correct19:24
mathrickI guess that swapping not diverged branches is a no-op anyway19:25
=== mw is now known as mw|lunch
vilahi all19:38
awilkinsjames_w: I wrote that argument dumping code, it isn't too horrible19:38
vilaabentley: bb down it seems19:38
abentleyvila: restarted.  Try again in a minute.19:39
vilaabentley: thks19:39
beunovila, \o/19:40
vilabeuno: :)19:40
beunovila, kitchen fixed up?19:40
vilaI thought I will never come back, RL really sucked my free time19:40
vilakitchen is "usable", not finished, but enough to get some free time back :)19:41
abentleyvila: kitchen beta19:41
vilaand we are very happy with the result with *is* the point ;-)19:41
vilaabentley: exactly, thanks :)19:41
vilahopefully that didn't apply to food ;)19:42
beunovila, I'm glad. Good to see you back19:43
vilabeuno: just cooking a new selftest option and I get a shot at bzr-upload ;)19:43
beunovila, yay!19:44
mathrickjam: uh, I got a bit lost trying to bolt on the halting code19:47
mathrickjam: would recording the current (swapped) tip in case they diverged be a good idea?19:47
mathrickhmm, no, you could still commit onto it I think19:48
mathrickdamn, I can't find any bit of state that could be persisted and also reliably recovered from only inspecting the branches in case of divergence19:49
mathrickoh, the latest common parent19:53
mathrickor whatever it is called in bzr parlance19:53
* mathrick hits the docs19:53
mathrickuh-oh19:54
mathrickhttp://starship.python.net/crew/mwh/bzrlibapi/ is down19:54
abentleymathrick: Are you trying to determine whether branches have diverged?19:55
mathrickabentley: no, I want to swap them once and only once per divergence19:56
mathrickabentley: I don't know if you have read my original problem and what jam said about the solution19:56
abentleyI glanced over it.19:56
abentleyIt didn't make much sense to me, so I went back to what I was doing.19:57
jammathrick: common ancestor is what we generally call it19:58
jambranch.repository.get_graph(other_branch.repository).find_unique_lca(branch.last_revision(), other_branch.last_revision())19:58
moquistis there a good way to change a checkout into just a branch, so commits are local?20:02
mathrickmoquist: bzr unbind20:03
moquistmathrick: thanks...apparently I should really just read through the whole man page, shouldn't I? :\20:04
mathrickprobably :)20:04
abentleyalso, "bzr reconfigure --tree"20:05
mathrickmoquist: bzr help checkouts explains it in detail20:05
moquistabentley: right; I remember that being a very helpful read, though I apparently didn't catch/grok everything last time. I'll try again.20:07
moquistthx, mathrick and abentley.20:07
ChristopheTWhen doing a "bzr status" after a merge, is it possible to see the full log lines of the merged repository?20:10
ubotuNew bug: #221139 in bzr-svn "bzr-svn won't remember the password." [Undecided,New] https://launchpad.net/bugs/22113920:11
=== mw|lunch is now known as mw
abentleyChristopheT: Not directly.  You could always commit and then run log.20:26
fullermdI've thought from time to time that `status --show-ids` should show the revids of pending merge revs..20:30
mathrickjam: awesome, it works20:46
mathrickjam: and bzr up + bzr resolve do what I mean20:47
mathrickwhich is sweet20:47
mathrickwell, with the exception of spurious conflicts like: Conflict adding file file.txt.BASE.  Moved existing file to file.txt.BASE.moved.20:48
mathrickbut I can live with it20:48
=== kiko is now known as kiko-afk
korpiosIs there a straightforward way to "collapse" several revisions into a single revision?  e.g., say I just committed revs 33-39, and I'd like to change the repository so that all those changes are only in a single revision 3321:21
jamkorpios: 2 ways to do it, but the common one is "bzr uncommit -r 33; bzr commit -m 'new 333'"21:22
abentley(actually, uncommit -r 32)21:23
jamabentley: right, uncommit jumps you *to* that revision21:23
jam(it used to uncommit that revision)21:23
korpiosso uncommit doesn't touch the WC, it only alters the repository?21:23
jamkorpios: it leaves the working tree unchanged, just changes the branch pointer21:23
jam(it doesn't remove revisions from the repository either, they just won't propagate out if they aren't referenced)21:24
korpioswill a recommit then pick up on moves that happened in the revisions you just jumped back from?21:24
jamkorpios: yes21:24
korpiosah, nice21:24
jamIt also remembers merges you did, etc21:24
korpiosthat makes me happy ^_^21:25
jamIt is *supposed* to be like you did all the work, and just didn't "bzr commit", if you find discrepancies, let us know21:25
jamI don't know of any, off hand21:25
jamoh, except if you repeatedly merge the same branch, it doesn't prune the ancestry21:26
jamnot sure if that is a big issue21:26
korpiosas long as it's sane enough to work with, that's the key :)21:27
mtaylorhey guys - any sensible way to get a list of all files under bzr control? like bzr status, except I want to also see unchanged files, and I don't care about status?21:43
beunomtaylor, inventory gives you all the files that are versioned21:44
mtaylorbeuno: thanks. duh21:44
beuno:)21:44
mtaylorbeuno: how come inventory doesn't show up in bzr help commands ?21:46
beunomtaylor, I don't think it's used very often21:46
* mtaylor grimaces21:47
jambbiab21:49
lifelessmoin21:59
beunomornin lifeless'   how are you feeling today?22:01
abentleymtaylor: any functionality that is unique to "inventory" should be added to "ls".22:24
mtaylorahhhh22:27
beunoabentley, so inventory is being deprecated in favour of ls?22:28
abentleybeuno: inventory's a hidden command.  That's as deprecated as commands get.22:29
beunoabentley, ah, I had no idea  :)22:29
mtaylorabentley: bzr ls makes me happy22:29
* beuno updates his mental DB22:29
=== mwhudson_ is now known as mwhudson
mtaylorbzr: ERROR: pycurl.error: (60, 'SSL certificate problem, verify that the CA cert is OK. Details:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed')22:36
mtayloris there a way to tell bzr that self-signed "invalid" ssl certs on https repositories are ok?22:36
abentleyYou can use urllib+https: to bypass cert checking.22:43
mtaylorabentley: cool. know of any plans to maybe catch that exception and ask a question?22:44
mtaylorabentley: I know another friend of mine was having this problem branching from a https svn repos with a self-signed-cert the other day22:45
abentleymtaylor: Not as far as I know.22:45
mtaylorok22:45
* mtaylor supposes that means it's time for loud complaining! :)22:46
abentleyYou're unlikely to actually get a solution that requires user interaction.22:46
mtaylorabentley: bzr: ERROR: Unsupported protocol for url "urllib+https://code.launchpad.net/~sward-dev/bzr-difftools/trunk"22:47
thebolti'm also having that very same problem right now ;)22:47
theboltand svn+https://YYY gives "Not a branch: YYY"22:47
mtaylorso, that url works for me on my linux box, (https://code.launchpad.net/~sward-dev/bzr-difftools/trunk - withouth urllib)22:48
mtaylorbut does not work for one of our devs on a windows box22:48
abentleySorry, should be "https+urllib", not the reverse.22:48
mtaylorperhaps there is a python lib he's missing?22:48
thebolti'm also using windows btw..22:48
mtaylorabentley: https+urllib worked22:50
meuserjI can't quite figure out how to do something with bzr:22:52
meuserjI have a merge that I want to remove from the history... found later that it broke the program22:52
meuserjI did "bzr revert 13..14"22:53
meuserjand status reports that the merge is pending22:53
meuserjerrr... make that "bzr merge 13..14"22:54
abentleyYou've got the numbers in the wrong order.  That applies the change again.22:54
meuserjbut the affected files haven't been reverted22:54
abentleyYou want bzr merge -r 14..13 .22:54
meuserjah.. ok22:55
abentleyYou should probably do revert --forget-merges, too.22:57
thebolthm, whenever i try to branch or checkout a subversion repository over https i get bzr: ERROR: Not a branch: "svn+https://crystal.svn.sourceforge.net/svnroot/crystal/CS".  (both bzr 1.4.x on linux and 1.3.1 on windows), any ideas why? same repository over http goes perfectly fine23:07
jelmerthebolt: see the FAQ23:07
theboltjelmer: which of them? ;)23:08
jelmerthe 2nd23:08
thebolti think i have read them all (ie both bazaar and bzr-svn)23:08
jelmerthis is a self-signed ssl certificate?23:08
theboltno23:09
thebolt(its sourceforge, the CA is equifax)23:09
* jelmer tries23:12
thebolthmm, seems even though firefox (&ie) trusts the CA, svn and bzr doesn't..23:12
jelmerthat'd certainly explain it23:14
theboltbut then the error message isn't really descriptive ;) (and the guides you do find online for checking if the certificate is trusted doesn't include this case where some consider it trusted & other doesn't ;)23:15
jelmerthebolt: see the answer in the faq.. this is a python-subversion bug23:16
theboltanyhow, while i'm at it, i've just (as you realize;) started to play around with bzr, at first to use it as a local vcs on top of our projects central svn repository, but possibly in the long term do a more total conversion23:16
theboltwell, which faq? neither http://samba.org/~jelmer/bzr-svn/FAQ.html nor http://bazaar-vcs.org/FAQ (which are the only two faqs i find links to) lists that error23:17
theboltso my question would be if there's some described "best practices" when using bazaar on top of svn? something i definitly shouldn't do, and something tahts good? ;23:17
jelmerthe one in the source23:18
jelmerbasicaally the second one on http://samba.org/~jelmer/bzr-svn/FAQ.html23:18
theboltwell, the repo doesn't require name+password23:18
jelmeralthough the question now includes untrusted ssl certificates as well23:18
theboltnot in the version i have.. but i guess thats related to me using the windows installer to get the plugin23:19
jelmerit may only be in the 0.4 branch atm23:19
theboltheh ok, then don't be too mad at me for not reading it.. i did try to RTFM :)23:19
jelmerthere is no best practices document at the moment, but I'd be happy to review if anybody decides to write one :-)23:20
theboltheh ok23:21
theboltthe guides i find use branch or checkout to mirror a single directory at a time (such as the trunk), is there a way (or any good reason not to) mirror an entire repository?23:21
jelmeryes, "bzr svn-import"23:22
theboltbut that does a conversion, doesn't it? ie not connected to the central repository?23:22
jelmernot sure I understand what you mean23:24
jelmerit does the same thing as "bzr branch" but for all branches in a svn repository23:24
jelmerthere's no way to do imports without connecting to a central svn repository23:25
thebolti mean the difference between branch and checkout.. but i guess i can do "bind" on them after svn-import to make them mirror-branches23:25
jelmerthebolt: the difference between branch and checkout is the same as without bzr-svn involved23:26
theboltyea, i understand that23:27
theboltbut i want the effect of checkout but for the entire repo (&with svn ;)23:27
theboltunless there is a good reason not to23:27
jelmerso you want the entire repo as one bzr branch?23:33
theboltno, my goal would be to have a bzr "repo" with all the different branches from svn as different bzr branches, on which i could then continue to base my local (and later published) branches.. now if this sounds totally stupid say so.. (this is why i asked for a best-practices document ;)23:36
theboltpart of my current work is basically merging of five different branches into one (and includes some fixing of stuff where they touch the same areas ;)23:37
jelmerthebolt: yes, that's what "bzr svn-import" does basically23:42
theboltok23:42
theboltthanks. .damn i'm not used to being such a newbie at the tools i (try) to use ;)23:43
igcmorning23:52

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