• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • Last Modified:

Is there a way to extract version numbers (with the filename information) in SVN?

In SVN, how do you get the version number out aside from manually checking each file? Is there a way to extract it automatically?
0
jrgalaura
Asked:
jrgalaura
1 Solution
 
arober11Commented:
Yes, but what exactly do you want, what client OS are you running and what method are you using to access SVN (Tool  + Connection method)

If your using the command line, change to the directory and try:

svn info

OR:

svn status

see also: http://www.zorched.net/2006/07/20/getting-the-revision-number-of-your-subversion-working-copy/
0
 
sailingbyeCommented:
Perhaps a 'keyword anchor' [1] is what you are looking for?

For example, SVN will automatically replace occurrences $Revision$ in a version controlled file, with the revision of number of the file. There are other keywords that may be of interest.

Hope this helps.

[1] http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now