Cd_to_repo is a project mainly written in ..., it's free.
Some shell support for switching between repositories
Drop these files in your path, and then edit your .bashrc (or whathaveyou) to include:
alias cr='. cd_to_repo $1'