SVN: one working copy, two repositories?

前端 未结 8 1415
一向
一向 2020-12-14 08:35

I\'d like to know how can I set two repositories for my one working copy. I need one repository in my server, so that I can check in/out between two pcs; I need another repo

8条回答
  •  醉酒成梦
    2020-12-14 09:24

    I'm not convinced that standard repository replication will give you what you want. With that setup, one proxy is always read-only, and I don't think in your situation that's the case.

    You would have to do the svn switch --relocate thing to switch which repository you're looking at just before checkin. Somewhat error prone.

    What you're after is a write through proxy.

    If you set this up using apache and mod_svn_dav on your local machine, you'll have a local repository which receives all updates and that you can diff against and checkout against easily, but for which all writes go back to the actual repository that everyone else is using and getting updates from.

提交回复
热议问题