Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
repo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YongjieWang
repo
Commits
09f5180b
Commit
09f5180b
authored
Dec 11, 2016
by
Felix Obenhuber
Committed by
Matthias Putz
Dec 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: fixed push subcmd and aligned to push
parent
5f859ebb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
push.py
subcmds/push.py
+8
-2
No files found.
subcmds/push.py
View file @
09f5180b
...
@@ -376,9 +376,15 @@ in all projects listed in the manifest.
...
@@ -376,9 +376,15 @@ in all projects listed in the manifest.
if
avail
:
if
avail
:
pending
.
append
((
project
,
avail
))
pending
.
append
((
project
,
avail
))
if
pending
and
(
not
opt
.
bypass_hooks
):
if
not
pending
:
print
(
"no branches ready for upload"
,
file
=
sys
.
stderr
)
return
if
not
opt
.
bypass_hooks
:
hook
=
RepoHook
(
'pre-push'
,
self
.
manifest
.
repo_hooks_project
,
hook
=
RepoHook
(
'pre-push'
,
self
.
manifest
.
repo_hooks_project
,
self
.
manifest
.
topdir
,
abort_if_user_denies
=
True
)
self
.
manifest
.
topdir
,
self
.
manifest
.
manifestProject
.
GetRemote
(
'origin'
)
.
url
,
abort_if_user_denies
=
True
)
pending_proj_names
=
[
project
.
name
for
(
project
,
avail
)
in
pending
]
pending_proj_names
=
[
project
.
name
for
(
project
,
avail
)
in
pending
]
pending_worktrees
=
[
project
.
worktree
for
(
project
,
avail
)
in
pending
]
pending_worktrees
=
[
project
.
worktree
for
(
project
,
avail
)
in
pending
]
try
:
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment