So at least vaguely confused: >> are you using Repository to achieve this? > No, any yet, the comments at the code snippet suggests strongly Repository is involved: > except OSError: > # There was no local directory, so we should be > # able to chdir to the Repository directory. > # Note that we do this directly, ...