Solved

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

Posted on 2010-08-25
2
390 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
Comment Utility
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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now