Mitchel Humpherys eb5acc9ae9 Don't try to remove .repo if it doesn't exist
Part of the cleanup path for _Init is removing the .repo
directory. However, _Init can fail before creating the .repo directory,
so trying to remove it raises another exception:

    fatal: invalid branch name 'refs/changes/53/55053/4'
    Traceback (most recent call last):
      File "/home/mitchelh/bin/repo", line 775, in <module>
        main(sys.argv[1:])
      File "/home/mitchelh/bin/repo", line 749, in main
        os.rmdir(repodir)
    OSError: [Errno 2] No such file or directory: '.repo'

Fix this by only removing .repo if it actually exists.

Change-Id: Ia251d29e9c73e013eb296501d11c36263457e235
2014-03-12 15:11:27 -07:00
2013-12-10 15:30:03 -08:00
2012-11-14 11:38:57 +09:00
2013-03-08 01:18:08 +00:00
2013-02-26 16:04:55 +09:00
2008-10-21 07:00:00 -07:00
2013-11-21 06:03:22 +00:00
2011-09-19 14:52:57 -07:00
2014-01-30 15:17:09 -08:00
Description
No description provided
Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%