I want my project to output the actual build number. My idea is to have a C
file containing the build number and automatically increment this build
number each time anybody issues a "commit".

In principle this would mean the following steps:

        committing "Modified.cpp" starts
                checkout "BuildNo.cpp"
                increment build number within file "BuildNo.cpp"
                committing "BuildNo.cpp" starts
                committing "BuildNo.cpp" ends (hopefully)
        committing "Modified.cpp" ends

Now the problem is twofold:

1. The commit process is recursive which will probably result in a deadlock
situation
2. The checkout of "BuildNo.cpp" happens on the server. What is the best way
to accomplish/enforce an update on all clients?

Thanks in advance for any advice.

Mathias

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to