LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   subversion: is already a working copy for a different url (https://www.linuxquestions.org/questions/linux-software-2/subversion-is-already-a-working-copy-for-a-different-url-775268/)

ernst 12-13-2009 12:04 AM

subversion: is already a working copy for a different url
 
Introducing version control to an existing project.

A project directory contains files which are common to all and also some which are specific per installation/host.

So I tried to keep them in different paths on the svn repository. This requires that I check out from different repository paths into the same directory. But svn does not allow this: 'x is already a working copy for a different url'

The logical thing would be to rearrange the directory structure of the project, however I would prefer not to tackle that task.

I am new to svn and have not yet discovered how svn takes care of this situation.

Thank you,
Ernst

Matir 12-13-2009 12:57 PM

Why is your project structure not just replicated onto the subversion repository? Can you illustrate the layout you are trying to achieve.

ernst 12-13-2009 04:54 PM

Lets distil the problem down to an example with trivial structure. There is only one directory. But it has a configuration file config.py (Python) in that directory. The software runs on 3 different hosts with all files the same except for config.py .

If I would like to have three different locations in the repository where one can track the history of config.py for each host independently then how can one checkout into the one directory that contains the whole project. svn will not allow that.


All times are GMT -5. The time now is 02:25 AM.