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

RE: Elegant way to move directory properties?

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-06-30 15:44:28 CEST

> From: Lutz Frommberger [mailto:lutz@informatik.uni-bremen.de]
>
> If I have defined some directory properties in the top
> directory of the
> repository, what would be the best procedure to copy or move them to
> another directory? Like when I decide to move all the top
> level files to
> a subdirectory - do I habe to set all the svn:ignore stuff
> etc. by hand?

Something like this might help:

#! /bin/sh

D1=.
D2=./test

for PROP in $( svn proplist $D1 | tail +2 )
do
  svn propset $PROP "$( svn propget $PROP $D1 )" $D2
done

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 30 17:04:12 2005

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