On 3/28/07, Holger Wirtz <wirtz@dfn.de> wrote:
> Hi,
>
> I have a simple problem: I use svn to manage the configuration files of
> my servers. Sometimes the services have their own directories and
> creating a repository (and imprting) is no problem, because "svn import"
> recursive imports all files.
>
> But what if I want to check in some (or only one) file inside /etc? Is
> there a better way than the one (and complex) I found?
Yes: in-place import http://subversion.tigris.org/faq.html#in-place-import
> - "svncreate ..."
> - "svn import ..." the whole directory (e.g. /etc)
> - "mv /etc /etc.orig" - I won't delete something if there may be
> problems appear...
> - "svn checkout ..." - now I have the whole directory inside the
> repository - that's not what I want
> - "svn delete <file1> <file2> ..." - I delete every file I don't need
> inside the repository
> - "cp ../etc.orig/<file1> ." ... I copy every files I just deleted in
> the repository (and on my harddisc) back
>
> Now I have only some of the files I needed in the repository. But this
> is quite not an easy way. Is there a better solution around?
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 28 10:37:40 2007