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

svn:keywordsvalue parsing bug

From: Miha Vitorovic <mvitorovic_at_nil.si>
Date: 2005-07-05 11:14:28 CEST

Hi all,

Returning to the recent debate, where I was told that to set multiple
values to a property, one has to omit quotes, in response to my report
that keywords do not work properly if not delimited by spaces, this is the
output of my recent effort :) Platform is WinXP.

To make a long story short:
 - omitting quotes only sets the first keyword,
 - setting value like this works: " Author Date Revision "
 - setting value like this doesn't: "Author Date Revision" , i.e. only
$Date$ works

--- output follows ---

[c:\project]svn propset svn:keywords Author Date Revision *.cpp
svn: warning: 'Date' is not under version control
svn: warning: 'Revision' is not under version control
property 'svn:keywords' set on 'ChildView.cpp'
property 'svn:keywords' set on 'ClientThread.cpp'
property 'svn:keywords' set on 'CmdLine.cpp'
property 'svn:keywords' set on 'IniFile.cpp'
property 'svn:keywords' set on 'MainFrm.cpp'
property 'svn:keywords' set on 'NilServer2.cpp'
property 'svn:keywords' set on 'ServerSocket.cpp'
property 'svn:keywords' set on 'ServerThread.cpp'
property 'svn:keywords' set on 'stdafx.cpp'

- - - -

[c:\project]svn propget svn:keywords ChildView.cpp
Author

- - -

[c:\project]svn propset svn:keywords " Author Date Revision " *.cpp
property 'svn:keywords' set on 'ChildView.cpp'
property 'svn:keywords' set on 'ClientThread.cpp'
property 'svn:keywords' set on 'CmdLine.cpp'
property 'svn:keywords' set on 'IniFile.cpp'
property 'svn:keywords' set on 'MainFrm.cpp'
property 'svn:keywords' set on 'NilServer2.cpp'
property 'svn:keywords' set on 'ServerSocket.cpp'
property 'svn:keywords' set on 'ServerThread.cpp'
property 'svn:keywords' set on 'stdafx.cpp'

[c:\project]svn propget svn:keywords ChildView.cpp
Author Date Revision

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 5 11:17:12 2005

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

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