s3tools/s3cmd — pull request #23 by jbraeuer (2012-01-31 09:18:14+00:00)
Title: Follow symlinks, when requested. (Drop recursion detection)

Recursion detection on symlinks was too restrictive. It would detect the following as recursion:

dir/
main-1234/
file1
file2
main -> main-1234

This is clearly not a recursion and a common pattern, eg when hosting package repositories.
Python's os.walk also does not do recursion detection. So lets behave like Python stdlib.