#1
|
|||
|
|||
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 http://path.to.serverurPort /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: protocol:http Hostath.to.server porturPort 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? Thanks. |
#2
|
|||
|
|||
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.
http://www.kinook.com/VisBuildPro/Manual/svnsample.htm 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. |
#3
|
|||
|
|||
Thanks I will look at that.
|
#4
|
|||
|
|||
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.
Thanks |
Thread Tools | |
Display Modes | Rate This Thread |
|
|