Jump to content
  • Advertisement
Sign in to follow this  

Current File version from SourceSafe

This topic is 4610 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Greetings! I was wondering if it is possible, to display the current file version out of source safe? For example the same file modified 2 times at version 3, should display in about or what-so-ever method File "test.cpp" version 3. Is it possible with Micro$oft SourceSafe 6.0d and Visual C++ 7.1 (2003). This is a normal C++ console project without any managed stuff. Thank you in advance!

Share this post


Link to post
Share on other sites
Advertisement
There is some method which you can have VSS expand some tokens in your source code (like $Version or something) which gives you the revision of that file.

Alternatively, you could add a batch file or something to your build process which uses whatever VSS command dumps the version of every file (as VSS versions files individually, not as a project), and include that somewhere.

Bear in mind that VSS does not retain a complete history of changes in a project, because it doesn't handle deletions properly.

Good luck in not losing any source code*

Mark

* Which experience tells me always happens when VSS is used for anything.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!