mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-07-04 20:17:16 +00:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
34d237fbfb |
@ -114,10 +114,11 @@ def UploadBundle(project,
|
|||||||
req.dest_branch = str(dest_branch)
|
req.dest_branch = str(dest_branch)
|
||||||
for c in revlist:
|
for c in revlist:
|
||||||
req.contained_object.append(c)
|
req.contained_object.append(c)
|
||||||
for change_id,commit_id in replace_changes.iteritems():
|
if replace_changes:
|
||||||
r = req.replace.add()
|
for change_id,commit_id in replace_changes.iteritems():
|
||||||
r.change_id = change_id
|
r = req.replace.add()
|
||||||
r.object_id = commit_id
|
r.change_id = change_id
|
||||||
|
r.object_id = commit_id
|
||||||
else:
|
else:
|
||||||
req = UploadBundleContinue()
|
req = UploadBundleContinue()
|
||||||
req.bundle_id = bundle_id
|
req.bundle_id = bundle_id
|
||||||
|
Reference in New Issue
Block a user