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

Re: svn_client_status2 usage

From: D.J. Heap <djheap_at_gmail.com>
Date: 2006-07-08 00:33:04 CEST

On 7/7/06, Ted Dennison <dennison@ssd.fsi.com> wrote:
[snip]
> Heh. It never fails. No matter how long I fail to solve a problem; as
> soon as I ask someone for help I figure it out. It turns out that (nit
> #2) if you give a name that is wrong only in capitalization, then
> svn_client_status2 on Win32 will return no error, but will also return
> no status. I suppose this could be by design, but it sure seems like a
> bug to me. For completeness, I think the repository I'm using is FSFS.
>
> The "Right Thing" on Win32 would probably be to ignore case. I can
> understand instead being case-sensitive for the sake of consistency with
> the Unix system (and dealing with cross-platform access). However, if it
> does that, it should give me an error when I get the name wrong.
>
> Anyway, I guess this just emphasizes my first question: What exactly are
> the filename rules for svn_client_status2()?

I'm not sure if it's documented somewhere (probably is), but see the
svn_opt_args_to_target_array2 function in libsubr\opt.c for how to get
path and url arguments properly encoded for client library calls.

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 8 00:34:23 2006

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

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