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
stream
snapshot
workspace
reference tree

79

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

can begin with a digit but cannot be only digits

cannot contain forward-slash or backslash characters

cannot begin with a dot (.)

user
group

99

same as above

must begin with a letter

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