Поделиться через


Team Foundation Source Control Naming Syntax, Conventions, and Limitations

Team Foundation source control has naming syntax, conventions, and limitations.

List of Syntax, Conventions and Limitations

Team Foundation source control has the following naming syntax, conventions, and limitations:

Names lengths:

  • Check-in note names can be up to 64 characters long.

  • Check-in policy names can be up to 256 characters long.

  • Label names can be up to 64 characters long.

  • Workspace names can be up to 64 characters long.

  • Shelveset names can be up to 64 characters long.

Comment lengths:

  • Check-in comments can be up to 2GB.

  • Check-in note values can be up to 2GB.

  • Label comments can be up to 2048 characters long.

  • Shelveset comments can be up to 2048 characters long.

  • Workspace comments can be up to 2048 characters long.

Files and Paths:

  • Server paths can be up to 259 characters.

  • Local file paths fall within Windows limits of 259 characters long (including the file name), and 248 for a directory.

  • Files in the Team Foundation source control server have no size limit.

  • The total size of content in the Team Foundation source control server has no limit.

Names:

Most names in Team Foundation source control cannot begin or end with spaces or tabs. Any character can be used for names or labels, except the following:

  • Angle brackets (< >).

  • Colon (:).

  • Asterisk (*).

  • Forward (/) and backward slash (\).

  • Question mark (?).

  • Quotation mark (").

  • Pipe (|).

  • A dollar sign ($) cannot be the first character in a file name.

  • Label names cannot contain (@).

  • Workspace and shelveset names cannot contain (;).

See Also

Concepts

Team Foundation Source Control
Working with Labels
Working with Source Control Workspaces
Working with Source Control Shelvesets
Working with Check-in Policies and Notes