Cleaning SVN repository tree of directory and files
May 15th, 2007 by Denis GolovtsovWhen I upload updates into FTP from my local folder that contains files are versioned under SVN repository, SVN’s services files also will upload at this time. To exclude it we can use SVN export command that is getting from repository already cleaned tree folders and files without any SVN’s files and you can directly upload result to your FTP server.
The algorithm for this will be fallowing:
- commit last changes into SVN;
- create new folder for getting cleaned version of repository for your project;
- getting cleaned files with help SVN export command;
- upload files from this folder to FTP.
It was advised by fizz .