[GLLUG] Another Subversion question (2008 Feb 10)

Richard Houser rick at divinesymphony.net
Sun Feb 10 19:25:58 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Do I need separate installations of Subversion for each repository?
| [This is not what I expect.]

No.  You only need access to one Subversion binary.  You can, however,
have multiple different repositories (just as you can have multiple
documents available with just one install of OpenOffice).

| Or is what the documentation refers to as the Repository the equivalent
| of the top level folder within the subversion database -- what I would
| call a project? [This is what I do expect.]

A project is the top level of whatever you consider your project to be.
~ Usually, this would consist of either one build system or multiple
tightly-related build systems.  This may or may not related to the
concept of a "project" in your IDE of choice, a master build script, etc.

A repository is the set of all things that Subversion tracks in that
data set.  You have to issue a special create command to initialize a
repository, so it should be very clear where you are doing so.  You
might hear a repository referred to as a Subversion filesystem; it might
help you to think of it as such.

| If this second, then the revision numbers change when anything is
| changed for a repository (aka project)?  [Thus changing the rev# for
| each change of a project but not for other projects.]
| But, I can have multiple projects (i.e. top level folders -- aka
| repositories) within the Subversion database?

Revision numbers are NOT designed to have any particular meaning for a
given directory or file.  It is very common that a directory will not be
modified when other parts of the repository are, so the version number
will increment with no changes to that area of the code.  Do not be
tempted to try to equate a version number increase to a localized
change; current revision bumps just means that something.  Revision
numbers are a convenience to the user (instead of specifying a time
stamp) and shouldn't be used for anything more than a system provided label.

| Please advise.
|
| Thanks again.
|
| Frank
|
| P.S.  Richard, the book is on order.  Thanks for the reference.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFHr5YVUMkt1ZRwL1MRAjVOAKCzz8rOHvwQVjdoo7v5huvK6RD2hwCfbpl5
fWVbwhvJn8voxHcxYIcMVb0=
=L1hQ
-----END PGP SIGNATURE-----


More information about the linux-user mailing list