[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: Benedict Verheyen <wsbenedictv_at_hotmail.com>
Date: 2004-01-09 17:20:32 CET

>From: John Peacock <jpeacock@rowman.com>
>To: Benedict Verheyen <wsbenedictv@hotmail.com>
>CC: users@subversion.tigris.org
>Subject: Re: revision numbers
>Date: Fri, 09 Jan 2004 11:06:39 -0500
>
>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

Thanks for the super fast answer :)
It isn't really bothering me, i just wanted to make sure that
i didn't set up my repository wrong.
Making a repository for every project seems like overkill to me though.
I rather have all my code in 1 repository

Regards,
Benedict

_________________________________________________________________

---------------------------------------------------------------------
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:29:13 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.