history

View the history of a repository or files to see the actions performed on them. You can limit the results by action, user, or date range.

sscm history Item [-aAction] [-bBranch] [-c|-c-] [-dDateFrom:DateTo] [-e[ExpandToDepth|+]] [-f] [-h] [-pRepository] [-r] [-uUsername] [-vVersionFrom:VersionTo] [-w|-w-] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]

Option Description
Item Files or repository to view history for. Enter / to use repository specified in -p or the default working directory repository.
-a Action to display history for. Default is all actions. Actions include: AddToRepository, AddToBranch, AddFromBranch, CheckIn, Rebase, RebaseWithMerge, Label, AttachToIssue, AttachToTestCase, AttachToRequirement, AttachToExternal, Delete, Undelete, Duplicate, PromoteToBranch, PromoteFromBranchWithMerge, PromoteFromBranchWithoutMerge, Share, BreakShare, RemoveShare, Move, RollbackRebase, RollbackPromote, RollbackFile.
-b Branch that contains files or repository. If not specified, default working directory branch is used.
-c Display custom field history. Cannot be used with -r.
-d Date range to display history for. Format: yyyymmdd. Separate dates with a colon.
-e Expand file history across branches for promote, rebase, and add from branch events. Ignored if Item is a repository. Default is -e0 or expand 0 levels. Use -e+ to recursively expand all levels (may be slow). Cannot be used with -r.
-f Include file actions if viewing repository history.
-h Display online help for the command.
-p Full path to repository, including parent repositories. If not specified, default working directory repository is used.
-r Recursively retrieve repository history (may be slow).
-u Username to include information for in history.
-v File versions to view history for.
-w Display workflow state change history (default). Enter -w- if you do not want to view the workflow history. Cannot be used with -r.
-y Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI.
-z Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information.
+u Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command.