On Wed, 30 Jun 2004 10:31:13 +0200, Ivan Horvath <i.horvath@alco.co.hu> wrote:
> Dear Max,
>
> yes, i can imagine that there are many advantage for this philosophy ...
> here is what i need:
> i would like to use a version control system to store documents, manage
> histories, manage versions of docs in a document control system.
> subversion is very nice for this, it has an own storage system, handle
> permissions, web interface, etc, but small problem of handling version
> numbers.
> that means the document version number has to be managed by my
> application, but how can i relate my version number to the real revision
> number in subversion system?
> if for instance a user wants to see the 2. version of the document, but
> the last (actual) version is already 7. how i know that which revision i
> should get from subversion history?
>
Hackish idea... *ducks*
svn log -r1:HEAD wcfileorrepopath -q | grep "|" | wc -l
will give you the number of times this file was changed
Based on this, you can find out the subversion revision number of the
"file revision number"
Cristi BALAN
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 30 10:48:22 2004