summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-06 14:26:21 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-06 14:26:21 +0000
commit7b7a18450491eb063b1e7eb489468257db42ff26 (patch)
tree09f0cbcc970efc65c48967f98556ee6e2e12194c /yarns/9000-implements.yarn
parent66f76936ebb423c1c165755352f90f9df64433bd (diff)
downloadobnam-7b7a18450491eb063b1e7eb489468257db42ff26.tar.gz
Add scenario test for forget --keep
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn5
1 files changed, 5 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index 57abe745..e711c6a3 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -121,6 +121,11 @@ Remove the oldest generation.
id=$(run_obnam -r "$REPO" genids | head -n1 | grep .)
run_obnam forget -r "$REPO" "$id"
+Remove according to a `--keep` schedule.
+
+ IMPLEMENTS WHEN user forgets according to schedule (\S+)
+ run_obnam forget -r "$REPO" --keep "$MATCH_1"
+
List generations
----------------