Solved

comments in sql server stored procs using SVN

Posted on 2009-05-13
1
366 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
[X]
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
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: 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

Suggested Solutions

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In this article I will describe the Detach & Attach 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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

696 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