adding my entire home dir with a "bzr init ~/"

Rahul Nabar rpnabar at gmail.com
Fri Mar 21 05:34:47 GMT 2008


Thanks Matt, Forest, Neil, Aaron and all the others with your very
helpful comments. I think I've successfully transitioned to Bazaar.
Its really a breeze to use and I'm versioning almost every new script
/ config that I edit!

One question. Under the current approach every commit I do (even if on
a different file) seems to get a successive revno. I suppose this is
in some sense logical since I have , in theory, one HUGE project. On
the other hand it probably makes more sense to have a a.b version
number or something where each commit on a particular file remains
somehow sequential.....

Is there a way of achieving that? Might make for a cleaner numbering
system. I hope I get across what I mean!

-Rahul

On Wed, Mar 12, 2008 at 7:39 PM, Matt Nordhoff
<mnordhoff at mattnordhoff.com> wrote:
>
> Rahul Nabar wrote:
>  > Hi,
>  >
>  > This was my first foray into the world of versioning and I just started
>  > using Bazaar. I only needed a simple tool to get me rollback and
>  > tracking capabilities for various config and script files in my own
>  > directory structure on Linux (no multi-user collaborations, publishing
>  > or merges are expected)
>  >
>  > Bazaar seems to be easy to use and perfect for my needs. Unfortunately
>  > the files I need to version are scattered all over the various branches
>  > of my directory structure. I started with  a:
>  >
>  > bzr init ~/
>  >
>  > and now whenever I feel a file or directory deep inside my directory
>  > structure needs versioning I just do a:
>  > bzr add file1 etc.
>  >
>  > From reading the documentation I figure this is a somewhat unusual use
>  > (or isn't it?) in the sense that most people add only a specific small
>  > directory with a "bzr init" e.g.
>  >
>  > bzr init /dir1/dir2/project1 etc.
>  >
>  > Will my strategy of adding my whole, large (approx. 30GB ) "home"
>  > directory in the "bzr init" cause any problems? Just double checking
>  > before I run into any serious trouble later! Its just that the dir. I
>  > pass on to "bzr init" is huge; I will probably only be adding a few
>  > hundred small files to be versioned. (but I think Bazaar is dir aware;
>  > so will this be taxing it too far?) Sorry, if this is a pretty naive
>  > query; I'm somewhat new to the world of versioning.
>  >
>  > -Rahul
>
>  I think it's a great idea. It's very useful to be able to version all of
>  your random files.
>
>  Don't put your email or IRC logs or MP3s in it though...
>
>  You could also set bzr to ignore everything except what you explicitly
>  add to make "bzr st" faster.
>
>  Something like:
>
>  $ cd
>  $ echo '*' >>.bzrignore
>  $ bzr add .bzrignore
>  $ bzr commit -m "Ignoring everything" .bzrignore
>
>  That's a pain if you want to version all of the files in a directory
>  though...
>  --
>



More information about the bazaar mailing list