дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-03 16:51:16 +02:00
fix(svn): require a trusted project to read a repository file at a revision (#7615)
svn_repository_file_at contacts the working copy's repository, like svn_repository_info, so Restricted Mode no longer allows it. Fixes the Restricted Mode VCS command sweep that failed on main.
Цей коміт міститься в:
1 джерело
70f6316a69
коміт
db57c0961e
2 files changed
+2
-2
No files matched your search
@@ -197,7 +197,7 @@ pub async fn svn_repository_info(host: &Host, window: &str, repo: Option<PathBuf
|
||||
}
|
||||
|
||||
/// Reads a changed path at a fixed revision without requiring a checkout of that path.
|
||||
#[command(trust = always)]
|
||||
#[command(trust = trusted)]
|
||||
pub async fn svn_repository_file_at(
|
||||
host: &Host,
|
||||
window: &str,
|
||||
|
||||
@@ -794,7 +794,7 @@ svn_merge trusted project_host bin
|
||||
svn_merge_sources trusted project_host bindings async
|
||||
svn_properties trusted project_host bindings async
|
||||
svn_relocate trusted project_host bindings async
|
||||
svn_repository_file_at always project_host bindings async
|
||||
svn_repository_file_at trusted project_host bindings async
|
||||
svn_repository_info trusted project_host bindings async
|
||||
svn_revert_revision trusted project_host bindings async
|
||||
svn_set_property trusted project_host bindings async
|
||||
|
||||
Reference in new issue
Заблокувати користувача