Hi folks,

We are changing our folder structure in the SVN repository and need to "map" 
content from old folders to the new folders.  I was investigating the use of 
SVN COPY but the command is recursive, which leads to problems for us.
For example, let's say our structure looks like:

Original Folders
\a
\a\b
\a\b\c

And we are moving to a new structure where content from \a is copied to \d, \b 
to \e and \c also to \e:
New Folders
\d
\d\e

I can't do a SVN COPY of \b to \e because I would get:
\d\e\c

The only solution I can think of is to script a copy process on a file-by-file 
basis by first getting a list of files in folder \c, then SVN COPY each file 
individually into folder \e.  Repeat for all folders. I can this in PERL but it 
seems like a long journey to get to the result...

What am I missing?  Is my approach flawed?

Note that we want to keep the original structure in place as well as have the 
new one which is why I am playing with COPY instead of MOVE or SWITCH.

Cheers,

Tim

________________________________
UCB BIOSCIENCES, Inc.
Mail P.O. Box 110167 - Research Triangle Park - NC 27709 - USA
Via Courier 8010 Arco Corporate Drive - Suite 100 - Raleigh - NC 27617 - USA
Phone +1 919 767 2555 - Fax +1 919 767 2570

(Ref: #*UBI0111) [Ref-UBI0111]
________________________________
Legal Notice: This electronic mail and its attachments are intended solely for 
the person(s) to whom they are addressed and contain information which is 
confidential or otherwise protected from disclosure, except for the purpose for 
which they are intended. Dissemination, distribution, or reproduction by anyone 
other than the intended recipients is prohibited and may be illegal. If you are 
not an intended recipient, please immediately inform the sender and return the 
electronic mail and its attachments and destroy any copies which may be in your 
possession. UCB screens electronic mails for viruses but does not warrant that 
this electronic mail is free of any viruses. UCB accepts no liability for any 
damage caused by any virus transmitted by this electronic mail. (Ref: #*UG1107) 
[Ref-UG1107]
________________________________

Reply via email to