emu-checkout(1)

NAME
emu-checkout - Restore source from snapshot

SYNOPSIS
emu checkout [<options>] <sink>:<snapshot>

DESCRIPTION
Restores the contents of a snapshot to the source directory, setting a new sink head.

It uses the same difference and transfer algorithm as emu push, except with the sink and source swapped so that the difference between the contents of the specified sink snapshot and source is written to the source, restoring the state of the source to match that of the snapshot.

OPTIONS

-d --dry-run
    Perform a trial run with no changes made.

-f --force
    Force checkout the snapshot, ignoring any concurrency locks on the source or sink.

-v --verbose
    Increase verbosity.

--version
    Show version information and quit.

-h --help
    Show this help and quit.

EMU
Part of the emu (1) suite

AUTHOR
Chris Cummins <chrisc.101@gmail.com>

SEE ALSO
emu (1)