How to use multiple repositories?

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
mgaulin
Posts: 1
Joined: Wed Oct 29, 2014 5:30 pm

How to use multiple repositories?

Post by mgaulin » Wed Oct 29, 2014 5:45 pm

The SVN Repository Details "Folder" seems to have to be a actual repo; you can't shorten it to leave out the repo name. Does this mean I can't use Agent SVN to work with two projects that are in different repos (even though they are on the same svn server)?

It seems like the config should be allowed to just put the svn server root in there, and not have to specify a single specific repo. Or maybe just allow full paths to repos in the per-project Scc_ProjName property (to override whatever is configured globally)... detecting a protocol on the start of the Scc_ProjName should be easy enough, right?

jussij
Site Admin
Posts: 2500
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij » Wed Oct 29, 2014 10:38 pm

Does this mean I can't use Agent SVN to work with two projects that are in different repos (even though they are on the same svn server)?

No, but first let me explain some details.

Agent SVN implements the MS-SCCI inteface.

The MS-SCCI links a project to source control through a process called binding and you only have to bind a project once.

In MS-SCCI the binding defines the location of the project and is made up these two parts:

Code: Select all

Project Binding = Aux Path + Project Name
So in the case of Agent SVN those binding details represent the full Subversion URL for the project:

Code: Select all

Aux Path = Subversion repository root location

Subversion URL = Aux Path + Project Name
More details about this can be found here: http://www.zeusedit.com/agent/com/binding.html

Now when you bind the project for the first time the project name is obvious.

But what about the Aux Path?

What Agent SVN does is define a default Aux Path in the configuration utility.

So when you bind a project Agent SVN use the project name and the default Aux Path to create the binding.

So back to the question of how to have multiple projects in multiple repositories :?:

What you need to do is this:

1) Start the Agent SVN configuration utility

2) Point the AUX Path to the first repository

3) Open the first project

4) Bind that project to the repository making sure this rule is correct:

Code: Select all

AUX Path + Project name = full URL of subversion project
5) Go back to step (1) but this time setup for the second repo and the second project

Because the binding only have to be done once, those details will stick, no matter what other Agent SVN configuration changes are made.

Cheers Jussi

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: Rimearepe, Teadajeaby and 2 guests