SourceSafe Labeling Tips


When creating
labels in Visual SourceSafe, avoid label names that begin with numerals or the
letter ‘L’. Here’s why:




  1. style="mso-bidi-font-weight: normal">Avoid Numerical Labels
    When used
    in combination with
    style="COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'"
    >-vL face=Verdana>, labels that start with a number are not processed correctly.
    For example,
    ss
    history $/Test -vL4.0.1~2.0.3
    should
    return history for versions of $/Test between labeled version “2.0.3” and
    “4.0.1.”  In actuality, this
    command returns history for all versions of the $/Test project, including
    labeled version “1.0.0”, which lies outside the specified
    range.


  2. style="mso-bidi-font-weight: normal">Avoid ‘L’ Labels
    When used in
    combination with the
    style="COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'"
    >-L face=Verdana> parameter, labels that start with the letter ‘L’ are not
    processed. For example,
    color=#000080 size=2>ss history $/Test -vLabel5
    face=Verdana>returns nothing.  It
    returns nothing because ss.exe parses
    style="COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'"
    >–vLabel5 face=Verdana> as ‘return history for the class=Bold>-version which is class=Bold>Labeled style="mso-bidi-font-weight: normal">abel5. style="mso-spacerun: yes">  Since there are no versions labeled
    abel5, nothing is returned.

style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">VSS
Best Practice:
You can avoid label-naming issues by
prepending “ver” or some other standard prefix to all of your
labels.


style="FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Verdana; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"> color=#000000>  class=stilemessaggiodipostaelettronica18> style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Il
presente posting
viene fornito “così come é”, senza garanzie, e non conferisce alcun
diritto.

Comments (15)

  1. <a href="http://www.codeinsight.com/docs/Software%20Version%20Control.doc">Software Version Control.doc</a>

    Something I wrote several years ago…

  2. Very interesting and good point about <a href="http://cheapmedical.50megs.com/commercial-construction-loan.html"”>http://cheapmedical.50megs.com/commercial-construction-loan.html" title="commercial construction loan">commercial construction loan</a> and [URL=http://cheapmedical.50megs.com/commercial-construction-loan.html]commercial construction loan[/URL]

  3. Poll Pitt says:

    I am so [url=http://access.2surf.eu]lucky[/url] on having what I have! And good luck in yours [url=http://2access.2surf.eu]search[/url].

    Just visit [url=http://access.122mb.com]my site[/url].

  4. Very interesting and good point about <a href="http://creditonline.250free.com/unemployment-insurance-benefit.html"”>http://creditonline.250free.com/unemployment-insurance-benefit.html" title="unemployment insurance benefit">unemployment insurance benefit</a> and [URL=http://creditonline.250free.com/unemployment-insurance-benefit.html]unemployment insurance benefit[/URL]