SVN: How do I maintain my local config.blah file?

后端 未结 9 938
天涯浪人
天涯浪人 2020-12-29 13:56

On the SVN server, there is a file called config.conf. I have a local version called the same thing (in the same place). How can I make sure that my loc

9条回答
  •  灰色年华
    2020-12-29 14:21

    When there is a subversioning with configuration files, i've found very useful to have an entire trunk dedicated to it. Why? Most because you can simply have two local repository copy, one for local uses, one for remote chanings.

    Like this:

    /workdir/configuration [ is a link to /workdir/conf_local ]
    /workdir/conf_local [ keep local conf updated but doesn't ovverride my settings ]
    /workdir/conf_remote [ always updated with remote data, so I can commit changes ]

提交回复
热议问题