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

Re: SVN 'versions' per file

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-12-11 15:56:31 CET

Erik Huelsmann wrote:

>> Is it possible to get SVN work the way it maintains revision numbers for
>> every file in the repo separately?
>
> No.
>
>> For instance, if I have two files (say X and Y), adding them to the repo
>> should set their 'versions' to 1 (both files are in one subfolder).
>> Now, if I co&change&commit X 3 times and Y 4 times, X's version should
>> be 4 and Y's 5 at the end of the day.
>> I need both plain revision numbers kept as usual in a SVN-flavour and
>> this 'version' number kept for every single file stored in my repo.
>>
>> Is it possible at all?
>
> Yes, if you use CVS.

But note that svn info <file> will show the last revision number where
each file actually changed, and viewvc (an add-on web interface) makes
it easy to browse through the revisions of a single file and select for
diffs even though the revison numbers aren't just sequential.

-- 
   Les Mikesell
    lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 11 15:57:19 2007

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.