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

Neil Martinsen-Burrell nmb at wartburg.edu
Thu Mar 13 17:45:44 GMT 2008


Rahul Nabar <rpnabar <at> gmail.com> writes:

> Will my strategy of adding my whole, large (approx. 30GB ) "home" directory in
the "bzr init" cause any problems?

Just a clarification: "bzr init" does not add anything to version control, so
you can run in it in any directory that contains any amount of things.  "bzr
init" only prepares the directory to be a Bazaar branch (in this case by adding
a ~/.bzr directory with some administrative files).   Doing "bzr add filename"
actually adds that file to the version control system.

One small downside of versioning only a small number of files in a large
directory tree is that doing "bzr status" to see what has changed among your
versioned files will also result in a large number of "unknown" files.  In this
case, you can do "bzr status --versioned" (or "bzr st -V" for short) or
alternately you can do "bzr ignore '*'" to ignore everything that is not
explicitly placed under version control by doing "bzr add".

> Sorry, if this is a pretty naive query; I'm somewhat new to the world of
versioning.-Rahul

One of the wonderful things about Bazaar as a version control tool is the
community who is extremely welcoming to newcomers (like we all were at some
point) :)

Peace,

-Neil





More information about the bazaar mailing list