Erik is right. If you need what you asked for, you get something
similar if you type :
svn log X
and then
svn log Y
however, you will get the *global* revision numbers, and therefore
you will not get consecutive numbers for either file X or Y.
btw, in svn you do not need to 'co' (checkout) files. all the files are
'checked-out' (in the VSS/RCS sense) by default, and this command
does not exist in svn the way you are used to. the command svn
checkout exists is, but it is used to create a new working copy.
unless you need that for a very special reason, i'd advise you to
change your mind. svn is 'easy' and very well documented, but for
people who have used old SCMs (i.e. using the lock-unlock method), it
is difficult for them to get used to its new (and non-exclusive) philosophy.
basically because humans tend not to be happy with a change that do
not need, even if it is proven that that change is useful.
2007/12/11, Erik Huelsmann <ehuels@gmail.com>:
> On 12/11/07, Marcin Kosmowski <marcin.kosmowski@primesoft.pl> wrote:
> > Hi,
> >
> > 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.
>
> > kind regards
> > Marcin Kosmowski
>
> bye,
>
> Erik.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
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:00:20 2007