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

Re: How do I know a file has moved ?

From: Børre Gaup <boerre_at_skolelinux.no>
Date: Thu, 7 May 2009 23:07:07 +0200

Duorastat 7. miessemánu 2009 22.27.11 skrev Sim Tong :
> Thanks
>
> However, let's assume that I have (as an initial state.
> src1/foo.c
> src2/
> src3/foo.c
>
> If I move foo.c from src1 to src2, svn status will show:
> !src1/foo.c
> ?src2/foo.c
>
> If, at the same time I remove src3/foo.c, I will have :
> !src1/foo.c
> ?src2/foo.c
> !src3/foo.c
>
> How will I know that foo.c moved from src1 to src2 and not from src3 ???
>
> Sorry if my question is non-sense. I am new to SVN.
>
> thx again
>
Assuming you use the svn command line client you should use this command to
move files:
svn move src1/foo.c src2/foo.c

--
Børre Gaup
Received on 2009-05-07 23:08:11 CEST

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.