diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-12-06 14:26:21 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-12-06 14:26:21 +0000 |
commit | 7b7a18450491eb063b1e7eb489468257db42ff26 (patch) | |
tree | 09f0cbcc970efc65c48967f98556ee6e2e12194c /yarns/9000-implements.yarn | |
parent | 66f76936ebb423c1c165755352f90f9df64433bd (diff) | |
download | obnam-7b7a18450491eb063b1e7eb489468257db42ff26.tar.gz |
Add scenario test for forget --keep
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r-- | yarns/9000-implements.yarn | 5 |
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 ---------------- |