Hi guys,
i have usesd already some functions of toad but now my team and i want to integrate our subversion server into Toad so we have a integrated version control of our scripts.
But I have had some trouble with the setup of the Toad Source Control
Here some information:
SVN Server Version: 1.6.11
SVN Client: CollabNet SVN Client 1.7.4-1-x64
In Toad i tried the following settings (with and without wizzard)
SourceProvider: Subversion
Server: https:///svn/ebiz/DCMP/trunk
username:
password:
VersionControl Folder: here i tried to leave it blank and select different subfolder too (selected via SVN browser using the … button)
Working folder:
Here is where it begins bugging me.
No matter which folder I select (even already controlled folders) the message “The working directory does not appear to be valid. Do you want to initialize it?”
-> I hit Yes.
The system then starts to checkout the selected svn folder and adds the existing files into the local working folder. After that i get the error message 'Working directory mismatch. Resolved “”, should be “” ’ (if i select a directory in the Version Control Folder, i get this path in the second “” block.
It would be great if you could advise me with this issue, as far as i am stuck with this error message. The Versioning Feature would be a gread benefit for our developing process.
edit:
i am using Toad for SQL Server 5.7.0.605 Xpert Edition
Many thanks,
Alfred.
Message was edited by: Alfred Olschnoegger
Hi Alfred!
Please try the next:
Server: https:///svn/ebiz/DCMP (without trunk)
Version Control Folder: /trunk
Working Folder: create new folder and initialize it
Hope this will resolve the issue. Please get back with your results.
By the way, in TSS 5.8 Version Control functionality will be updated to resolve a lot of issues.
Hi Artemy,
thanks for your hint, but unfortunatley i do get the same error message with the server/Version Control Folder configuration you suggested…
Working directory mismatch. Resolved “”, should be "/trunk"
But if you guys are already working on inproving this function i am gladly waiting for the next version so we can start using this feature then
Regards,
Alfred
Alfred, the error that you described occurs when the “Working folder” field is empty.
It’s naive question, but are you sure that this field was filled in?
Please take a screenshot (Version Control System and Default Version Control Settings steps) so I can see how it is configured on your side. Or we can wait for the upcoming Beta.
Hi Artemy,
no your question is absolutles not naive…
After the error the working folder filed is still empty.
I am trying to fill it by using the “…” button (because it is not possible to manually enter a path into this field)
see the attached pdf with some screenshots documenting what steps i have made.
Many thanks in advance,
Alfred
Message was edited by: Alfred Olschnoegger
toadversioningsetup.pdf (425 KB)
Hi,
has anyone had already time, to view my pdf?
Am I doing something wrong while configuring the repository, or is it a Bug which most likely will be resolfed within the next update?
Regards,
Alfred
Hi Alfred!
Thanks for your pdf.
Please use the wizard, there are some screenshots in the attached file.
Regards,
Artemy
Message was edited by: Artemy Osipov
wizard.doc (367 KB)
Hi,
i have already tried using the wizard too. But when using the wizard the path is entered into the text field (and nothing happens after the first time i initialize the folder)
klicking a second time on next the same error occurs (see attached screenshot)
I Tried this now on a windows 2003 Server and on a Windows 7 machine (both x64)
regards,
alfred
Hi, Alfred!
Please try to configure version control in Beta. If this trouble with working directory field will occur again, please report about it.
Hi Artemy,
unfortunatles it is not working with the beta version either…
Is there a possibility to get a more detailed error report out of toad instead of only this text?
Hi, Alfred!
Please execute the next commands:
svn info --username YOUR_USER --password YOUR_PWD YOUR_SERVER
svn info --username YOUR_USER --password YOUR_PWD YOUR_WORKING_DIRECTORY
Also, try to connect to your repository without SSL.
Regards,
Artemy
Hi Artemy,
connecting to our repository without ssl is not permitted.
the two commands you have given me produce the following outcome:
C:>svn info --username alfred.olschnoegger@zumtobel --password ******** https://team.mysvnserver.at/svn
Path: svn
URL: https://team.mysvnserver.at/svn
Repository Root: https://team.mysvnserver.at/svn
Repository UUID: c0f80679-56f0-49a9-81b2-5ef752c200e2
Revision: 988
Node Kind: directory
Last Changed Author: alfred.olschnoegger@zumtobel
Last Changed Rev: 988
Last Changed Date: 2012-09-04 09:16:33 +0200 (Di, 04 Sep 2012)
C:>svn info --username alfred.olschnoegger@zumtobel --password ******** https://team.mysvnserver.at/svn C:\PDBTest
Path: svn
URL: https://team.mysvnserver.at/svn
Repository Root: https://team.mysvnserver.at/svn
Repository UUID: c0f80679-56f0-49a9-81b2-5ef752c200e2
Revision: 988
Node Kind: directory
Last Changed Author: alfred.olschnoegger@zumtobel
Last Changed Rev: 988
Last Changed Date: 2012-09-04 09:16:33 +0200 (Di, 04 Sep 2012)
Path: PDBTest
Working Copy Root Path: C:\PDBTest
URL: https://team.mysvnserver.at/svn/ebiz/PDBTest/trunk
Repository Root: https://team.mysvnserver.at/svn
Repository UUID: c0f80679-56f0-49a9-81b2-5ef752c200e2
Revision: 971
Node Kind: directory
Schedule: normal
Last Changed Author: alfred.olschnoegger@zumtobel
Last Changed Rev: 912
Last Changed Date: 2012-08-14 13:57:38 +0200 (Di, 14 Aug 2012)
Be aware the Folder C:\PDBTest was created and initialized by the toad wizzard.
Regards,
Alfred
Alfred, it seems, we’ve catched your trouble - TOAD doesn’t properly handle svn answer containing ‘@’ symbol. (in our case: Last Changed Author: alfred.olschnoegger@zumtobel)
Please replace the file \Templates\VersionControl\Subversion.xml to the attached and feedback about your results.
Regards,
Artemy
Message was edited by: Artemy Osipov
Subversion_5.8.xml (44.7 KB)
Alfred, it seems, we’ve catched your trouble - TOAD doesn’t properly handle svn answer containing ‘@’ symbol. (in our case: Last Changed Author: alfred.olschnoegger@zumtobel)
Please replace the file \Templates\VersionControl\Subversion.xml to the attached and feedback about your results.
Regards,
Artemy
Message was edited by: Artemy Osipov
Subversion_5.7.xml (43 KB)
Hi Artemy,
this one helped a lot! Thanks a lot to you and all who helped you in the background.
The fix helped in 5.7 and 5.8.
It is working really fine now.
I encountered another very little problem when initial committing a new Database to svn.
Our SVN server is configured to accept only commits with a comment given, and this works fine with the ToadSettings folder but not with the Database/Server Configuration XML.
I made a workaround at my system with simply exchanging the
-m “{{Message}}”
with
-m “Toad:{{Message}}”
in the subversion.xml so it works now like a charm.
Thanks a lot again, it is working really fine now =)