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

Re: revision numbers

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-01-09 17:06:39 CET

Benedict Verheyen wrote:

> Is this expected behaviour

Yes. From the book:

        http://svnbook.red-bean.com/html-chunk/ch02s03.html#svn-ch-2-sect-3.2

  Global Revision Numbers

  Unlike those of many other version control systems, Subversion's revision
  numbers apply to entire trees, not individual files. Each revision number
  selects an entire tree, a particular state of the repository after some
  committed change. Another way to think about it is that revision N represents
  the state of the repository filesystem after the Nth commit. When a
  Subversion user talks about ``revision 5 of foo.c'', they really mean ``foo.c
  as it appears in revision 5.'' Notice that in general, revisions N and M of
  a file do not necessarily differ! Because CVS uses per-file revisions
  numbers, CVS users might want to look at Appendix A, "SVN for CVS Users", for
  more details.

> or is there a way i can change this so that each project's revision number
> starts from 1?

If you want to impart some special significance to the revision number for each
project, you will need to use seperate repositories for each project.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 17:07:49 2004

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.