It's pretty common to open a file that is not part of the workspace in the context of a given SublimeText project. It seems to me that Subforce should understand this file is not part of the workspace and therefore not try to perform any specific Perforce operations on it.
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 896, in on_pre_save
run_view_callbacks('on_pre_save', view_id)
File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 708, in run_view_callbacks
callback(v, *args)
File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 152, in profiler
return event_handler(*args)
File "C:\Users\User\AppData\Roaming\Sublime Text 3\Installed Packages\Subforce - Perforce for Sublime.sublime-package\Subforce.py", line 299, in on_pre_save
stat = p4.run_fstat(fileName) # check if file is in depot
File "C:\Users\User\AppData\Roaming\SUBLIM~1\Packages\SUBLIM~3\ST3_WI~2\P4.py", line 497, in <lambda>
return lambda *args, **kargs: self.run(cmd, *args, **kargs)
File "C:\Users\User\AppData\Roaming\SUBLIM~1\Packages\SUBLIM~3\ST3_WI~2\P4.py", line 609, in run
raise e
File "C:\Users\User\AppData\Roaming\SUBLIM~1\Packages\SUBLIM~3\ST3_WI~2\P4.py", line 605, in run
result = P4API.P4Adapter.run(self, *flatArgs)
P4.P4Exception: [P4#run] Errors during command execution( "p4 fstat C:\Users\User\AppData\Roaming\Sublime Text 3\Packages\User\Subforce.sublime-settings" )
[Error]: "Path 'C:\\Users\\User\\AppData\\Roaming\\Sublime Text 3\\Packages\\User\\Subforce.sublime-settings' is not under client's root 'C:\\my_workspace_root'."
It's pretty common to open a file that is not part of the workspace in the context of a given SublimeText project. It seems to me that Subforce should understand this file is not part of the workspace and therefore not try to perform any specific Perforce operations on it.
Traceback