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.