can i assign diffrent label to an item?

in the source safe help,it say:
---------------------------------
If you assign a label to a version that already has a label, or if you assign a label to an item that already uses that label for a different version, the old label is replaced. In either case, VSS issues a warning before replacing the old label.
---------------------------------

but,if i want to assign diffrent label for diffrent version to an item,can i do that

if can,how can i do


Answer this question

can i assign diffrent label to an item?

  • Shirashe

    If you want to avoid the dialog use the -I-Y option, but make sure you test your command lines first.  The -I- will apply to ALL the possible dialog queries.
  • Cantabrian

    Yes you can also assign a different label name to an existing label using the line command

    set ssddir=path to srcsafe.ini file
    ss label -vloldlabel -lnewlabel $/path to the pproject or file labeled.

    example:
    C:\tom>ss label -vloldlabel -lnewlabel $/
    This version of $/ already has a label.
    Overwrite with new label (Y/N)y
    Comment for $/:







  • Viral Thakkar

    So,i must do it in VSS IDE,
    can't in command line by label command,
    right



  • Chris Wilkinson

    How can i  label all the latest files to a new version in a project

  • akois


    Hello,

    Yes,  you can change item-level labels by doing the following:

    1. Select the item in SourceSafe explorer
    2. Bring up the history window for it
    3. Select the version you wish to label
    4. Click the "Details" button on the history window
    5. Edit the label and save yoru changes

    Regards,

  • strombringer

    Thanks.



  • can i assign diffrent label to an item?