Rework fixed archive deduplication into new deduplicate action.

As per discussion on the mailing list (http://tech.groups.yahoo.com/group/todotxt/message/3775), the automatic deduplication during archiving is unexpected and difficult to enforce in other implementations. Rather, make this a separate (optional) action.
This commit is contained in:
Ingo Karkat
2012-01-13 22:31:08 +01:00
parent cd2f585fb6
commit 534184e4dd
3 changed files with 71 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ Ensure we can archive items successfully.
'
. ./test-lib.sh
cat >> todo.txt<<EOF
cat > todo.txt <<EOF
one
two
three
@@ -23,12 +23,13 @@ EOF
test_todo_session 'list after archive' <<EOF
>>> todo.sh ls
4 four
5 four
1 one
4 one
3 three
2 two
--
TODO: 4 of 4 tasks shown
TODO: 5 of 5 tasks shown
EOF
test_done