Entity Names

AccuRev deals with many kinds of named entities: files, directories, pathnames, depots, users, and so on. The table below details the restrictions on user-defined names for the various entities. Names are case-sensitive by default; for example, user john is not the same as user John. In case-insensitive depots, pathnames are case-insensitive.

Note: In the table below, “characters” means NON-NULL characters. Do not subtract 1 to account for the terminating NUL.

Kind

Max.Name Length

Characters Allowed in Name

Character Restrictions

depot 79 A-Z,a-z,0-9 - _ . + @ SPACE May begin with a digit (provided there is at least one non-digit in the name), must not begin with a dot (.), and must not include either a slash (/) or a backslash (\). Non-ASCII Unicode characters are not supported.

stream
snapshot
workspace
reference tree

79

A-Z,a-z,0-9
- _ . + @ SPACE

non-ASCII Unicode

May begin with a digit (provided there is at least one non-digit in the name), must not begin with a dot (.), and must not include either a slash (/) or a backslash (\). Non-ASCII Unicode characters are permitted.

user
group

99

A-Z,a-z,0-9

- _ . + @ SPACE

Must begin with a letter. Non-ASCII Unicode characters are not supported.

password

19

any

None.

Caution: This means special characters, such as BACKSPACE, are valid password characters.

pathname of slice (of a depot or replica)

255

name validation performed by the operating system

Applied by the operating system.

pathname of workspace
pathname of reference tree

127

name validation performed by the operating system

Applied by the operating system.

segment (between slashes) of element pathname

255

name validation performed by the operating system

Applied by the operating system.