BenLeTibétain wrote: |
I tried with TortoiseSVN SCC, but it doesn't seems to work... |
First have a look at Appendix B of the TortoiseSVN guide. This gives the command-line usage of TortoiseProc.exe.
In your customizations tab, add an item for each TortoiseSVN command you want to use. I created each item as a sub-menu inside a "TSVN" menu. Here are the settings I used for each item:
Execute with: Shell
Show this command in Workspace popup:
-for files
-for directories and projects
Autorefresh editor
Redirect Output stream to log window
Redirect Error stream to log window
Here are the items I created. The first line is the display name, the second is the command-line. Note that @Proj[TSVN]@ is a custom project property. You should add this property to your project settings. It should contain the path to TortoiseProc.exe (i.e. TSVN = C:\Program Files\TortoiseSVN\bin)
Check for Modifications
@Proj(TSVN)@\TortoiseProc.exe /command:repostatus /path:@FName@ /notempfile
Update to Revision...
@Proj(TSVN)@\TortoiseProc.exe /command:update /path:@FName@ /rev /notempfile
Commit...
@Proj(TSVN)@\TortoiseProc.exe /command:commit /path:@FName@ /notempfile
Diff
@Proj(TSVN)@\TortoiseProc.exe /command:diff /path:@FName@ /notempfile
Show Log
@Proj(TSVN)@\TortoiseProc.exe /command:log /path:@FName@ /notempfile
Revision Graph
@Proj(TSVN)@\TortoiseProc.exe /command:revisiongraph /path:@FName@ /notempfile
Repo-Browser
@Proj(TSVN)@\TortoiseProc.exe /command:repobrowser /path:@FName@ /notempfile
Edit Conflicts
@Proj(TSVN)@\TortoiseProc.exe /command:conflicteditor /path:@FName@ /notempfile
Rename...
@Proj(TSVN)@\TortoiseProc.exe /command:rename /path:@FName@ /notempfile
Delete
@Proj(TSVN)@\TortoiseProc.exe /command:remove /path:@FName@ /notempfile
Revert
@Proj(TSVN)@\TortoiseProc.exe /command:revert /path:@FName@ /notempfile
Switch...
@Proj(TSVN)@\TortoiseProc.exe /command:switch /path:@FName@ /notempfile
Relocate...
@Proj(TSVN)@\TortoiseProc.exe /command:relocate /path:@FName@ /notempfile
Blame...
@Proj(TSVN)@\TortoiseProc.exe /command:blame /path:@FName@ /notempfile
Ignore
@Proj(TSVN)@\TortoiseProc.exe /command:ignore /path:@FName@ /notempfile