in reply to Automatic $VERSION updates and subversion tips?
For the record, that is what I do at $work.# Subversion example ($VERSION) = (q$Revision: 123 $ =~ /(\d+)/);
As noted in the link you were dealing with, if you're using a distributed source control system, then you run into problems with different people having different versions. The cheap solution to that is to define one version as canonical, and have that version use revision control to produce version numbers. So you can have a script which runs on that system that, after you take patches, uses its revision number to set the appropriate $VERSION and then produces a patch for everyone else. As long as only one machine generates $VERSION patches, you shouldn't have too many annoying conflicts to resolve.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Automatic $VERSION updates and subversion tips?
by bsb (Priest) on Feb 20, 2008 at 00:32 UTC |