mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-05-18 00:12:46 +00:00
Merge branch 'move-script-push' into 'main'
move-script: Be explicit about the ref to push to See merge request gstreamer/gstreamer!1033
This commit is contained in:
commit
8461ad4a40
|
@ -492,9 +492,10 @@ class GstMRMover:
|
|||
def push_branch(self, branch):
|
||||
fprint(
|
||||
f"-> Pushing branch {branch} to remote {self.gl.user.username}...")
|
||||
if self.git("push", "--no-verify", self.gl.user.username, branch,
|
||||
refspec = f"{branch}:refs/heads/{branch}"
|
||||
if self.git("push", "--no-verify", self.gl.user.username, refspec,
|
||||
interaction_message=f"pushing {branch} to {self.gl.user.username} with:\n "
|
||||
f" `$git push {self.gl.user.username} {branch}`") == "SKIP":
|
||||
f" `$git push {self.gl.user.username} {refspec}`") == "SKIP":
|
||||
fprint(yellow("'SKIPPED' (couldn't push)"), nested=False)
|
||||
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue