PDA

View Full Version : Subversion Use of PROP subcommands


joe12
10-17-2011, 06:11 PM
Hi. I am able to use the proplist command on an SVN repository's subpath location pretty easily but when it comes to using the other prop style commands (propget, propedit, and propset) I am unable to figure out how to fill out the subcommand tab or other tabs in the Subversion Step to make them work.

I spent quite a bit of time on the 'propget' subcommand for example and I was unable to make it work. I used the "Log the command-line that is used" checkbox and noticed that following "svn.exe proget" portion, the VBP SVN Step puts the Host URL, and this causes the output to say: "...syntax is incorrect."

I am able to get the 'propget' subcommand to work in a command shell.

Can you kindly explain or provide examples of how to use the 5 SVN prop subcommands (proplist, propget, propedit, propset, and propdel) correctly and according to VBP best practices?

Thanks you!

kinook
10-18-2011, 09:37 AM
You may need to clear out the fields on the Repository tab for those commands -- Visual Build's Subversion action may not fully support them. We'll add this to our request list. Thanks.

joe12
10-18-2011, 12:17 PM
Thanks for the clues and sorry for the typos in the orginal message (I was typing in a big hurry).

Anyway, following up on your suggestion I was able to get the GetProp Subcommand directive to finally work in the Subversion Step.

Here's what I did:
I put our prop name (i.e.: svn:externals) into the 'Host' field on the Repository tab.
I put the full URL path to the SVN location into the 'Additional switches' field on the Options tab (i.e.: https://svn.devandengineering.us/Systems/MTR/MainLine/Packages).

This worked and sent the value for that property name to the output.

I'll continue to work on the other 'prop' type subcommands, but I'm making better progress now so thanks again!!

:)

kinook
02-24-2012, 09:20 AM
This is supported in v8.0.