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

Recursive Setting of Id Keyword dies prematurely

From: Moretti, Giovanni <G.Moretti_at_massey.ac.nz>
Date: 2006-02-17 03:36:29 CET

I've got a working copy set up in the usual fashion:

 

   /WC

            Proj1

                        Trunk

                                    A.pas

                                    B.pas

                        Branches

                        Tags

            Proj2

                        Trunk

                                    D.pas

                        Branches

                                    C.pas

                        Tags

And I'm wanting to turn on the "Id" keyword on all pascal files (*.pas).

 

This would seem to be easy:

- go to the /wc directory

- use svn propset with the recursive option

 

 

eg. svn -R propset svn:keywords Id *.pas

 

Unfortunately this seems to stop whenever it finds a folder without any
.pas files (eg Proj1 which contains no files, just the /Trunk, /Tags &
/Branches directories).

 

The --force option doesn't help either.

 

The help on propset seems to hint at this but only after you've had it
fail does the message make sense:

 

"The svn:Keywords ... and a recursive attempt will set the

property only on the file children of the directory"

 

Is there any straightforward way (on a WinXP system) of setting "id"
property on all *.pas files using just svn commands, or is it necessary
to use a multistage process using -F to pipe the file list in, or
alternatively, use cygwin & find ... -exec svn {} ?

 

Thanks

Giovanni

=====================================================================

Giovanni Moretti | Institute of Information Sciences and Technology

Senior Lecturer | Massey University, Palmerston North, New Zealand

Computer Science | Ph 64-6-3505799x2474 =Fax 64-6-3502259 == ZL2BOI

=====================================================================

http://www-ist.massey.ac.nz/moretti mailto:G.Moretti_at_massey.ac.nz

 
Received on Fri Feb 17 03:38:09 2006

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