marcog | trying to setup a lp project for the first time and getting an error trying to checkout | 08:40 |
---|---|---|
marcog | $ bzr checkout lp:umonya-website trunk | 08:40 |
marcog | bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/%2Bbranch/umonya-website/". | 08:40 |
marcog | project is https://launchpad.net/umonya-website/trunk | 08:40 |
marcog | any ideas? | 08:41 |
sobersabre | hi. | 14:52 |
sobersabre | I am getting the error | 14:52 |
sobersabre | bzr: ERROR: No WorkingTree exists for "file:///D:/foo/.bzr/checkout/". | 14:52 |
sobersabre | even though I have .bzr folder in the dir. | 14:53 |
sobersabre | It seems something messed up the folder. | 14:54 |
sobersabre | is there a way to fix ? | 14:54 |
sobersabre | (except a full checkout) | 14:54 |
sobersabre | and if I am running status command that folder: http://pastie.org/1559377 | 14:57 |
sobersabre | very strange. | 14:57 |
jelmer | sobersabre: there is a branch present but no working tree | 15:00 |
jelmer | sobersabre: try running 'bzr co' in that location | 15:00 |
sobersabre | jelmer: I think the problem is the p4 messup. | 15:08 |
sobersabre | I am not sure which exactly. | 15:08 |
theAdib | hello all. I want to apply a patch to a project using bzr. Someone provided a diff output using git: | 16:51 |
theAdib | http://launchpadlibrarian.net/63734242/fix-gcc-4.6-build.patch | 16:51 |
theAdib | when I do "bzr patch foo.patch" then I get only error messages like | 16:52 |
theAdib | 1 out of 1 hunk FAILED -- saving rejects to file b/src/xml/helper-observer.h.rej | 16:52 |
theAdib | what can I do? | 16:52 |
maxb | theAdib: Based on that error message, I am guessing you need to use the "-p 1" option to patch | 16:55 |
theAdib | hm, less errrors there. But still: | 16:59 |
theAdib | adib@vega:~/Projekte/Inkscape/inkscape/myproject-707205$ bzr patch -p 1 fix-gcc-4.6-build.patch | 16:59 |
theAdib | 1 out of 1 hunk FAILED -- saving rejects to file src/2geom/utils.h.rej | 16:59 |
theAdib | 1 out of 1 hunk FAILED -- saving rejects to file src/application/editor.h.rej | 16:59 |
theAdib | bzr: ERROR: Patch application failed | 16:59 |
theAdib | adib@vega:~/Projekte/Inkscape/inkscape/myproject-707205$ | 16:59 |
theAdib | ah, ok I see. The target file has been change since and now I have to apply the patch manually. Thx, my bad. | 17:02 |
maxb | If it's only 2 files out of 78 with errors, it suggests that those are valid conflicts caused by changes upstream | 17:02 |
maxb | right | 17:02 |
=== Leonidas_ is now known as Leonidas | ||
dlynch | I'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 |
dlynch | I don't know what caused it, or how to fix it | 19:07 |
lifeless | dlynch: is that on your server perhaps? | 19:10 |
dlynch | lifeless, no... it's on my laptop | 19:10 |
lifeless | so what it means is that you don't have a working tree, and you're running a command that needs one | 19:11 |
dlynch | the machine I do all my development on | 19:11 |
lifeless | we don't create working machines when you push over the network | 19:11 |
dlynch | I always had a working tree before | 19:11 |
lifeless | (otherwise we'd be pushing twice as much) | 19:11 |
lifeless | its a bit of a mystery why you don't have one | 19:11 |
dlynch | yes indeed | 19:11 |
lifeless | did you change your toolchain recently? | 19:11 |
lifeless | (e.g. start using bzr-explorer or something) | 19:11 |
dlynch | I've been using bzr-explorer for a while | 19:12 |
lifeless | anyhow | 19:12 |
lifeless | to make a working tree | 19:12 |
lifeless | cd to rapid | 19:12 |
lifeless | and do | 19:12 |
lifeless | 'bzr checkout .' | 19:12 |
dlynch | what will happen to all the changes I've made in the code? | 19:12 |
lifeless | uhm | 19:12 |
lifeless | can you do 'ls -al /home/damon/digitalPhotos/rapid/' | 19:13 |
lifeless | and | 19:13 |
lifeless | ls -al /home/damon/digitalPhotos/rapid/.bzr/ | 19:13 |
dlynch | I can always overwrite them from backup, so I guess it's not a big deal | 19:13 |
dlynch | I 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 |
lifeless | I'm easy | 19:15 |
lifeless | I'll be surprised - and it will indicate a pretty severe bug - if you have working files in /home/damon/digitalPhotos/rapid/ already. | 19:16 |
dlynch | http://pastebin.com/T8TRmMt5 | 19:17 |
dlynch | http://pastebin.com/1Fj2WPrQ | 19:17 |
lifeless | interesting | 19:18 |
lifeless | can you look in backup.bzr | 19:18 |
lifeless | dlynch: is rapid itself meant to be a project, or is it a collection of projects? | 19:19 |
dlynch | ok.... I just thought of something..... recently I moved my home partition, restoring from backup using rsync.... with an exclude rule for checkout/ | 19:19 |
dlynch | I had that rule because I was experimenting with gnome 3 code | 19:19 |
dlynch | I guess when I did the restore, a bzr dir was excluded! | 19:20 |
lifeless | a | 19:20 |
lifeless | yes, that would do it | 19:20 |
dlynch | ok sorry about that | 19:20 |
lifeless | rsync filters are regexes | 19:20 |
dlynch | yes | 19:20 |
lifeless | or something like them | 19:21 |
dlynch | I should have used a full dir path | 19:21 |
lifeless | they need to be rooted or they match every dir | 19:21 |
lifeless | mystery solved | 19:21 |
dlynch | ok | 19:21 |
dlynch | so to fix this problem, I do a checkout, overwrite whatever gets overwritten, and then restore from local backup | 19:21 |
dlynch | lifeless, thank you very much :) | 19:23 |
lifeless | or just copy that checkout from the backup | 19:24 |
lifeless | (the .bzr/checkout) | 19:24 |
lifeless | /all/ your bzr working areas are going to have this issue | 19:24 |
lifeless | If I was you I'd figure out how to get rsync to copy all the bits you missed | 19:24 |
lifeless | be faster over all | 19:24 |
dlynch | lifeless, the problem is they were not backed up to begin with, because I use the exclude rule in the actual rsync command to backup | 19:26 |
lifeless | ah | 19:26 |
lifeless | so | 19:26 |
lifeless | there is another thing you can do | 19:26 |
lifeless | will avoid the need to restore | 19:26 |
lifeless | cd /tmp | 19:26 |
lifeless | bzr checkout --lightweight /home/damon/digitalPhotos/rapid/ foo | 19:27 |
lifeless | cp -a foo/.bzr/checkout /home/damon/digitalPhotos/rapid/.bzr/checkout | 19:27 |
dlynch | wow bzr status now works | 19:27 |
lifeless | find /home -name 'branch' -type d | 19:29 |
lifeless | should find all the places you need to do that | 19:29 |
dlynch | thanks very much lifeless.... I really appreciate it! | 19:33 |
lifeless | no worries | 19:33 |
mwhudson | hm | 21:30 |
mwhudson | http://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel/files | 21:30 |
mwhudson | no | 21:30 |
mwhudson | $ bzr get lp:~linaro-infrastructure/launchpad-work-items-tracker/linaro | 21:31 |
mwhudson | bzr: ERROR: Invalid http response for https://xmlrpc.launchpad.net/bazaar/: Unable to handle http code 400: Bad Request | 21:31 |
mwhudson | not seen that before | 21:31 |
lifeless | meep ? | 21:32 |
mwhudson | huh, worked the second time | 21:33 |
mwhudson | nothing much in .bzr.log either | 21:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!