简体   繁体   中英

Svn and local folder authentication

There is good way to get access to repository with: http://username:password@repoUrl If you want to get access to svn folder on disc which isn't created by you, you would get always security error from svn.exe .

If A user checked out the codes from repository server to local disk( c:\\RepoFolder\\ProjectX ) and B user wants to log into same computer and run c:\\>svn list -R c:\\RepoFolder\\ProjectX\\trunk , svn will generate an error like

-     
C:\>svn list -R c:\RepoFolder\ProjectX\trunk
svn: E175013: Unable to connect to a repository at URL 'http://RepoServerName/RepoFolder/ProjectX/trunk'
svn: E175013: Access to 'http://RepoServerName/RepoFolder/ProjectX/trunk' forbidden
-

Is there way to retrieve list of svn like file:///username@domain:password@repoPath ?

I found the answer.

C:\>svn list -R --username UserNamee --password Passworrrd c:\RepoFolder\ProjectX\trunk

Very simple but they hided the answer behind this argument:

C:\>svn list -help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM