This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SVCS and Sourcesafe's current project...

Hi

Is there a way to ensure that "Set Current Project" is selected before the next SVCS command is issued?

The reason I ask is that if I have two Keil projects open and I forget which project is "current" to sourcesafe and I issue a command, I may end up really screwing up an existing project file.

For example, project1 has a file called main.c and project 1 is current. If in project2 I also have a main.c file and I check it in, I have just messed up my project.

Any tricks to get around this other than remembering to hit the set current project EVERY time?

Thanks
James

Parents
  • You should use the Project Ident field to specify the username(This is stored for each project)
    I would create an Username that is consisting of User Name and Project Ident.
    This requires changing the template file.
    replace all occurences of %U in the template file with %U%I .

    Example:
    User Name: "Admin"
    1st Project Ident: "Blinky"
    2nd Project Ident: "Hello"

    Now you use "AdminBlinky" and "AdminHello" as users for the different projects in VSS.

Reply
  • You should use the Project Ident field to specify the username(This is stored for each project)
    I would create an Username that is consisting of User Name and Project Ident.
    This requires changing the template file.
    replace all occurences of %U in the template file with %U%I .

    Example:
    User Name: "Admin"
    1st Project Ident: "Blinky"
    2nd Project Ident: "Hello"

    Now you use "AdminBlinky" and "AdminHello" as users for the different projects in VSS.

Children