Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.svn folder was in every folder but now it's gone

Tags:

svn

I have used TortoiseSVN for a long time. And I started using AnkhSVN yesterday. and after that hidden ".svn" in every sub-folders are deleted.

I googled it for some time, but I failed to find it. ".svn in every folder" is not necessary anymore?

Thank you.

like image 916
CodingLab Avatar asked Nov 20 '11 01:11

CodingLab


People also ask

Where is the .svn folder?

svn folder is in the root folder now, and this contains all of the info for the checkout. You should now be able to simply copy the folder and check it in.

Does svn move preserve history?

If you right-drag the folder and use "SVN move versioned item(s) here", then you keep the history. Even the history of the files within the folder. But, the log dialog won't show the history unless you uncheck the box "Stop on copy/rename".

Can I delete .svn folder?

To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…

What does .svn folder contain?

svn , also known as the working copy administrative directory . The files in this administrative directory help Subversion recognize which files contain unpublished changes, and which files are out-of-date with respect to others' work.


1 Answers

It's likely a result of AnkhSVN using SVN 1.7 and Tortoise was not (though the new versions of Tortoise do).

http://subversion.apache.org/docs/release-notes/1.7.html#wc-ng

In 1.7, the .svn directory is no longer in every versioned directory and just in the root

"A key feature of the changes introduced in Subversion 1.7 is the centralization of working copy metadata storage into a single location. Instead of a .svn directory in every directory in the working copy, Subversion 1.7 working copies have just one .svn directory—in the root of the working copy."

like image 164
Corbin Avatar answered Nov 15 '22 22:11

Corbin