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

Re: [PATCH] Quote filename passed to $EDITOR

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-07-23 19:35:20 CEST

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

> Hmmm. Yeah, what if one of the directory components had a $ in its
> name?

Why not just cd to wherever the file is, and only pass the filename
component to the editor? Since the filename of the tempfile is chosen
by svn, it can be chosen so that no quotes at all are necessary,
single or double.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 23 19:41:51 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.