Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r64 - branches/SOPTIM/src/tsvnWizard.pas

delphiaddinfortortoisesvn
Discussion topic

Hide all messages in topic

All messages in topic

svn commit: r64 - branches/SOPTIM/src/tsvnWizard.pas

Author otto_noll
Full name Otto Noll
Date 2009-01-12 05:57:05 PST
Message Author: otto_noll
Date: 2009-01-12 05:57:04-0800
New Revision: 64

Modified:
   branches/SOPTIM/src/​tsvnWizard.pas

Log:
Add "Apply Patch", "Branch" and "Create Patch" to the Menu

Modified: branches/SOPTIM/src/​tsvnWizard.pas
Url: http://delphiaddinfo​rtortoisesvn.tigris.​org/source/browse/de​lphiaddinfortortoise​svn/branches/SOPTIM/​src/tsvnWizard.pas?v​iew=diff&pathrev​=64&r1=63&r2​=64
====================​====================​====================​==================
--- branches/SOPTIM/src/​tsvnWizard.pas (original)
+++ branches/SOPTIM/src/​tsvnWizard.pas 2009-01-12 05:57:04-0800
@@ -12,8 +12,11 @@
         SVN_LOG_SANDBOX,
         SVN_STATUS_SANDBOX,
         SVN_ADD_SANDBOX,
+ SVN_APPLY_PATCH_SANDBOX,
+ SVN_BRANCH_SANDBOX,
         SVN_UPDATE_TO_SANDBOX,
         SVN_COMMIT_SANDBOX,
+ SVN_CREATE_PATCH_SANDBOX,
         SVN_REVERT_SANDBOX,
         SVN_REPOSITORY_BROWSER,
         SVN_SETTINGS,
@@ -350,10 +353,16 @@
             Result:= 'check';
         SVN_ADD_SANDBOX:
             Result:= 'add';
+ SVN_APPLY_PATCH_SANDBOX:
+ Result:='applypatch';
+ SVN_BRANCH_SANDBOX:
+ Result:= 'copy';
         SVN_UPDATE_TO_SANDBOX:
             Result:= 'update';
         SVN_COMMIT_SANDBOX:
             Result:= 'commit';
+ SVN_CREATE_PATCH_SANDBOX:
+ Result := 'diff';
         SVN_DIFF:
             Result:= 'diff';
         SVN_REVERT_SANDBOX:
@@ -414,10 +423,16 @@
             Result:= 'Check &modifications...';
         SVN_ADD_SANDBOX:
             Result:= '&Add...';
+ SVN_APPLY_PATCH_SANDBOX:
+ Result:='Apply Patch...';
+ SVN_BRANCH_SANDBOX:
+ Result:='Branch...';
         SVN_UPDATE_TO_SANDBOX:
             Result:= '&Update to revision...';
         SVN_COMMIT_SANDBOX:
             Result:= '&Commit...';
+ SVN_CREATE_PATCH_SANDBOX:
+ Result := 'Create Patch...';
         SVN_DIFF:
             Result:= '&Diff...';
         SVN_REVERT_SANDBOX:
@@ -485,6 +500,15 @@
         SVN_ADD_SANDBOX:
             if GetCurrentProject <> nil then
                 Result:= vsEnabled;
+ SVN_APPLY_PATCH_SANDBOX:
+ if GetCurrentProject <> nil then
+ Result:= vsEnabled;
+ SVN_BRANCH_SANDBOX:
+ if GetCurrentProject <> nil then
+ Result := vsEnabled;
+ SVN_CREATE_PATCH_SANDBOX:
+ if GetCurrentProject <> nil then
+ Result := vsEnabled;
         SVN_ADD:
             ;// this verb state is updated by TTortoiseSVN.CheckOn_Popup
         SVN_BLAME:
@@ -624,6 +648,15 @@
         SVN_ADD_SANDBOX:
             if project <> nil then
                 TSVNExec( '/command:add /notempfile /path:' + AnsiQuotedStr( ExtractFilePath(proj​ect.GetFileName), '"' ) );
+ SVN_APPLY_PATCH_SANDBOX:
+ if project <> nil then
+ TSVNExec( '/command:merge /notempfile /path:' + AnsiQuotedStr( ExtractFilePath(proj​ect.GetFileName), '"' ) );
+ SVN_BRANCH_SANDBOX:
+ if project <> nil then
+ TSVNExec( '/command:copy /notempfile /path:' + AnsiQuotedStr( ExtractFilePath(proj​ect.GetFileName), '"' ) );
+ SVN_CREATE_PATCH_SANDBOX :
+ if project <> nil then
+ TSVNExec( '/command:diff /notempfile /path:' + AnsiQuotedStr( ExtractFilePath(proj​ect.GetFileName), '"' ) );
         SVN_ADD:
             if project <> nil then
             begin
Messages per page: