mirror of
https://github.com/frappe/bench.git
synced 2025-02-03 19:38:24 +00:00
[minor] better exception msg - Current branch of 'frappe' not in upstream
This commit is contained in:
parent
bbce981e96
commit
9e7248d11b
@ -98,7 +98,7 @@ def is_version_upgrade(bench='.', branch=None):
|
|||||||
upstream_version = get_upstream_version(frappe_dir, branch=branch)
|
upstream_version = get_upstream_version(frappe_dir, branch=branch)
|
||||||
|
|
||||||
if not upstream_version:
|
if not upstream_version:
|
||||||
raise Exception("Current branch not in upstream")
|
raise Exception("Current branch of 'frappe' not in upstream")
|
||||||
|
|
||||||
local_version = get_major_version(get_current_version(frappe_dir))
|
local_version = get_major_version(get_current_version(frappe_dir))
|
||||||
upstream_version = get_major_version(upstream_version)
|
upstream_version = get_major_version(upstream_version)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user