/srv/irclogs.ubuntu.com/2009/11/30/#bzr.txt

=== abentley1 is now known as abentley
mwhudsonare all bzr+http accesses at the http level POSTs to $branch_url/.bzr/smart ?02:10
spivmwhudson: some might be to higher directories I suppose, if bzr tries to look for shared repos and the like02:11
mwhudsonspiv: for read-only launchpad i guess we can mostly ignore that?02:11
spivmwhudson: IIRC bzr will try to prefer the first .bzr/smart that seems to work, though.02:11
spivmwhudson: I think so.02:11
mwhudsonspiv: cool02:12
PengFor me it accesses both repo/branch/.bzr/smart and repo/.bzr/smart.02:15
PengThat's if I use an "http" URL. If I use "bzr+http", it only uses repo/branch/.bzr/smart.02:16
lifelessmwhudson: what is the relevance of read-only lp to this?02:21
mwhudsonlifeless: to what?02:21
lifelessbzr+http accesses02:21
PengWell it'd be nice if LP supported it, no? :D02:22
PengWhy not straight bzr://?02:22
lifelessPeng: code.launchpad.net ?02:22
mwhudsonlifeless: someone requested bzr+http specifically on the bazaar list02:22
lifelessPeng: or bazaar.launchpad.net ?02:22
mwhudsonlifeless: just thinking about how hard it would be02:22
lifelessmwhudson: forward .smart to loggerhead?02:22
lifelessas loggerhead already does bzr+http doesn't it ?02:23
mwhudsonlifeless: yeah maybe02:23
PengCuz what LP needs is Loggerhead using even more CPU and RAM!02:23
mwhudsonwell the one we have on launchpad doesn't do bzr+http cause of the way it's set up wsgi-wise02:23
mwhudsonbut that's strictly a detail02:23
mwhudsonPeng: possibly not the same loggerhead as the code browsing one, i guess02:24
lifelessmwhudson: if we're adding loggerhead instance and haproxying between them, I'd make them all the same.02:26
lifelessmwhudson: and just add lots.02:26
mwhudsonlifeless: yeah02:27
PengKinda silly to run Loggerhead *just* for .bzr/smart.02:28
mwhudsonPeng: there's not much point following me on both twitter and identi.ca btw02:29
Pengmwhudson: Shrug. I usually do that anyway. Just in case one of them explodes or something, I guess.02:30
mwhudsonfair enough02:31
lifelessPeng: but it wouldn't be just for it.02:35
lifelessPeng: we'd get more cpus working on code browsing at the same time.02:35
PengYeah, that sounds good.02:35
PengErr, did that sound sarcastic?02:36
lifelessno.02:37
lifelessdid you meant it to be? If so, FAIL.02:37
PengHeh. I did not.02:38
lifelesshttp://robey.lag.net/2009/11/29/more-git.html is interesting02:58
lifelessjust that the values and behaviours we recommend are still valuable to robey ;)02:59
lifelessPeng: as for why not straight bzr://, we could do that. But we have http open in the firewall, *and* loadbalancing software for it, already.03:22
PengAh.03:38
PengPlus it's probably better for users behind firewalls, too. Though not those behind weird proxies.03:38
lifelessPOST should be fine for them03:39
lifelessits non-smart http that really exercises the bug db of proxy vendors03:39
PengOh, good point.03:40
poolieafc, mwhudson, lifeless: so what i meant when i said anonymous ssh may be easiest is just that it may be easiest, not necessarily fastest04:00
poolielifeless: want to send any mail about patch piloting?04:02
lifelesspoolie: yes04:04
lifelesspoolie: but its not work for me, so will happen later04:05
lifelesspoolie: I have to do a sweep of the things I'm piloting anyhow04:05
poolienp04:09
lifelesspoolie:  bug 489993 - please consider landing that as-is; I agree we can overhaul the area, but fixing the logic inversion won't add debt or decrease test coverage.04:36
ubottuLaunchpad bug 489993 in bzr "bzr 2.1.0b3 reports interpreter path on Mac OS X with a .dll extension" [Low,Confirmed] https://launchpad.net/bugs/48999304:36
poolieyes04:38
pooliei didn't realize on the first reading that there was a logic inversion04:39
pooliethus the confugison04:39
lifelesscool04:41
poolielifeless, i don't understand why you think handing over in-progress patches will cause rework04:42
pooliehave you seen this happen?04:42
pooliei have seen other people want different things from a patch04:42
pooliebut, that's life04:42
pooliewe can resolve it04:42
=== jfroy is now known as jfroy|finishingd
=== jfroy|finishingd is now known as jfroy|lvmealon
=== jfroy|lvmealon is now known as jfroy|frackoff
dOxxxhey poolie, just popping so we can sort out this 489993 thing quickly04:51
pooliebug 48999305:00
ubottuLaunchpad bug 489993 in bzr "bzr 2.1.0b3 reports interpreter path on Mac OS X with a .dll extension" [Low,Confirmed] https://launchpad.net/bugs/48999305:00
poolieyep05:00
pooliei agree with your patch and i'll merge it05:00
pooliehow's that?05:00
dOxxxok :)05:00
dOxxxI was just a bit confused05:00
dOxxxthere was some back and forth with lifeless about whether it should be changed to just remove that whole section05:00
dOxxxbut if you're cool with it as is, that's fine by me. I pushed one more little change to add a comment referencing the doc url on the py2exe env like you suggested05:02
pooliei think that would be better but it's good to merge as it is05:02
dOxxxalrighty, minimal interference patch it is :)05:03
dOxxxI shall bid you good night then. Seeya later.05:04
lifelesspoolie: because its going to cause new conversations05:11
poolieif there's been conversation about the patch not captured in the review?05:13
lifelessno, because the new pilot is likely not to have participated in the review so far05:14
poolieand... they may have questions that they'll ask now, but that would otherwise have gone unasked?05:15
lifelessI see this happen quite a lot - with experienced folk it doesn't matter, as you say we can address it.05:15
lifelessbut if we really want to be helping these casual contributions get through, deliberately provoking that seems risky to me.05:16
pooliesorry what is "this" and "that"?05:16
pooliewhat i mean is05:17
poolieif changing from one reviewer to another requires the patch to be reworked05:17
pooliethat seems like a pretty serious problem05:18
poolielike people are enforcing very different standards or something05:18
lifelessuhm05:18
lifelessI'm clearly not expressing the concern well.05:18
poolieiiuc the concern is05:19
lifelessI'm talking about things like scope expansion, 'taste' and so forth, not the actual standards or functional defects.05:19
poolieyou've replied to a review last week saying "please do X and I'll merge it"05:19
poolieand then I come along this week and say "oh please do Y too"05:19
poolie..?05:19
lifelessas a for instance, yes.05:19
lifelessif there is a pilot handoff I'm concerned that this will happen a lot more.05:20
poolieok05:20
poolieso if it was you all the way through05:20
poolieyou might sometimes do that, actually05:20
pooliesaying "I've just realized we should do Y too"05:20
pooliebut you'd probably at least notice you were doing it?05:20
lifelessright. Probably with 'sorry' in there too.05:20
lifeless:)05:20
poolieright:)05:20
pooliethat seems like something we could in princple do across reviewers?05:21
lifelessyes, I'm not claiming exclusive ownership of these issues for patch pilot handoffs.05:21
pooliesay that by default if one reviewer sets requirements for scope or cleanliness, we won't come back and raise them later?05:21
lifelessjust a raised frequency.05:21
lifelesswhy do you want the handoff?05:22
pooliei want the pp process to be:05:22
lifelessI mean, you say the software doesn't model it, but I don't see why the software needs to, it already shows a submission date which is all you need.05:23
pooliewhile not active_reviews.empty(): active_reviews().pop().resolve()05:23
lifelessIf there was a 'correct' actions_I_should_do list, I would be totally +1000 on that process.05:24
lifelessbut we seem to be pretty far off that.05:24
lifelessI'd rather focus on giving a fantastic experience to new contributors that the pilot efficiency right now - particularly as the pilot efficiency is already quite high IME.05:24
lifelesss/that/than/05:25
poolieso05:25
pooliei think having one person deal with them all the way through is a better experience than changing hands05:26
pooliehowever, i think having *somebody* follow up monday is better than having the original person follow up later05:26
lifelesspoolie: why would the original person be following up any later than the new pilot?05:27
pooliei think they might be busy with other things or distracted when their week is over05:27
lifelesspoolie: I mean, to be clear, I have no objection to more people helping out. But having the pilot stop on friday night seems wrong.05:27
pooliei would say their obligation to help finishes friday night05:28
poolieor their commitment05:28
pooliei want to make it easy enough on developers that they will do it05:29
lifelesswhat I find odd is that the two people that have done it so far haven't had an issue with this.05:29
poolieok05:30
pooliei think this discussion is running dry05:30
pooliei'm not going to avoid touching reviews you've already commented on05:30
lifelessI am happy if you *want* to touch everything05:30
pooliei'm also not going to move the goalposts on the submitter without good reason05:30
lifelessI just want you to also pilot new things landed up to friday next week. Given that piloting only ever blocks on getting a second reviewer, this should be very easy for you.05:31
lifelesspoolie: bah, my first sentence parses badly; please apply logic-checker on reading it :)05:31
lifelessI wasn't ever suggesting you should avoid reviewing stuff05:32
lifelessthat would be nuts05:32
poolieyou're saying you want me to promise to keep reviewing anything that lands this week, for as long as it takes?05:32
lifelessgive me a minute pease, ringing tim to get bzr/+activereviews unbroken.05:33
=== abentley1 is now known as abentley
lifelesspoolie: yes05:37
poolievila, hi, around?06:52
pooliewant to talk about https://code.edge.launchpad.net/~vila/bzr/353370-notty-no-term-width/+merge/1383206:54
bialixpoolie: hi07:37
bialixare you here?07:37
bialixhello all07:37
pooliehi there07:37
bialixhi, can you say some ETA on next 2.1 release? (b4 or rc1)?07:38
bialixI need to plan next qbzr release accordingly07:38
pooliesure07:38
bialixthe date is already known?07:38
poolieaccording to https://edge.launchpad.net/bzr/2.1 it's the 14th of december07:38
poolieand i don't see any reason to change that07:39
bialixthanks poolie, that's fine for me07:39
pooliewe haven't been totally precise but we've been pretty close to those dates07:39
bialixpoolie, I'm thinking about blogging on new cool features in qbzr 0.17, somrthing like LP guys wrote for their release announcements (with screenshots et al)07:40
bialixthere is main bzr blog07:40
bialixor I can start special qbzr blog07:40
bialixbecause I have no access to main bzr blog, so I'm in doubts07:41
pooliei would like that a lot07:42
bialixpoolie, do you think I should start dediacted blog? From other hand the chances that I'll blog in the future maybe not very high07:42
pooliei can certainly give you access07:42
pooliei think you should just put it there and tag it qbzr07:42
bialixcan I do series of post, one for each separate feature?07:43
pooliesure07:43
bialixwhat you need from me to give me access? sign with blood ;-)07:43
poolieyour prefered email address?07:45
bialixshould be listed on my page: https://launchpad.net/~bialix07:45
poolieok, sent07:48
poolielet me know if there's any problems07:48
bialixgot your mail07:49
bialixhmmm07:50
bialixit said "bialix" username already exists07:50
poolie! :)07:52
bialixok, I've reset the password and now successfully login07:53
bialixdon't see bazaarvcs blog though07:53
bialixpoolie: on the page "My blogs" there is no bazaarvcs07:54
bialixI don't know what I'm doing wrong07:54
* poolie looks07:54
poolietry now?07:55
bialixpoolie: works now, I'm in07:56
pooliegreat07:56
pooliei see gary already posted about some things07:56
bialixpoolie: ok, found magic button "New Post". it seems I can write07:59
bialixthanks07:59
* bialix don't use wordpress so will need some time to learn07:59
pooliegreat08:05
pooliegive it a try?08:07
bialixwhat do you mean?08:09
bialixI'll post tonight, after work08:09
vilahi all08:12
pooliehi vila08:15
pooliei just posted some things on bug 353370 in regard to your patch for that08:16
ubottuLaunchpad bug 353370 in bzr "Lines cut off at 80 chars regardless of actual terminal size" [High,Fix committed] https://launchpad.net/bugs/35337008:16
* vila reading08:17
pooliealso i'm going to logoff soon08:18
vilapoolie: ok, I'll comment there then08:19
pooliebialix: do you have any ideas how to debug bug 490228?08:19
ubottuLaunchpad bug 490228 in bzr "Crash in groupcompress during commit operation" [Undecided,New] https://launchpad.net/bugs/49022808:19
vilaoh, you commented on the mp too08:19
poolieyeah08:22
bialixhi vila08:22
pooliethen i thought that bugs were a better place08:22
bialixpoolie: right now I can't say anything useful08:22
poolieso essentially i think we should fix the api somehow08:22
pooliebialix: ok, i just wondered if you knew a better way to get a good stacktrace?08:22
bialixno08:23
bialixmaybe jam08:23
poolievila: istm that "how wide is the terminal" should at the lowest level sometimes say "i don't know " or "i'm not sure" and then what happens with that depends on how you're going to use ti08:23
poolieit*08:23
poolienot sure though08:23
vilahmpf08:25
vilaexactly what I was going to say :-)08:25
poolie:)08:25
pooliethe good thing is there are only a few callers08:26
vilawhich means: 1) don't bother for log --line 2) progress bars are drawn only if the termiaal width is known08:26
vilai.e. don't outsmart the user and let it fix it's terminal width if things go wrong08:26
vilawith the caveat that we don't want do *not* display progress bars too aggressively ?08:27
vilahi bialix08:27
bialixpoolie: btw irclogs bots seems broken08:27
bialixbonjour vila08:27
pooliebialix: thanks08:27
poolieon irclogs.ubuntu.com?08:28
bialixyes08:28
bialixsince Saturday no new logs08:28
bialixfor all channels08:28
pooliemm i see08:28
pooliethanks08:28
poolievila: so istm we should: let terminal_width return None and check the callers will cope08:29
poolieand also make it trust COLUMNS even if not on a tty08:29
vilathat's sound pretty close, I have to check COLUMNS behavior a bit more since I discovered some strangeness there (at least the behavior is not as clear as I thought)08:30
vilabut yeah, if COLUMNS can't be fully trusted, use BZR_COLUMNS08:31
pooliebialix: i filed a ticket for it; nobody's responding at the moment08:33
pooliegood night all08:34
vilapoolie: good night08:34
bialixfullermd: ping12:39
=== mrevell is now known as mrevell-lunch
thropehi - is it possible to copy a file with hisotry?13:01
Pengthrope: no13:01
thropeoh - thats a pain13:01
PengYeah.13:02
PengBazaar's design makes it a bit tricky, and nobody has done the work yet.13:02
thropeok - thanks13:05
=== mrevell-lunch is now known as mrevell
vilathrope: out of curiosity, why do you want to do that ? I generally needed that in CVS days because I couldn't rename a file, but now ?14:00
thropevila: forking a file... working on a paper/report and had a script to produce figures for it.... but now changing the structure of report completely so I'm going to change it, but still want the old one around14:01
thropeI guess I could tag or something instead but I'd rather make a copy and have them both there so I can compare more easily14:01
vilathrope: how about creating a new branch while keeping the old one around ?14:02
thropevila: yeah I could do that I guess... but I run the code on a number of difference machiens that are all bound so it would mean working out which one is bound to what etc14:02
thropeits ok just to loose the history in this cae... can always look back at the original file14:03
bialixvila: I have use case for you: split big file into 214:03
thropebialix: thats a better one ;)14:03
vilabialix: I know there are valid use cases, I wanted some fresh input :)14:03
bialixvila: I'm just encounter this use case *today*14:05
* bialix sighs and hides14:05
vilabialix: And what are your expectations with regard to future merges ?14:05
bialixI'm happy to not have future merge, but like to preserve annotations14:07
thropemaybe merge to original with a warning that file has been copied and merge not applied to copied file14:07
bialixdifferent file-ids today makes future merge after split the pain too14:07
=== kosipov is now known as kostja_osipov
kostja_osipovhi14:40
kostja_osipovhow do I retrieve per-file comments for a revision from the command line?14:41
beunokostja_osipov, bzr log FILE -r REVISION?14:41
kostja_osipovhm...14:42
kostja_osipovis there a way to get all comments for all files at once?14:42
beunobzr log FILE?14:42
kostja_osipovbeuno: imagine I have a revision number: 2640.4.414:43
kostja_osipovI can do bzr diff -c 2640.4.414:43
kostja_osipovthat gives me a diff that this revision introduced14:44
kostja_osipovI can do bzr log -c 2640.4.414:44
kostja_osipovthat gives me the changeset comment for that revision14:44
kostja_osipovwell, I could of course do bzr log <file1> -c 2640.4.414:44
kostja_osipovthen bzr log <file2> -c 2640.4.414:44
kostja_osipovand so on14:44
kostja_osipovbut that will take quite a while (the patch changes many files)14:44
beunokostja_osipov, there ar eno per-file comments on commits14:44
beunocommits are atomic14:44
kostja_osipovbeuno: it's a terminology issue I guess. when I commit, I can write per-file comments.14:45
beunokostja_osipov, I am not aware of such thing with bzr14:46
kostja_osipovbeuno: try bzr gcommit ;), click on a file, you can add a file-specific commit comment.14:47
beunoah, right14:47
beunoI'm not sure how that gets stored though14:48
beunojelmer may, if he's around  :)14:48
kostja_osipovyeah, so now I'd like to get it back14:48
bialixkostja_osipov: I think you can't yet14:49
bialixI have ideas for adding such feature to qbzr though14:50
beunobialix, it's stored as metadata, right?14:50
bialixas revision properties14:50
bialixsomething like ci --fixes14:50
ChrisMorganI'm trying to log in to Launchpad Bazaar (on Windows) and it's not working at all.14:50
ChrisMorganI'm getting: bzr: ERROR: Connection error: Unable to authenticate to SSH host as |  chris.morgan@bazaar.launchpad.net   |   supported auth types: ['publickey']14:50
bialixbeuno: only bzr-gtk currently supports per-file commit messages (this is MySQL thingy)14:50
bialixChrisMorgan: you have to use SSH keys14:51
bialixChrisMorgan: hint: pageant, puttygen14:51
bialixthere is nice tutorial on lp wiki14:51
ChrisMorganHow?  I have an SSH key up there, but I can't work out how to feed the private key into Bazaar14:51
bialixChrisMorgan: pageant?14:51
beunokostja_osipov, that basiclly means that you can't get it from the command line, you will need to write a script14:51
ChrisMorganpageant?14:52
bialixChrisMorgan: what are your SSH client on Windows? How do you generate SSH key?14:52
ChrisMorganI generated it with PuTTY14:52
bialixgreat14:53
bialixnow run pageant -- this is part of Putty package14:53
bialixpageant.exe14:53
ChrisMorganIs this to turn it into id_rsa.pub?14:53
bialixit will start small icon in system tray area14:53
bialixno14:53
bialixno14:53
bialixno14:53
bialixyou should have *.ppk file14:53
ChrisMorganOK; running.14:53
ChrisMorganYep14:54
bialixprivate key generated by puttygen14:54
ChrisMorganAdded ppk14:54
bialixdouble click on pageant icon and add key14:54
bialixnow run bzr again14:54
ChrisMorganThen?14:54
bialixthen what?14:55
bialixrun your bzr command again14:55
ChrisMorganOK... so what did pageant do? :/14:55
ChrisMorganThanks :-)14:55
bialixpageant is putty key agent14:55
bialixit provides bzr with your private key14:55
ChrisMorganSo it has to be running all the time when I use bzr?14:56
bialixyou may want to put pageant into autostart entry14:56
kostja_osipovbeuno: ok,I"m ready to write a script14:56
bialixyep14:56
kostja_osipovdo you have some how-to or something?14:56
kostja_osipovI have over 200 changesets for which I need this stuff.14:56
bialixkostja_osipov: look at log code14:56
ChrisMorganlifeless: #bazaar should redirect to here; #bazaar was my first guess (incidentally then, why is there a CIA bot sitting in there?)14:56
kostja_osipovbialix: i see14:57
bialixthere is similar thing to per-file messages: branch nick14:57
kostja_osipovokay?14:57
bialixlook how branch nick extracted from revision14:57
bialixit's basically access to properties dict14:58
bialixyou may want to look into bzr-gtk code to see exact key values14:58
bialixkostja_osipov: I think actually bzr-gtk is your friend here14:59
kostja_osipovbialix: something like this:14:59
kostja_osipov      # per-file messages14:59
kostja_osipov        file_info = revision.rev.properties.get('file-info', None)14:59
kostja_osipov        if file_info is not None:14:59
kostja_osipov            if isinstance(file_info, unicode):14:59
kostja_osipov                file_info = file_info.encode("utf-8")14:59
kostja_osipov            file_info = bencode.bdecode(file_info)14:59
kostja_osipov            if file_info:14:59
kostja_osipov                for fi in file_info:14:59
kostja_osipov                    to_file.write('%s%s%s\n' % (indent, "     @ ", fi['path'],))14:59
kostja_osipov                    if fi['message']:14:59
kostja_osipov                        for line in fi['message'].rstrip().split("\n"):14:59
bialixpastebin please14:59
kostja_osipov                            to_file.write('%s%s%s\n' % (indent, "        ", line,))15:00
kostja_osipovheh ;)15:00
bialixyep, something like that15:00
bialixI don't have copy of MySQL branch to test it ;-)15:00
kostja_osipovbialix: ok, I think I can actually already access this functionality indirectly via:15:01
kostja_osipov bzr log --mysqlcommitemail -c 2630.4.315:02
kostja_osipov(this switch comes from mysql plugins)15:02
kostja_osipovpretty nice:15:02
kostja_osipov   2630.4.3 Dmitry Lenev2008-05-2415:02
kostja_osipov            WL#3726 "DDL locking for all metadata objects"15:02
kostja_osipov            15:02
kostja_osipov            Fixed failing Windows builds by adding mdl.cc to the lists15:02
kostja_osipov            of files needed to build server/libmysqld on Windows.15:02
kostja_osipov     @ libmysqld/CMakeLists.txt15:02
kostja_osipov        Added mdl.cc to the list of files needed for building of libmysqld.15:02
kostja_osipov     @ sql/CMakeLists.txt15:02
kostja_osipov        Added mdl.cc to the list of files needed for building of server.15:02
kostja_osipov(sorry for flooding the channel -- is it not allowed here?)15:02
bialixthere is plenty of ru people in your team?15:02
kostja_osipovsome; what team do you have in mind? server runtime?15:03
bialixI dunno15:03
bialixI'm not sql hacker, just qbzr hacker15:04
bialixkostja_osipov: btw, I have evil plan to add support for per-file messages to qbzr; to qlog, qann and qci15:05
kostja_osipovwe have multiple server teams, each works on an area. In runtime therea are 3 Russians, 3 Norwegians, 1 Swede, 1 Brazilian, 1 German, etc15:06
kostja_osipovbialix: I'm not using q* stuff15:06
bialixthis is not to you personally15:09
=== beuno is now known as beuno-lunch
kostja_osipovbialix: my #1 wish would be that cherry-picking (bzr merge -c) would automatically transfer all comments along with the patch.15:28
bialixkostja_osipov: you can replay revision and then merge it15:29
bialixor rebase if replay refuse because of conflicts15:29
mthaddonjam: RT#36031 is about configuring PQM to use python2.4, and the last comment in there is about asking you guys to let me know when you're ready for me to change the configs to use "make pqm-test" as the pre-commit hook - that sound familiar?15:46
jammthaddon: indeed it does. I replied to your email16:02
jamvila: are you around?16:02
mthaddonjam: great, thx16:02
vilajam: hi ! Glad to see you back, I hope your son and you are going better16:03
jamyeah, a bit of a cough left, but no fever, etc.16:03
jamvila: just wondering how babune, et al are holding up16:03
jamfreebsd seems to have failed again?16:04
vilayeah, lots of trouble :-/16:04
vilathe combined upgrade of karmic/vbox made many slaves unstable or losing connections, I'm upgrading the gentoo one right now hoping to get it stable :-/16:05
vilaI'm torn between migrating to hudson or waiting to have more stability back :-/16:06
vilaIn fact I'm suspecting some change in buildbot itself (brought by the karmic upgrade_16:07
vila)16:07
bialixhi jam, glad you're back16:08
vilajam: in summary, I have the Ubuntu slaves up and running, I'm trying to fix the others while manually running the test suite when I can16:09
jamhi bialix16:09
bialixjam: without you even there is no announce for latest releases16:15
bialixbtw, jam, maybe it's just me so paranoid, but I think latest regression on windows custom globber with replacing all \ with / is serious enough to not put it into wild16:18
kostja_osipovvila: btw, I've finally gotten to the file-id16:22
kostja_osipovproblem16:22
kostja_osipovindeed, when the file is added by the cherry-picking command, there is no file-id issue16:23
kostja_osipovit would be really great if it was possible to change file-ids. I'm not the only one who has stepped on these rakes...16:23
vilakostja_osipov: once you start sharing any history, you can't change file-ids or revi-ids anymore16:24
vilaI understand the pain, but I can't think of a good work-around. What you did was telling bzr that you created a new file and then you want to merge it with another one. Until we implement file-tokens (the exact name escapes me right now), there is little that can be done.16:26
vilaBut once there are implemented, you'll be able to "join" two files saying to bzr: look, these files are really the same one16:27
* vila hates saying: come back later, we'll have a such better solution :-(16:27
kostja_osipovvila: this is a pretty unique situation we're in16:31
kostja_osipovi hope it'll be a one-time issue16:31
bialixvila: path tokens16:32
vilakostja_osipov: yeah, it's a usability issue, but one that can lead to some lost hours :-/16:32
vilabialix: thanks ! I was close :)16:32
bialixyeah :-D16:33
kostja_osipovvila: the reason I got trapped in this is that I thought that bzr merge -c is equivalent by cd source; bzr diff > ~/tmp; cd dst; patch -p0 < diff16:33
kostja_osipovbut it actually isn't16:33
kostja_osipovbzr merge -c is a very "interesting" command.16:33
kostja_osipovit doesn't transfer the original revision id; but on the other hand it's not an equivalent of diff + patch16:33
vilakostja_osipov: yes. You should *never* user patch16:34
kostja_osipovit is unclear why :)16:34
vilaerr, I meant: You should never *have* to use patch16:34
kostja_osipovI would stick to always using bzr merge -c if I understood exactly what it does16:34
kostja_osipovvila: the reason I used patch instead of bzr merge was this:16:34
vilakostja_osipov: roughly the same as patch, but taking renames into account :)16:34
kostja_osipovI'm cherry-picking a changeset.16:35
kostja_osipovit contains changes to files that are not yet in the destination tree16:35
kostja_osipovso I get a lot of conflicts.16:35
kostja_osipovthe easiest way for me to solve them all was to:16:35
kostja_osipovbzr diff > ~/patch16:35
kostja_osipovbzr revert16:35
kostja_osipovpatch -p0< ~/patch16:35
kostja_osipovthis way I don't have to manually revert all "new" files which I don't want16:35
kostja_osipovbut I figured it has a gotcha :)16:36
kostja_osipovso I restarted from a fresh tree, and re-done bzr merge -c, this time bzr reverting all new files I didn't want16:36
kostja_osipovand now I seem to be all set16:37
=== beuno-lunch is now known as beuno
nmbvila: I'm free if you've got a chance to talk about 39571417:47
vilanmb: Neil ! I've talked with Glenjamin, I'm pretty sure this is caused by bzr-svn, I know why and how to fix it.17:48
nmbCool!17:48
vilas/pretty sure/now sure/17:48
nmbvila: I'm glad we tracked down where it was coming from.17:48
nmbvila: Would you like me to try with disabling bzr-svn or do you have all the datapoints you need?17:49
vilanmb: sure ! Thank you so much for your efforts there !17:49
nmbvila: checking...17:49
vilaThe root cause is that bzr-svn is using the requests in a way that is not supported. I've talked with jelmer and will make the necessary changes in bzr17:49
vilaand may be even provide a patch for bzr-svn so all code paths are covered17:50
vilanmb: search for req.follow_redirections = True in bzr-svn transport.py, this option can't be used with authentication17:51
vilathat's where I didn't understand how it occurred to you (I haven't read the traceback close enough :-/)17:51
nmbvila: If I disable bzr-svn, it works on the glenjamin.co.uk URL and on my local URL where I discovered the bug.17:52
vilanmb: and that explains why I didn't reproduce it (the machine I used didn't have bzr-vsn installed)17:52
Noldorinhi. i'm trying to set up loggerhead on an http server here, but don't know how to go about it17:52
Noldorincould anyone direct me please?17:52
Noldorinlifeless: hello?17:52
nmbNoldorin: I've just done it.17:52
jelmervila: Please let me know if there's anything I can do to help with that17:52
vilanmb: Great ! Thanks for checking17:52
=== abentley is now known as abentley-lunch
nmbNoldorin: Tell me more about your setup17:53
Noldorinnmb: excellent. well i'm trying to set it up on an iss7 server (with isapi-wsgi installed)17:53
nmbvila: I'll mark my branch as abandoned and the merge proposal as obsolete as well17:53
Noldorinso far i've just uploaded the loggerhead files and the dependencies17:53
nmbNoldorin: loggerhead usually works as a proxied local web application...17:54
vilajelmer: well, waiting for the OPTIONS support in bzr you can try to rewrite dav_options to use do_catching_redirections instead of using req.follow_redirections but I'm not sure it's worth the effort and you should keep your energy for tomorrow :-D17:54
vilanmb: ok, thanks17:54
Noldorinnmb: yeah, that's what i gathered from the main web page17:54
jelmervila: :-)17:54
nmbNoldorin: I don't know IIS, but the general structure is that loggerhead runs on the server on port 8080...17:54
Noldorini'm on a shared server here...17:54
Noldorinalthough with a number of config options17:54
Noldorinhmm17:54
Noldorinhow are you running it>?17:55
nmbNoldorin: then you proxy a particular location from your webserver to pass the requests on to loggerhead17:55
Noldorinright17:55
nmbNoldorin: I'm using Apache as the outward-facing HTTP server17:55
Noldorindedicated server?17:55
Noldorinlooks like i'll have to play with some isapi-wsgi config settings17:56
nmbNoldorin: yep, dedicated server17:57
Noldorinnmb: hmm. i'm stumped how to get it running on a shared iis server now17:59
Noldorinor any server for that matter17:59
Noldorinany tips?18:01
Noldorini mean, not having access to the command line is a bit of a pain here18:01
nmbNoldorin: you can't run any command line programs?18:02
=== deryck is now known as deryck[lunch]
Noldorinnmb: at least i'm not aware how to do that on a shared server18:03
nmbNoldorin: loggerhead is running as a service on an Ubuntu machine, but the command that starts it is "loggerhead/serve-branches --prefix=/bzr --port=8080 /var/bzr"18:03
Noldorinmm18:04
Noldorinwhich is why i'm not sure where to proceed now18:04
nmbNoldorin: where /var/bzr is where the branches live18:05
nmbNoldorin: I know that it is possible to set up commands to run on startup under Windows, but I am not enough of a Windows admin to know how.18:06
nmbNoldorin: Can you get a terminal services/remote desktop login on that shared server?18:07
Noldorini don't believe so18:07
Noldorinnmb: http://www.storminternet.co.uk/hosting_aspnet.asp - i have the ultimate package18:08
Noldorinhmm18:08
Noldorini don't even have ssh available it seems18:10
Noldorinnmb: anyway around that, you think?18:13
guilhembi_Hello. An exception is generated in some bzr plugin that we have in MySQL; I'm running bzr in the debugger, but bzr seems to catch it, print the traceback to some debug file, and terminate. I'd rather want bzr to not catch the exception, so that debugger (winpdb) stops there. How can I do this?18:15
nmbNoldorin: No, I don't think so.  Loggerhead needs to be run as a program on a local python installation (as far as I know)18:15
Noldorinnmb: mm, that's what i'm afraid of. i wonder if there's any pure-http alternative18:15
guilhembi_vila: do you know?18:16
nmbNoldorin: http://bazaar-vcs.org/WebInterfaces for your different options18:16
Noldorinnmb: thanks. i'll take a look18:17
nmbNoldorin: Particularly webbzr: http://thoughts.enseed.com/webbzr/18:17
* guilhembi_ tries -Derror18:18
=== abentley-lunch is now known as abentley
=== lamalex_2 is now known as lamalex
vilaguilhembi_: BZR_PDB=1 before bzr is what I'd use on Linux, you'll have to find how to do that on windows18:26
guilhembi_vila: I'm using Linux18:26
vilaoh, then it should work :)18:26
guilhembi_vila: but it does put me in the ordinary text-based debugger; isn't there a way to18:26
guilhembi_1) not catch the exception18:26
guilhembi_2) not have bzr start the debugger, but rather I start bzr in the debugger that I choose18:27
guilhembi_?18:27
vilano idea for 1 & 2, but you may be able to replace the bzr call to pdb to the debugger you want ?18:28
=== abentley1 is now known as abentley
guilhembi_vila: that would require attaching the debugger (winpdb) to a running process via some command-line,18:29
guilhembi_which I don't yet know how to do, but which I can research.18:29
vilaguilhembi_: look at exception_to_return_code in bzrlib/commands.py18:30
guilhembi_vila: thanks18:32
vilaguilhembi_: I just installed winpdb and used launch 'bzr info', it started the bzr script and waits for input, hacking exception_to_return_code seems the way to go...18:35
* vila foes back to kitchen18:35
vilas/foes/goes/18:35
guilhembi_bbl18:36
jelmervila: I'd rather wait for OPTIONS to be in bzrlib and help out with that where possible18:37
jelmerthe stuff in bzr-svn is already quite hackish and untested18:37
jelmer(well, not unit tested - it was tested manually)18:37
=== deryck[lunch] is now known as deryck
Noldorinhi. i'm trying to run loggerhead on my server, and i'm getting the following error:19:39
Noldorin File "D:\inetpub\vhosts\noldorin.com\httpdocs\python\loggerhead\loggerhead\main.py", line 24, in <module>  from bzrlib.plugin import load_plugins ImportError: No module named bzrlib.plugin19:39
Noldorinany idea what i need to do to fix it?19:39
phinzehey folks, so how much of an overhead price do i pay with bzr+ssh versus $OTHER_BETTER_TRANSPORT20:07
thumperphinze: bzr+ssh gives streaming of revisions, which is v.good20:12
thumperphinze: bzr+ssh has the overhead of ssh compared to just the bzr protocol itself20:12
phinzewell that sure _sounds_ good ;)20:12
thumperphinze: has higher semantic communication between client and server20:13
thumperphinze: so not just at a filesystem level20:13
phinzeexactly, and i'm wondering about how much that overhead is costing me on `bzr up`20:13
thumperphinze: whose server?20:13
phinzeour dev group's central repository server20:13
phinzeso i have the ability to switch the transport if there is reason to20:14
phinzes/switch the/recommand a switch to another/20:14
phinzeblah, *recommend20:14
thumperif it is all your servers20:14
thumperthen perhaps bzr protocol is enough20:14
thumperI'd ask a core bzr person though20:15
* thumper looks at lifeless20:15
bialixI have couple of questions20:15
fullermdbialix: I have a couple answers.  1492.  Yellow.  Yes, in a vacuum.20:16
bialix1) If I want to call external GUI to resolve conflicts as 3-way merge, but I did merge --weave and have only THIS and OTHER. What can I use instead of BASE?20:16
bialixfullermd: missed20:16
bialixevening fullermd :-)20:16
fullermdDarn.  I was so close...20:16
fullermdI don't know that you can.  External conflict resolution tools are mostly based around 3-way merge, aren't they?20:17
bialixfullermd: I think the right answer is "vacuum"?20:17
phinzethumper: sounds good, thanks20:17
bialixfullermd: not all20:17
bialixmany tools can work in 2-way merge mode20:17
fullermdTo deal with --weave aftermath, they'd have to implement weave merging themselves, which means they'd also need all the line history too, not just a couple source files.20:17
phinzei imagine jam would know also20:17
thumperphinze: that he would20:17
bialixfullermd: it was joke?20:18
bialixI have example of 1-way merge tool which can be progressed to 2-way: editor20:19
fullermdNot really, know.  Weave merge implies working with a lot of intermediate history, so it's way outside the scope of what you could get from BASE/THIS/OTHER files.  That only covers 3-way.20:19
bialixbut weave in the end generatest THIS and OTHER?20:19
* bialix looking for jam20:20
bialixjam1: are you around?20:20
fullermdWell, there's nothing to generate with those two.  There's just what we had, and what the other side had.20:20
jam1bialix: ?20:20
=== jam1 is now known as jam
fullermdBASE is the only generated one of the 3, but it only makes sense in 3-way (that's why it's 3-way after all).  With weaves, there is not 'base' of the whole file.20:20
bialixjam: weave merge20:20
bialixwhat can I use s BASE after weave merge?20:21
bialixto resolve conflicts in 3-way style?20:21
jambialix: unfortunately there isn't really a BASE, I believe there is a MySQL bug about it, and I'm trying to investigate if we can put *something* for BASE20:21
jambut really, the BASE is not very well defined for weave20:21
bialixI can use empty file, but it sounds weird?20:22
bialixI'm sketching new external merge support for qbzr20:22
bialixI'm trying to understand what should I do with conflicts when there is no BASE file20:22
bialixmaybe I can puth file with conflicts there as BASE?20:23
bialixfullermd: I'm using WinMerge a lot ast time, it's only provides diff/merge tool based on 2 sides: their/mine files20:24
bialixand I can merge changes even without BASE20:24
bialixthe tool is able to find common lines and then highlight lines where text at both sides are different20:25
jam bialix: 2-way diff is equivalent to 3-way with BASE being empty20:25
bialixI don't have experience with real 3-way tools yet20:25
jamso the main difference is that there are places where the two texts differ and one clearly supersedes20:26
bialixso, empty file in the end, as I thought20:26
jam2-way can't tell you that20:26
jamall it can say is "they differ here"20:26
bialixjam: but after bzr doing merge we have only valid conflicts in the file?20:27
bialixmaybe winmerge doing the right thing by parsing conflict markers, instead of rely on THIS/OTHER20:27
bialixso there is no obvious answer, empty file as first guess20:28
bialixsecond question: versioned tags20:28
bialixtoday we have very unpleasant merge scenario at work when tags was not propagated because there already tagged20:29
jamso using conflict markers is a 2-way diff, after we've already worked out the 3-way base20:29
bialixjam: anybody has sketches or plan on how versioned tags could be implemented?20:29
donriis there something similar to git add -p, that is commit only some changes to a file?20:29
jamdonri: generally done by doing the inverse with "bzr shelve" first20:30
jamto pull out the changes you don't want20:30
bialixdonri: we have similar to git stash20:30
jamthen commit what you do20:30
lifelessmoin20:30
donrisounds backwards and cumbersome20:30
donriuhm, but thanks :)20:31
bialixlifeless, jam: versioned tags: how's hard they would be to implement?20:31
lifelessphinze: how long does 'time ssh <server> bzr help' report20:31
jambialix: the concept isn't very difficult, figuring out how to present it to the user is20:31
lifelessbialix: coding it? not long. deciding on semantics? oh, a year or two :P20:32
phinzelifeless: good call --> real 0.357s user/sys: 0.003s20:32
donriis there something like rebasing in git?20:32
bialixwhat is semantic?20:32
lifelessbialix: how they should behave20:32
bialixdonri: yes, bzr-rebase (bzr-rewrite) plugin20:32
donrinevermind, i can probably google that one20:32
donrithanks20:33
bialixlifeless: a bit better than today20:33
Noldorinhi lifeless20:33
bialixdeletion of tags are not propagated, tags are not mergeable20:33
Noldorinlifeless: it seems i have isapi-wsgi on my server...20:33
bialixjam: does user realy need to have other presentation than it is today?20:34
bialixjam: git seems to use signed tags concept? when there is author who created tag, and when20:34
jambialix: how do you present when tags conflict20:36
bialixas other conflict: special metadata in working tree or branch?20:36
bialixjam: the problem is today they always conflicts, even if other side update the tag made by this side20:37
bialixok, it seems git has the same problems with tags20:41
bialixit just has name of tag author20:41
bialixjam, lifeless: in the past poolie suggested to use empty string instead of revid to allow push/pull of tag deletion. does adding such thing to current tag dict will be considered a format break?20:42
bialixbtw, according to git manual if tags conflict then my tag wins over other tags20:43
bialixso bzr in the same area here20:44
bialixperhaps I should send mail to main list?20:45
jambialix: so one possibility would be to store the tags as a .weave file where the current tags is just a sorted list of lines20:47
jamadding/deleting/etc a tag is just adding a new text to this list20:47
jamthat will propogate20:48
jamsupport deletes20:48
jamsupport adds20:48
bialixso every tag will be separate file?20:48
jametc20:48
jamno, one file, sorted list of tag value pairs20:48
bialixsorted by tag name?20:48
jamyeah20:48
jamthat can conflict accidentally from regular merges, but rarely I would guess20:49
bialixis it possible to add additional metadata here? author of tag and date?20:49
bialixjam: does such weaved tags should live in .bzrmeta?20:49
jam.bzrmeta is for versioned texts that are part of the tree20:50
jamI would consider this separate20:50
jamif you put it in .bzrmeta, then I would have it .bzrmeta/tags and just a plain text file, versioned normally20:50
jamwith the main problem that tag operations must then be "bzr commit" to work20:51
bialixyou wrote "regular merge" so I've confused20:51
bialixyep, like in hg20:51
bialixand that sucks20:51
fullermdI think if you think around and around it enough times, you end up with the conclusion that versioned tags require another axis of versioning (much like editing commit messages)20:51
bialixI think you're right20:52
bialixthe more I think about this, the often I conculde this20:52
bialixexactly the same as you saud20:52
bialixsaid20:52
bialixsorry20:52
jamfullermd: right, hence putting it into a weave20:52
bialix(couple of years is old enough?)20:52
jamwhich is equivalent to a knit, but is only a single file :)20:52
fullermdAnd hey, we can put content filtering rules on that axis too, and re-open THAT argument at the same time!20:53
bialixjam: where I can read about weave for mere mortals?20:53
fullermdWell, that's just storage semantics.  It's working out the extra axis that takes the time.20:53
* bialix fears to say v.p.20:53
fullermdYou can't just store it as a .weave in the WT; that opens up all sorts of horrific bootstrap issues.20:53
jamfullermd: yep20:54
bialixI know20:54
bialixchicken-eggs20:54
Noldorinhi. i'm trying to run loggerhead on my server, and i'm getting the following error:21:07
Noldorin File "D:\inetpub\vhosts\noldorin.com\httpdocs\python\loggerhead\loggerhead\main.py", line 24, in <module>  from bzrlib.plugin import load_plugins ImportError: No module named bzrlib.plugin21:07
Noldorinany ideas what i need to do please?21:07
bialixNoldorin: what version of bzr are you using?21:08
Noldorin2.0.1 i believe21:09
Noldorinbut i guess it's the version of bzr that loggerhead wants to use that is important21:09
bialixare you installed standalone bzr.exe or python-based? you need the latter21:11
=== BasicPRO is now known as BasicOSX
Noldorinbialix: since it's on the (shared) server, i guess it indeed has to be the latter21:12
bialixNoldorin: bzr version output tells you the truth21:12
Noldorini guess i just need the entire source for bzr?21:12
Noldorinthe version that loggerhead uses21:12
bialixyou can download python-based installers from LP21:13
bialixfor your python version21:13
bialix2.4 - 2.621:13
Noldorinbialix: it's a shared server, so the best i can do is transfer files via ftp21:13
bialixI don't understand what it means "shared server"21:13
kirklandi'd like to use bzr export, but --exclude debian/21:14
kirklandis that possible?21:14
kirklandi see --filters, but I don't understand how to use it21:14
bialixkirkland: --filters is different21:14
kirklandbialix: okay ...  so is there any convenient way to --exclude?21:15
bialixkirkland: it seems there is no21:15
bialixdelete debian after the export?21:16
Noldorinbialix: virtual server? i.e. a non-dedicated one - i have to access it via a control panel21:16
bialixNoldorin: so how you installed loggerhead?21:17
Noldorini haven't exactly yet21:17
Noldorinbut the server has isapi-wsgi21:17
Noldorinso i think i can just run loggerhead/main.py21:18
bialixso put there bzr sources from tarball21:18
=== davidstrauss_ is now known as davidstrauss
bialixbut I fear this is wrong path21:18
Noldorinthat's what i was thinking yeah21:18
Noldorinwhat do you suggest then?21:18
bialixI have no real experience with VPS21:20
bialixtry eith bzr sources first21:21
bialixall you need is to put bzrlib in the same folder where main.py resides, perhaps21:21
=== emmajane is now known as emmajane-joins-t
=== emmajane-joins-t is now known as emmajane-bandwag
=== emmajane-bandwag is now known as emmajane
mathiazHi!22:03
jamhi mathiaz22:03
mathiazHow do you handle a directory that has been moved during a merge?22:04
mathiazin my use case, upstream has introduced its own debian/ directory22:04
mathiazand that conflicts with the existing debian/ directory in the ubuntu branch22:04
mathiazhow can I solve this (ie keep the debian/ directory from the ubuntu branch)?22:05
abentleylifeless: do you have an estimate of how long it would take to fix bug #375013 ?22:08
ubottuLaunchpad bug 375013 in rosetta "Cannot commit directly to a stacked branch" [High,Triaged] https://launchpad.net/bugs/37501322:08
lifelessabentley: a week or more22:08
abentleythumper: ^22:08
thumperlifeless: why?22:08
abentleylifeless: Thanks.22:08
thumperlifeless: is that just a gut feel?22:09
lifelessthumper: because we have to make commit use the same data integrity checks fetch does22:09
thumperlifeless: or have you some background in it22:09
thumperlifeless: this is something I'd dearly love to see fixed22:09
lifelessthumper: and that is best done by moving commit to the same api, which will reduce overall code size too22:09
lifelessbut that means revving the streaming api to meet commits needs22:10
lifelessyou /might/ be able to hack something up in only 2 or three days by duplicating the checks and the extra data fetches22:11
lifelessbut I would guarantee that doing it that way will lead to bugs and concurrency issues (such as smart server protocol errors )22:11
lifelessnot to mention that duplicating code adds technical debt22:11
lifelessthumper: to summarize, this is a deep defect, not UI level, fixing [so that it stays fixed] requires care and addressing some 4+ year old api issues.22:16
thumperlifeless: ok, thanks for the summary22:17
lifelessturning off the error is easy, one-line. Preventing the repo corruption that that causes is the hard part ;)22:18
mathiazone solution to my problem (completely different debian/ directories for the upstream and ubuntu branches) would be to have an intermediate branch (upstream-nodebian) where the debian/ directory would be removed22:23
mathiazand then merge the intermediate branch into the ubuntu branch - would this work for subsequent merges?22:24
jelmer_mathiaz, I think you would still get conflicts when you merge in changes from upstream to debian/22:26
jelmer_(somebody please correct me if I'm wrong)22:26
mathiazjelmer_: well - in that particular use case, I don't care about the upstream debian/ directory22:26
mathiazjelmer_: ie changes from the upstream debian/ directory should not be merged into the ubuntu debian/ directory22:27
jelmer_mathiaz: when you merge from upstream and upstream has modified debian/ since your last merge, bzr will attempt to apply the changes but will be unable to find the relevant files so will create conflicts22:28
mathiazjelmer_: ah ok. This will happen when you merge the upstream branch into the upstream-nodebian branch?22:28
jelmer_mathiaz: dealing with those conflicts shouldn't be too hard though if you don't care about what upstream did22:28
jelmer_mathiaz: yes22:29
mathiazjelmer_: ok - in which case  we know what we wanna do about those conflicts22:29
mathiazjelmer_: now if upstream decides to remove their debian/ directory from their upstream branch, can we merge directly the upstream branch again (instead of upstream-nodebian)?22:30
jelmer_mathiaz: yeah22:30
mathiazjelmer_: merge the upstream branch directly into the ubuntu branch22:30
mathiazjelmer_: and there shouldn't be any problem in terms of branch history?22:31
jelmer_mathiaz: *nod*22:32
jelmer_mathiaz: actually, you shouldn't need a upstream-nodebian branch either - you should be able to merge upstream directly and resolve the conflicts there22:32
mathiazjelmer_: well - How do I resolve the conflict then?22:32
mathiazjelmer_: the ubuntu debian/ directory is moved to debian.moved/22:33
mathiazjelmer_: and the upstream debian directory is added as debian/22:33
jelmer_mathiaz: Remove the existing debian/ directory and then "bzr mv debian.moved debian"22:33
* mathiaz tries22:33
jelmer_mathiaz, after that, you should be able to resolve the conflicts and "bzr status" should no longer list any changes to debian/22:33
mathiazjelmer_: http://paste.ubuntu.com/331989/22:34
NfNitLoopmathiaz: you should've done bzr rm debian22:36
jelmer_mathiaz: try "bzr rm debian" before the mv22:36
mathiazjelmer_: right - bzr remove --force debian/ works as expected22:36
mathiaznow - what is going to happen during the next merge if upstream updates its debian/ directory?22:37
mathiazwill the ubuntu debian/ directory be moved to debian.moved/ again?22:38
NfNitLoopI would've assumed that since you've locally deleted the debian/ directory, it wouldn't try to merge into yours.  Don't files/dirs have unique IDs behind the scenes?22:38
jelmer_mathiaz: I'm not entirely sure but I think you'll get files in the root directory named control.THEIRS or something like that22:38
jelmer_you'll have to remove those files and run "bzr resolved"22:39
* NfNitLoop makes some test cases. :)22:39
NfNitLoopOh, weird.  Even though I deleted the directory explicitly in the local branch... it still moved the local version to *.moved22:43
NfNitLoopwhen changes happen in that dir upstream.22:43
NfNitLoopThough, I guess it's good that bzr isn't just swallowing changes that you might've cared about.  *shrug*22:45
mathiazNfNitLoop: well - in my use case here, I'd rather discard any change made by upstream in their debian/ directory22:46
NfNitLoopUnfortunately it looks like you'll have to do that every time they make a change in their debian/22:47
mathiazNfNitLoop: ok - we can script that anyway. Thanks for helping with this!22:49
rbriggsatuiowawhat are the differences between "Contents conflict in" vs "Text conflict in"?22:58
shakaranHi, I have a bazaar repository, but I need convert it to a SVN. It is possible?23:00
lifelessyes23:00
lifelessthe bzr-svn plugin can do this for you23:00
shakaranCould you give me the exact command or some guide for read?23:01
Noldorinhi. what do i need to include in my path to reference bzrlib.plugin ?23:03
NfNitLoopshakaran: http://tinyurl.com/yjoa4w2  ;)23:05
shakaranNfNitLoop: lol xD23:06
NfNitLoopNoldorin: as in, you want to 'import bzrlib.plugin'?23:07
NoldorinNfNitLoop: the exact line is: from bzrlib.plugin import load_plugins23:09
NfNitLoopHrmm.   bzrlib.plugin is already in my path on my server.23:09
NfNitLoopdid you install bzr with the install script, or just unpack it into a directory?23:09
NoldorinNfNitLoop: just unpacked it to a dir. problem is that i'm on a shared server, so the best i can do is include it in my path it seems23:10
NoldorinscriptDir = os.path.dirname(os.path.realpath(__file__))23:10
Noldorinsys.path.append(os.path.realpath(os.path.join(scriptDir, '../../bzrlib/')))23:10
Noldorinthat's what i currently have23:10
NfNitLoopHrmm, I'm not sure.23:12
NfNitLoopI remember not having much luck with mucking with paths at runtime in Python.23:12
NoldorinNfNitLoop: shouldn't including bzrlib in the path like that be enough?23:12
Noldorini see...23:12
NfNitLoopI would think so, yeah.23:12
NfNitLoopbut I'm not an expert on that bit. :)23:12
Noldorinfair enough23:15
Noldorinthanks anyway23:15
Noldorini'm just not sure how else to import that module in a shared server env23:16
lifelessNoldorin: you dont want bzrlib in the path23:21
lifelessNoldorin: you want the directory that bzrlib is in, in the path.23:21
Noldorinoh i see23:22
Noldorinheh23:22
Noldorinlifeless: that does the trick. now it can't find paste however23:23
Noldorinthere's a dir called Paste-1.7.3 in the same dir as bzrlib23:23
lifelesswhats inside that directory23:25
NfNitLoopPonies!23:25
Noldorinlifeless: setup.py, paste/, docs/, etc.23:26
blueyedIs there any way to merge from an uncommon ancestor (with the same content)? bzr adds a lot of conflicts since files/dirs are considered to be new/different.23:26
lifelessNoldorin: then you want to add the Paste-1.7.3 dir to the path too, at a guess.23:26
Noldorinright ho23:27
Noldorinlifeless: now i'm getting an even stranger error:23:30
NoldorinImportError: cannot import name __version__ ".23:30
Noldorinfrom the line:23:30
Noldorinfrom loggerhead import __version__23:30
lifelessthat means that there is a directory 'loggerhead' that looks like a module but isn't the right loggerhead module.23:31
Noldorinlifeless: indeed it appears so.23:33
Noldorini'm afraid i'm going to have to go through a list here....heh23:33
NoldorinImportError: No module named pkg_resources ".23:33
lifelessjam: Bug 43700323:36
ubottuLaunchpad bug 437003 in bzr/2.0 "Failure to autopack because of 'missing inventories'" [High,Confirmed] https://launchpad.net/bugs/43700323:36
lifelessjam: nvm23:37
Noldorinlifeless: any ideas?23:40
lifelessNoldorin: you are missing some dependency23:41
lifelesspossibly setuptools o r something23:41
Noldorinlifeless: not according to the loggerhead readme23:42
Noldorinoh gosh...23:42
Noldorinbut i'll need all the bzrlib dependencies too, eh?23:42
lifelessNoldorin: pkg_resources is a dep of paste, I think.23:44
* Noldorin looks for a list of bzr dependencies23:44
Noldorinoh i see23:44
Noldorinlifeless: it doesn't seem to be available as a download though...23:45
lifelessits not called pkg_resources. I think its setuptools23:45
Noldorinright23:45
Noldorinlifeless: right, so simpleTALs is giving me some trouble23:53
NoldorinImportError: No module named simpletal.simpleTALUtils ".23:53
Noldorindespite having included the dir in my path23:53

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