Table of Contents

Name

sspromote - copy changes from a child snapshot to its parent

Synopsis

sspromote [-hHost] [-qpl] [-nRVy] [-Sparent-ss] [child-ss [path ...]]

Description

sspromote copies changes from a snapshot to its parent snapshot. By default, all non-conflicting source changes are copied.

Three prompting formats are available. The normal format is a one-line summary of which attributes are different. The long (-l) format shows the actual attribute differences (except for content). The short (-p) format shows only the paths of the files which are different. No prompting (-q) can also be selected.

If path is given, only changes to path will be copied.

Default Options

Default options can be set on most SnapshotCM commands. See wco(1) for details.

If the working directory is a mapped workspace, the child snapshot and host will default to the mapped snapshot.

Use a single dot (".") for the child-snapshot in order to default it and still enter a path.

Options

-hhost
Operate on snapshots on host.
-l
Prompt with a long format listing of differences.
-n
Print normal output and do normal prompting, but do not perform copy.
-p
Prompt with only the path names of items with differences.
-q
Don't print or prompt with differences. -y is assumed.
-R
Recursively copy changes to items in the hierarchy rooted at path.
-Sparent-snapshot
Specify a parent snapshot into which to promote. If omitted, the immediate parent of the source snapshot is used. Use this option to skip generations during a promote.
-V
Print internal version and exit.
-y
Do not prompt for confirmation.

Diagnostics

Exit status is 0 for success, 1 for error in copying a change, and >1 if there was a bad option or a network error.

See Also

sscompare(1) , sscopy(1) , sscreate(1) , sslist(1) , ssremove(1) , ssrename(1) , ssupdate(1) , wci(1) , wco(1) , whist(1) , wls(1) , wmap(1) , wmerge(1) , wremove(1) , wrename(1) , wset(1) , wupdate(1) .


Table of Contents