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

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

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-10-01 22:43:38 CEST

Kathy Moulton <kmoulton@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
Received on Wed Oct 1 22:44:56 2003

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.