Solved

comments in sql server stored procs using SVN

Posted on 2009-05-13
1
365 Views
Last Modified: 2013-11-25
Hi folks. I'm trying to move our team from VSS to SVN, so far so good, but a small issue came up. In our sql sprocs when we used VSS we added the following comments

-- =============================================
-- $Archive: <path>$
-- $Revision: <revision #> $
-- $Date: <date> $
-- $Author: <author> $
-- =============================================

where the items between angle brackets were populated by VSS and the script file would have the information after every check in. This helped us track sql sprocs when we went from dev to prod. Is there a way to do this in SVN? a hook of some sort or built in functionality that anyone knows of?  Any and all help is appreciated.

Thanks
Z
0
Comment
Question by:zaidmarji
1 Comment
 
LVL 25

Accepted Solution

by:
reb73 earned 250 total points
ID: 24377697
I think you have to enable keyword substitution on SVN..

See link below to see if it helps -

http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.advanced.props.special.keywords
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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