You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Robert Pluim <rp...@bigfoot.com> on 2003/02/12 18:20:38 UTC

comments in option specifications in config file

Hi,

I just set up ~/.subversion/config file to contain the following:

[helpers]
editor-cmd = gnuclient #editor (vi, emacs, notepad, etc.)

which causes commits to fail rather badly (the # comments out the name
of the file containing the commit message).

I imagine that putting comments in option values is not allowed, but I
can't find anywhere that says that :-) Does it need to be explicitly
stated somewhere (or disallowed by the code)?

Robert

PS I'm using svn rev 4856

PPS I also can't find any documentation on continuation lines in the
config file.  It's easy enough to figure out from the code, but
perhaps it should be documented.

-- 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: comments in option specifications in config file

Posted by Robert Pluim <rp...@bigfoot.com>.
=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= writes:
 > The format of the config files, including comments and continuation
 > lines, is described in ~/.subversion/README.
 > 
 > <rant>
 > I wish people took the trouble to at least look at what they have on the
 > disk before asking such questions...
 > </rant>

My bad, I was looking in the source, and forgot to look there.

Robert
-- 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: comments in option specifications in config file

Posted by Branko Čibej <br...@xbc.nu>.
Robert Pluim wrote:

>Hi,
>
>I just set up ~/.subversion/config file to contain the following:
>
>[helpers]
>editor-cmd = gnuclient #editor (vi, emacs, notepad, etc.)
>
>which causes commits to fail rather badly (the # comments out the name
>of the file containing the commit message).
>
>I imagine that putting comments in option values is not allowed, but I
>can't find anywhere that says that :-) Does it need to be explicitly
>stated somewhere (or disallowed by the code)?
>
>Robert
>
>PS I'm using svn rev 4856
>
>PPS I also can't find any documentation on continuation lines in the
>config file.  It's easy enough to figure out from the code, but
>perhaps it should be documented.
>
>  
>
The format of the config files, including comments and continuation
lines, is described in ~/.subversion/README.

<rant>
I wish people took the trouble to at least look at what they have on the
disk before asking such questions...
</rant>

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org