mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-05-17 20:35:54 +08:00
Allow clobbering of existing tags from remote.
Bug: 120778183 Change-Id: Id44e2b68abc410a3afd4e07a3c943b0936347e38
This commit is contained in:
@ -2187,7 +2187,7 @@ class Project(object):
|
||||
cmd.append(bundle_dst)
|
||||
for f in remote.fetch:
|
||||
cmd.append(str(f))
|
||||
cmd.append('refs/tags/*:refs/tags/*')
|
||||
cmd.append('+refs/tags/*:refs/tags/*')
|
||||
|
||||
ok = GitCommand(self, cmd, bare=True).Wait() == 0
|
||||
if os.path.exists(bundle_dst):
|
||||
|
Reference in New Issue
Block a user