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

Re: moving/copying sandbox directories -- does svn notice??

From: Matt Sickler <crazyfordynamite_at_gmail.com>
Date: 2006-10-18 21:54:00 CEST

In general when working with WCs use `svn mv` instead of `mv` and `svn cp`
instead of `cp`.
subversion takes no notice if you use the regular mv and cp

On 10/18/06, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 10/18/06, robert@infotility.com <robert@infotility.com> wrote:
> > Hello, I am wondering what is the effect of moving or copying a
> > directory in a svn sandbox. Let's say I've executed svn co and
> > now I have a complete directory tree. If I move or copy one of
> > the directories in this tree, does svn notice that?
> > I tried just that to see what happens, and it appears that svn
> > does not notice -- svn log, svn diff, svn revert all worked just
> > the same as they would on the original directory. That's
> > encouraging, but I would just like to know if moving/copying
> > sandbox directories is expected to have no ill effect in general.
> Each subtree is expected to be a valid working copy in itself, but
> moving a directory (without using the appropriate svn commands) in a
> directory which itself was a valid working copy subtree will
> invalidate the relation between the moved subtree and the original
> tree.
> HTH,
> Erik.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 18 21:54:58 2006

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.