/srv/irclogs.ubuntu.com/2011/07/29/#bzr.txt

poolielifeless: could you give me a quick http review https://code.launchpad.net/~mbp/bzr/198646-http-boundary-2.3/+merge/6944000:48
lifelesspoolie: so does that transparently retry ?01:04
poolieyeah that's the bit around line 10901:05
lifelesswill it be clear in .bzr.log that this happens?01:05
lifeless(readv -> full read imposes quite a heavy network cost on big pack files / indices)01:06
lifeless(both the re-read, and making 2 requests, and the original that gets thrown away using the downward pipe01:06
pooliethere's a mutter statement01:07
poolieunconditionally01:07
pooliebased on henrik's statement this will be somewhat intermittent01:07
lifelessthe one I can see doesn't say anything about retries01:07
poolienb this isn't immediately going to read the whole thing01:08
poolieit's going to fall back to reading one range at a time, and only if that fails, the whole thing01:08
lifelessok01:09
pooliebased on the description of the squid bug i think that will be enough01:09
poolieobviously it also somewhat sucks01:09
poolieoh, actually01:09
poolie_degrade_range_hint does explain what it's doing01:09
pooliethanks01:16
lifelesspoolie: no worries01:40
lifelessits nice to get corner cases like this addressed01:40
poolieyeah, it's not really our bug but it's nasty when someone hits it01:41
=== AfC is now known as AfC|run
MerwinHi everybody! I've a question about Bazaar, if I want to create a branch to do some experimental stuff, I have to create a new directory with the new branch. The problem is that in Eclipse, I must create or reconfigure my project to work on this branch...07:20
MerwinIs it possible to work on a new branch in the same directory and switch to an other when we want without changing directory ?07:20
pooliehi Merwin, yes, i recommend you use the bzr-colo plugin07:22
Merwinpoolie: looks exactly what I want, thank you ;)07:23
poolieit's really good07:24
blackarchonhi all07:25
blackarchonbzr: ERROR: exceptions.ImportError: cannot import name shlex_split_unicode07:26
pooliehi blackarchon, that's interesting07:26
poolienothing else?07:26
blackarchoni got this when trying "bzr explorer" with bzr trunk and bzr-explorer trunk07:27
pooliesounds like a broken installation or something07:27
blackarchoni just installed them07:27
pooliewhich version?07:27
poolieoh, trunk07:28
pooliereally, current trunk?07:28
blackarchonbzr-explorer is rev 52707:28
blackarchonand bzr is rev 604607:28
pooliewere they installed on this machine before?07:31
blackarchonyes, before there was bzr 2.3.3 and explorer 1.1.307:31
pooliecould you please run 'bzr --version' and 'bzr plugins -v' and check it's fetching things from the directories you expect?07:32
blackarchonbzr --version: http://pastebin.com/87xu73UX07:35
Noldorinjelmer, hey you still around>07:35
blackarchonplugins -v: http://pastebin.com/TWEgDpn407:36
blackarchonah i see, it's still using old explorer07:36
pooliegreat, remove that or point it at the correct one and you should be ok07:36
blackarchonah thx, I renamed my plugins folder and it works now :)07:38
poolieyou're welcome07:39
blackarchonanother issue was that I had to use "python setup.py install build_ext --allow-python-fallback" to install bzr trunk07:42
blackarchonbecause otherwise I get an error:07:42
blackarchonbuilding 'bzrlib._annotator_pyx' extension07:42
blackarchongcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c bzrlib/_annotator_pyx.c -o build/temp.linux-i686-2.6/bzrlib/_annotator_pyx.o07:42
blackarchoncc1: error: bzrlib/_annotator_pyx.c: Der Wert ist zu groß für den definierten Datentyp07:43
blackarchonwhat's the matter with this one?07:43
poolie!07:44
poolienothing else?07:45
spivMissing Python.h maybe?  (wild guess)07:45
blackarchonCannot build extension "bzrlib._annotator_pyx". Use "build_ext --allow-python-fallback" to use slower python implementations instead.07:45
poolieok, now i'd guess maybe this used to be an amd64 machine and now it's 32 bit, or vice versa?07:45
blackarchonerror: command 'gcc' failed with exit status 107:45
poolieany warnings before the error?07:46
blackarchonhttp://pastebin.com/YdQAdcyJ07:46
blackarchonthis is all07:46
blackarchonit's a 32 bit debian squeeze07:49
pooliecan you run it with LANG=en_US so i can see the exact english error07:49
blackarchonok07:49
poolieno 64-bit parts anywhere?07:49
blackarchonthe message is: Value too large for defined data type07:50
blackarchonit's a pure 32 bit debian07:51
poolieis it this: http://stackoverflow.com/questions/2438890/cc1plus-error-include-value-too-large-for-defined-data-type-when-compiling-wit/2496749#2496749 ?07:52
poolieie it's on an exotic filesystem or something?07:52
blackarchonwell it really IS on a smb mount - let me check this on a native ext3 file system07:53
pooliehooray for google07:54
blackarchoni would never expect the file system being responsible for such an error...07:55
poolieit's pretty cryptic07:57
poolieit would be nice if gcc at least gave a clue which operation was failing07:57
blackarchonreally, this would be quite helpful08:02
Noldorinjelmer, you didn't fully remove all refs to lru_cache un dfulwich08:12
Noldorinjelmer, also there is this relevant bug: https://bugs.launchpad.net/bzr/+bug/74325608:38
ubot5Ubuntu bug 743256 in Bazaar Windows Installers "No way to install extra Python modules with stand-alone bzr installation on Windows" [High,Fix released]08:38
blackarchon/usr/local/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/explorer.py:264: DeprecationWarning: bzrlib.config.GlobalConfig.get_editor was deprecated in version 2.4.0. result = self._user_config.get_editor()08:49
blackarchon:(08:49
jelmerNoldorin: hi08:50
jelmerblackarchon: that shouldn't be harmful08:50
Noldorinjelmer, what shouldn't?08:50
jelmerblackarchon: the deprecation warning he is seeing08:50
Noldorinoh sorry08:51
Noldorinnot to me08:51
Noldorinjelmer, hi08:51
Noldorinjelmer, so yes, i can actually include custom modules in standalone bzr now thanks to that :-)08:51
Noldorindid you see my brief bug report?08:51
blackarchonjelmer: ok :)08:52
Noldorinjelmer, 2nd problem now: the new dulwich does not define ThinPackData....the latest bzr-git requires it though :-S08:54
Noldorinin remote.py08:54
Riddellspiv: good luck with future adventures08:55
jelmerNoldorin: don't use dulwich trunk with a release of bzr-git08:58
Noldorinjelmer, i had to so that i could get --pure08:58
Noldorinor maybe i don't need that now?08:59
jelmerI think --purge has been in a few releases now08:59
jelmer*pure08:59
Noldorinjelmer, oh ok, never mind, working with the old dulwich now :-)09:01
Noldorinjelmer, just a note regarding your dulwich trunk and lru_cache btw...hope you got that09:01
Noldorinjelmer what does dulwich rely on for ssh?09:17
jelmerNoldorin: you need to have an external ssh client installed09:23
Noldorinjelmer, will putty do?09:24
Noldorinjelmer, i think it's looking for standard openssh...09:24
jelmerNoldorin: it has to be a command-line client, named ssh09:24
Noldorinyeah09:24
jelmerputty ships "plink" which might work if you rename it to ssh.exe09:24
Noldorinjelmer, seems to yes...except it asks me whether to trust key...and stdin is redirected :-S09:27
Noldorinerror: index-pack died of signal 1109:29
Noldorinbzr: broken pipe09:29
Noldorinjelmer, well, let's discuss this tomorrow09:36
Noldorinyou know the issue09:36
Noldorinthanks so fgar09:36
Noldoringood night09:36
jelmerNoldorin: g'night09:37
spivRiddell: thanks! :)10:25
=== zyga_ is now known as zyga-x11
jimisHi, I want to do "bzr switch -b newbranch" but create newbranch from a previous revision of current branch12:52
jimisIs -rREV the way to do it?12:52
jimis"bzr switch -rREV -b newbranch" didn't work, it created the new branch from current's branch tip13:20
jimisany ideas?13:20
jimisok solved the problem by uncommiting the new branch to the revision I wanted13:48
jimisbut isn't it a bug that "bzr switch -rREV -b newbranch" didnot work?13:48
dobeyhi all15:06
dobeywould this behavior: http://pastebin.ubuntu.com/654553/ possibly be the cause of launchpad not showing a diff for https://code.launchpad.net/~ubuntuone-control-tower/ubuntuone-installer/trunk?15:07
=== beuno is now known as beuno-lunch
=== deryck is now known as deryck[lunch]
=== beuno-lunch is now known as beuno
Noldorinhi jelmer17:16
ablmf333Is there any bzr command to remove backup file generated by "bzr revert"?17:18
dannfi'm looking to import / tag several releases of a piece of software from tarballs. my first stab was to look for something like svn_load_dirs, but bzr-equiv tools seem to all be deprecated. is there a canonical "right way" to do this?17:36
jelmerhi dannf17:36
jelmerdannf: it seems like what you want might be "bzr import" from the bzrtools plugin?17:36
dannfhey jelmer :)17:36
* dannf read through the help...17:37
dannfhuh - yeah, that might be all i need. kinda obvious in retrospect :)17:38
=== deryck[lunch] is now known as deryck
santagadawhy would a directory that I see on the web on launchpad do not show up in my local branch17:56
santagadaI did both bzr update and bzr merge17:57
santagadaboth says its ok but the directory don't show up17:57
santagadait is a --stacked branch17:57
jelmersantagada: perhaps you have local revisions that deleted the directory?17:58
santagadajelmer: no, I didn't even know it existed until today17:59
santagadajelmer: and bzr status says its clean18:00
jelmersantagada: what did you do to merge the remote branch?18:00
santagadajelmer: I had some changes to two files before, which I didn't want to commit18:01
santagadajelmer: now I did bzr revert * and it is saying that my tree is out of date18:01
jelmersantagada: bzr up should fix that18:01
santagadahow the frack was it uptodate just before the rever18:01
santagadarevert18:01
santagadaand now it says it is out of date18:02
santagadamakes no sense18:02
santagadajelmer: I tried bzr update, then tried bzr merge18:02
jelmersantagada: is it a bound branch (created with "bzr co") or a normal branch?18:02
santagadabetween then I tried also bzr pull but I think it started pulling all history of the repo18:03
santagadajelmer: bzr branch --stacked18:03
santagadaor bzr checkout --lightweight I dont remember18:03
santagadaI learned to never ever use --lightweight or --stacked ever again after that, but this is an old tree18:03
santagadagreat now I think it is working, but it is downloading the whole tree just to trhow it out after the update18:04
santagada/tree/repo/18:04
jelmersantagada: it sounds like you had an empty branch before18:07
santagadajelmer: yep, but bzr did download 200mb, just to throw all out I think... who would ever ever whant that?18:08
jelmersantagada: that's because of --stacked, which still is suboptimal for local branches18:08
santagadajelmer: --stacked and --lightweight are suboptimal period18:08
santagadaI had like 20 problems with it... people that told me to use this think it is better because its faster18:09
santagadait is never faster18:09
jelmersantagada: it depends on what you're doing18:09
jelmersantagada: --lightweight for local branches works fine18:09
santagadaif I didn't want to store revision data I could just delete .bzr18:10
santagadajelmer: bzr doesn't do hard/simbolic links like mercurial?18:10
jelmersantagada: why hardlink if there is no need to have those files in the lightweight checkout at all?18:11
jelmerthere is also an option to hardlink18:11
santagadajelmer: because if I don't want to have history I could just delete the .bzr dir18:11
jelmersantagada: see "bzr co --hardlink"18:12
santagadaalways re-downloading it is like the worst idea. it makes bzr seems awfully slow18:12
santagadanow it downloaded 300mb and in the end I think I will have to do it again because It will probably throw the data out18:13
jelmersantagada: that is more of an odd side-effect of using --stacked than a design decision18:14
jelmerthere are plans to allow --stacked (e.g. don't pull in remote data) but allow storing the data that has to be retrieved from the remote to be stored locally when we have to fetch it anyway.18:14
santagadajelmer: can I open a bug report for deprecating it, or do anyone think this is usefull?18:14
jelmersantagada: stacking is very useful, just not the way you're using it18:15
jelmersantagada: e.g. launchpad stacks by default if you push to it18:15
jelmerso you only have to push 3 revisions if you push a new branch18:15
jelmerif you committed only 3 changes18:15
santagadawell mercurial and git do that and don't have --stacked18:16
santagadathey also don't have 400mb repositories18:16
jelmersantagada: git has stacking18:16
jelmersantagada: it's just got a different name18:16
santagadajelmer: well by default when using github it just works18:17
jelmersantagada: sure, but the same goes for Launchpad18:17
santagadano, I see even docs on bzr about using --lightweight18:18
jelmersantagada: same thing - there are situations in which --lightweight is a bad idea18:20
jelmersantagada: if there are places in the docs where we recommend the wrong thing, I think we should fix them18:20
santagadaI see zero places where it is a good idea18:20
santagadaeither hardlink or deleting .bzr solves everycase I seen of --lightweight18:21
jelmersantagada: it allows you to do a commit to a large tree without pulling down all the history, for example18:21
santagadajelmer: it does download all history18:21
jelmersantagada: if it does, that's a bug18:21
santagadajelmer: or at least a large subset of it18:21
santagadaI don't know, but a bzr update download 580mb of data seems like a bug to me18:22
jelmersantagada: that does indeed sound like a bug18:22
santagadawell I'm just give up trying to understand it, delete all repos that I have and do a simple branch18:24
santagadaand continue using github for my stuff18:24
=== santagad` is now known as santagada`
=== santagada` is now known as santagada_
=== santagada_ is now known as santagada
jelmerhi Noldorin18:41
jimishi jelmer, any updates on lp:gcc?18:44
Noldorinjelmer, hi :-)18:47
Noldorinjelmer, so i've set up things now, but am getting an error when i dpush:18:47
Noldorinh://git@github.com/alexreg/ircdotnet.git18:47
jelmerjimis: sorry, nothing yet18:47
Noldorinjelmer, i think this is a git error18:47
Noldorin(using plink.exe btw)18:47
jelmerNoldorin: what's the error?18:48
Noldorinjelmer, that's it18:48
NoldorinC:\Users\Alex\Documents\Visual Studio 2010\Projects\IRC.NET\0.4>bzr dpush git+ss18:48
Noldorinh://git@github.com/alexreg/ircdotnet.git18:48
Noldorinerror: index-pack died of signal 1118:48
Noldorinbzr: broken pipe18:48
jelmerNoldorin: you might want to try with the very latest dulwich and bzr-git18:49
Noldorinjelmer, ok sure18:49
Noldorinwill do18:49
Noldorinjelmer, the repos for bxr-git and dulwich are on LP and Github respectively right>18:50
Noldorin?18:50
jelmerNoldorin: yep18:51
Noldorinok18:51
Noldorinjelmer, if i get this working i will right together a little blog post :-)18:51
Noldorinjelmer, then maybe you can just link future people to that18:52
jelmercool :)18:52
Noldorinjelmer, different error now:19:03
Noldorinerror: unable to find fb1c6f6b77779fe32a31c04494b385bc53aac21f19:03
Noldorinfatal: object of unexpected type19:03
Noldorinbzr: ERROR: unpack index-pack abnormal exit19:03
jimisjelmer: please let me know if there is a bug I can subscribe to19:04
jimisI'm a GSOC student for gcc, and that affects my work :-s19:05
jelmerjimis: there is a bug, let me find the #19:06
jelmerbug 79791519:06
ubot5Launchpad bug 797915 in Launchpad itself "large bzr-svn imports failing" [Critical,In progress] https://launchpad.net/bugs/79791519:07
jelmerjimis: what's your project?19:07
jelmerNoldorin: what's the branch you're trying to push?19:07
jelmerNoldorin: I can give it a try on linux, that way we at least know if it's a problem specific to windows19:07
jimisthanks for the bug19:08
Noldorinjelmer, git+ssh://git@github.com/alexreg/ircdotnet.git19:08
Noldorinjelmer, sure19:08
Noldorinjelmer, i think i added you as a committer a long time ago already :-)19:08
jimisjelmer: GCC optimisation, see an outdated wiki page at: http://gcc.gnu.org/wiki/OptimisingGCC19:08
jelmerNoldorin: but what branch are you trying to push?19:11
Noldorinjelmer, oh sorry. lp:ircdotnet/0.419:11
jelmerjimis: I can do another one-off import if that helps19:11
jimisjelmer: it's just that patches I post need to be against current trunk, for now I manually download the files that have changed and that I need to produce the patch19:13
jimisthanks for the offer to help, I'll let you know when these files will be too many to handle manually :-)19:14
Noldorinjelmer, any luck?19:21
Noldorinjelmer, ?19:31
jelmerNoldorin: sorry19:38
jelmerNoldorin: got distracted by something else19:38
jelmerNoldorin: I can reproduce it here19:38
Noldorinno prob19:39
Noldorinok19:39
Noldorininteresting19:39
Noldorinjelmer, what should we try now then?19:40
jelmerstill looking19:47
Noldorin   jelmer sure, just ping me :-)19:59
Noldorin  jelmer getting closer to stability here!20:22
=== yofel_ is now known as yofel
jelmer333433333333/win 321:30
Noldorinjelmer, hey21:36
Noldorinjelmer, any updates? :-)21:36
Noldorinjelmer, around still?21:52
RenatoSilvais there a way/hack to revert a non-last revision without uncommitting the whole revision stack?23:58
Noldorin_RenatoSilva, "revert a non-last revision" ?23:58
Noldorin_are you missing a preposition there perhaps?23:59

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