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

Re: version number

From: Ryan Schmidt <subversion-2016_at_ryandesign.com>
Date: Sun, 21 Feb 2016 08:39:54 -0600

On Feb 21, 2016, at 7:45 AM, Ren Wang wrote:

> Is there a way or API to set and get a file version number instead of revision number? For my case, when a file is created, the version by default should be 1, every change the version number will be incremented by 1.

No, Subversion doesn't track files individually; it tracks changes, and a change can affect any number of files and directories.
Received on 2016-02-22 10:26:46 CET

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.