SCC Revision Number

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
Guest

SCC Revision Number

Post by Guest »

I was wondering if I could change the default revision number 1.1 for SCC for a new file to a different number of my choice.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

If you mean SCC in general then I think not, since I can not see any way to pass this information via the SCC SccAdd function :(

But if you mean Zeus SCC-CVS then this might well be possible :)

The Zeus SCC-CVS gives CVS an SCC interface by running a CVS command lines for the different SCC functions. So the real question is what would be the CVS command line that would be use to set the revision number for a file as it is added to version control :?

Jussi
Guest

Post by Guest »

I do mean the Zeus - SCC. Do you know the file I have to change in order to change the revision number?? :idea:

Thanks
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

The current DLL can not be configured to do this :( but a new version of the Zeus SCC-CVS has been created that should fix this problem :)

You will need backup the original zCvs/zCVS.dll, download the new dll from here and replace the older dll with this new version.

Next, use the Options, Editor Options menu and in the Source Control panel use the Advanced Scc Options button to bring up the Zeus SCC-CVS configuration dialog.

Use the About Button to make sure the version number is 1.95, then in the Global and Command Options section edit the Add Command Options adding -r 1.1 for the command line. Now when a file is added to version control it will be given an initial revision number of 1.1.

Jussi
Post Reply