Keyword Expnasion

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
mlukas
Posts: 7
Joined: Tue Oct 20, 2009 4:42 pm

Keyword Expnasion

Post by mlukas » Tue Oct 20, 2009 5:38 pm

Is there anyway to enable/disable keyword expansion on a per project basis?

We use Fortress for source code control of stored procedures in a database. Each stored procedure has a header with keywords so that revision history comments get added to the header.

When we prepare an upgrade script for a database, it includes a number of stored procedures with some other logic. The upgrade script is managed as a separate file in a separate project. When we check in the upgrade script, we don't want Fortress to update the revision information in each of the stored procedures which are contained in the script.

If keyword expansion cannot be disabled on a per project basis, is there are keyword that can be added to a file that prevents further keyword expansion (ie don't expand keywords past this point)?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Keyword Expnasion

Post by Beth » Wed Oct 21, 2009 7:30 am

There currently isn't the ability to enable keywords per project. These are a per repository setting.

For keywords that can stop other keywords you can use $NoKeywords: $. That keyword stops all keyword expansion for keywords that follow it.
Beth Kieler
SourceGear Technical Support

Post Reply