Keyword Expansion

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

Moderator: SourceGear

Post Reply
Toshan
Posts: 4
Joined: Wed Oct 27, 2010 9:11 pm

Keyword Expansion

Post by Toshan » Wed Oct 27, 2010 9:20 pm

Hi,

I am in the process of evaluating Valut as a replacement of VSS.

I cannot ger keyword expansion to work. I have enabled it in admin web client.

When I check in a file that was previously checkin in VSS, it resets $revision : $ number back to 1 but does not increment it on sybsequent check-ins.

Also is there a way to import existing vss files and history.

Please help

Regards

Toshan

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Keyword Expansion

Post by lbauer » Thu Oct 28, 2010 10:59 am

You can import the latest version of files in your VSS database with our Handoff feature. A connection is maintained with VSS so that you can see VSS history:
http://support.sourcegear.com/viewtopic ... 13&t=11526

You can also import your entire VSS database with history, though this can take a long time:
http://support.sourcegear.com/viewtopic.php?t=7

Regarding the keyword expansion problem -- what type of file are you trying to expand?
Linda Bauer
SourceGear
Technical Support Manager

Toshan
Posts: 4
Joined: Wed Oct 27, 2010 9:11 pm

Re: Keyword Expansion

Post by Toshan » Thu Oct 28, 2010 1:55 pm

It is a text file with .paSQL extension. Below is the example

script "IPOSProcs", "580, $Revision: 1 $", "iPOS Procedures"

I want the number after $Revision: to be incremented.

Thanks

Toshan

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Keyword Expansion

Post by lbauer » Thu Oct 28, 2010 2:23 pm

A file needs to be considered mergeable (not binary) for keywords to be expanded.

Add the file extension to the list of mergeable files for that repository.

This setting is in the Admin Web Client under Source Control Repositories->(Repository name)->File types.

Let me know if this does not resolve the problem.
Linda Bauer
SourceGear
Technical Support Manager

Toshan
Posts: 4
Joined: Wed Oct 27, 2010 9:11 pm

Re: Keyword Expansion

Post by Toshan » Sun Oct 31, 2010 7:02 pm

I alread have specified it. Do I need to specify anything under Star of history line and end of history line?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Keyword Expansion

Post by lbauer » Mon Nov 01, 2010 1:58 pm

Would you post a screen shot of the Keyword Expansion configuration page in the Vault Admin Web Client. This setting is in the Admin Web Client under Source Control Repositories->(Repository name)->Keyword Expansion.
Linda Bauer
SourceGear
Technical Support Manager

Toshan
Posts: 4
Joined: Wed Oct 27, 2010 9:11 pm

Re: Keyword Expansion

Post by Toshan » Mon Nov 01, 2010 2:00 pm

I have got it working. Thanks for your support.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Keyword Expansion

Post by lbauer » Mon Nov 01, 2010 2:47 pm

Thanks for the update. That's good news. : )

I just got it working myself -- I had to restart IIS for the settings to "take."

Let me know if we can be of assistance in the future.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply