tahoe-lafs/tahoe-lafs — pull request #13 by freddyb (2012-09-28 17:27:01+00:00)
Title: tahoe cp verbose counts from 0 to n-1 of n (fix and patch)

belongs to bug 1805 in tahoe trac, https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1805:

> When I use "tahoe cp" to copy files, it gives messages like
>
> examining 0 of 2
> examining 1 of 2
>
> It's a simple off by one.
>
> patch attached.

these two commits are the patches attached to bug #1805 in tahoe trac, except that the test now looks for "1 of 1\n" instead of "1 of 1" which would also match "1 of 10" : )