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

Question for copying dir: How to enforce rename when DST dir exists

From: Bo Yang <bobyangbo_at_yahoo.com.cn>
Date: 2006-01-11 13:24:02 CET

Hi All,
  Here is a question for copy directory.
  If the DST dir exists, the SRC dir will become a sub-dir of DST dir.
  But I want to rename SRC to DST rather than make sub-dir of DST.
  How could I achieve this?
  For example,
  I have two existing directories: svn://host/src, svn://host/dst.
  When executing "svn copy svn://host/src svn://host/dst",
  the src dir will be copied to svn://host/dst/src.
  But my target is to make src be copied and renamed to svn://host/dst.
  Is there any way to do this?

Received on Wed Jan 11 13:27:00 2006

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.