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

Re: spaces in command line message arg (-m)

From: Chiang Seng Chang <cs_at_ctzen.com>
Date: 2003-11-17 22:15:19 CET

Using linux (debian sid), bash.

I suspect it's my wrapper function which is causing this havoc:

svn() {
  xumask=`umask`
  umask 002
  /usr/bin/svn $@
  umask $xumask
}

-cs

----- Original Message -----
From: "Julian Foad" <julianfoad@btopenworld.com>
To: "Chiang Seng Chang" <cs@ctzen.com>
Cc: <users@subversion.tigris.org>
Sent: Monday, November 17, 2003 4:03 PM
Subject: Re: spaces in command line message arg (-m)

> Chiang Seng Chang wrote:
> >
> > svn ci -m "some simple message"
> >
> > svn: Can't find an entry
> > svn: Commit failed (details follow):
> > svn: /project1/simple
>
> It is the shell (the Command Line Interpreter) that handles quotes and
should interpret the quoted message as a single argument. What shell are
you using? Under Unix and under Cygwin, most shells including Bash handle
this correctly. Under Windows, some versions of the Windows/DOS shell do
not, especially when passing arguments to a batch file.
>
> - Julian
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 17 22:25:10 2003

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.