You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by patrick rajack <pa...@yahoo.ca> on 2010/05/04 19:36:59 UTC

getting the version of a file in subversion

Hi all,

I am in an oracle application trying to execute the svn info command at the 
host level.The issue is that I don't know the commands when the directory name 
has spaces.

(1) Successful(directory has no space)

svn info svn://cads102avi3.toronto.usf.ibm.com/AVIVANA_FINANCIALS/Test_File.txt

(2) Error message - svn invalid option 


 svn info svn://cads102avi3.toronto.usf.ibm.com/AVIVANA_FINANCIALS/Canada RICE 
Repository/RICE Components/AP/Report/Opt-104 - rap04b-Aviva Account Analysis 
with AP Detail by Cost Centre/DB Scripts/XXAVI_RAP04B_UTILITY_GRANT.sql


Thanks
patrick

Re: getting the version of a file in subversion

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 4, 2010, at 15:47, Tyler Roscoe wrote:

> On Tue, May 04, 2010 at 07:36:59PM +0000, patrick rajack wrote:
>> (2) Error message - svn invalid option 
>> 
>> 
>> svn info svn://cads102avi3.toronto.usf.ibm.com/AVIVANA_FINANCIALS/Canada RICE 
>> Repository/RICE Components/AP/Report/Opt-104 - rap04b-Aviva Account Analysis 
>> with AP Detail by Cost Centre/DB Scripts/XXAVI_RAP04B_UTILITY_GRANT.sql
> 
> Should work if you put quotes around the svn URL.

Or percent-encode the space, as you would for any other special character in any other URL.

svn info svn://cads102avi3.toronto.usf.ibm.com/AVIVANA_FINANCIALS/Canada%20RICE%20Repository/RICE%20Components/AP/Report/Opt-104%20-%20rap04b-Aviva%20Account%20Analysis%20with%20AP%20Detail%20by%20Cost%20Centre/DB%20Scripts/XXAVI_RAP04B_UTILITY_GRANT.sql



Re: getting the version of a file in subversion

Posted by Tyler Roscoe <ty...@cryptio.net>.
On Tue, May 04, 2010 at 07:36:59PM +0000, patrick rajack wrote:
> (2) Error message - svn invalid option 
> 
> 
>  svn info svn://cads102avi3.toronto.usf.ibm.com/AVIVANA_FINANCIALS/Canada RICE 
> Repository/RICE Components/AP/Report/Opt-104 - rap04b-Aviva Account Analysis 
> with AP Detail by Cost Centre/DB Scripts/XXAVI_RAP04B_UTILITY_GRANT.sql

Should work if you put quotes around the svn URL.

tyler