Reputation: 3600
I have renamed a file from file explorer then I added the new file to SVN and deleted the previous file from terminal. and then the svn showing
D <FileName>
A <NewFileName>
Once I did svn rename I found that svn is also doing the same thing
D <FileName>
A <NewFileName>
Is there any difference between svn rename and svn delete, add?
Upvotes: 3
Views: 865
Reputation: 30662
Yes, there is. Subversion records moves and renames as svn copy
followed by svn delete
, and beginning with SVN 1.9 saves a link between the source and target file.
svn status
and svn info
now show local movesUpvotes: 5