Skip to content

Commit f92c0cd

Browse files
committed
Merge branch 'mytonctrl2' into mytonctrl2_dev
2 parents fd782af + a4b8bf2 commit f92c0cd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mytonctrl/mytonctrl.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,11 @@ def check_vport(local, ton):
294294
#end define
295295

296296

297-
def check_git(input_args, default_repo, text):
297+
def check_git(input_args, default_repo, text, default_branch='master'):
298298
src_dir = "/usr/src"
299299
git_path = f"{src_dir}/{default_repo}"
300300
fix_git_config(git_path)
301301
default_author = "ton-blockchain"
302-
# default_branch = "master"
303-
default_branch = "mytonctrl2"
304302

305303
# Get author, repo, branch
306304
local_author, local_repo = get_git_author_and_repo(git_path)
@@ -342,7 +340,7 @@ def check_branch_exists(author, repo, branch):
342340

343341
def Update(local, args):
344342
repo = "mytonctrl"
345-
author, repo, branch = check_git(args, repo, "update")
343+
author, repo, branch = check_git(args, repo, "update", default_branch='mytonctrl2')
346344

347345
# Run script
348346
update_script_path = pkg_resources.resource_filename('mytonctrl', 'scripts/update.sh')

0 commit comments

Comments
 (0)