[ 
https://issues.apache.org/jira/browse/SVN-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Foad updated SVN-1780:
-----------------------------
    Component/s:     (was: src)

> Keyword values with dollar signs cause badness.
> -----------------------------------------------
>
>                 Key: SVN-1780
>                 URL: https://issues.apache.org/jira/browse/SVN-1780
>             Project: Subversion
>          Issue Type: Bug
>    Affects Versions: all
>            Reporter: C. Michael Pilato
>            Priority: Major
>             Fix For: unscheduled
>
>
> {noformat:nopanel=true}
> Badness occurs if the value of a keyword contains a dollar sign.  That dollar
> sign is seen as the terminator of the keyword.  Perhaps we need some escaping
> mechanism?
> A recipe follows:
> ----------------------[ recipe.sh ]-------------------------
> #!/bin/sh
> rm -rf repos wc
> svnadmin create repos
> svn co file://`pwd`/repos wc
> echo '$Author$.' >> wc/foo
> svn add wc/foo
> svn pset svn:keywords 'Author' wc/foo
> svn ci -m 'Add foo.' wc
> svn up wc
> echo 'Another line of text.' >> wc/foo
> svn ci -m 'Add another line of text.' --username 'dollar$sign' wc
> echo 'A third line of text.' >> wc/foo
> echo '### The following should be a one-line diff (the addition of a third'
> echo '### line of text.  Anything else is a bug.'
> svn diff wc
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to