/srv/irclogs.ubuntu.com/2012/03/03/#bzr.txt

AfCHi02:52
jelmerAmoz: that issue should be fixed in unstable05:05
vivekimsit1Hii, Everyone :)07:09
vivekimsit1I am new to bazaar and looking forward to use it for and my projects, But first of all I want that there are some existing projects which I would like to convert into the bazaar repository but when I do bzr init-repo it creates a new repository!07:10
lifelessvivekimsit1: hi, that is what init-repo is meant to do. What were you expecting ?07:26
vivekimsit1lifeless: init-repo is creating a new dir!07:26
vivekimsit1lifeless: but I want that the I have one project folder already and I would like to convert it into the bzr repo07:28
lifeless'bzr init' on its own will bzr-ise an existing directory07:29
vivekimsit1lifeless: ok! let me conform, Go to the existing directory run the command bzr init inside it and this will make the parent directory a bazaar repo..! am i right?07:35
lifelessyes; you might like to read the manual, it give a guided introduction07:39
lifelessvivekimsit1: e.g. http://doc.bazaar.canonical.com/latest/en/user-guide/starting_a_project.html07:40
vivekimsit1lifeless:Thanks :)07:46
vivekimsit1How can I know how many repositories I have08:33
vivekimsit1or how to see the list of all the repos08:33
wilxrepositories are just directories08:36
wilxIf you want to bzr'ize a single directory, that means you will want to create a stand alone branch.08:36
wilxJust cd ~/mycode and then bzr init .08:36
wilxbzr add .08:36
wilxbzr commit .08:36
wilxDone.08:36
wilxI am pretty sure the basics are well enough described in the docs.08:37
vivekimsit1Is there any doc related to launchpad?09:50
wilxhelp.launchpad.net10:02
wilx?10:02
vivekimsit1ok'10:24
goddardcan some one explain something to me10:59
goddardif I am creating a new branch and then I use bzr-upload11:00
goddardit will upload that branch11:00
goddardwhat happens if i create a new branch?11:00
wilxgoddard: Then you will have two? :)11:35
wilxI have never tried bzr-upload.11:35
wilxI see, it is pure copy upload.11:36
wilxWhy don't you use bzr branch/push instead?11:37
=== yofel_ is now known as yofel
Amozjelmer: so that issue is already taken care of? will it be automatically synced to build in LP?18:06
M-BoyHello all19:21
M-Boyis there somewhere I can chat with ?19:22
M-Boysomeone*19:22
M-Boysorry19:22
jelmerhi19:22
M-Boyfor instance; I know the "don't ask to ask" rule but every time I come over and just ask I see all people are dead so am checking first ^^19:22
M-BoyHi jelmer what up ?19:22
M-BoyI mean how are you...19:22
jelmeralright, how are you?19:23
jelmerAmoz: hi19:23
jelmerAmoz: let mec heck19:23
M-Boyjelmer, I got a straight forward question. I am looking for a "tool" that would replace the linux shell in order to administrate and manage bazaar branches :/19:24
jelmerM-Boy: what do you mean with replace the shell, what would you like to do?19:25
M-Boylaunchpad is a hell therefore I cannot really manage to clone it on my private server, hence I am looking for something else19:25
M-Boyjelmer, let's see I have set up a quick dev environement for a team of 3 developers19:25
M-Boywe have agreed on a straight forward version control workflow: Local branches map on remote branches + 1 remote branch (so called mainline) for global merges19:26
M-Boythe issue is that we keep struggling with permissions...19:26
M-BoyI litteraly spent the whole afternoon trying to figure out how to achieve the best organization but each time I keep fighting with folders' permissions19:26
M-Boyjelmer, any advice?19:41
jelmerM-Boy: what have you set up exactly?19:43
jelmerM-Boy: how are you sharing the branches?19:43
* jelmer back in ~15 min19:43
M-Boyjelmer, I am using bzr+ssh19:45
M-BoyI simply created /bazaar/project_repositoru/branches...19:45
* jelmer is back20:25
jelmerM-Boy: you might want to adjust the permission mask that's used for those users20:26
jelmerso that the group automatically gets write access to new files20:26
M-Boyjelmer, so there is nothing that does this for me through a simple user interface for example?20:26
M-Boyi only found bazaar explorer and it doesn't20:27
wilxCan I remove an entire branch on bzr+ssh:// repo?20:32
wilxRemotely.20:32
M-Boynvm20:45
M-Boysee ya20:45
jelmerwilx: yes, "bzr rmbranch" can do that20:52
=== Nippur_de_Lagash is now known as Nippur
kbulgriensay I want to have --no-recurse whenever I add a directory.  Is there an easy way to set stuff like that up?21:53
Kamping_Kaiserkbulgrien: you can add aliases to ~/.bazaarbazaar.conf21:56
* kbulgrien reading up on alias22:00
kbulgrienbleah. As with other VCS, don't much care for personal alias because it makes you not know how to do things native.22:01
kbulgrienIf I go somewhere my aliases aren't set up, that is a pain.  I'd rather know how to do it without an alias.22:02
kbulgrien(It's also a pain that --no-recurse has no shortcut)22:02
kbulgrienTho I guess its the same if I have to do something else to set up a different default.22:04
jelmerkbulgrien: I guess we could add a short option for it, but I think it's generally not used very often22:20
AfCjelmer: I'd vote for a short option; --no-recurse is something I use a great deal and yeah, it's a pain to type.22:22
kbulgrienUse it heavily ... coming to bzr from other vcs, this is a great pain.22:23
kbulgrienIt at least needs a short option, IMO.22:24
jelmeris this --no-recuse for 'bzr ls', 'bzr add', 'bzr status' or all?22:24
AfCjelmer: I personally am describing my use of add22:24
kbulgrienMostly add is where it bugs me the most.22:25
kbulgrienbut if added, I'd probably vote for consistency.22:25
jelmeryeah, I agree if we add it we should add it consistently22:26
AfCjelmer: my complaint is that in the case of add (one of your first experiences with bzr,) would be more along the lines that most Unix commands require you to specify ls -R or grep -r to make it recursive.22:26
AfCjelmer: but it is what it is22:26
kbulgrienAfC: I agree22:27
jelmerAfC: I think one of the issues there is also that all other VCS tools seem to be recursive by default22:27
jelmerand other bzr commands are recursive by default22:27
kbulgrienjelmer: also agree, but short option then.22:27
AfCjelmer: {shrug} then bzr has to be. Put another way, bzr was recursive before any of the others :)22:28
jelmerbug 94590422:28
ubot5Launchpad bug 945904 in Bazaar "-N as alias for --no-recurse" [Medium,Confirmed] https://launchpad.net/bugs/94590422:28
jelmerAfC: not before svn (or CVS?)22:28
AfCmodern 3rd generation DVCSen22:28
kbulgrienCVS was recursive, but not for add22:28
kbulgrienof directory22:28
kbulgrienrecursive add of all directory contents is bad imo22:28
kbulgrienvery bad22:28
kbulgrienrecursive for anything I'm largely okay with.22:29
kbulgrien(else)22:29
kbulgrienbut to add new stuff recursively to the vcs is a big giant pain more often than not.22:29
jelmerwhy would you have non-versioned and non-ignored files under a VCS directory?22:30
kbulgrienmany reasons22:30
AfCjelmer: it's incremental;22:30
AfCjelmer: as you're building a new project22:30
AfCjelmer: you add a little bit at a time; and I am constantly surprised that "oops!" it went deep.22:31
kbulgrienexactly22:31
AfCjelmer: especially when you're being careful trying to add the bits you know you should have under version control22:31
kbulgriennow try to vcs your OS22:31
kbulgrienbzr add etc22:31
kbulgrienoh crap22:31
AfCjelmer: the END RESULT is yes, you might have added everything, but that's not a conclusion you immediately come to22:31
AfCjelmer: also things like "yes, I should add the log/ directory as an empty stub... ooops, oh crap"22:32
AfCanyway22:32
kbulgrienAfC: you and I think alike.  yes. stubs is another reason.22:32
AfCI doubt you will be able to change the default behaviour, but a short alias would indeed be lovely.22:33
jelmerAfC: bug 94590422:33
ubot5Launchpad bug 945904 in Bazaar "-N as alias for --no-recurse" [Medium,Confirmed] https://launchpad.net/bugs/94590422:33
AfCjelmer: already subscribed :)22:33
kbulgriensvn is -N for the same thing22:37
kbulgriennot that I think we should copy svn22:37
kbulgrienbtw, lest it be seen I popped in to complain, I have been looking for new vcs for a long time. bzr is it.22:37
AfCkbulgrien: it's a good choice.22:37
jelmer... and branch attached22:37
jelmerwe just need to wait for a bzr reviewer to approve it now, and it will be in 2.622:38
kbulgrien:-)22:38
kbulgrienAm slated to convert my work over sometime in not too distant future.22:38
kbulgrienof all the newfangled vcs, bzr is the most natural progression imo. All others have made me work to adopt. bzr just fits like a glove.  A bit uncomfortable, but just what it seems a vcs should be.22:40
kbulgrienuncomfortable primarily just like anything new with a lot of stuff in it is uncomfortable, not bad kind of discomfort.22:42
AfCkbulgrien: our contribution to getting people going on using bzr with our project was http://java-gnome.sourceforge.net/HACKING.html You might find some useful tidbits there.22:43
kbulgrienbookmarked22:47
kbulgrienI tried git for a few weeks and borked things up several times while learning and it was hard all the way.  one night I tried to do something I was used to doing in another vcs.  After a long time I found git will not do it.22:49
kbulgrienI started reading and found probably hg wouldn't either.22:49
kbulgrienI d/l bzr and it was done in 15 minutes.22:49
kbulgrienNone of the pain of git at all.22:49
kbulgrienI had never used distributed vcs before.22:50
wilxHg and Bzr seem largly equal though.22:50
kbulgrientreating dirs as explicit versioned resources.22:50
wilxI have picked Bazaar over Mercurial mainly because the ecosystem seems stronger.22:51
kbulgrienhg didn't used to.  maybe they changed.22:51
kbulgrieni didn't even have to look in the manual... what I wanted to do "just worked" when I figured out what to type from built in help.22:53

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