sebastian-software/jasy — pull request #4 by fastner (2013-05-23 08:36:22+00:00)
Title: Fix upward directory traversing if no repository is found

Getting revision of repository results in endless loop if no repository was found.
A os.chdir(os.pardir) starting at / results in / as current dir. This leads to the solution
that if current dir equals old current dir there is no more parent directories.