Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-15-2015, 03:42 AM
Jens Jens is online now
Registered User
 
Join Date: 12-05-2014
Posts: 5
Subversion revert example

Hi I would like to revert some files (or all) in a repository that i checked out.
The checkout works fine, but with the revert i always get the error message:

"file:///c:.... some path" is not a local path

I tired to change the protocole type form http to file which did not help. I also tried different ways to enter the local path of the repository but unfortunately i did not find the correct place.

In the samples there is not example for a revert either (or i did not find it).

could anybody help me on this issue?
Reply With Quote
  #2  
Old 01-15-2015, 10:35 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
It appears that the revert command doesn't accept a full path like other commands. I think you would need to use a Run Program action with a command like

svn revert filename

to do that.

http://svnbook.red-bean.com/nightly/....c.revert.html
Reply With Quote
  #3  
Old 02-06-2015, 09:02 AM
Jens Jens is online now
Registered User
 
Join Date: 12-05-2014
Posts: 5
Now I got a solution for this issue (by using the Visual Build SVN step):

1. Leave all the fields blank in the repository tab
2. Under Subcommand tab:
- set the path the the WorkingDirectory under Files/Modules to process
- set the WorkingDirectory path under Working directory for local files
3. Under Advanced tab:
- set the following dos command in the Command to run before main command: cd %YOUR_WORKING_DIR%

I think the key thing was the command to change to the working directory. The svn.exe then does not need any explicit host information, but will query them from the database folders of SVN that are stored (hidden) in the working directory
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:06 PM.


Copyright © 1999-2023 Kinook Software, Inc.