in reply to Automatic $VERSION updates and subversion tips?
In SVN, $Revision$ should be the same for every file in the project so they would all have the same $VERSION.This falls apart when you use helper modules/libraries. In order to maintain these files across projects, you need separate copies (which will quickly get out of sync).
Distributed version control systems, such as SVK, may have a different $Revision$ based on who checks out the file leading to a different $VERSION on each machine!This is more a management problem than a technical one. Team members should follow a procedure where builds are only done after checking out updates (if individual modules are used as opposed to a "library" type file that is linked to).
Finally, some distributed version control systems, such as darcs, have no concept of revision number at all.If there is "no concept of revision number", this is not strictly a version control system (IMHO).
What tips do you have a automatically managing version?Choose one system and use it across all projects. When you use multiple ways of tracking changes, some will get lost in the shuffle (think Murphy and his friends).
What about using $Date$ for versions? eg. 2008.02_18This works, if a master list is maintained of what changes are made and in what order.
Above all, remember:
In theory there is no difference between theory and practice. In practice there is. (attributed to multiple people with slight variations)Good luck with your project.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Automatic $VERSION updates and subversion tips?
by tilly (Archbishop) on Feb 19, 2008 at 07:05 UTC |