<sscmlabel
serverconnect="localhost:4900"
serverlogin="administrator:"
branch="Widget 1.0"
repository="Mainline/Widget"
file="/"
recursive="true"
label="Release 1.0.1"
overwrite="true"
comment="This labels the final build for the release of Widget 1.0.1."
/>
Label all files under the 'Mainline/Widget' repository recursively in the 'Widget 1.0' branch with 'Release 1.0.1' and the given comment. OverwriteLabel=false means that an existing 'Release 1.0.1' labels on a file will be moved to the tip version of the file.
<sscmlabel
serverconnect="localhost:4900"
serverlogin="administrator:"
branch="Widget 1.0"
repository="Mainline/Widget"
file="/"
recursive="true"
label="Release 1.0.1"
/>
Label all files under the 'Mainline/Widget' repository recursively in the 'Widget 1.0' branch with 'Release 1.0.1' and no comments. OverwriteLabel=false (or not there at all) means that an existing 'Release 1.0.1' labels on a file will not be moved to the tip version of the file.
<sscmlabel
serverconnect="localhost:4900"
serverlogin="administrator:"
branch="Widget 1.0"
repository="Mainline/Widget"
file="Widget.java"
label="Release 1.0.1"
overwrite="true"
comment="This labels the final build for the release of Widget 1.0.1."
version="4"
/>
Label version 4 of the file 'Mainline/Widget/Widget.java' in the 'Widget 1.0' branch with 'Release 1.0.1' and the given comment. OverwriteLabel=true forces an existing 'Release 1.0.1' label on this file to be moved to version 4 of the file.