=== lifeless_ is now known as lifeless
Wiz_KeeDhello guys, can someone please tell me if bzr qlog should be readily available when installing bzr or is it a third-party that i need to isntall? (Ubuntu 32bit 12.04 LTS)11:08
PengWiz_KeeD: Ought to be the, uh, qbzr package. I think.11:13
Wiz_KeeDi tried installing it with apt-get and i got The following packages have unmet dependencies:11:13
Wiz_KeeD qbzr : Depends: python-qt4 but it is not going to be installed11:13
Wiz_KeeDE: Unable to correct problems, you have held broken packages.11:13
PengSorry, apt is not my thing.11:14
Wiz_KeeDheh,thanks anyway man11:14
ychaoucheWiz_KeeD: there should be an apt command to fix your packages11:51
Wiz_KeeDtried several, none worked ychaouche11:52
ychaoucheHi #bzr. I want to start with bazaar, I just read the 5min tutorial and the getting started guide and I have a few questions : So suppose I have my code in code. I'd cd to code, then the getting started guide tells me to bzr init. bzr help init tells me that This creates and empty branche. How come I can create a branch without creating a repository first ?12:09
ychaoucheOr is the repository created along with the branch and everything is put inside the .bzr directory ?12:10
ychaoucheI have the feeling that source code (files) are mixed with the "revisions", i.e bzr files. They're all put inside the source code. Am I right ?12:11
ychaoucheI'm coming from subversion where source code is checked out from a repository, where svn stores branches/revisions etc.12:12
ychaouchePlease tell me if this is correct : http://pastie.org/pastes/5501937/text12:21
fullermdYou can do init without init-repo just fine.  It'll just colocate and use an internal repo.12:28
fullermdWhich is a related, but not identical, construct to svn's repo.12:28
ychaouchefullermd: ok suppose I do init-repo to create a repo, then init to create a branch. Is this workflow correct ?12:37
fullermdAssuming there's a "cd" in the middle, so the branch is under the repo.12:37
fullermdBut really, if you're just starting out working with bzr, I'd ignore it.12:37
fullermdUsing repos properly makes things a lot nicer, but it's not a semantic difference, and thinking about it at this point is likely to overcomplicate things.12:38
fullermdYou're thinking svn; in svn, the repo is an important (or _the_ important) boundary/unit.  In bzr, it's completely irrelevant; the _branch_ is the important unit.12:39
ychaoucheah ok12:39
ychaouchethanks for this _important_ information12:40
ychaoucheno pun intended12:40
ychaoucheSo one doesn't really need a repository right ?12:40
fullermdNot an explicitly-created one, no.  If you don't make one (with init-repo), each branch (made with init) will create and use an internal one.12:41
ychaouchefullermd: So I'll just create a normal directory with mkdir foo instead of bzr init-repo foo and put my branches there12:41
fullermdAll that a shared repo does is save you disk space/IO/etc by sharing storage between branches.  Everything works the same either way.12:41
ychaoucheok, I'll do that in a second stage12:42
fullermdAnd you can use reconfigure to switch things around to using a shared repo later, so I'd recommend ignoring it for the moment, just to cut down on the number of things you're thinking about.12:42
ychaoucheah cool12:42
ychaoucheSo, suppose I want to work on a dev branch, and from times to times, when features are ready, create a production branche. How do I create a production branche ?12:43
fullermd`bzr branch dev production`12:43
ychaouchelet me try this12:44
fullermdYou may find some of the stuff in and around <http://wiki.bazaar.canonical.com/MatthewFuller/SpotDocs/PiecesInBrief> useful.  Or maybe not.12:44
fullermdWon't mean much until you use the commands for a little while, probably; doesn't help with that.  But it does talk about the abstract pieces underneath that you're manipulating.12:44
ychaoucheok let's leave that for later.12:45
ychaoucheok I created a branche. How cool is that.12:45
ychaouchefullermd: so if I just copy everything inside a branch and give it to someone, it contains everything he needs to branch/merge and do stuff, right ?12:46
fullermdNormally, you'd do that by having the branch somewhere they can read, and let them use it as the source for a `bzr branch` invocation of their own.12:47
ychaouchedo I need to setup a webserver for that ?12:47
ychaoucheor a bazar server ?12:47
fullermdMost common is probably ssh access.  Though that's more of a bother when people don't already have shared access to a system somewhere.12:48
fullermdYou can run over dumb http; it'll be slower than over a smart transport, though you probably won't notice the difference with small branches.12:48
fullermdAnd there's the bzr:// server, which works OK for ad-hoc or global readability.  It doesn't have any AAA support or hooks, so it won't suit a lot of cases.12:49
ychaouchebzr explorer : bzr: ERROR: No module named explorer.lib.commands http://pastie.org/550211313:24
ychaoucheI'm using bzr 2.4.113:25
ychaoucheIs it problematic if the parent branch is not where bzr thinks it is ? http://pastie.org/550252415:42
=== yofel_ is now known as yofel
jelmerychaouche: no, that shouldn't matter15:50
jelmerychaouche: it just means that it will do the wrong thing if you don't specify a branch explicitly to 'bzr pull'15:50
ychaouchejelmer: fine15:50
ychaoucheSame for merging, right ?15:50
ychaoucheshould I merge back dev to prod.15:50
=== _thumper_ is now known as thumper

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