commit | c0d1866b35d3e8d0bee3760a9f52574fa2ab8491 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Wed Feb 19 19:19:18 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Thu Feb 20 00:51:42 2020 +0000 |
tree | c6be761e1dbf5e93dfe499e8f53d90386a2d6769 | |
parent | f81c72ed7727ca408d1859a86c56b532a8de8d59 [diff] |
project/sync: move DeleteProject helper to Project Since deleting a source checkout involves a good bit of internal knowledge of .repo/, move the DeleteProject helper out of the sync code and into the Project class itself. This allows us to add git worktree support to it so we can unlock/unlink project checkouts. Change-Id: If9af8bd4a9c7e29743827d8166bc3db81547ca50 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256072 Reviewed-by: Jonathan Nieder <jrn@google.com> Tested-by: Mike Frysinger <vapier@google.com>
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.
Many distros include repo, so you might be able to install from there.
# Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo emerge dev-vcs/repo
You can install it manually as well as it's a single script.
$ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo $ chmod a+rx ~/.bin/repo