After that, does any error message appear? If yes, and if it contains the path to the latest files for repo, you can try to do
mv /home/user/bin/repo /home/user/bin/repo.bkp
cp /home/user/android/.repo/repo/repo /home/user/bin/repo
If this works, good, otherwise restore the backup. Let me know if this works.
source
share