Mike Frysinger f454512619 sync: make .git init more robust
Hitting Ctrl-C in the middle of this func will leave the .git in a
bad state that requires manual recovery.  The code tries to catch
all exceptions and recover by deleting the incomplete .git dir, but
it omits KeyboardInterrupt which Exception misses.

We could add that to the recovery path, but we can make this more
robust with a different approach: set up everything in .git.tmp/
and only move it to .git/ once we've fully initialized it.

Change-Id: I0f5b97f2e19fc39cffc3e5e23993a2da7220f4e3
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/244733
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
Tested-by: Mike Frysinger <vapier@google.com>
2019-11-12 03:44:33 +00:00
2016-09-14 09:49:02 +02:00
2013-03-08 01:18:08 +00:00
2017-05-26 21:44:57 +09:00
2019-06-13 14:30:52 +00:00
2008-10-21 07:00:00 -07:00
2019-06-13 14:30:52 +00:00
2019-06-13 14:30:52 +00:00
2019-08-27 07:08:52 +00:00
2019-08-27 07:08:52 +00:00
2019-06-13 13:23:19 -04:00
2019-10-05 04:41:40 +00:00
2019-07-16 00:23:16 +00:00
2019-06-13 14:30:52 +00:00
2019-11-12 03:44:33 +00:00
2018-12-20 02:11:46 -05:00
2019-09-18 08:25:49 +00:00
2019-08-27 07:08:52 +00:00
2019-07-31 08:38:19 +00:00

repo

Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.

Description
No description provided
Readme Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%