Blender SVN: New Features #273
@ -167,7 +167,7 @@ class BGP_SVN_Status(BackgroundProcess):
|
|||||||
self.timestamp_last_update = time.time()
|
self.timestamp_last_update = time.time()
|
||||||
if prefs.do_auto_updates:
|
if prefs.do_auto_updates:
|
||||||
if any([f.repos_status != 'normal' for f in repo.external_files]):
|
if any([f.repos_status != 'normal' for f in repo.external_files]):
|
||||||
print("Automatic updates would start now.")
|
Processes.start('Update')
|
||||||
|
|
||||||
def get_ui_message(self, context):
|
def get_ui_message(self, context):
|
||||||
time_since_last_update = time.time() - self.timestamp_last_update
|
time_since_last_update = time.time() - self.timestamp_last_update
|
||||||
|
@ -64,7 +64,7 @@ class BGP_SVN_Update(BackgroundProcess):
|
|||||||
|
|
||||||
print(self.message)
|
print(self.message)
|
||||||
self.set_predicted_file_status(file)
|
self.set_predicted_file_status(file)
|
||||||
command = ["svn", "up", file.svn_path, "--accept", "postpone", "--depth", "empty"]
|
command = ["svn", "up", file.svn_path, "--accept", "postpone"]#, "--depth", "empty"]
|
||||||
if self.revision > 0:
|
if self.revision > 0:
|
||||||
command.insert(2, f"-r{self.revision}")
|
command.insert(2, f"-r{self.revision}")
|
||||||
self.output = execute_svn_command(context, command, use_cred=True)
|
self.output = execute_svn_command(context, command, use_cred=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user