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

Re: svn commit: r23357 - trunk/contrib/client-side

From: David Glasser <glasser_at_mit.edu>
Date: 2007-02-16 19:23:43 CET

On 2/12/07, C. Michael Pilato <cmpilato@collab.net> wrote:
> David Glasser wrote:
> > I think - is a more standard "use standard input instead of a file"
> > argument. (Or /dev/fd/0 will just work on some platforms.)
>
> Oh, +1. But testing indicated that passing "-X -" confused the APR getopt
> code (which was expecting an option flag to follow that naked hyphen). This
> being a contrib script, I punted. Do we know how to trivially make this
> work, though, because I'd really prefer to use the "-" convention?

Hmm. In 'svn', the arg-parsing works at least (although
svn_stringbuf_from_file still barfs):

macbook:/tmp/x/w glasser$ echo adsdasfkjadfl | svn ps asdf -F - .
svn: Reading from stdin is currently broken, so disabled

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 16 19:23:56 2007

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