[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cygwin and \ or /

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-05-23 08:27:16 CEST

solo turn wrote:

>did this change recently? i had the impression i always copied the
>paths .... hmmm. maybe its the beer.
>
Yes, it did change recently, and it'll change some more -- we're not
quite consistent in the client yet. The goal is to have the client on
Windows display all paths with \ separators, so that you can cut&paste
in the Windows command line.

Cygwin can never be a primary target, because it's not the default shell
on Windows (BTW, I also use cygwin almost exclusively). But Cygwin does
understand \-separated paths, as long as you take care to avoid shell
escaping.

>
>--- Branko ÄŒibej <brane@xbc.nu> wrote:
>
>
>>solo turn wrote:
>>
>>
>>
>>>for command line usage out of cygwin it is not very practical that
>>>svn uses \ as directory separator and expects / on the command
>>>
>>>
>>line.
>>
>>
>>>you cannot copy the path any more.
>>>
>>>can i somehow configure svn to use / in the output of "svn st", or
>>>"svn up" so i could use copy-paste again?
>>>
>>>
>>>
>>Yes. You can edit svn_private_config.hw -- define
>>SVN_LOCAL_PATH_SEPARATOR to '/' and recompile.
>>
>>Or, of course, if you're using cygwin, you can enclose the paths in
>>single quites -- e.g., 'C:\foo' instead of C:\foo. That'll just
>>work.
>>
>>
>>
>>--
>>Brane ÄŒibej <brane_at_xbc.nu> http://www.xbc.nu/brane/
>>
>>
>>
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.
>http://search.yahoo.com
>
>
>

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 23 08:27:39 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.