Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to checkout files from subversion without those .svn folders?

Tags:

asp.net

svn

Is it possible to checkout files from subversion without those .svn folders? (for publishing .NET apps to release server).

like image 599
Blankman Avatar asked Jun 24 '09 18:06

Blankman


People also ask

Can I delete .svn folder?

Just remove the . svn folder inside the required folder then the control will be automatically removed. Show activity on this post. This will add an item called "Delete SVN Folders" to your right click menu.

How do I ignore a folder in svn?

Set the svn:ignore property of the parent directory: svn propset svn:ignore dirname . If you have multiple things to ignore, separate by newlines in the property value.

How does svn checkout work?

svn checkout checks out (retrieves) a working copy of the repository into the specified folder. If you don't have access to the repository, and there's not already a current copy of the source in the folder, you can't possibly do a build. If there is a current copy of the source there, it should include build.


4 Answers

yes. Just export.

svn export REV URL PATH

the contents of URL will be placed in PATH. (Path and rev is optional.)

Obviously, you should not use this command for starting to work on the files.

like image 111
Hugo Avatar answered Oct 05 '22 13:10

Hugo


TortoiseSVN Version of Hugo's answer:

Use the Repo-Browser to browse to the folder you want to export, Right-Click - > Export, follow the dialog

like image 36
Dan McClain Avatar answered Oct 05 '22 12:10

Dan McClain


I believe you can just use the export option.

like image 36
Brandon Avatar answered Oct 05 '22 13:10

Brandon


Checkout by definition requires the subdirectories to manage the file's states. Without them you would not be able to check in if you make changes. You can export but that is not the same as checkout. You can also change the name from .svn to _svn if that is an issue.

like image 42
Otávio Décio Avatar answered Oct 05 '22 14:10

Otávio Décio