File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ def clone_fork_and_branch(
488
488
raise GitCliError (
489
489
f"Could not clone { origin_url } - does the remote exist?"
490
490
)
491
- logger .debug (
491
+ logger .info (
492
492
f"Cloning { origin_url } into { target_dir } was not successful - "
493
493
f"trying to reset hard since the directory already exists. This will fail if the target directory is "
494
494
f"not a git repository."
@@ -498,7 +498,7 @@ def clone_fork_and_branch(
498
498
try :
499
499
self .add_remote (target_dir , "upstream" , upstream_url )
500
500
except GitCliError as e :
501
- logger .debug (
501
+ logger .info (
502
502
"It looks like remote 'upstream' already exists. Ignoring." , exc_info = e
503
503
)
504
504
pass
@@ -511,7 +511,7 @@ def clone_fork_and_branch(
511
511
try :
512
512
self .checkout_branch (target_dir , f"upstream/{ base_branch } " , track = True )
513
513
except GitCliError as e :
514
- logger .debug (
514
+ logger .info (
515
515
"Could not check out with git checkout --track. Trying git checkout -b." ,
516
516
exc_info = e ,
517
517
)
@@ -527,12 +527,12 @@ def clone_fork_and_branch(
527
527
self .reset_hard (target_dir , f"upstream/{ base_branch } " )
528
528
529
529
try :
530
- logger .debug (
530
+ logger .info (
531
531
f"Trying to checkout branch { new_branch } without creating a new branch"
532
532
)
533
533
self .checkout_branch (target_dir , new_branch )
534
534
except GitCliError :
535
- logger .debug (
535
+ logger .info (
536
536
f"It seems branch { new_branch } does not exist. Creating it." ,
537
537
)
538
538
self .checkout_new_branch (target_dir , new_branch , start_point = base_branch )
You can’t perform that action at this time.
0 commit comments