Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Old 01-19-2009, 01:05 PM
koderiter koderiter is online now
Registered User
Join Date: 01-19-2009
Posts: 6
Subversion Commit problem

we are switching our Visual Build Pro. project to use subversion instead of visual source safe. In our build we are modifying some files that we need to commit back to source control. I have VBP getting the latest files from subversion but I can not get it to commit the changes. I get this error:

"svn.exe commit /svn/junipersys/ASGProjects/FRS/C:\ASGProjects\FRS\NoteTaking --username myUser --password myPass
svn: Must give local path (not URL) as the target of a commit

our settings on the subversion repository tab:
Path: /svn/junipersys/ASGProjects/FRS
username: myUser
password: myPass

On the Subcommand Tab:
subcommand: commit
executable: svn.exe
Files/modules to process: C:\ASGProjects\FRS\NoteTaking
working directory for local files: c:\ASGProjects

Nothing checked on the switches tab.

Now if I take everything out of the repository tab so that it is all blank I get the following error:

"svn.exe commit C:\ASGProjects\FRS\NoteTaking
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
svn: Commit failed (details follow):
svn: system('C:\Program Files\Vim\vim71\gvim.exe svn-commit.tmp') returned 1"

I don't know why or how it is getting a path to VIM.

Can anybody give me some direction on how to commit or update subversion the files that the build has modified?

Reply With Quote
Old 01-19-2009, 01:29 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,837
You might want to start with the Subversion.bld sample and tweak it a step at a time for your own use. Testing with VBP 7.0 and Subversion 1.5.5 on Windows XP SP2, the commit step in the sample works as expected.

Beyond that, it sounds like a question for the makers of Subversion. You can check the 'Log/Show command-line...' checkbox on the Advanced tab (Switches tab for VBP v6), then rebuild the step to determine the svn.exe command-line being used.
Reply With Quote
Old 01-19-2009, 01:30 PM
koderiter koderiter is online now
Registered User
Join Date: 01-19-2009
Posts: 6
Thanks I will look at that.
Reply With Quote
Old 01-19-2009, 02:07 PM
koderiter koderiter is online now
Registered User
Join Date: 01-19-2009
Posts: 6
Thanks for the sample. It has helped the thing that I had to do was run a list command with the repository tab filled out with our information. Then all commands after that such as: status, diff, commit all work with out the repository tab filled out. It seems a little weird, but at least it works.

Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 12:05 AM.

Copyright 1999-2021 Kinook Software, Inc.