質問

I know. The title is not very self-explaining. But here is the deal.

I have a repository in the company network (Subversion). We use this repository normally. I want to make a mirror of this repository in our cloud server.

The workflow Idea here is:

  • Make this mirror in the cloud
  • Client makes a check-out of this mirror
  • We continue to make commits to the local-server-repo
  • When we decide, make this changes available on the mirror
  • client updates it's repository from the mirror

So basically, I want to make a easy way to the client to get the updates (this will be constant), directly from our cloud-repo, And I wan to to control when this repo will be updated from out local-repo.

Some things to keep in mind: - No, can't open direct access to the client to our network (more about their security polices than from ours) - Yes, I want to make this via 'svn-up'. Prepare a package will be 'more complicated', and updates will be constant.

Any idea how?

I've taken a look in svnsync and other tools, but I couldn't figure out how to make them do what I want.

役に立ちましたか?

解決

Ok.

I have searched a little more and found out that svnsync is what I wanted.

I followed these two links I got what I needed.

Making a local mirror of a subversion repository: using svnsync

Google Code - How do I import an existing Subversion repository?

The first sync takes a lot of time, but the following will only update the new revisions. And my client can make a checkout from the cloud and repos will only sync when I give the command to them do it.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top