NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
TIP: Subversion (SVN) and PHPED 3.3
Site Admin

Joined: 13 Jul 2003
Posts: 7835
Reply with quote
First have a look at Appendix B of the TortoiseSVN guide. This gives the command-line usage of TortoiseProc.exe.

In Tools->Settings->Customizations tab, add an item for each TortoiseSVN command to be used. It make sense to create each item as a sub-menu inside a "TSVN" menu. Here are the settings that could be 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 created. The first line is the display name, the second is the command-line.

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


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)


Thanks to dlawson for his great explanations above.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
TIP: Subversion (SVN) and PHPED 3.3
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic