/srv/irclogs.ubuntu.com/2011/02/13/#bzr.txt

marcogtrying to setup a lp project for the first time and getting an error trying to checkout08:40
marcog$ bzr checkout lp:umonya-website trunk08:40
marcogbzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/%2Bbranch/umonya-website/".08:40
marcogproject is https://launchpad.net/umonya-website/trunk08:40
marcogany ideas?08:41
sobersabrehi.14:52
sobersabreI am getting the error14:52
sobersabrebzr: ERROR: No WorkingTree exists for "file:///D:/foo/.bzr/checkout/".14:52
sobersabreeven though I have .bzr folder in the dir.14:53
sobersabreIt seems something messed up the folder.14:54
sobersabreis there a way to fix  ?14:54
sobersabre(except a full checkout)14:54
sobersabreand if I am running status command that folder: http://pastie.org/155937714:57
sobersabrevery strange.14:57
jelmersobersabre: there is a branch present but no working tree15:00
jelmersobersabre: try running 'bzr co' in that location15:00
sobersabrejelmer: I think the problem is the p4 messup.15:08
sobersabreI am not sure which exactly.15:08
theAdibhello all. I want to apply a patch to a project using bzr. Someone provided a diff output using git:16:51
theAdibhttp://launchpadlibrarian.net/63734242/fix-gcc-4.6-build.patch16:51
theAdibwhen I do "bzr patch foo.patch" then I get only error messages like16:52
theAdib1 out of 1 hunk FAILED -- saving rejects to file b/src/xml/helper-observer.h.rej16:52
theAdibwhat can I do?16:52
maxbtheAdib: Based on that error message, I am guessing you need to use the "-p 1" option to patch16:55
theAdibhm, less errrors there. But still:16:59
theAdibadib@vega:~/Projekte/Inkscape/inkscape/myproject-707205$ bzr patch -p 1 fix-gcc-4.6-build.patch16:59
theAdib1 out of 1 hunk FAILED -- saving rejects to file src/2geom/utils.h.rej16:59
theAdib1 out of 1 hunk FAILED -- saving rejects to file src/application/editor.h.rej16:59
theAdibbzr: ERROR: Patch application failed16:59
theAdibadib@vega:~/Projekte/Inkscape/inkscape/myproject-707205$16:59
theAdibah, ok I see. The target file has been change since and now I have to apply the patch manually. Thx, my bad.17:02
maxbIf it's only 2 files out of 78 with errors, it suggests that those are valid conflicts caused by changes upstream17:02
maxbright17:02
=== Leonidas_ is now known as Leonidas
dlynchI've been using bzr for 3 or 4 years now, without problems, until recently I encountered this error: bzr: ERROR: No WorkingTree exists for "file:///home/damon/digitalPhotos/rapid/.bzr/checkout/".19:07
dlynchI don't know what caused it, or how to fix it19:07
lifelessdlynch: is that on your server perhaps?19:10
dlynchlifeless, no... it's on my laptop19:10
lifelessso what it means is that you don't have a working tree, and you're running a command that needs one19:11
dlynchthe machine I do all my development on19:11
lifelesswe don't create working machines when you push over the network19:11
dlynchI always had a working tree before19:11
lifeless(otherwise we'd be pushing twice as much)19:11
lifelessits a bit of a mystery why you don't have one19:11
dlynchyes indeed19:11
lifelessdid you change your toolchain recently?19:11
lifeless(e.g. start using bzr-explorer or something)19:11
dlynchI've been using bzr-explorer for a while19:12
lifelessanyhow19:12
lifelessto make a working tree19:12
lifelesscd to rapid19:12
lifelessand do19:12
lifeless'bzr checkout .'19:12
dlynchwhat will happen to all the changes I've made in the code?19:12
lifelessuhm19:12
lifelesscan you do 'ls -al /home/damon/digitalPhotos/rapid/'19:13
lifelessand19:13
lifelessls -al /home/damon/digitalPhotos/rapid/.bzr/19:13
dlynchI can always overwrite them from backup, so I guess it's not a big deal19:13
dlynchI guess there are two ways to handle this: 1) do the checkout, potentially overwrite all my changes, and then restore those changes from local backup, or 2) take your time and mine do try to get to the bottom of it. Does option 1) sound better? :)19:15
lifelessI'm easy19:15
lifelessI'll be surprised - and it will indicate a pretty severe bug - if you have working files in  /home/damon/digitalPhotos/rapid/ already.19:16
dlynchhttp://pastebin.com/T8TRmMt519:17
dlynchhttp://pastebin.com/1Fj2WPrQ19:17
lifelessinteresting19:18
lifelesscan you look in backup.bzr19:18
lifelessdlynch: is rapid itself meant to be a project, or is it a collection of projects?19:19
dlynchok.... I just thought of something..... recently I moved my home partition, restoring from backup using rsync.... with an exclude rule for checkout/19:19
dlynchI had that rule because I was experimenting with gnome 3 code19:19
dlynchI guess when I did the restore, a bzr dir was excluded!19:20
lifelessa19:20
lifelessyes, that would do it19:20
dlynchok sorry about that19:20
lifelessrsync filters are regexes19:20
dlynchyes19:20
lifelessor something like them19:21
dlynchI should have used a full dir path19:21
lifelessthey need to be rooted or they match every dir19:21
lifelessmystery solved19:21
dlynchok19:21
dlynchso to fix this problem, I do a checkout, overwrite whatever gets overwritten, and then restore from local backup19:21
dlynchlifeless, thank you very much :)19:23
lifelessor just copy that checkout from the backup19:24
lifeless(the .bzr/checkout)19:24
lifeless /all/ your bzr working areas are going to have this issue19:24
lifelessIf I was you I'd figure out how to get rsync to copy all the bits you missed19:24
lifelessbe faster over all19:24
dlynchlifeless, the problem is they were not backed up to begin with, because I use the exclude rule in the actual rsync command to backup19:26
lifelessah19:26
lifelessso19:26
lifelessthere is another thing you can do19:26
lifelesswill avoid the need to restore19:26
lifelesscd /tmp19:26
lifelessbzr checkout --lightweight /home/damon/digitalPhotos/rapid/ foo19:27
lifelesscp -a foo/.bzr/checkout /home/damon/digitalPhotos/rapid/.bzr/checkout19:27
dlynchwow bzr status now works19:27
lifelessfind /home -name 'branch' -type d19:29
lifelessshould find all the places you need to do that19:29
dlynchthanks very much lifeless.... I really appreciate it!19:33
lifelessno worries19:33
mwhudsonhm21:30
mwhudsonhttp://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/files21:30
mwhudsonno21:30
mwhudson$ bzr get lp:~linaro-infrastructure/launchpad-work-items-tracker/linaro21:31
mwhudsonbzr: ERROR: Invalid http response for https://xmlrpc.launchpad.net/bazaar/: Unable to handle http code 400: Bad Request21:31
mwhudsonnot seen that before21:31
lifelessmeep ?21:32
mwhudsonhuh, worked the second time21:33
mwhudsonnothing much in .bzr.log either21:34

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