mirror of
https://github.com/frappe/bench.git
synced 2025-01-25 07:58:24 +00:00
[fix] pull 'upstream'
This commit is contained in:
parent
2d716f261d
commit
47b65ec28f
@ -106,7 +106,7 @@ def pull_all_apps(bench='.'):
|
|||||||
contents = subprocess.check_output(['git', 'remote', '-v'], cwd=app_dir,
|
contents = subprocess.check_output(['git', 'remote', '-v'], cwd=app_dir,
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
if 'upstream ' in contents:
|
if re.findall('upstream[\s]+', contents):
|
||||||
remote = 'upstream'
|
remote = 'upstream'
|
||||||
else:
|
else:
|
||||||
# get the first remote
|
# get the first remote
|
||||||
|
Loading…
x
Reference in New Issue
Block a user