[08:12] <Merwin> Hi guys. I'm stuck with Bazaar. I moved abzr colocated repo from a dir to an other, and now it doesn't work in the new one
[08:13] <Merwin> (openassur)thibaut@PC-Thibaut:~/OpenAssur/addons-opas$ bzr revno
[08:13] <Merwin> bzr: ERROR: Not a branch: "/home/thibaut/OpenAssur/addons-opas/.bzr/branches/trunk/
[08:15] <Merwin> I changed the path in .bzr/branch/location/ because it pointed to the old one.
[08:18] <Merwin> bzr colo-fixup give me the same error :-(
[09:19] <mgz> morning
[09:24] <Wiz_KeeD> hello guys!
[09:27] <Wiz_KeeD> can anyone tell me how i can download a branch from local to the dev server?
[09:29] <mgz> there are lots of ways to upload a branch, which is best depends on exactly what you're trying to do
[09:30] <Wiz_KeeD> hello mgz and thank you for answering
[09:30] <Wiz_KeeD> well...
[09:31] <mgz> you can either push the branch over sftp, or if you really just care about the tree, use something like the bzr-upload plugin
[09:31] <Wiz_KeeD> i have a development server to which i have ssh and root access
[09:31] <Wiz_KeeD> and i have the branch on my laptop
[09:31] <Wiz_KeeD> both running ubuntu
[09:32] <mgz> what's easy then is to install bzr on the server and push using bzr+ssh, just remember that won't create a working tree on the server by itself
[09:32] <Wiz_KeeD> i cannot access my laptop from the dev environment since i have no access to the intranet
[09:33] <Wiz_KeeD> i have bzr installed on the dev server
[09:33] <Wiz_KeeD> how do i do that mgz? :O and what's actually a working tree?
[09:33] <Wiz_KeeD> as in i cannot revert to older version and such?
[09:33] <Wiz_KeeD> i can only pull?
[09:34] <mgz> you can do pretty much anything you'd do locally over bzr+ssh
[09:34] <Wiz_KeeD> then what's the problem?
[09:34] <Wiz_KeeD> any tutorial or suggestions on how i can do that?
[09:35] <Wiz_KeeD> i find it highly unpractical and unprofessional to just copy paste the files when i have bzr on both environments
[09:36] <mgz> see: http://doc.bazaar.canonical.com/beta/en/user-guide/core_concepts.html
[09:37] <mgz> then read `bzr help push`
[09:38] <mgz> but if what you really want is the contents of the tree in a specific place on the dev server to say, actually get the code run, you may want to look at bzr-upload instead
[09:38] <mgz> push mirrors the repository and the branch, but does not update the tree
[09:46] <Wiz_KeeD> it's my lack of knowledge
[09:46] <Wiz_KeeD> that's at play here
[09:47] <Wiz_KeeD> i do want the contents of the code in a specific place where it is loaded by a framework
[09:51] <mgz> try getting that plugin and experimenting with it then
[10:01] <Wiz_KeeD> hmm so i have to install that plugin
[10:01] <Wiz_KeeD> can't i create a repository on the dev and push from local?
[10:01] <Wiz_KeeD> i'd love to take the tutorial from 0 but right now i'm in a bit of a hurry
[10:02] <mgz> as I said at the start, you can do this in a bunch of different ways, I'm trying to poke you towards the one that's closest to what you actually need
[10:03] <mgz> if you're basically doing deployment of the code to your server, using bzr-upload is likely the easiest to set up correctly
[10:03] <Wiz_KeeD> this is the plugin right http://doc.bazaar.canonical.com/plugins/en/push-and-update-plugin.html
[10:04] <Wiz_KeeD> yes that's it, deployment of code to the server
[10:04] <Wiz_KeeD> sorry for being such a douche
[10:08] <mgz> Wiz_KeeD: actually no, I was talking about https://launchpad.net/bzr-upload but you can try that one if you like
[10:11] <Wiz_KeeD> that is for the case where bzr is not installed on the dev server
[10:13] <mgz> it works for that, but is also fine for just mirroring your tree. is probably the closest to what you do now.
[10:13] <Wiz_KeeD> https://launchpad.net/bzr-push-and-update
[10:14] <Wiz_KeeD> so for developing locally and updating the changes to the server when done which one of the two would you recommend considering my precarious knowledge and the fact that the server has bzr on it and i have ssh access?
[10:17] <mgz> feel free to try the push and update one, mirroring the branch as well might be handy.
[10:20] <Wiz_KeeD> i think i'll go with the bzr-upload you said
[10:20] <Wiz_KeeD> how do i install the plugin
[10:20] <Wiz_KeeD> i'm looking at this and i can't understand http://doc.bazaar.canonical.com/plugins/en/plugin-installation.html
[10:20] <Wiz_KeeD> i have no plugin directory
[10:22] <mgz> simplest way is `mkdir ~/.bazaar/plugins` then `bzr branch lp:bzr-upload ~/.bazaar/plugins/upload`
[10:24] <Wiz_KeeD> hmm, let me try
[10:25] <Wiz_KeeD> ok done that
[10:26] <Wiz_KeeD> it shows in plugins now
[10:26] <Wiz_KeeD> it's ready to work?
[10:26] <mgz> should be.
[10:28] <Wiz_KeeD> where's the documentation for this
[10:29] <mgz> `bzr help upload` also on the plugin doc page on the web page you were looking at earlier
[10:29] <mgz> I'm presuming you have sftp as you have ssh
[10:30] <Wiz_KeeD> that idk :-s is that kind of like a ssl for ftp?
[10:30] <Wiz_KeeD> found this though
[10:30] <Wiz_KeeD> http://wiki.bazaar.canonical.com/BazaarUploadForWebDev
[11:02] <Wiz_KeeD> i am making a sftp user right now mgz
[11:02] <Wiz_KeeD> another option without using sftp and such?
[11:03] <Wiz_KeeD> like idk, make the repository on the dev and pull, make changes and push back? would that be sane? and it would avoid using ssh or sftp
[11:06] <mgz> well, just running update after push is enough if having the branch in place is acceptable
[11:08] <mgz> the other plugin you looked at did say it boiled down to push followed by `ssh LOC bzr update`
[11:30] <Wiz_KeeD> mgz, a friend suggested i just do bzr+ssh//user@hostname/full/path
[11:32] <mgz> that's not an action, it's a location.
[11:32] <mgz> also, you probably want to stick your username in locations.conf rather than in the url
[11:33] <Wiz_KeeD> i didn't fully understand sorry
[11:33] <mgz> pushing over ssh then updating the tree is fine, you just need to do both bits.
[11:33] <Wiz_KeeD> is there something wrong with pushing?
[11:33] <Wiz_KeeD> which both bits?
[11:37] <mgz> literally, `bzr push bzr+ssh//hostname/~/path && ssh hostname bzr checkout "~/path"` then switch checkout to update atfer the first time
[12:45] <mgz> huh, bzr-ch is a project... I guess our docs don't explain you don't need to create a project just to translate our docs... not in chinese yet at any rate
[12:46] <Wiz_KeeD> mgz, ok, what if i transfer the branch to the development server, pull the files on my local, make changes and push them back?
[12:46] <Wiz_KeeD> how's that?
[12:50] <mgz> I don't follow. Did you try what I suggested and it didn't work in some regard?
[12:50] <mgz> you just need to create a tree on the remote side then keep it updated, if you want to go down the branch mirroring route.
[12:51] <mgz> I hate to be all perl about this, but there is more than one way to do it, just pick one and do that.
[13:04] <Wiz_KeeD> i see
[13:04] <Wiz_KeeD> i've placed the repository on the dev server and now i want to pull it
[13:04] <Wiz_KeeD> how do i do that? bzr branch hostname...
[13:04] <Wiz_KeeD> ?
[13:05] <mgz> 'pull' optionally with --remember.
[13:06] <Wiz_KeeD> pull from where, i need to install the branch on my local
[13:06] <Wiz_KeeD> from the dev server
[13:06] <mgz> I don't see how you're solving the working tree update.
[13:08] <mgz> I don't know where you've put things so can't tell you what paths to use.
[13:09] <Wiz_KeeD> hm
[13:10] <Wiz_KeeD> On my local ubuntu where i develop i have the files in /opt/openerp/projects/project-name and on the development server i have them in /opt/openerp/project-name
[13:10] <Wiz_KeeD> i have transfered the branches from local to the development server via bzr upload
[13:11] <Wiz_KeeD> and now i'd like to pull the branches fom the dev to the localhost so when i do push and pull it will automatically make the neccesairy changes
[13:11] <fullermd> OK, now I'm all confused about who's confused   :p
[13:11] <Wiz_KeeD> have i've been clear enough?
[19:55] <bobweaver> hello there I am having a weired problem  http://paste.ubuntu.com/1380291/
[19:55] <bobweaver> as you can see there is room on the drive
[19:59] <bobweaver> looking at log now
[20:03] <vila> bobweaver: not enough on /tmp ?
[20:03] <vila> try setting TMP (or is it TMPDIR) to somewhere else while running the command may be
[20:04] <bobweaver> nope friend also suggested that I removed /tmp adn still nothing
[20:04] <bobweaver> ok I will try that
[20:14] <bobweaver> back to normal
[20:14] <bobweaver> thanks vila