[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: Phyrefly <phyrefly.phyre_at_gmail.com>
Date: 2006-10-18 19:07:24 CEST

I also ran into this today. Because there is still a .svn folder in
dir2, it seems to think that dir2 is a seperate checkout of dir1, and
if the destination was within the working folder root, it will update
dir1 and dir2 if you do a global update.

I also had unpredictable results when doing a global commit.
Sometimes it added the folder to its new location in the repo, and
sometimes it didn't. I couldn't figure out the deciding factor,
although I suspect it was the difference between moving and copying
the files.

Just to clarify, it wasn't me mov/copying the files, I just had to put
out the fires that arose. I have educated the rest of my team now, so
hopefully it won't happen again.

Rich.

On 18/10/06, Chris.Fouts@qimonda.com <Chris.Fouts@qimonda.com> wrote:
> If you
> > mv dir1 dir2
> The next time you do a svn up, it'll just checkout dir1 for
> you again, and won't care about dir2
>
> > cp dir1 dir2
> svn won't care about dir2 either, but will keep working on
> dir1
>
> >-----Original Message-----
> >From: robert@infotility.com [mailto:robert@infotility.com]
> >Sent: Wednesday, October 18, 2006 12:44 PM
> >To: users@subversion.tigris.org
> >Subject: moving/copying sandbox directories -- does svn notice??
> >
> >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.
> >
> >Let me clarify that I am not trying to change the structure of
> >the svn repository. For that, I know, there is svn mv/rm/copy.
> >
> >Thanks for any light you can shed on this question.
> >
> >Robert Dodier
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> >For additional commands, e-mail: users-help@subversion.tigris.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 18 19:08:47 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.