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

Re: svn propset from stdin

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-21 23:22:54 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> I think a `--stdin' flag would make sense. It would apply to every
> command that -F also applies to, and it shouldn't be too hard to code
> (i.e., look at the code for -F, do something similar).

$ svn ps x -F -
../svn/subversion/libsvn_subr/io.c:979: (apr_err=200007, src_err=0)
svn: Trying to use an unsupported feature
svn: svn_string_from_file: reading from stdin is currently broken, so disabled

From svn_string_from_file
  /* If user passed '-', use stdin. We could use apr_file_open_stdin here, and
   * in fact, it does work. Problem is that if the same command invokes the
   * editor, stdin is crap, and the editor acts funny (if not die outright). I
   * wanted to just disallow stdin reading and invoking the editor, but there's
   * no easy callback for that right now. */

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 21 23:23:43 2002

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.