Next, populate gizmo with files from the first baselevel.
The –x stands for
external. View the resulting file. You may see many files that you don’t want to put under version control: object files, executables, text-editor backup files, etc.
At this point, you can create a snapshot of the
gizmo stream. A snapshot is a special kind of stream, whose contents can never change. (Hence, a snapshot is also called a “static stream”, distinguishing it from a standard dynamic stream.) In this case, the snapshot will contain the versions in the first baselevel, because that’s exactly what the
gizmo stream contains at the current time.
(The gizmo stream itself will change, as you incorporate additional baselevels. But any snapshot you create is guaranteed to be frozen forever!)
Use the mksnap command to create the snapshot:
At any time in the future, you can use snapshot gizmo1.0 to see the contents of the first baselevel. And if you need to fix a bug that existed at this baselevel, you can create a maintenance stream below the snapshot. See
Creating and Using a Maintenance Stream.
Note: AccuRev does not implement snapshots with “version labels”, as do branch-and-label SCM systems. Since there’s no need to attach a label to each version in the baselevel, creating a snapshot is virtually instantaneous!