Solved

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

Posted on 2010-08-25
2
393 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
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

INTRODUCTION Subversion is a fantastic version management and software configuration management tool for teams and individuals to manage software applications. It offers many advantages over it's CVS ancestor such as it's built-in compatibility w…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

810 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