Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Versions. "Is not a working copy"

Tags:

svn

mamp

versions

A little background first:

I'm a designer/developer and decided to use subversion for a personal project. I'm the only one working on this project. I've setup a Beanstalk account and installed Versions on Mac. Locally I have MySQL and PHP running through MAMP. What I want to do is develop locally and push code into Beanstalk. I'm not planning on deploying from Beanstalk to my live server at this moment.

In Beanstalk I created a repository and imported all my code. I then installed Versions and added a bookmark to the Beanstalk repository. So far so good. Next I guess (this is a wild guess) I need to add a so called 'working copy bookmark' so that Versions can watch my local copy for changes and commit it to my Beanstalk repository.

Problem: When I click 'Create working copy bookmark' in Versions and I select a folder on my computer I get the error:

'/Applications/MAMP/www_mydomain' is not a working copy'

I have no clue what that means and now I'm stuck. How can I tell Versions to keep track of changes of a local folder?

like image 494
bart Avatar asked Mar 24 '10 03:03

bart


People also ask

Is not a working copy svn add?

Probably there's an uncommitted change, e.g., you added some dir/files to svn(but not committed), then accidentally deleted them. then use "svn revert" to revert the changes. after that, you can redo 'svn add' and 'svn ci' now.

How to find working copy in svn?

The working copy will be located in a directory called trunk on your computer relative to the directory you issued the command in. If you wish to have a different name for your working copy you can add that as a parameter to the end of the command. e.g. This will create a working copy called MyProjectSource .

What is a svn working copy?

A Subversion working copy is your own private working area, which looks like any other ordinary directory on your system. It contains a COPY of those files which you will have been editing on the website. You can edit these files however you wish, in the usual way.


1 Answers

'Not a working copy' means it is not in sync with the SVN and was either not checked out, or is a file that is not a part of the repository (in which case it needs to be Added to Working Copy).

I am not familiar with Versions, but with Subversion I typically start a project by Checking Out from the repository. This tracks changes on your end and makes it a 'working copy' of the repository.

Do you have an option to Check Out from the repository? Try to do it to a new folder and see what happens.

like image 186
Kevin Avatar answered Oct 07 '22 06:10

Kevin