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

Bug - SVN Keyword Property Set

From: SENTHIL C <gotosenthil_at_rediffmail.com>
Date: 28 Sep 2012 10:27:23 -0000

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
Received on 2012-09-28 12:33:15 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.