MS Source Server: srcsrv.ini variable value

MS source server technology uses an initialization file called srcsrv.ini. One of the values ​​determines the location (s) of the source server, for example,

MYSERVER=\\machine\foobar 

Documents unanswered about this value. To begin with, I could not find the value of the name of the value, that is, the one on the left side, and I do not see it being used anywhere else. Hewardt and Pravat in Windows Advanced Debugging say: "The left side ... represents the name of the project," but this does not seem to be biased with MS Example "MYSERVER".

What is the meaning of the left side? Where else is it used? Does the value contain a link to a server or a project, and is it on one server or one on a project?

+4
source share
1 answer

For those who are looking into this in the future, I received the following information from MS:

The name on the left is the logical name of the version of the managing server. This name is also used in indexed source file (PDB) files. For example, a character file may contain this string value:

MYSERVER = mymachine1.sys-mygroup.corp.microsoft.com: 2003

and the source files are referenced like this in pdb:

* MYSERVER * / base / myfolder / mycode.c

When SrcSrv starts, it looks at Srcsrv.ini for values; these values ​​override the information contained in the .pdb file:

"MYSERVER = mymachine.sys-mygroup.corp.microsoft.com: 1666" cancels "MYSERVER = mymachine1.sys-mygroup.corp.microsoft.com: 2003"

This allows users to configure the debugger to use an alternate version control server during debugging. Information is registered at http://msdn.microsoft.com/en-us/library/ms680641.aspx .

Thus, this is a logical name for the source server, and its value can be changed during debugging to refer to a different server than the one originally used to create the PDB.

+3
source

All Articles