File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def init_arguments(self):
5252
5353 def run (self , args ):
5454 from osc import gitea_api
55-
55+ from osc . git_scm . store import GitStore
5656 from osc .output import tty
5757
5858 self .print_gitea_settings ()
@@ -65,7 +65,7 @@ def run(self, args):
6565 for owner , repo in args .owner_repo :
6666 print (f"Cloning git repo { owner } /{ repo } ..." , file = sys .stderr )
6767 try :
68- gitea_api .Repo .clone (
68+ repo_path = gitea_api .Repo .clone (
6969 self .gitea_conn ,
7070 owner ,
7171 repo ,
@@ -76,6 +76,8 @@ def run(self, args):
7676 ssh_private_key_path = args .ssh_key or self .gitea_login .ssh_key ,
7777 ssh_strict_host_key_checking = not (args .no_ssh_strict_host_key_checking ),
7878 )
79+ store = GitStore (repo_path , check = False )
80+ store .pull (self .gitea_conn )
7981 num_entries += 1
8082 except gitea_api .GiteaException as e :
8183 if e .status == 404 :
You can’t perform that action at this time.
0 commit comments