You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by SENTHIL C <go...@rediffmail.com> on 2012/09/28 12:27:23 UTC

Bug - SVN Keyword Property Set

Hi Support,I can see that Revision shows as "-1" when i copy the existing file and added a new file in svn via "svn cp" command (Hope "svn cp" command is like "svn add" command)Below are the steps that I followed:1. Assume that "svn:keywords" is already been set for "Prop.txt" and its in version control&nbsp; &nbsp; &nbsp; &nbsp;Command used: &nbsp; &nbsp;svn propset svn:keywords "Rev Author Date" Prop.txt2. Copying the existing file (Prop.txt) to new file called "Propnew.txt" &nbsp;&nbsp; &nbsp; &nbsp; Command used: &nbsp; &nbsp; svn cp Prop.txt Propnew.txt3. Viewing/Reading the Propnew.txt&nbsp; &nbsp; &nbsp; &nbsp;Command used: &nbsp; &nbsp;cat Propnew.txt&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Output: &nbsp; &nbsp; &nbsp; &nbsp; $ Rev: -1 $&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ Author: $ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &n
 bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$ Date: $Hope, it should not reflect as -1 (negative value).Thanks &amp; RegardsSenthil Kumar C