SVN handling is broken in 12.9. Commits are being reported as successful when they are actually failing.
This is a partial log of a SVN commit in 12.8
Time Stamp: 27/07/2016 10:56:20 AM,
Connection: SQV@WEBDV,
Request: “C:\Program Files\TortoiseSVN\bin\svn.exe” changelist cl-160727105620 --username **** --non-interactive CPMFIT_PKG_DEV.pkb,
Request: , A [cl-160727105620] CPMFIT_PKG_DEV.pkb,
Time Stamp: 27/07/2016 10:56:21 AM,
Connection: SQV@WEBDV,
Request: “C:\Program Files\TortoiseSVN\bin\svn.exe” commit --username **** --non-interactive --changelist cl-160727105620 -m “comment line to show that SVN is broken in Toad 12.9. This is from version 12.8”,
Request: , Sending CPMFIT_PKG_DEV.pkb, Transmitting file data .done, Committing transaction…, Committed revision 352.,
Time Stamp: 27/07/2016 10:56:23 AM,
Connection: SQV@WEBDV,
Request: “C:\Program Files\TortoiseSVN\bin\svn.exe” info --username **** --non-interactive svn://dev.tts.serv/san/tts/code_repository/svn/oracle/cpmfit/trunc/CPMFIT_PKG_DEV.pkb,
Request: , Path: CPMFIT_PKG_DEV.pkb, Name: CPMFIT_PKG_DEV.pkb, URL: svn://dev.tts.serv/san/tts/code_repository/svn/oracle/cpmfit/trunc/CPMFIT_PKG_DEV.pkb, Relative URL: ^/svn/oracle/cpmfit/trunc/CPMFIT_PKG_DEV.pkb, Repository Root: svn://dev.tts.serv/san/tts/code_repository, Repository UUID: 42682a84-9552-11e5-9247-4f3ae85df392, Revision: 352, Node Kind: file, Last Changed Rev: 352, Last Changed Date: 2016-07-27 10:56:22 -0400 (Wed, 27 Jul 2016), ,
This only works if the command is invoked from the working directory - and it does.
A partial log of a commit in 12.9
Time Stamp: 07/27/2016 11:05:04:486,
Connection: SQV@WEBDV,
Request: “C:\Program Files\TortoiseSVN\bin\svn.exe” changelist cl-160727110504 --username **** --non-interactive H:\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb,
Response: , A [cl-160727110504] CPMFIT_PKG_DEV.pkb,
Time Stamp: 07/27/2016 11:05:05:082,
Connection: SQV@WEBDV,
Request: “C:\Program Files\TortoiseSVN\bin\svn.exe” commit --username **** --non-interactive --changelist cl-160727110504 -m “SVN is broken in Toad 12.9. Example from 12.9”,
Time Stamp: 07/27/2016 11:05:05:558,
Connection: SQV@WEBDV,
Request: “C:\Program Files\TortoiseSVN\bin\svn.exe” info --username **** --non-interactive svn://dev.tts.serv/san/tts/code_repository/svn/oracle/cpmfit/trunc/CPMFIT_PKG_DEV.pkb,
Response: , Path: CPMFIT_PKG_DEV.pkb, Name: CPMFIT_PKG_DEV.pkb, URL: svn://dev.tts.serv/san/tts/code_repository/svn/oracle/cpmfit/trunc/CPMFIT_PKG_DEV.pkb, Relative URL: ^/svn/oracle/cpmfit/trunc/CPMFIT_PKG_DEV.pkb, Repository Root: svn://dev.tts.serv/san/tts/code_repository, Repository UUID: 42682a84-9552-11e5-9247-4f3ae85df392, Revision: 352, Node Kind: file, Last Changed Rev: 352, Last Changed Date: 2016-07-27 10:56:22 -0400 (Wed, 27 Jul 2016), ,
Note that there is no message saying that the file is being transmitted or that the commit is successful, that is because the command fails - because Toad is not in the working directory. if I run from the command line you can see that the commit fails -
C:\Users\lbrown>“C:\Program Files\TortoiseSVN\bin\svn.exe” changelist cl-160727110504 --username MGR --non-interactive H:\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb
A [cl-160727110504] H:\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb
C:\Users\lbrown>“C:\Program Files\TortoiseSVN\bin\svn.exe” commit --username --non-interactive --changelist cl-160727110504 -m "SVN is broken in Toad 12.9. Example from 12.9
svn: E155007: ‘C:\Users\lbrown’ is not a working copy
To fix
either Toad should do a cd to the working directory - where the working copy is ( which it can do because it asks for the working directory (project) ), an then assumes that it’s there
or the working copy should be explicity specified in the commit call :
C:\Users\lbrown>“C:\Program Files\TortoiseSVN\bin\svn.exe” commit --username --non-interactive --changelist cl-160727110504 -m “SVN is broken in Toad 12.9. Example from 12.9” H:\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb
Toad already has that information since it was used in changeset call.
Toad incorrectly reports that the commit is successful in 12.9:
Info: Logged into SVN, 11:04:25
Info: Project selected: oracle/cpmfit/trunc, 11:04:25
Info: Editor file \ca-gc-000-01\home\LBrown\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb copied to VCS working directory H:\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb, 11:05:06
Info: File successfully checked in: H:\svn\workdir\svn\oracle\cpmfit\trunc\CPMFIT_PKG_DEV.pkb
attached: Toad is supplied with the working directory (project)