Svn – import/commit linux file system and unversioned files into svn

command-line-interfacesvn

I am new for SVN. Shall i able to import/commit linux filesystem into SVN? Can u tell me which command is used for it? and how can i import/commit unversioned file into svn repository? and when i use import command ,its says error unknown or unversioned file. if i am using –ignore or add, it wont commit this unversioned file into SVN repository. can u tell me how to import/commit unknown or unversioned file into SVN repository?. unversioned files are char/block device, pipe, FIFO files, etc..

I am using Collabnet subversion edge in suse linux & rapid svn client in fedora linux.

Best Answer

You want the command svn import, something like this:

svn import <path to directory to be imported> <path to repository>

http://svnbook.red-bean.com/en/1.5/svn.tour.importing.html#svn.tour.importing.import

You could also read http://lmgtfy.com/?q=svn+import