diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-13 10:01:52 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-13 10:01:52 +0000 |
commit | 24ab8f5d695a160b8e84f126c3595f71820e5abe (patch) | |
tree | 068f8cd9f178db9ccb70d0c1a4962f7bc0ae8535 /yarns/9000-implements.yarn | |
parent | 9f7e7611ca3ec3b86e637a31722da9382327c8c3 (diff) | |
download | obnam-24ab8f5d695a160b8e84f126c3595f71820e5abe.tar.gz |
Convert "forget nothing by default" to yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r-- | yarns/9000-implements.yarn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn index 11d0fab3..b39976c2 100644 --- a/yarns/9000-implements.yarn +++ b/yarns/9000-implements.yarn @@ -258,6 +258,12 @@ We may need to restore only a single file. Removing (forgetting) generations --------------------------------- +Run `obnam forget` with neither a policy of what to keep, nor a +specific list of generations. + + IMPLEMENTS WHEN user (\S+) runs obnam forget without generations or keep policy on repository (\S+) + run_obnam "$MATCH_1" forget -r "$DATADIR/$MATCH_2" + Remove the oldest generation. IMPLEMENTS WHEN user (\S+) forgets the oldest generation in repository (\S+) |