Mike Frysinger e57f1146de sync: respect --force-sync when fetching updates
If a tag is rewritten on the server (which is bad), trying to recover
locally with `repo sync --force-sync` doesn't actually work.  People
have to manually delete things themselves to fix syncing.  While tags
should never be rewritten in practice, allow users to easily recover
from broken servers.

We updated some of these code paths already (see commit 6e53844f1edd3
"Allow clobbering of existing tags from remote."), but the incremental
update flow was missed.

Bug: b/120778183
Bug: chromium:932651
Test: delete local tag & recreate to diff commit, then check
      `repo sync` & `repo sync --force-sync` behavior
Change-Id: I3648f7d2526732c06016b691a9a36c003157618d
2019-03-18 21:31:03 -04:00
2019-03-18 13:38:33 +09:00
2015-10-07 15:43:22 -07: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
2015-03-28 21:12:27 +00:00
2018-07-24 22:20:08 +08:00
2008-10-21 07:00:00 -07:00
2015-06-04 00:21:16 +00:00
2018-10-22 08:16:35 -07:00
2018-10-22 08:16:35 -07:00
2018-07-24 22:20:08 +08:00
2018-10-22 08:16:35 -07:00
2017-08-31 13:49:26 -07:00
2018-12-20 02:11:46 -05:00
2014-01-30 15:17:09 -08: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%