1

I am building using SVN for source code control. I am already using SubWCRev (part of TortoiseSVN) to embed unique SVN project related values into my source code.

I now have the need to generate and embed a unique value that only changes if a certain file in the SVN project is modified. But it is not apparent how to accomplish this. As SVN normally keeps 1 version number for the entire project rather than 1 version number per file in that project.

1 Answer 1

1

SVN normally keeps 1 version number for the entire project rather than 1 version number per file in that project

Each file still has the revision at which it was changed in the repository. The number is used in the keyword substitution for $Id and $Revision.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.