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

troi'm trying to convert a svn repository into a bzr one. i just did "bzr svn-import --all --trees http://...mysvnrepo/project ../project-bzr", but there are no working trees in ../project-bzr. it's a repository, in fact. how do i get a branch from that?00:22
troi'm using bzr 1.7 and bzr-svn 0.4.1300:22
jelmertro, are any branches created?00:23
trojelmer: i'm not sure. it's just a .bzr directory inside. the size looks about right00:39
troand i saw it retrieving revisions one by one00:39
jelmertro, did you specify --scheme ?00:39
tronope. i have no trunk/branches/tags. it's just one directory per project00:40
troshould i have done "--scheme none"?00:41
trojelmer: would it work better if i had an svnadmin dump?00:51
jelmertro, if you have just one directory per project, use "bzr branch"00:52
jelmerrather than svn-import00:52
jelmersvn-import is for complete repositories00:52
troah00:52
trojelmer: tried bzr branch. got: "bzr: ERROR: bzrlib.plugins.svn.core.SubversionException: ("REPORT of '/svn/!svn/vcc/default': Chunk delimiter was invalid (http://glyphy.com)", 175002)"01:00
troand then a stacktrace01:00
jelmertro, I don't recall seeing that error before - any chance you can file a bug?01:01
jelmertro, are you on Mac OS X?01:01
trojelmer: ubuntu01:02
trojelmer: should i file a bug in the standard bzr place? https://bugs.launchpad.net/bzr01:04
troor is there a bzr-svn specific place too?01:04
jelmerlaunchpad.net/bzr-svn01:04
jelmertro, is this a public repository?01:05
trojelmer: no, sorry01:05
troit's using http basic01:06
troi pointed bzr branch to a working copy. should i have pointed it to the repository instead?01:07
trojelmer: i'll try with a public repo as well01:10
troworks fine with a public  repository on the same server01:11
jelmertro, it's hard to do anything about it if I can't reproduce it :-/01:12
trojelmer: i understand. i'll try a few things here. i'll see if i can create a new private repo where the problem occurs. then i could just give you a password to that01:15
trojelmer: works fine with a simple project in a private repo. darn.01:25
jmllifeless: did I return your umbrella?01:26
trothe one i'm trying to branch has lots of renames/moves and additions/deletions01:27
trojelmer: bug for this: https://bugs.launchpad.net/bzr-svn/+bug/27564301:28
ubottuLaunchpad bug 275643 in bzr-svn ""Chunk delimiter was invalid" on remote branch" [Undecided,New]01:28
jelmertro, This shouldn't be related to that01:28
jelmertro, The error comes from within the Subversion layer01:28
trojelmer: do you think downgrading to subversion 1.4 would help?01:29
lifelessjml: I think not01:30
jelmertro: it could - I'm not sure what's triggering this error01:31
tromeanwhile, i've got an svnadmin dump file. can i create branches out of that?01:31
jmllifeless: ok. thanks.01:31
jelmertro, not with bzr-svn (it will just create a repository from the dump file and access that like it is currently)01:31
jelmertro, what you may want to try though is to access the repository locally01:32
jelmertro, specify a file:// url rather than a http:// url01:32
trojelmer: the remote svn repository is hosted. i'm not sure if i'll be able to install the dev svn libraries there01:34
trooh, but i can certainly recreate the repo locally01:34
jelmeryeah01:34
alperkanathey there.. anyone here using nginx with bazaar ?02:14
trojelmer: i recreated the remote repository locally from a "svnadmin dump". i can create a branch now, but not all revisions are there. many were skipped.02:20
jelmertro, skipped in what sense?02:21
jelmerhi alperkanat02:21
trothe revnos don't map 1:1. bzr revision 1 started at svn revision 702:21
alperkanatjelmer: hi ?02:21
jelmertro, that's correct - see the FAQ02:22
jelmeralperkanat, just replying to your "hey there..."02:23
alperkanatoh ok :)02:23
trojelmer: ah. in that case it worked fine02:23
troi wonder what was wrong, though. i'm sorry, i can't make that repo public, but maybe i can help you gather some more debug data?02:25
pooliehello lifeless02:45
lifelesshi poolie03:09
lifelesshey, tomorrow, want to spend the day together, your place?03:09
pooliethat would be great03:09
lifelesscool, midmorning start?03:09
lifelesss/start/arrival/ (clarity FTW)03:10
pooliehm03:11
pooliei'm just imagining you saying "so i woke up at 5am therefore midmorning is 7:10, so get out of bed"!03:12
poolie:)03:12
lifeless:>03:12
pooliebut about 9:30-11:30 would be fine :)03:12
=== vk5foss is now known as kgoetz
lifelessmmmm pie03:35
dleeApologies, I probably missed this:  Which is the right 1.7 release Windows installer bzr version now?04:01
pooliedlee, i think there's no 1.7.rc1 installer yet04:02
poolieso 1.7 would be the way to go04:02
dleeThe "Windows installer(s_04:03
dleeinstaller(s)" page shows an rc1, but I thought that was older than 1.7 release.04:03
pooliethis one -> https://edge.launchpad.net/bzr/+download ?04:05
poolieyes that is kind of confusing04:06
dleeYes that one04:07
poolieyou want bzr-setup-1.7-1.exe, second from the top04:07
pooliei'm just going to file a bug that this table is hard to understand :)04:07
dleeThe Instructions link, after Windows installer(s), still only lists 1.6.1.  I seem to have gotten a developer interested in Bazaar, but I've been having him wait for the 1.7 installer.  Thanks for the bug; I didn't think of filing that.04:08
dleeThanks much04:13
* dlee goes to update some systems...04:13
pooliedlee, it's bug 275677 if you'd like to add anything04:14
ubottuLaunchpad bug 275677 in launchpad "downloads should be grouped by release, not series" [Undecided,New] https://launchpad.net/bugs/27567704:14
pooliespiv, i just noticed you have 6 approved patches...04:54
pooliemarkh: i was going to try making a 1.7.1rc1 exe soon06:36
poolieunless you're doing it at the moment, in any case the practice and making sure it's documented might be useful...06:36
vilahi all!06:55
pooliehello vila06:55
pooliespiv, ping?07:11
spivpoolie: pong07:13
pooliespiv, how's it going?07:17
pooliewant any reviews?07:17
markhpoolie: I haven't started yet.  By all means have a go and see if the wiki is up to date.  It is fairly complicated though - eg, you need c compilers, etc07:19
poolieis it complicated to do, or just to set it up?07:19
markhjust setup really07:20
markhsourcing and installing the various packages etc - but once the environment is setup it is easy07:20
pooliei was thinking about getting a shared virtual server for us somewhere07:21
poolieand we could set it up on that, then just turn the crank when a release comes out07:21
markhthe setup process could do with some work to make it more reliable though - eg, the "official" setup process should know exactly which "optional" components it wants and fail if they don't exist.  Nothing will prevent a build going out without paramiko, for example.07:22
markhthat would be fine with me.  You will need MS Visual Studio on it07:22
markhwell07:22
markhthe freebie one might work to actually :)07:23
vilapoolie: is http://paste.ubuntu.com/51983/ ok as a NEWS entry for python-2.6 ?07:29
poolievila, i think 'works with python2.6' is a new portability feature07:30
vilahttp://paste.ubuntu.com/51985/07:31
vila:)07:31
poolieand the notes to developers about how to support it should be separate07:32
poolieif you see what i mean07:32
vilaok07:32
vilaso that part should stay in INTERNALS right ?07:33
poolieright07:33
vilaOverall, thins have evolved in the right direction, with recent modifications on python, less of my modifications are needed. Since you voted 'tweak', I'll submit the good bits to pqm and reply to your review to explain the differences07:35
vilas/thins/things/07:35
poolieok, great07:35
vilaoh, and my patch about proxies has been merged in python too ;-)07:36
* vila grab some coffee07:36
lifelesspoolie: see you tomorrow07:54
pooliesee you07:54
pooliespiv, are you still around?08:29
poolievila, i have some reservations about triaging bugs for the sake of it09:10
poolieat the end of the day would you rather classify 20 bugs or fix one?09:11
vilaI'm all ears09:11
poolie(the proportion may vary)09:11
pooliei guess i'd say that reading them is good09:12
vilaI think I should begin fixing when the new queue is low enough. The rationale being that duplicates can be avoided doing so and people will be more responsive if their bugs are triaged when there are still hot09:12
pooliebut, if you're not going to act on it now, is recategorizing it really useful09:12
vilabut if you think that's counter productive I'll stop doing that09:13
vilamy main motivation is that I find too many 'New' bugs depressing :-/ More than to many 'Triaged' bugs09:14
vilas/to/too/09:14
vilaHaving bugs triaged and/tagged means, to me, that fixing them is therefore more organized. And also that reading the 'New' bugs doesn't have to done again09:17
vilas/to done/to be done./09:17
=== astrobunny|afk is now known as astrobunny
beunojames_w, congrats on your MOTUship. Long overdue ;)10:00
james_wthanks beuno10:01
=== thumper_laptop is now known as thumper
jmlmarkh: have you filed a bug about those failed uploads?10:12
vilaPQM blocked at 'merge successful' again, I /msged mthaddon, but I'm not sure he's online...10:19
=== Ng_ is now known as Ng
thumperOdd_Bloke: ping10:30
Odd_Blokethumper: Pong, for something brief.10:32
Odd_BlokeI'm at work ATM.10:32
jmlOdd_Bloke: that never stops us from talking on IRC! :P10:45
Odd_BlokeYeah, but your boss is much less likely to walk into the room in which you're working. ;)10:46
jmlOdd_Bloke: he's on most of the IRC channels though :)10:46
Odd_BlokeTouche.10:47
rawler_does anyone know a nice way to rebase and drop a revision..10:49
rawler_basically, I have two branches, whereas HEAD@A is the branch-point of branch B..10:49
* thumper stabs config-manager10:50
thumperlifeless: oi10:50
thumperlifeless: how am I supposed to run "make check" for pqm on a clean hardy machine?10:50
rawler_I have a bunch of revisions on top of the branch-point in branch B, but would like to drop one close to the branch-point.. any ideas?10:50
thumperlifeless: config-manager says it needs pybaz, and pybaz says "isn't installable"10:50
Odd_Blokethumper: You can move the imports for config-manager to where they are actually used.10:52
thumperOdd_Bloke: got a branch for that?10:52
james_wthumper: you are using config-manager from the hardy package?10:54
thumperjames_w: config-manager: Depends: pybaz but it is not installable10:54
james_wsucks10:54
thumperjames_w: that is what I get if I try to install config-manager10:54
james_wbug 23595210:55
ubottuLaunchpad bug 235952 in config-manager "Not installable in Hardy (missing dependancies)" [Undecided,Confirmed] https://launchpad.net/bugs/23595210:55
* thumper stabs unsupported packages10:55
Odd_Blokethumper: I don't think so, no.11:00
Odd_BlokeIt's quite obvious.11:00
* thumper throws in the towel for today11:00
thropehi - i'm trying to checkout a google code svn repository using bzr-svn11:08
thropebut I'm having toruble authenticating11:08
thropeah ok - got it sorry for the noise11:10
Odd_Blokethrope: Google Code is a PITA, don't worry about it.11:10
=== astrobunny is now known as astrobunny|afk
james_werm, I didn't think config-manager worked with other systems as well.11:12
james_wIt only ships an arch implementation though11:13
Odd_Blokejames_w: It has a bzr implementation.11:13
james_wOdd_Bloke: ah yeah, it's just hidden. Thanks.11:15
Odd_Blokejames_w: It's basically a mess. :p11:22
thropeoh - turns out it didnt remember my password on the google code svn checkout... also I have to enter it 3 times12:15
thropeany idea whats going on there?12:15
jelmerthrope, bzr's authentication layer doesn't cache passwords yet12:18
thropeoh12:18
thropeany idea why I need to enter it 3 times?12:19
thropehttp://pastebin.com/m7c5b022912:20
jelmerthree connections are made to the server12:22
jelmerbut since bzr doesn't cache the password, you have to re-enter it each time it needs the password12:22
thropeoh12:22
thropeany idea when the caching feature migth be added?12:22
thropeit makes it a bit of a pain to work with obviously12:23
jakobbthrope: http://tinyurl.com/4zl6ae12:23
thropegreat thanks12:24
thropehaving trouble getting it to work actually12:30
thropeis there an example anywhere for use with googlecode?12:30
thropehttp://pastebin.com/m39dadb2a12:31
thropeI tried with and without path specified but it doesnt seem to work12:36
ryanhaighis there some way to compact a bzr branch or to remove files from previous revisions, i have a branch which i was using locally which has a lot of images in it that are regularly modified, i have since removed those files and added them to the ignored files but they are still in previous revisions12:39
bob2there's no ui for it atm12:39
thropein fact - even if I take the password out of the authentication.conf and enter it by hand - I can't authenticate if there are any settings in authencation.conf12:39
thropeit seems to be the user setting in authentication.conf that prevents it from working even typing the password in by hand12:40
thropehas anyone used bzr-svn with googlecode svn repository?12:41
jelmerthrope, yes, people have used it with google code before12:41
thropejelmer: any idea what the settings in authentication.conf should be?12:42
jakobbthrope: what's the full url to the repository you're trying to access?12:42
thropehttps://pyentropy.googlecode.com12:42
thropehttps://pyentropy.googlecode.com/svn/trunk i guess12:42
jakobbso... why did you put 'project' in the host then?12:43
thropesorry i replaced the name of the project in the config files i was pasting12:43
jakobbaah, oke.....12:43
thropeif i have scheme=https and host=pyentropy.googlecode.com in the file, then I can still log in typing in my password12:44
thropeas soon as I add the extra line user=user12:44
thropethen I can't log in anymore12:44
jakobbI have a suspicion...... let me check......12:45
thropebzr: ERROR: Permission denied: ".": OPTIONS of 'https://robince@pyentropy.googlecode.com/svn/trunk': authorization failed (https://pyentropy.googlecode.com)12:45
jakobbthrope: what's the error you get?12:45
jakobbright... that's what I wanted to know12:45
jakobbwhat command do you give??12:45
thropebzr up12:45
thropeit is a checkout in a shared repository12:46
thrope(ie following the manual for svn use12:46
jakobbhmmm.... that kills my suspicion12:46
thropeif I remove the user line it is fine... with the user line I get the error12:47
thropei'm pasting the password so thats the same every time12:47
thropemaybe its becuase I checked out with https://user@host):12:48
thrope.//branch/branch.conf:bound_location = https://robince@pyentropy.googlecode.com/svn/trunk12:48
jakobbit would be surprising if that were the problem12:51
ryanhaighso is there no way to do what i asked about, compacting the branch/removing files from previous revs?12:52
jakobbryanhaigh: i don't think there are standard ways of doing this12:53
ryanhaighok thanks for the response anyway12:53
jakobbbut there may be some tricks; i'm not familiar enough with version control stuff to think of something12:54
jakobbryanhaigh: maybe there is a possibility to create a seperate branch, with the images removed??12:58
jakobband then continue with that branch12:59
jakobbthrope: how do things work for a clean checkout? does that work with your auth.conf set?13:01
thropejakobb: clean checout: bzr: ERROR: Invalid http response for https://pyentropy.googlecode.com/svn/trunk/.bzr/branch-format: Unable to handle http code 401: Authorization Required13:21
jelmerthrope, that's bug 25661213:31
ubottuLaunchpad bug 256612 in bzr "should handle 401 (unauthorized) response" [Medium,Triaged] https://launchpad.net/bugs/25661213:31
thropejelmer: ah ok - it's a bit confusing that svn+https has a deprecation warning, but is actually still required for accessing https repositories13:34
thropein any case - trying a fresh checkout authentication still fails if I have user set in authentication.conf13:35
jelmervila, ping13:35
vilajelmer: pong13:36
vilaoh, 256162 ?13:36
jelmerany idea what could be going wrong there? ^^13:36
jelmervila, Well, that too :-)13:36
jelmerthrope, what happens if you don't set a user in authentication.conf ?13:37
thropeit works13:37
thropebut i have to entter the password each time13:38
jelmervila, any idea what could cause that?13:38
thropeah actually it doesn't work13:38
vilajelmer: It would be easier for me if I could reproduce :-/ But when I try to install libsvn-dev I get:libsvn-dev:13:38
vila Depends: libaprutil1-dev but it is not going to be installed13:38
thropewith no user, and password option it still doesn't work - i enter the password 3 times just like when it it is working then I get the permission denied13:39
jelmerwhat if you explicitly install libaprutil1-dev ?13:39
jelmerah, ok - so that's no different13:39
vilaibaprutil1-dev:13:40
vila Depends: libpq-dev but it is not going to be installed13:40
jelmervila, and what if you install that explicitly ?13:40
vilachasing13:41
vilaibpq-dev:13:41
vila  Depends: libpq5 (=8.3.3-0ubuntu0.8.04) but 8.3.3-1~gutsy1 is to be installed13:41
vilalipq5 *is* installed 8-/13:41
jelmerwhat about apt-get install libpq5=8.3.3-0ubuntu0.8.04 ?13:42
jelmeror is there a reason it's still at that older version?13:42
thropei'm on a mac incidently - but I don't think that should make any difference here13:42
vilajelmer: no idea, I never played with those13:44
vilajelmer: roughly, regarding these 401, will it help if bzr-svn get a AuthError inheriting from ConnectionError instead of InvalidHttpResponse (really unfortunate)13:45
jelmervila: The problem is, it fails before bzr-svn is involved13:45
jelmerbzr needs to continue probing with other formats even when the first fails13:46
vilahmm13:49
vilajelmer: the problem is that if we catch the 401 then nobody will see it (if bzr-svn is not used) :-/13:55
jelmervila: we should catch the 404 and store it, try the other backends and if they fail as well, raise the first error13:56
vilano, look at bzr.dir.find_format, the final error is already NotBranchError(path=transport.base)13:58
vilaso the 401 should somehow becomes a NotBranchError, catching ConnectionError may fit13:59
vilabzrdir.probe_transport may be too restrictive or asking too much by catching only NoSuchFile14:00
jelmervila, we should catch *any* errors that happen during probing14:01
jelmerand later raise the error raised by the first format14:02
vilaimagine  a server handling format2, we try format1 (NoSuchFile), format2(bad password), format3 (blah), the user will have a hard time understanding why we say NoSuchFIle when he mistype his password...14:03
viladamned if you do, damned if you don't14:04
jelmerah, true14:05
jelmerbut that assumes the servers errors are correct14:05
jelmerwhile some servers return incorrect errors14:06
vilalet's start with correct errors :) But yes, there is a weakness here14:07
vilaThe error is correct here, we use HTTP and we don't provide the right credentials so we fail14:08
vilaIn that case only bzr-svn knows the right credentials, but that's not the ideal answer either :-/14:09
vilaMay be we should collect *all* the errors and display them if no format can be found (that will be correct but ugly...)14:10
vilajelmer: the simplest solution seems to be that bzr-svn provides the credentials to bzr (so that bzr can happily fail (still ugly but nobody sees it :-( ))14:13
vilathat should also address the "i enter the password 3 times"14:14
awilkinsHmm, while on the general subject, I couldn't do an anonymous branch of an SVN repo because it insisted on asking me fo auth which I didn't have14:17
awilkinsDoes it really need to ask for write-access to branch, or it this a peculiarity of the repo in question forcing https?14:18
jelmervila, yeah14:19
jelmervila, except bzr has to support prompting for Basic auth passwords then :-)14:19
vilaIt does prompt for passwords, it doesn't prompt for users14:20
=== alperkanat is now known as alperkanat|away
vilaall right, libsvn-dev is happy now, don't now what happened with libpq5 there, it looks like some gutsy dependency was still active14:27
vilajelmer: so what version should I get ? lp:bzr-svn ?14:27
jelmervila, lp:~jelmer/bzr-svn/0.414:28
vilajelmer: wil I be able to run it from linux and OSX from the same source directory ?14:29
strk_awaybzr: ERROR: Cannot commit to branch BzrBranch6('file:///usr/src/gnash/gnash-head/'). It is bound to BzrBranch6('file:///usr/src/gnash/bzr/trunk/'), which is bound to sftp://strk@bzr.savannah.gnu.org/srv/bzr/gnash/trunk/.14:29
vilastrk_away: only one level of bind is allowed14:29
strk_awayso unbind and then update ?14:30
vilaunbind and then push I'd say14:31
strk_awayuhm.. I was used to 'commit' for an automatic push, what am I doing wrong14:32
=== strk_away is now known as strk
strksupposedly my workin tree is a checkout of bzr/trunk (local) which is bound to the remote one14:32
awilkinsA checkout is a bound branch14:33
strkso what's the deal with max one level of bind allowed ?14:33
awilkinsI'd imagine it's there to hedge against both complexity and the possibility of making an circular bind14:34
strkgah.. well, I committed these changes and have NO idea how to push upstream now :/14:35
awilkinsstrk: bzr push <my upstream branch>   ?14:35
ProdocGood afternoon14:36
ProdocThis might be a dumb question but is it possible to use bzr in a portable manner on e.g. a USB stick under Windows? I was only able to find an installer.14:39
beunoProdoc, sure, you can run from source14:39
awilkinsProdoc: The "exe" version should be runnably portably14:39
awilkinsProdoc: The "source" version needs python to be installed (or a portable python?)14:39
Prodocawilkins: by the 'exe' you mean just copy the folder to a usb stick after the installation?14:40
awilkinsProdoc: AFAIK that will work ; you might also want to set up a quick batch file or something to start a command prompt with the binary on the PATH14:41
awilkinsOr maybe just start "bzr shell"14:42
* awilkins thinks about trying this also14:42
awilkinsSounds good for adjusting server config, etc, in a versioned way impromptu-stylee14:42
ProdocI was wondering if it'll start complaining about the .conf file located in '\Documents and Settings\*user*\Application Data\bazaar\2.0'14:43
awilkinsHmm.14:43
* awilkins moves folder14:43
awilkinsIt seems to recreate it, but not whine about it's absence14:45
strkI feel like I'm about to loose all my changes14:45
strkkeep getting errors on every operation14:45
strkpush: ERROR: Operation denied because it would change the main history, which is not permitted by the append_revisions_only setting on branch "sftp://strk@bzr.savannah.gnu.org/srv/bzr/gnash/trunk/".14:45
strktrying to bind to the remote branch directly now14:46
ProdocThe file only contains the user info (name+email). Not something you want to loose though. Maybe it'll accept the file if it's located in the same folder as bazaar?14:46
awilkinsProdoc: If you also set BZR_HOME in your "start me up" file, it will take the conf from there  http://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html#environment-variables14:48
Prodocah, cool14:49
Prodoclet's see if it accepts relative paths14:50
Prodocow, darn...just realized that I'll probably don't have the proper rights to set the PATH14:51
awilkinsProdoc: You should be able to set PATH for your current user14:51
awilkinsThere's a system and  user PATH ; user PATH is often not set be default though14:52
awilkinsWindows appends user PATH to system PATH14:52
awilkinsIt's not permanent anyway ; you're only setting the ENV variable in the context of the shell you open14:53
awilkinsCreate a shortcut to %comspec% /k <batch file>14:55
Prodocyeah, but that'll get lost as soon as you start a different process, so using it in combi with eclipse isn't going to work14:55
awilkinsIt might still work if you start the eclipse instance from the shell14:55
awilkinsThat's all you're doing for bzr anyway ; starting it from an environment14:56
awilkinsWhich is why it get the ENV vars from that environment14:56
* Prodoc wonders if it's possible to set this stuff in eclipse itself...14:57
* Prodoc goes and check14:57
awilkinsIsn't the email addy of the user in Eclipe a pref in bzr-eclipse?14:57
Prodocyou can set it by bzr whoami14:58
awilkinsProdoc: It's a pref in the Eclipse plugin too14:58
Prodocah14:58
Prodocproblem solved then :D14:59
robstahiya15:01
robstaseems i encountered something, bzr bails out on a "diff" operation15:01
robstawhat can i do to make the bugreport most useful?15:02
Prodocdarn, the latest eclipse plugin has problems15:07
awilkinsProdoc: What kind of problems?15:08
ProdocIf you try to go to the settings you'll get a big 'The current displayed page contains invalid values' error15:08
awilkinsProdoc: But you can't set the values?15:09
Prodocnope15:09
awilkinsProdoc: Which version are you using ; that should be fixed in the latest dev snapshots15:09
Prodoc1.1.015:10
Prodocwith bzr-xmloutput 0.8 and eclipse 3.4.115:10
Prodocfixed it15:11
awilkinsHmm. That version should work. I've been using source, because I'm on Callisto and the UI stuff isn't compatible ; I've got a patched branch15:11
ProdocI managed to set the 'Executable' value after a couple of tries15:12
Prodocthat seems to be the cause of the problems15:12
Prodocnow everything is available again without the errors15:12
Prodocit shouldn't be a requirement though, if it's available in the PATH15:13
awilkinsProdoc: It's because it defaults to "bzr" and I don't think java applies PATHEXT15:14
awilkinsAnd Windows knoweth not what to do with #!/bin/python15:14
pcc1hello, after upgrading from 1.3 to 1.5, htttp transport no longer works for me (seems to be trying to use the smart server): "bzr: ERROR: Transport error: Server refuses to fullfil the request" how can I force it to use the dumb server?15:25
Peng_pcc1: "bzr branch nosmart+http://example.com/..."15:25
Peng_pcc1: You should fix your web server too.15:26
pcc1unfortunately I don't run it15:26
Peng_Well...you should yell at whoever does. :P15:26
Peng_Bazaar will try to POST to http://.../your/branch/.bzr/smart. If the server returns a 404, it will gracefully fall back to using dumb HTTP, but your server seems to be doing something weird instead.15:29
pcc1it looked like it was returning a 40315:30
Peng_Oh15:30
pcc1perhaps bzr should downgrade if it gets anything other than 20015:31
Prodocawilkins: too bad, the Eclipse plugin doesn't allow you to specify a relative path for the bzr executable. Would have solved all problems in one go, no config problems and no need to set the PATH for Windows15:52
ProdocI'll file a RFE15:53
VerterokProdoc: I'm out of context (just reading the backlog), a relative path?15:53
Prodocaye, in Eclipse15:53
Prodochere you can specify the location of bzr.exe15:54
Prodocby being able to specify a relative path you can have a portable setup of bazaar with eclipse without any additional hassle15:54
VerterokProdoc: ok, that wouldd be nice. but relative to what? :) the eclipse install?, the workspace?15:55
Prodocsince the prefs are not related to the workspace I'd say the eclipse folder15:55
VerterokProdoc: actually, the prefs are stored in the workspace.15:56
Prodochmm...15:57
Prodocstill I'd go for the eclipse folder I think, the most stable factor15:57
VerterokProdoc: ok, I'll take a look about how to do that, please file that RFE ;)15:58
VerterokProdoc: Just to note, I've been playing with bzrlib.config, to add support in eclipse (i.e: to allow default username, per branch config, etc)15:58
Prodocso if you use the browse feature to find the exe you'd get an absolute path, if you fill in the location by hand (which isn't possible at the moment) and no drive letter is specified it'll be treated as a relative path15:59
ProdocVerterok: does that mean that a portable solution won't be working for long unless the feature to specify the config folder's location is added?16:00
VerterokProdoc: sure, I'll check about this relative-path thingy, it sound easy to implemente :)16:01
VerterokProdoc: not at all :)16:01
VerterokProdoc: the preference page 'll be exactly the same16:02
VerterokProdoc: the only difference is that bzr-eclipse 'll use the config facilities provided by bzrlib16:02
VerterokProdoc: so, if you have a per branch config of your email (in branch.conf or in locations.conf), it 'll use that instead of the global config16:03
Prodoc(if you missed the previous bit of the portable discussion: the config file is stored in  '\Documents and Settings\*user*\Application Data\bazaar\2.0', which isn't available anyone if you go portable)16:03
=== kiko is now known as kiko-phone
Prodocah, cool16:04
VerterokProdoc: my idea was to fallback to global config, but provided a preference page (in the project properties) to allow the customization of it :)16:05
Verteroks/provided/provide16:05
=== alperkanat|away is now known as alperkanat
robstajelmer: is there any way to work around missing ghost revs?16:10
* robsta had been wondering why svn and bzr were showing different rev# for some time anyway ...16:11
ProdocVerterok: just wondering, does the ID value in the eclipse prefs overwrite the global whoami setting of bzr at the moment?16:15
VerterokProdoc: yeap, it uses the BZR_EMAIL env var16:15
jelmerrobsta, the rev numbers being different is independent - see the FAQ16:17
jelmerrobsta, I'm not sure if there's a good workaround, lifeless/abentley/jam may be able to comment better16:17
ProdocWeird, I thought I never set that value before in Eclipse, and the value differs from the value I set by whoami. Just have made a mistake.16:17
VerterokProdoc: it default to the current user name, but you should change that :)16:22
VerterokProdoc: take a look for a use case for the config improvements: https://bugs.edge.launchpad.net/bzr-eclipse/+bug/26437816:22
ubottuLaunchpad bug 264378 in bzr-java-lib "No way to stop XMLRPC server" [High,Fix committed]16:22
VerterokProdoc: in that bug, Luis comment about his problem with the global-only config, and request the per branch config :)16:23
ProdocAh, I was starting to think you send me the wrong link ;-)16:24
ProdocRFE submitted by the way16:24
VerterokProdoc: thanks!รง16:24
robstajelmer: well, sigh, thanks anyway16:28
james_wbeuno: hey, was there a bug about the plugin installer stuff you were working on?17:30
james_wI want to dupe bug 275207 to it if there was17:31
ubottuLaunchpad bug 275207 in bzr "[usability] "bzr vis" should print message saying "you need to install brz-gtk"" [Undecided,Confirmed] https://launchpad.net/bugs/27520717:31
jfroy|workvila: https://code.launchpad.net/~jeanfrancois.roy/bzr/keychain-auth-rdonly *very* experimental17:34
vilajfroy|work: ok. I'll look at it17:37
beunojames_w, there should be. Let me find it...17:38
jfroy|workvila: it's really a hack at this point, but I wanted to prototype things. I need to port my _keychain module tests to the bzr test infrastructure17:38
jfroy|workalthough I'm guessing by things I saw that it has issues on OS X?17:38
jfroy|workI might have to rewrite the _keychain module using Pyrex as well >.>17:39
vilawhat ? Your proto ?17:39
vilaThings will be easier if you do that in a plugin, I'll look at what you did to see what is needed17:40
jfroy|workyeah, I think a plugin + refactoring in bzr is the way to go17:43
jfroy|workRoughly, I'm thinking AuthConfig should provide authentication configuration information, such as a default user name for a particular set of domains, or servers, and then have a list of credential providers capable of giving back a password given a set of connection parameters (host, port, scheme, path, user, etc.)17:45
jfroy|workThen plugins can export or register credential providers, and we can add one for the conf file itself as well.17:45
vilaThat's the idea and the user decides in auth.conf, no need to register a 'plain text' credentials provider :)17:49
vilajfroy|work: I'm off, I'll try to mail you tomorrow17:50
jfroy|workI'd rather avoid the "user decides explicitly" model, in the sense that installing the keychain authentication plugin should be considered as an indication of intention by the user for bzr to check the keychain for credentials when it needs them17:50
beunojames_w, actually, seems there's no bug17:51
james_wbeuno: thanks for looking, I'll open a bzr task on that one17:51
jfroy|workvila: np, I'll continue to play around in the branch until I figure out a design that seems to work and scale17:51
=== kiko-phone is now known as kiko-fud
=== bac is now known as bac_afk
rockstarjelmer, ping18:23
jelmerrockstar, pong18:35
abeaumonthi, trying to push to a svn repo i got an error, because the svn repo was tagged. I solved the problem with a svn-push, but now when i try to do a pull i get the same error: 'Conflicting tags:'. How can i solve that? is svn-import the command to solve that?18:38
jelmerabeaumont, did you change any tags before you pushed?18:39
abeaumontjelmer: in svn repo? yes18:40
jelmerabeaumont, remove the tags locally and pull again18:42
abeaumontjelmer: ok, it worked, i'll have to do this everytime a new tag is done in svn or i did something wrong?18:44
=== alperkanat is now known as alperkanat|away
jelmerabeaumont, yes18:45
jelmerabeaumont, the same thing would happen if the remote branch was a native bzr branch18:45
jelmerabeaumont, bzr tags aren't versioned18:45
abeaumontjelmer: oh, I see18:45
abeaumontjelmer: ok, thanks!18:45
=== kiko-fud is now known as kiko
=== alperkanat|away is now known as alperkanat
=== bac_afk is now known as bac
LeoNerdDoes bzr have an equivalent of tla/baz's "sync-tree"..? I.e. just pretend a I have some foreign merge?19:27
LeoNerdI've tried merge ; revert  but the revert even forgets the pending merges. I want to revert all the file changes -except- the pending merge.. since I know it's actuall been done anyway19:28
LeoNerdOhwait... merge -c   doesn't actually mark it, does it?19:29
luks`bzr revert .` ?19:32
luksI don't know what sync-tree does, but revert . revers all the changes but not the pending merges19:33
LeoNerdThat's not helping... it turns out   merge -c   and   merge -r 340..341   don't actually mark the mrge19:33
LeoNerdThis is ... annoying19:33
LeoNerd'bzr st' doesn't list it in pending merges19:33
luksisn't that documented on bzr help merge?19:33
uwsLeoNerd: No merge tracking for cherry picking, unfortunately19:34
luksbzr doesn't track cherrypicks19:34
LeoNerdOh...19:34
uwsbut at least it doesn't generate conflict if you cherry pick the same change twice (checks the ancestor and the resulting file contents, and if they match nothing happens)19:34
luksit doesn't fit the "the history is a DAG" scheme19:34
LeoNerduws: Ah OK... that's... probably sufficient19:35
uwsluks: everyone knows that history repeats itself!19:35
LeoNerdOK.. this is a bit annoying.. I've just moved the entire revision control system out of tla/baz into bzr because it's generally nicer.19:35
uwsLeoNerd: yeah, it sort of works for me19:35
LeoNerdOnly.. I kinda rely on those cherrypics :P19:35
nosklohello!19:45
noskloI am having trouble using bzr-svn could someone help me?19:56
nosklohere is the traceback: http://dpaste.com/81248/ Is it related to using a proxy? Does it support proxies?19:56
jelmernosklo, can you reproduce this? It looks like google code is messing up19:58
nosklojelmer, yes, it happens every time I try.19:58
nosklojelmer, I am now trying it in a machine with a direct connection to see if it is proxy-related19:59
jelmernosklo, bzr-svn uses the same library for network access as the svn command-line client, so a proxy in the middle shouldn't make a difference20:00
nosklothis seems proxy-related, since with a direct connection it worked out fine.20:00
jelmerok, strange20:01
nosklojelmer, checking proxy logs now20:01
alperkanatanyone here using bzr with mac os x leopard ?20:31
thropejelmer: is there anyway to disable the "The svn+ syntax is deprecated, " message - it comes with every operation and I think it shouldn't be deprecated anyway, since the svn+ syntax is the only way I can access my repository20:56
jelmerthrope, Nothing other than commenting it out in the source20:56
jelmerthrope, It's correct it's deprecated - it's a bug in bzr that causes it to not work for you20:57
thropeok - it's just its a bit like the message the python interpreter gives you when you type quite20:57
thrope*quit20:57
noskloit is a proxy issue. It works with a direct connection. It seems to stop at random revision number - not sure what is happening yet.20:58
jelmernosklo: what sort of request / path is failing?20:58
nosklojelmer, PROPFIND http://formalchemy.googlecode.com/svn/!svn/vcc/default HTTP/1.121:01
nosklojelmer, I think (by looking at the proxy logs) that this was the last request before fail21:01
jelmernosklo, do you still have the backtrace you got up somewhere?21:02
nosklohttp://dpaste.com/81248/21:02
jelmernosklo, can you try running something like this:21:03
jelmersvn proplist --revprop -r42 http://formalchemy.googlecode.com/svn/trunk21:03
jelmer(on the machine with the proxy)21:03
nosklojelmer, you mean on the proxy server?21:04
nosklojelmer, I ran it on both machines, the one behind the proxy and the one with direct connection. Both returned this: http://dpaste.com/81267/21:06
jelmerhmm, so I wonder if the proxy broke on a particular revision21:09
nosklojelmer, problem is revision number disappears from the screen when the traceback is printed21:11
johanI'm doing a bzr checkout of a bzr+ssh:// branch, but when I do a checking the remote working tree is not updated21:11
johans/checking/check-in/21:11
uwsjohan: That is intended.21:12
johanis it possible to remotely update a working tree?21:12
uwsthe idea is that you don't have a working tree at the remote end21:12
johanI want the working tree, this is for a website.21:12
uwsthere's a plugin for that I think, bzr-upload  or something like that21:12
uwsothers in here will know21:12
johanlooks good, thanks21:13
uwsjohan: or the rspush stuff from bzrtools might help (doesn't work with checkouts i think)21:13
jelmernosklo, if you set BZR_PDB=1 when running that command it should put you in a debugger21:15
jelmernosklo, after that, run "up" followed by "print self.revnum"21:15
nosklojelmer, *** AttributeError: 'SvnBranch' object has no attribute 'revnum'21:17
jelmernosklo, you're running "bzr checkout http://formalchemy.googlecode.com/svn/trunk/ formalchemy" again?21:17
nosklojelmer, yes.21:17
nosklojelmer, weird, it seems to stop at random revisions, now the command you gave me returned "1"21:18
alperkanathow can i populate a remote directory tree ? should i do checkout then commit ?21:20
alperkanatif i branch and then push the changes, how can i populate the mainline ?21:20
jelmernosklo, google code seems to not always be very reliable21:23
jelmernot sure how the proxy complicates that though21:24
hash_gHi21:39
=== thumper_laptop is now known as thumper
hash_gIs there a way to configure bzr to commit on change in a period of time ?21:39
thumperhash_g: ??? cron?21:39
hash_gin the bzr itself I mean21:40
hash_gI'm on win xp and don't want to write bat ;]21:41
nosklojelmer, strange that I made thru it to the end 3 times without the proxy. Made a loop trying it behind the proxy and it is still trying, although the error is always on a random revision21:44
nosklojelmer, I will make some tests with non-google repositories21:44
uwshash_g: You don't want to commit at random intervals. Commits are intended to mark PROGRESS, not just CHANGES. You may accidently commit broken stuff21:46
nosklojelmer, I think I found out21:48
nosklojelmer, it was some kind of proxy limit issue. Thanks for helping me figuring it out, sorry for the raising a bzr non-issue.21:49
jelmernosklo: Any chance you can file a bug explaining this issue so we can add an entry to the FAQ?21:49
jelmernosklo, (or perhaps just a patch to the FAQ?)21:50
nosklojelmer, of course. I am just trying to fix it, and as soon as I have some full definition, I will do it.21:50
hash_git is a web-design project html/css/png/svg so I want to see progress in time21:51
hash_gbecause some ideas come and gone, it all changes and I want to see how it evolved21:51
nosklojelmer, But I was able to do the entire checkout without problems behind the proxy by stopping the entire network and not using the proxy to anything else.21:51
nosklojelmer, anyway bzr should not die in a traceback21:51
jelmernosklo,21:52
davidstraussI'm getting "bzr: ERROR: Cannot lock LockDir" errors. But when I ssh directly, I have no trouble "touch"ing the file.21:53
jelmerthere's not a lot it can do21:53
davidstraussI'm running Bazaar 1.721:53
jelmernosklo, it gets the error from the underlying library and that doesn't provide enough information21:53
davidstraussThis is my traceback http://pastebin.com/m4fb1ee0821:54
hash_guws so I want21:54
hash_gbut don't know how21:55
hash_gand probably I would never know22:02
lifelesspoolie: is 7am, is time to be waking22:04
alperkanati've got a questions about bazaar.. i branch a project.. i make some changes and push it to a centralized server.. i guess that the mainline only has the history of changes not the actual tree ? then what happens if someone else wants to branch the mainline ? will he have the changes of mine ?22:04
=== beuno_ is now known as beuno
enobrevcan anyone tell me how to disable tortoisebzr on win32?22:34
trotekenobrev: try reinstalling and disabling the tortoisebzr option, maybe?22:38
enobrevtrotek: guess i could try that.  seems silly that it can't be turned off otherwise.  thanks.22:38
pooliehello lifeless22:47
abentleylifeless: PQM appears hung.  Can you please give it a thump?23:38
markhare there any plans at all to localize things like help for options?  If not, is it expected that each GUI toolkit for example, will simply copy/paste these strings and localize them independently from each other?23:45
=== bac is now known as bac_afk
abentleymarkh: I think localization just hasn't been a priority so far.23:49
markhabentley: it looks like qbzr might want to localize some of these strings - it would seem a shame for such localizations to be done provately in its code.23:50
lifelessmarkh: The main concern is performance23:50
lifelessmarkh: e.g. docstrings are evaluated at class object construction, which is at module load time23:50
lifelessmarkh: so if all the command docstrings themselves were localised, we'd process and translate every help text for all commands, just by loading the module.23:51
markhlifeless: so yeah, clearly that would be bad.  But having 'bzr help foo' show localized info for the options foo takes needn't cause that, should it?23:53
lifelessmarkh: noone has put a patch forward without that cost, as yet.23:53
james_wlifeless: isn't that the use case for N_() ?23:53
lifelessmarkh: if someone were to, I'm sure it would be gladly reviewed23:53
=== mark2 is now known as markh
markhlifeless: I guess I'm asking if I should encourage qbzr to try and contribute such localizations to the core rather than keep them private.  That would depend on support and help from bzr though, so I guess I'm asking if that would be forthcoming23:55
lifelessmarkh: I wouldn't expect anyone to cut code, if thats what you mean; AFAIK its not near the top of the pile for any of the regular contributors23:56
lifelessmarkh: I'm interested in its existing; I can promise to outline my concerns and review patches23:56
lifelessjam did some testing I think about a year back23:57
lifelessback online in 90m or so -> poolies23:57
pooliehello23:58
pooliesee you then lifeless23:58
markhhrm - I don't think I want to take that burden on all by myself...23:58
jamlifeless, markh: from what I remember,simply doing "import gettext" was pretty expensive, and doing "gettext.install()" was also a big issue23:58
jamIf we used N_() in lots of places, and then translate on-demand that would probably get us around some of the overhead.23:59
markhjam: yeah, that might be true.  I'm asking about intent and plans23:59
jamIt also makes the test suite easier to run as you don't have to worry about the translation at all times23:59
markhie, if bzr has no interest in localizations for such strings, my question is answered!23:59

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