开发者

Visual Studio & TortoiseSVN

We have 3 VS2008 projects. Each project builds a executable and supporting files. All 3 projects will eventually ship together as an application.

Up till now we have been using a separate SVN repository for each project and managing them separately with TortoiseSVN. At this stage it is now becoming necessary to share files between the different projects.

Should we create a new VS Solution, add the projects to it and then create a new repository? Not sure if this is the right approach and am looking for advice. Also need to retains the different version and commit logs for t开发者_开发百科he 3 projects.

Thanks...


If you want to keep them separate, you can use svn:externals to import pieces of one project into another and continue to manage them separately.


If you want to share files between those projects, it will be easier to have them in the same repository. They can then share the same history and can be branched, merged etc.

In principle, you can create a dump from one repository and import this into the other one. I have, however, never tried this with a live repository. You might want to test this first.


It is possible to dump each repository and load them all into a single repository. The change logs will be preserved, but new revision numbers will be assigned. I have not done this myself, but someone has done it on a project I was working on and it went smoothly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜