Index: project_faq.html =================================================================== --- project_faq.html (revision 8198) +++ project_faq.html (working copy) @@ -789,25 +789,16 @@ (i.e. add a tree to subversion without moving or deleting the original working copy)? -
Suppose, for example, that you wanted to put some of /etc under -version control inside a brand-new repository you created using: -
+Suppose, for example, that you wanted to put the aliases file under /etc +into version control inside your repository:
- # svnadmin create /root/svn + svn mkdir file:///repo/etc -m "in place import for config files" + svn checkout file:///repo/etc /etc + svn add /etc/aliases + svn commit /etc -m "configury"-
To do this you would: -
- -- # cd / - # svn co file:///root/svn etc - # cd etc - # svn add apache samba alsa X11 - # svn commit -m "configury" --
This takes advantage of the a hidden feature of add which allows it to create working copies for directories which do not yet exist in the repository.