/srv/irclogs.ubuntu.com/2010/07/28/#bzr.txt

michaelh1Hmm.  bzr branch -v lp:gcc-linaro/4.5 as part of creating a mirror branch is sitting there at 1kB/s after about 300 kB.  I see the same on a machine with a good network connection like chinstrap00:18
michaelh1Ah!  It hit ~380 kB, finished the 'fetching revisions' stage, and is now at ~1MB/s00:19
=== oubiwann is now known as oubiwann-away
michaelh1Hi there.  I could use some help with performance.03:09
michaelh1I'm working on the gcc-linaro branch, which is huge, and pull and/or checkout operations take a long time03:09
michaelh1A pull on one machine has been in the 0/3 merge phase for the last 15 minutes03:10
michaelh12.2b4 is much better, but still too slow with how I'm using it03:10
pooliespiv, can you help michael?03:48
spmref http://www.mail-archive.com/bazaar-commits@lists.canonical.com/msg07202.html <== I'm sure there's a page on the bzr wiki/docco somewhere that describes this - using bzr/tc for slow networks etc, but am having finders failure; anyone have a link handy?04:05
pooliehi spm04:11
spmheya poolie04:11
pooliewell the specific thing that patch is updating is http://doc.bazaar.canonical.com/bzr.dev/developers/testing.html#simulating-slow-networks04:11
pooliethere may be other pages that mention it04:12
spmahh perfect. that looks like the one I was looking for. ta!04:12
pooliei'd like to believe there's a good reason the syntax is so obtuse :)04:12
spm"because"04:13
lostinspace_46This will sound really stupid, but I want to get the grub 2 graphical manager from a bazaar branch, and I can't figure out how06:53
ddaamaybe "bzr branch lp:grub"06:59
ddaaor maybe the "graphical manager" is something else07:00
ddaaOh, btw, someone at Canonical should really redraw the icon of the "VCS Imports" user, it does not make sense anymore since we switched away from GNU Arch.07:01
=== beaumonta is now known as abeaumont_
spivHmm, I have some productively failing tests.  I guess that's a good time to clock off for the day.09:33
=== oubiwann-away is now known as oubiwann
VSpikeHaving trouble using mv --after here... can anyone help? http://pastebin.com/wvjdKR2R14:47
jelmerVSpike: That file isn't versioned, you can't use 'bzr mv' to move it14:48
VSpikejelmer: if you look at the "bzr st" output, it lists deployment/connections.geonixlocate.config as a removed file14:50
jelmerVSpike: if it's removed, you have to revert it again first before moving it I think14:51
VSpikeHm I'm sure I've never had this problem before. In fact, I succesfully did it in this branch with other files that I'd moved and then wanted to tell bzr about14:52
jelmerI'm not sure in that case.14:55
VSpikejelmer: this doesn't look good, does it? http://pastebin.com/GS4ztGni15:27
VSpikeI moved the files back to where they were before and that is the result15:27
jelmerVSpike: You need to re-add ("bzr add") them15:29
jelmerVSpike, Right now some of those files are present but not versioned, hence them showing up in "removed" and "unknown"15:29
VSpikeIf I re-add them, then the show in removed and added15:30
VSpikeBut surely I will still lose the history of the file that way?15:31
jelmerVSpike: "bzr revert" should be able to help15:32
VSpikeNormally if you remove a file and bzr st shows it removed, if you put it back it just vanishes from the bzr st output15:32
VSpikeYeah, I was thinking that.  Because they were moved and changed, I'll have to rename the new versions, revert the removed ones, copy the changes in, then bzr mv them15:34
VSpikeWell, worth a try anyway15:34
VSpikeseems to have worked :)15:42
=== mnepton is now known as mneptok
jamhi jelmer16:18
jam(4am is usually a bit early for me to respond :)16:18
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
jelmerjam: 'morning!16:57
sinasalekHi everyone16:59
jelmerhi sinasalek16:59
sinasalekI have a question about branches located inside repositories16:59
sinasalekWhen i push a branch into a repository it act like a working copy16:59
sinasalekIs it possible not to have files checked out on branches inside repository.17:00
sinasalek?17:00
sinasalekIs my question clear?!17:01
LeoNerdIf you e.g. ssh on to the repository server and "bzr checkout" in that branch directory, a checkout will be created yes17:01
LeoNerdBut... "bzr push" from elsewhere (or the implied push that happens during a bound commit) will not keep that checkout updated17:01
LeoNerdSo it will become stale, unless you find some other mechanism to "bzr up" it each time17:02
=== oubiwann is now known as oubiwann-away
sinasalekTx but that wasn't what i meant. lets ask it in another way. How can clone a branch but only clone its working tree and not the checkout files inside it?17:05
=== beuno is now known as beuno-lunch
sinasalekAnd another way!17:10
sinasalekReproducing17:10
sinasalek1. Create a shared repository17:10
sinasalek2. Create a trunk branch inside it17:10
sinasalek3. Push a checked out branch else where to trunk17:10
sinasalekWhat i expected?17:10
sinasalekI expected push to only copy the working tree of the "checked out branch" and not the checked out files inside it.17:10
sinasalekWhy do i need it?17:10
sinasalekTo preserve disk space, checkedout files are not compressed17:10
=== oubiwann-away is now known as oubiwann
sinasalekAny idea?17:12
sinasalekIn subversion repository is only repository you can't use it directly for development. If you want to you have to checkout a branch on another location. In bazaar however it's different.17:17
sinasalekHow can i make bazaar repository to act similar to subversion (to only contain working trees and not checked out files!)17:18
sinasalekchx: I'm looking for a command or a switch to ignore the checked out files17:20
terrycojonesanyone up for looking at problem i'm having with bzr merge?  explanation at http://dpaste.com/222815/17:24
terrycojonesin summary: diff of two files looks fine, but the conflict shown by bzr merge does not (it's missing a line). i guess i must be doing something wrong... but don't know what.17:25
sinasalekhttp://pastebin.com/KFWfDGVW17:29
sinasalekDoes any one have time to have a look at my repo structure and lighten with his vauable advices? http://pastebin.com/VfK7KCbY17:38
rubbssinasalek: I'm not sure I understand your question, you are looking to make a repo that is just for servers? one without a working tree? You just want the revision history so people can checkout from it correct?18:11
rubbssinasalek: if so, than bzr init-repo --no-trees will create a repo with no working files, just the revision history.18:12
=== beuno-lunch is now known as beuno
sinasalekrubbs: yes exactly! thanks18:27
rubbssinasalek: np18:28
rubbssinasalek: also, there is no magic repo structure, anytime you branch ( or clone) from the repo, you create your own repo. It's kind of hard to understand at first, but once you understand it, it becomes that much more clear18:29
sinasalekrubbs: Yes it seems that i still have problem understanding how bazaar works exactly :) i thought that working tree was the same thing as revision history in bazaar!!18:31
rubbssinasalek: it's hard, took me a while. Just keep asking questions, someone here will help you out18:31
rubbsbasically think of each branch as it's own repo. You get your own personal repo each time you branch18:32
rubbsyou actually merge repos when you merge branches... or at least that's how I conceptualize it18:32
sinasalekrubbs: i see,  with people like you around i'm not worried at all ;)18:35
fullermdThat...   sounds like it would just be more confusing in the long run...18:35
rubbsfullermd: well, I should clarify, that's how i used to conceptualize it. it's enough to get started at least18:36
fullermdActually, it makes me crosseyed on the short run too   :p18:36
rubbsfair enough.18:37
rubbsDVCS is hard to nail down one good way to conceptualize IMHO18:37
fullermdsinasalek: I'd like to know if http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs/PiecesInBrief is any help to you.18:37
sinasalekrubbs: Aha! it's good! i read dozens of documents but i didn't see this one!18:39
rubbsoh, thank fullermd not me ;)18:39
sinasalek:)18:39
rubbsI didn't know about that one either, fullermd. I'll use that for further questions, thanks.18:40
sinasalekfullermd: Aha! it's good! i read dozens of documents but i didn't see this one! DVCS is a hole great new world18:40
sinasalekfullermd: why don't yuo move it to official doc? it's very helpful for newbies18:40
fullermdThe SpotDocs are an ongoing (in the sense of "not done", sadly not in the sense of "I get a lot of time to keep working"  :(  ) project of mine to try and give complete answers to specific questions.18:41
fullermdThe PiecesIn* bits are groundwork below that to nail down vocabulary and base concepts.18:41
sinasalekfullermd: This is great work you're doing. Are you on Bazaar doc team?18:42
fullermdOh, no.  I've just used bzr for a while.18:43
sinasalekrubbs: i just tried bzr --remove-tree  an it has fixed!!! This was one of my few major issue with bazaar. Thanks man you rock18:44
rubbssinasalek: np. glad to hear you're making progress18:44
sinasalek fullermd: You should notify them about your work, they might be able to give you a hand and include at least part of it in official doc18:45
fullermdOh, it's known.  It's jut very much a WIP (and I'm not quite sure it really fits into any good slot in the existing official doc gestalt)18:46
sinasalekMy article has quite some visits, i included a link to your doc page. least i can do. keep up the good work :) http://sina.salek.ws/node/1314/revisions/1459/view?diff=118:54
sinasalekDo you consider Bazaar 2.2b4 stable enough to use?19:20
fullermdWell, I track the dev head, so...19:21
jamsinasalek: yes19:21
jamthe beta means that we are allowed to change internal apis19:21
jamso plugins may not work19:21
jametc19:21
jamit doesn't mean the code is actually unstable19:22
sinasalekjam: I tought that was what alpha is for19:22
sinasalekfullermd: You mean you're using dev?!19:22
fullermdNo, alpha is for sacrificing on an altar to try and get people to buy Itanium  ;p19:22
jamsinasalek: bzr.dev (the trunk branch) must pass its full test suite for every revision19:22
jammost of the developers use it (dogfooding)19:22
sinasalekjam: That's great, i'm ok with crashes as long as it does not corrupt my repo19:23
jamsinasalek: nothing to worry about for repo corruption19:23
sinasalekjam, fullermd: thanks , lets try it then :)19:24
=== Meths_ is now known as Meths
mtaylorbzr bd - I've got a branch which is working fine for both me and several other people, but one guy gets:23:00
mtaylor<letterj> mtaylor: bzr: ERROR: Unable to find the needed upstream tarball: swift_20100728203750.orig.tar.gz.23:00
mtaylorit's using pristine-tar/import-dsc and all... he has the same version of bzr-builddeb I have - any ideas on where to look?23:01
jammtaylor: do you already have the .orig.tar.gz laying around on your system?23:03
jamIf you move it out of the way, and run again, does 'bzr bd' still work ?23:03
pooliemtaylor: perhaps it's an out-of-date version of builddeb?23:03
jamhi poolie23:03
mtaylorjam: I tried in a completely fresh dir23:03
poolieotherwise i'd look at the traceback in that error to see just what it's checking23:03
jammtaylor: does that include not having it in the parent dir?23:04
jamIIRC it always looks in ../ for the .orig.tar.gz23:04
mtaylorjam: yup23:04
mtaylorjam: I went to a completely unrelated tree23:04
mtaylorpoolie: same version of builddeb - although I will say that what apt says the version is and what bzr says the version is do not match23:04
jammtaylor: and your bd output *does* include a line about 'pristine-tar' ?23:04
jammtaylor: that would indicate a plugin vs a system-wide install23:04
jam(probably)23:04
mtaylorjam: <letterj> started back from scratch and repulled the code. A dependency error came up for python-all.  Fixed that and everything worked ok23:05
jammtaylor: well then, no problems here :)23:05
mtaylorjam: $ bzr plugins | grep builddeb23:06
mtaylorbuilddeb 2.2.023:06
mtaylor apt-cache policy bzr-builddeb23:06
mtaylorInstalled: 2.4.223:06
mtayloralso - I cleaned out my ~/.bazaar/plugins dir23:06
mtaylorthis isn't bothering me - I just thought I'd let you know about it while we were talking23:06
jammtaylor: bzr plugins -v should also show you what plugin it is loading23:09
jamIt is also possible that somebody updated one version string without updating the other.23:09
mtaylorjam: /usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb23:10
jamI think I saw something recently from statik that hard-coded a version in setup.py and didn't use the one from package/__init__.py, which is certainly the type of thing that can cause skew.23:10
* mtaylor pokes statik in the eye23:10
jamI'm not sure if that is bzr-builddeb or another project right now23:10
jampoolie: you seem to be back in your regularly scheduled TZ. How were your flights?23:12
pooliehi there jam; they were pretty tolerable23:24
poolieqantas sent me a voucher as an apology for the long delays on the way over, which was nice23:24
jampoolie: I'm past due on stopping for the day, but it would be fun to chat when we can get a chnace23:24
jamchance23:24
poolieok, i'm away tomorrow to visit igc23:25
pooliei'll try to be online early tuesday and we could talk then23:25
poolieor you can call me later tonight23:25
james_wmtaylor: it's possibly an issue with the version of pristine-tar, but I guess you are on the same version?23:26
mtaylorjames_w: it got sorted... somehow it was a missing python-all23:27
james_wah23:27
james_wodd23:27
pooliepython-all was not installed?23:33

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