Hi,
I'm new here. I checked the documentation but could not find it.
I'm looking for a functionality or plugin that would add the version number and checkin comments into the code Automatically.
E.g.,
When User1 checks in the code MyCode.cs into the valut with comments "Bug 1 has been fixed", the comment
/*********
*Version 1.2 by User1 - Bug 1 has been fixed*
**********/
using system;
......
should be added automatically to the code.
Does any one know if this could be done as an automated process ....?
If so can you please tell me how.
Any help or comment would be greatly appreciated.
Thanks,
Raj.
Automate Checkin Comments into Code
Moderator: SourceGear
-
- Posts: 2
- Joined: Tue Nov 15, 2005 9:19 am
- Location: Baltimore, MD
You're referring Keyword Expansion, which Vault supports.
To configure keyword expansion in Vault, see Admin Tool Help:
http://download.sourcegear.com/misc/vau ... efault.htm
Details are in Admin Tool->Repository Options->Enable Keyword Expansion.
I think the keyword you want to use for comments, etc. is $Log
To configure keyword expansion in Vault, see Admin Tool Help:
http://download.sourcegear.com/misc/vau ... efault.htm
Details are in Admin Tool->Repository Options->Enable Keyword Expansion.
I think the keyword you want to use for comments, etc. is $Log
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 2
- Joined: Tue Nov 15, 2005 9:19 am
- Location: Baltimore, MD
Thanks
Linda,
Thanks a lot for your help n time.
U have a good one...
~Raj.
Thanks a lot for your help n time.
U have a good one...
~Raj.
Tried it, didn't work
I tried doing just that , but it didn't work. I enabled keyword expansion in the admin tool and put in $Author: $ and $History: $ and
$Log: $ but nothing expanded in the Vault. Didn't expand when I retrieved it, either.