Solved

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

Posted on 2010-08-25
2
396 Views
Last Modified: 2013-11-25
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
Comment
Question by:jrgalaura
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Expert Comment

by:arober11
ID: 33521065
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
 
LVL 7

Accepted Solution

by:
sailingbye earned 250 total points
ID: 33638231
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When working in a large software development team, whether you have many developers working on the same projects, or your project is linked to other projects; it is very important that developers regularly perform "get latest" to ensure that the cha…
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question