Best way to create a library for multiple projects.

34 views
Skip to first unread message

Paul Blase

unread,
Dec 28, 2017, 6:22:39 PM12/28/17
to TortoiseSVN
Before I mess things up, I'd like to ask about the best way to handle shared files in a repository. I have two projects that share a large number of files. Right now, I have each in a separate folder in the trunk of the repository; I simply copied the pertinent files from the first project folder into a new directory, added the new stuff, and then subversioned the whole mess into a new folder.

Can I easily arrange things so that the shared files are in one common folder or repository and the unique ones for each project are in other folders? Any advice appreciated.

Stefan

unread,
Dec 29, 2017, 2:51:42 AM12/29/17
to TortoiseSVN
If you check out the root folder of both projects into one working copy, then you can easily move files around via right-drag in explorer. TSVN adds "SVN copy here" and "SVN move here" menu entries there.
If you then decide to not always check out both projects, you can include the common folder via svn:externals property in your projects.
Reply all
Reply to author
Forward
0 new messages