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

Re: svnmucc: add comment marker ?

From: sebb <sebbaz_at_gmail.com>
Date: Sun, 25 Nov 2012 00:59:34 +0000

On 24 November 2012 12:36, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> sebb wrote on Sat, Nov 24, 2012 at 11:33:01 +0000:
>> svnmucc can be used to read commands from files.
>>
>> It would be handy to be able to add comments to files.
>> One could use a # marker as an indication that the rest of the line is
>> a comment (this cannot be confused with an existing action).
>>
>
> And if someone has a file called '#foo', they simply need to specify it
> as './#foo'. (That does mean # would only be recognised on the first
> column.)

Not necessary, see below.

>> This should be simple to implement if it's thought to be useful.
>>
>
> +1
>
>> Note: it seems svnmucc already ignores blank lines.
>
> Do you plan to allow comments between the verb ('mv', 'propset', etc)
> and its arguments?

No, the idea was that # should only be recognised when expecting an action.

So there would be no need to add work-rounds for files that begin with #.

> e.g., would the following be valid? ---
> mv
> # comment
> URL1
> URL2

No.
Received on 2012-11-25 02:00:07 CET

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