[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: looking for one word to encompass trunk, tag and branch

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 18 Aug 2009 09:51:35 -0500

B. Smith-Mannschott wrote:
>> "The root of <url> is <shorter-url>."
>> "The tree containing <url> is rooted at <shorter-url>."
> Yea, actually --root is what I'd been using, though I neglected to put
> it in my list. I'm not too keen on it because it's not specific
> enough. The root of what? The project, the repository, the current
> trunk-or-branch-or-tag (tobot?)

But the 'project' is the root. It has revisions. The revisions are
located by both the URL path and revision number where the current
revision is assumed if you omit it. Why call these things anything
else? The rest is just convention as you might note by the ability to
copy any revision specified by url and revision number to any other URL

>> He's not looking for a word for the project. He's looking for a word that
>> can be used to describe the trunk, or any branch, or any tag, of the
>> project.
> correct. In fact, let me draw a picture. (please put on your ascii-art goggles)
> svn://example.com/svn/repo/group/artifact/branches/ISSUE-13/src/main/java/com
> \________________________/\_____________/\_______/\_______/\______________...
> repository root url project name *mumble* *mumble* *mumble*-relative
> "repo" kind name path
> \_______________________________________/
> project url
> \________________________________________________________/
> *mumble* url
> Where in the case of trunk, this looks a little different:
> .../group/artifact/trunk/src/main/java/com
> \______/
> *mumble*
> kind &
> name
> ..._____________________/
> *mumble* url

They are all revisions... Tags are the only things that are different,
and only by the convention that you don't commit after creating them so
they only have the HEAD revision - and that isn't enforced.

> I like variant.

Why is that better than 'revision' or 'version'? Using only one term
makes it easier to see that there are multiple dimensions to the way you
access them and one is as valid as another. That is, you get a revision
whether or not you specify a revision number, and tags are just a way to
  tie a revision to the head of URL path.

   Les Mikesell
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 16:52:30 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.