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

Re: One or several repositories

From: Benjamin Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sat, 23 Aug 2008 09:13:11 +0200

On Aug 23, 2008, at 02:25, Robert P. J. Day wrote:

> On Thu, 21 Aug 2008, Engebakken Geir wrote:
>
>> We have tried out Subversion for some projects during the summer
>> months, and placed three projects in the same repository, each
>> project having their own tags,branches and trunk subdirectories.
>
>> Now the users are puzzeled by the ever increasing revision number in
>> subversion even though nothing have changed in their own project,
>> are there any pros and cons information available regarding the
>> issue with one or several repositories?
>
>> Or how can i convince them that the revision number is irrelevant,
>> and that they should just ignore it. (I must admit that i am a bit
>> confused myself, coming from MKS where the revision number is
>> absolutely relevant!)
>
> i recall making this point many months ago when i was on this list
> more frequently, and i really, really, *really* wish the svn book
> authors would emphasize something early on in that book -- there is
> ***no such thing*** as a "project" in subversion. it doesn't exist.
> never did. never will. there is a repository, and that's all.

well, yea. in the same sense as that there's no such thing as tags and
branches. these are not first-class abstractions in svn; they are all
"implemented" by convention.

more pragmatically, i have found it helpul to consider the parent of
any trunk, tags, branches triplet to be a "project". this parent may
be the root directory of a repo (a single project repo) or not.

the behavior of the rev nr is somewhat simpler in the one-project repo
case, but even there naive expectations breakdown as soon as work on a
branch begins.

(expecting rev numbers to mean more than they do is a common stumbling
block for svn newbies. I wonder how the same people would react to the
SHA1 identifiers a'la hg or git?)

// ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-23 10:46:47 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.