Solved

SVN commit - update a file automatically

Posted on 2010-11-29
1
408 Views
Last Modified: 2013-11-13
I would like to have a mechanism that automatically increments a value in a specific file in my repository each time i do a commit. Is this possible?
0
Comment
Question by:Commsquare
1 Comment
 
LVL 9

Accepted Solution

by:
jeremycrussell earned 500 total points
Comment Utility
You can use a post-commit hook script.

Set it up to check out the file, update it, and then commit it back.

Here's some info on setting up hooks.  
http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.reposadmin.create.hooks

If you're comfortable with a little shell scripting, should be pretty straight forward
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

744 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

17 Experts available now in Live!

Get 1:1 Help Now