/srv/irclogs.ubuntu.com/2009/05/19/#bzr.txt

MTecknologyI have a patch file that was submitted to me - http://bzr.pastebin.com/m3b6d833a - I'm trying to use the patch command to apply the patch but it's saying only garbage was found00:46
MTecknologyoops... wrong order00:47
igcmorning all00:48
ronnyjelmer: k, thx01:04
jessicahI'm getting lost in the website, so, how do I set up bzr to get through my proxy server?01:27
bob2which OS?01:28
bob2and http proxy for http urls?01:28
jessicahdebian01:29
jessicahahuh01:29
jessicahbzr checkout http://some.repo.com/trunk just sits there doing nothing01:29
ryanakcaI manually copied file XY.py from branch A to B, and then bzr added in under B. Is there a way to show that the file XY.py originally came from branch A?01:29
bob2set the http_proxy env var01:29
jessicahhmm, ok01:30
bob2export http_proxy=http://whatever:port/ ; bzr checkout http://...01:30
jessicahthanks bob201:30
bob2did it work? :)01:31
jessicahit's strange it not use setting somewhere else in debian01:31
jessicahoh well01:31
bob2most (non-gui) things will pick up http_proxy01:31
jessicahwell, svn/wget worked without setting, that why I confused01:31
jessicahI set it up during debian install01:31
bob2that is weird01:31
jessicahyeah01:32
jessicahanyways, it a workaround :) will bzr remember proxy used?01:32
jessicahor I need to set http_proxy all the time now?01:32
bob2it won't01:33
bob2you can add the export line to ~/.bashrc01:33
jessicahokies, thanks bob2 :)01:34
* igc out for a few hours - bbl02:03
* SamB wishes for the nth time that git kept branch nicks about ...03:27
=== krisfree is now known as krisfremen
AfCSamB: Interesting that you say that. I've tended to feel that Bazaar's branch nick concept is superfluous. I freely admit, of course, that branch nicks haven't found their way into my workflow as such, so I haven't quite seen the need for them.03:56
AfC[they're up there with revision messages in the "would be useful as history if you could fix typos", IMHO]03:57
AfCbut every so often I wonder what I'm missing as to their importance.03:58
Peng_I like nicks. They help you get the basic idea of a branch from a glance.04:02
Peng_Reading the commit messages takes more effort.04:03
SamBAfC: well, yeah, there is that ...04:05
AfCPeng_: that's fine, except that when you're collaborating with someone and you call the branch 'bug-strict-aliasing' and they call the branch 'myExcellentWorkingDirecotry' that's a nice bit of data that is,04:12
AfConce again,04:12
AfCforever more in bzr history and quite unhelpful.04:12
Peng_AfC: Haha, good point. I do that on one branch I share between two machines.04:13
AfCPeng_: if there was a mechanism (technical or social) to force people to be consistent about branch naming, then perhaps the nick thing would be useful.04:13
AfCPeng_: but given that there isn't [and never was going to be]04:13
Peng_People are usually consistent, though.04:14
AfCI must admit that I find the fact that it is printed in the standard `bzr log` output ludicrous.04:14
AfCNo they aren't04:14
Peng_Heh.04:15
AfCPeng_: so consider this: http://rafb.net/p/QuFzGb68.html04:19
AfCbranch nicks | uniq04:19
AfCnow, admittedly, I am the author or the many of those branches, and *I* use a self-consistent naming scheme.04:20
AfCat least recently. But you can readily see where I have collaborated with others, or reviewed and merged contributions, and there things are all over the map. Not to mention my own changing tastes.04:20
AfCOverall, having this displayed prominently as history seems, as I said, somewhat ludicrous.04:21
AfCThe "myMainline" are always charming. "TreeStore implementation" merging to "treestore" illustrates the problem more clearly, I think.04:22
AfCThe only thing that makes the branches related is a) the fact they are branches at all, and b) their interconnections at head and tail with other branches [especially mainline].04:22
AfCBranch nick, as such, seems to have nothing to do with this.04:23
AfCSo, like I said, I wonder what I am missing.04:23
Peng_Looks like Loggerhead developers use "loggerhead", "trunk" and "trunk-rich" for the mainline. i hadn't really noticed.04:24
AfCPeng_: that would count as a "social" mechanism for keeping it aligned (ie, people had agreed).04:31
AfC... except if that's 'mainline', then it seems to have more than one alias. Which would seem to be contrary to the purpose of the idea.04:32
AfCOr, at least, contrary to what it might be.04:32
Peng_AfC: s/mainline/trunk/, then. I didn't mean to use any term in particular.04:49
lifelessola07:54
davidstrausslifeless: hi!08:30
lifelessHi davidstrauss08:30
=== stefanlsd_ is now known as stefanlsd
=== knielsen_ is now known as knielsen
kfogel"So, I used bzr to download the notification plugin for Sonata. All these SVN systems are a pain in the ass, but whatever."  (from http://smyte.wordpress.com/2009/05/18/mpd-sonata-notify-osd/)10:27
jmlhaha10:29
=== thunderstruck is now known as gnomefreak
amanicais it just me or is bundlebuggy dead? are we supposed to exclusively use launchpad already?12:08
eMerzhHi, ...we are (at work) using http+webdav to psuh changes...we want to be notified for each push or commit ...12:15
eMerzhBecause of external commiters, we don't want to use bzr-email for each client....which other solutions does we have?12:15
eMerzhthanks for your help12:16
amanicaeMerzh, you'd have to install a e-mail notification plugin on the server12:46
=== Kissaki^0ff is now known as Kissaki
eMerzhamanica, thanks.. but currently, i don't have a smart server... just an apache...this is not enough i gess?12:57
amanicaeMerzh, its not too hard to get a smartserver set up behind apache12:58
eMerzhamanica, ok can we still commit by sftp too?12:59
amanicamm.. you'd have to use bzr+https if you want the serverside hooks to fire12:59
eMerzhok, thanks for your help i will look for this :)13:00
NEBAP|workhi guys, can someone help me out, I´m not able to create a bundle with "bzr send -o ...". I always get a "bzr error not a branch" error. Any ideas what I can do?13:59
luksare you running it in a branch?14:01
NEBAP|workyes, I´ve created a shared repository on the server with the option --notree. Then I´ve done a checkout on another client (has only read rights). After finishing the work I just want to create a patch to send it to the computer with write access. But I always get the error, I´ve still tried to unbind the checkout branch ...14:02
lukswhat does bzr info says?14:03
NEBAP|workjust a second ..14:03
fullermdBTW, "checkout branch" likely isn't a meaningful term...14:04
NEBAP|workok sorry14:04
NEBAP|workI´m just a beginner in using bazaar :(14:05
fullermdWell, it's not a _sin_   :)14:05
NEBAP|work^^14:05
NEBAP|workbut seems like luks has found the error14:05
fullermdIt's just muddy.  Makes it harder to work out what's actually going on, and it can cloud your thinking about things.14:05
luksNEBAP|work: if a program says X is wrong, the first thing to check should be X :)14:06
NEBAP|workyou´re right, I´ll try to learn the "vocabulary" and make things clearer ;)14:06
NEBAP|workso, my repository has a similar structure to this: MyProject/Trunk/SubProjects(features)14:07
NEBAP|workon the pc that throws the errors, "bzr info" tells me that "MyProject" and "Trunk" are standalone trees14:08
NEBAP|workwhile "SubProject" is a branch related to "trunk"14:08
NEBAP|workis that the right structure?14:08
NEBAP|workor better a "good structure" to manage a project in bazaar14:09
NEBAP|workbut seems like something else is wrong .. bzr info tells me that the branch root is "C:\....\MyProject" which is correct. But it also tells me that the submit branch is "trunk" which causes him to search for it in "C:\....\MyProject\trunk\Feature\trunk\" not in "C:\....\MyProject\trunk"14:13
=== nevans1 is now known as nevans
=== garyvdm is now known as GaryvdM_
=== GaryvdM_ is now known as GaryvdM
=== KX_ is now known as KX
hexmodeI have a missing .bzr/repository/pack-names file on a repo I haven't touched in a while.  Is there anything I can do to recover?17:06
GaryvdMhexmode: Can you elaborate a bit? Is there an error that you are getting?17:11
hexmodeGaryvdM: yes.... but it is a little late now... I decided I didn't care about the old revs.17:19
GaryvdMok17:19
GaryvdMHi jelmer - I'm trying to use bzr-colocated. bzr init --colocated BRANCHNAME seems to be broken.17:29
GaryvdMIf I do bzr init --colocated BRANCH; bzr switch BRANCH; bzr log - I get a Not a branch error.17:30
GaryvdMIf I check on the disk - it's created a folder for the branch (.bzr/branches/BRANCH), but it is empty.17:31
=== KX is now known as FooBar
=== FooBar is now known as BarFooBaz
=== BarFooBaz is now known as KX
dashhi.19:34
jelmerhi19:34
dashis there a way to check out a deleted branch at a specific revision using bzr-svn?19:35
dashI suppose I could check out the branches dir and roll it back to that rev.... but there's a lot of branches in there. =/19:38
ryanakcaI manually copied file XY.py from branch A to B, and then bzr added in under B. Is there a way to show that the file XY.py originally came from branch A?20:26
GaryvdMryanakca: when you add the file, specify --file-ids-from=ARG20:39
GaryvdMeg: bzr add XY.py --file-ids-from=A20:39
ryanakcaGaryvdM: and if its already added?20:39
ryanakcahalf a dozen revisions ago?20:39
GaryvdMare those revision public? if not, I think you can use rebase20:40
GaryvdMI'm not 100% sure.20:41
ricardohi people. I was trying out bzr-rebase. and I am getting some weird conditions. I am doing a pull and I get 'No revisions to pull'. I do a rebase  and I get 'No revisions to rebase'. When I do a push I get 'Unable to push ... because it would change the ordering... Use rebase and try again or push to a non-root path'.21:06
ricardodoes this mean I have my repo broken?21:07
ricardobtw.. I am trying to push to a svn repo (using bzr-svn)21:09
ricardoI am using bzr 1.14 and bzr-svn 0.5.421:09
serviliohi all! is there a way to change the email recorded in the logs of a local branch?21:13
dashservilio: "bzr whoami"21:15
serviliodash: yep, but it doesn't change the authorship info of what is already committed21:17
dashthat's true21:18
serviliodash: have any idea/pointer where can I find how to change the authorship (actually, only the e-mail I need to change) of past commits?21:20
GaryvdMricardo - lets look at one thing at a time. - Where are you pulling from? Have you tried bzr pull --overwrite?21:21
GaryvdMservilio - Are these revision public yet?21:21
GaryvdMIf they are - it not recomended to do that.21:22
servilioGaryvdM: not yet21:22
ricardoGaryvdM, its a bit more complicated... I am trying out the feature for rewriting authors in svn21:22
ricardoso I have one repo A that is a branch of svn21:22
ricardoone repo B which is a branch of A21:22
ricardoI made a change in B and pushed to A, and also made a change in A directly21:23
ricardoand then tried to push to svn21:23
servilioGaryvdM: and I'd like to set the proper authorship info before committing to the public repo21:23
GaryvdMservilio: I think there may be a way to do it with rebase21:23
* servilio goes to read bzr help rebase21:24
GaryvdMservilio - It seems not . Sorry21:26
GaryvdMricardo: where did the rebase come in?21:27
servilioGaryvdM: can't find it either21:27
servilioGaryvdM: thanks anyway!21:27
=== nevans1 is now known as nevans
ricardoGaryvdM, at some point between pulling/pushing between A and B, I tried to push to svn (from A)21:28
ricardoand I got this error message (cannot push because....) and  so I tried to rebase in order to fix the commit order21:29
ricardobut there is nothing to rebase apparently21:29
ricardoso I am stuck with not being able to push21:29
GaryvdMricardo: what is the exact error that you get when you push?21:30
=== nevans1 is now known as nevans
ricardoGaryvdM, I was getting bzr: ERROR: Unable to push revision 'root@xxxx' because it would change the ordering of existing revisions on the Subversion repository root. Use rebase and try again or push to a non-root path21:32
ricardobut never mind, as this is a test, I just uncommitted a few revisions, and tried again21:32
ricardoit worked. in particular I had a merge revision , and it was this merge revision that was causing the problems21:32
GaryvdMricardo: ok - I think that is something specific to bzr-svn - which I am not to familiar with.21:33
ricardoGaryvdM, np... as I said, since this is a test, I am not too worried21:37
ricardoI will test it a bit further, and if I see no other issues, I'll go for it21:37
ricardothanks for the help21:37
Ddordahey. how do i download a specific version of a project?21:51
ryanakcaGaryvdM: rebase?21:58
ryanakca(it isn't in bzr help commands)21:58
Ddordai'm not sure what's rebase21:59
GaryvdMryanakca: It's a plugin.21:59
Ddordai want to use a reversion of a project21:59
GaryvdMryanakca: disclamier: I've never done this. Recreate the revision that adds that file, then rebase the remainder if the revision on the new revision22:02
GaryvdMI'm not sure though if rebase uses paths, or file-id. If the latter - It won't work.22:03
jelmerit uses file ids22:11
Ddordawell.. any idea?22:12
Ddordagood night then22:13
serviliojelmer: know of a way to take advantage of the fix for bug 372559 of bzr-svn?22:24
ubottuLaunchpad bug 372559 in bzr-svn "KeyError u'trunk3' on branch" [Undecided,Fix released] https://launchpad.net/bugs/37255922:24
jelmerservilio: how do you mean?22:24
serviliojelmer: I am using bzr 1.14 + bzr.svn 0.5.4 and I am being hit by that bug22:25
serviliojelmer: already downloaded bzr.svn 0.6 but it depends on 1.15, which isn't released yet, and I have no idea how stable it is ATM with RC122:26
jelmerservilio: I'd recommend waiting for 1.15, which will be out in 3 days22:27
serviliojelmer: so I was wondering what would be more reliable: backport the fix to 0.5.4 locally, or upgrade to 1.15rc1 altogether22:27
jelmerservilio: in that case, I'd upgrade to 1.15rc1 altogether22:27
serviliojelmer: so, it is production stable already?22:28
serviliothat'd be great22:28
jelmerservilio: well, rcs are usually quite stable22:28
jelmerservilio: and I haven't seen any brown bag issues with 1.15rc122:29
serviliojelmer: great!22:30
serviliojelmer: what do you think of using bzr in a buildout sandbox? or a virtualenv?22:30
servilioI'd like to wait for the packages for my distro to be available (Debian Lenny here)22:31
jelmerservilio: I don't know, have never used it in that environment22:33
jelmerservilio: I usually push packages to sid the day a release is out22:33
serviliojelmer: great!22:40
serviliojelmer: so, do you think it would be easy creating a 1.15rc1 .deb from the 1.14 deb-src?22:41
* servilio is checking packages.debian.org...22:43
serviliono luck with p.D.o22:46
servilioand FTP shows no packages for 1.15rc122:46
jelmerservilio: I haven't uploaded 1.15rc1 yet because there's no new bzrtools out yet22:50
jelmerservilio: You can build a 1.15rc1 package from the bzr branch on bzr.debian.org though22:51
jelmerhttp://bzr.debian.org/pkg-bazaar/bzr/unstable22:51
serviliojelmer: how would I do that?22:51
jelmerservilio: if you have bzr-builddeb installed, run:22:52
=== nevans1 is now known as nevans
jelmerbzr bd http://bzr.debian.org/pkg-bazaar/bzr/unstable22:54
jelmeror check out that branch locally and run "bzr bd" there22:54
=== nevans1 is now known as nevans
serviliojelmer: will that build the corresponding bzrtools pkg?22:58
jelmerservilio: no, it'll only build bzr itself22:58
serviliook22:58
jelmerservilio: you will have to deinstall bzrtools if you upgrade to bzr 1.15rc1 now22:58
servilioI am looking at gf.recipe.bzr [http://pypi.python.org/pypi/gf.recipe.bzr/1.0rc4]22:59
nevansjelmer: encountering a cache bug on latest rev of bzr-svn 0.622:59
nevansjelmer: http://pastebin.com/m2ab5f3c222:59
nevansI can post a lp bug, if you'd like.  But I figured I'd ping you here first, because this isn't exactly a release.  :)23:00
jelmernevans: not sure what that's about from the top of my head, any chance you can file a bug?23:03
nevansjelmer: sure thing.23:03
Necorohey - short question: why does the following not work as expected: bzrlib.branch.Branch.open("lp:some-project") (with bzr-1.14)23:06
Necororesulting exception: bzrlib.errors.NotBranchError: Not a branch: "/home/necoro/dev/portato/trunk/plugins/lp:some-project/"23:06
Necoroso - it does not resolve the "lp:" URL23:06
jelmernevans: you need to do a directory service lookup23:06
jelmernevans: that will give you back a proper branch URL23:06
jelmers/nevans/Necoro/23:07
jelmerNecoro: Try doing this before the branch open23:07
jelmerNecoro: "from bzrlib.plugin import load_plugins; load_plugins()"23:07
Necorojelmer: ok - I _do_ load plugins (for exactly this feature) ... but in another thread ... (or more specific: I load the plugins, and then create a thread which looks up the branch)23:10
Necoroseems like bzr changed the behavior there (because it used to work a couple of versions ago ;))23:11
jelmerNecoro: strange, I don't think anything has changed in this area recently23:17
Necorohmm ... "Connection closed: please check connectivity and permissions" ... seems to have problems with ssh or sth similar ..23:19
Necoro(it should not resolve the lp:-address to a bzr+ssh at all ... only to http://)23:20
jelmerNecoro: it has always resolved to a bzr+ssh:// URL if there was a lp login username known23:23
=== Kissaki is now known as Kissaki^0ff
Necorohmm ... if I do "bzr branch lp:bla", it tells me, that there is not launchpad-ID23:25
Necoroif I do this via python-shell, it just returns the http:// address, w/o the "no ID"-warning23:25
Necoroand in my programm ... well - it takes the bzr+ssh version ^^23:25
serviliojelmer: gotta go now, thanks a lot! will try your suggestion as soon as I get back23:31
Necorojelmer: got it - the bug is on my side23:42
Necoroswitching to root-user in the program via a graphical su ... and this is not setting the environment - i.e. HOME still points to the original user23:43

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