On May 30, 2008, at 23:09, Pat Farrell wrote:
> Is there a glossary somewhere of placeholder terms in the red-bean
> For example
> under the svnadmin section, there is a line:
> svnadmin hotcopy REPOS_PATH NEW_REPOS_PATH
> I'm curious if there is place where "REPOS_PATH" is defined. It
> seems to be the real path to the repository, which means it only
> makes sense on the server that hosts the repository.
Exactly correct: REPOS_PATH is the on-disk path to the repository.
svnadmin commands work only on the server that hosts the repository.
> Similarly, under "Path-Based Authorization" section, there is the
> "the value of the section-names are either of the form [repos-
> name:path] "
> Thus I'm trying to find the real meaning, definition, etc. of
> This seems to be refering to the /calc subdirectory in the sample
> repository layout, but its not explicitly stated.
The entire passage from the book reads:
To be more specific: the value of the section-names are either of the
form [repos-name:path] or the form [path]. If you're using the
SVNParentPath directive, then it's important to specify the
repository names in your sections. If you omit them, then a section
like [/some/dir] will match the path /some/dir in every repository.
If you're using the SVNPath directive, however, then it's fine to
only define paths in your sections—after all, there's only one
harry = rw
sally = r
So if you use SVNParentPath to serve multiple repositories, you can
put the name of the repository before the colon to have the rule
apply only to that repository. If you want a rule that applies to all
repositories, or if you're using SVNPath and are serving just a
single repository, omit the repository name (and, I believe, the colon).
> My apache config has the line
> SVNPath /var/svnhome
> and /var/svnhome is the root of the subversion storage area.
Or expressed another way: /var/svnhome is the repository.
> What is confusing me is that unlike with CVS, where the CVSROOT has
> physical subdirectories, in svn these are only logical
The repository is a database (in either BerkeleyDB or FSFS format),
so you can't see its contents by just browsing it on disk. You have
to use svn commands to see what's inside the repository.
> Also, related question, is there a local command, such as an
> svnlook option that can list all the top level 'directories' in a
> You can get the result remotely using
> svn list http:...
You can use that same command locally, unless for some reason you
cannot connect to the server's http server from the server...
You can also use e.g. "svn list file:///var/svnhome" -- that is,
construct a file:///-protocol URL to your local repository.
> Are these 'directories" the same as "repos-name" above?
No, what you see with "svn list" is inside the repository. The "repos-
name" is the name of the repository's on-disk directory (in your
case, "svnhome", but again you should omit that since you just have a
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-31 07:34:55 CEST