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
Solved

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

860 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