You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kathy Moulton <km...@chisystems.com> on 2003/10/01 20:34:32 UTC

Change version number and printout version number on all files?


Does anyone know if there is a way to override the version numbers that
subversion assigns each time a change is committed? For example each time I
commit a change it will increment the number by one but I may want to
increment it by .1. Is there a way to do this?

Also does anyone know if there is a way to have subversion print the version
number on any version controlled documents? 

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Change version number and printout version number on all files?

Posted by "C. Michael Pilato" <cm...@collab.net>.
Kathy Moulton <km...@chisystems.com> writes:

> Does anyone know if there is a way to override the version numbers that
> subversion assigns each time a change is committed? For example each time I
> commit a change it will increment the number by one but I may want to
> increment it by .1. Is there a way to do this?

No.  Subversion's revisions are integer values, as is apparent in the
very data type itself used to hold them (svn_revnum_t, which is an
integer value) and in the Berkeley database type used to store the
data for those revisions (a "recno" database, where keys are integer
record numbers).

> Also does anyone know if there is a way to have subversion print the version
> number on any version controlled documents? 

Subversion doesn't (yet) have per-document revision numbers.  But you
can run 'svn status -v /path/to/document' or 'svn info
/path/to/document' and see if any of those output sets are useful to
you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org