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

RE: clarification on versioning

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2005-12-19 05:38:43 CET

Quoth Lakshman Srilakshmanan <>:
> While reading through some mail archive on the internet I
> came across repository level version numbering and
> would appreciate clarification on this matter.
> Scenario.
> I have 3 projects under a "single" Subversion repository as follows
> /repository
> /repository/project1
> /trunk
> /branch
> /repository/project2
> /trunk
> /branch
> /repository/project3
> /trunk
> /branch
> If I check in a modification under project3/branch/integer.c,
> does it change the revision number for project1 & project2 as well.

If you commit revision 428 on project1/trunk, say, then your next commit
will be #429, no matter whether it is to project1/trunk or
project3/trunk or anywhere else.

> I need to understand whether the revision number is
> maintained at a project level or at the repository level.

Repository level only. Subversion has no concept of a "project" and one
cannot have a revision number. (Any file/folder, however, does have a
"last revision this was changed in", which obviously will stay the same
until you actually change something in the file/folder.)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 19 05:45:22 2005

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