---
name: "mtn-cleanup"
section: "1"
platform: "linux"
package: "monotone-extras"
version: "1.1-9"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/mtn-cleanup"
---

# mtn-cleanup(1)

generate shell variables from monotone workspace options

## NAME

mtn-cleanup - generate shell variables from monotone workspace options

## SYNOPSIS

**mtn-cleanup**\

## DESCRIPTION

**mtn-cleanup** returns a workspace to its pristine state with the minimum of change; missing files are restored, changed files are reverted and new files are removed.

## BUGS

**mtn-cleanup** doesn't look to see if the database happens to be somewhere in the workspace, and might therefore remove it.  Future version may take a look at *\_MTN/options* to check for this possibility.

## SEE ALSO

[**mtn**(1)](/mtn/1.md),

## AUTHOR

Written by Anthony Edward Cooper \<aecooper@coosoft.plus.com\>.
