YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Mounting repositories Options · View
Guest
#1 Posted : Saturday, December 15, 2007 5:01:27 PM
Rank: Guest

Groups:

Joined: 8/22/2007
Posts: 134
Points: -17,940
Hi,

I have seen I can work in more than one repository simultaneously with PlasticSCM. Can you explain me how can I do this? I readed some about it and I think I must use workspace selector to "mount" a repository inside a folder in other repository?

Is this the way?

Thanks
danipen
#2 Posted : Saturday, December 15, 2007 5:36:34 PM

Rank: Codice Staff

Groups: Codice , Member

Joined: 8/24/2007
Posts: 36
Points: 5
Location: Spain
Yes. You're in the way.

The main use of this feature is usefull when you have common code (libraries, for example) in a repository, and you want to use it to develop other projects.

I will explain this with a example: We have two repositories: commonLibrary and project1.

The first step is creating a controlled folder in project1 (for example called lib), where you will mount all content of commonLibrary repository.

Then, you must specify the following selector:

Code:
repository "commonLibrary" mount "/lib"
  path "/"
    branch "/main"
    checkout "/main"

rep "project1"
  path "/"
    branch "/main"
    checkout "/main"


When you do a update on your workspace, all content of project1 will be downloaded, and also, all content of commonLibrary will be downloaded under folder 'lib'

Now you can use Plastic SCM in a standard way.

Regards,

Daniel
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.061 seconds.