版本。 “不是工作副本”
首先介绍一下背景:
我是一名设计师/开发人员,决定在个人项目中使用 subversion。我是唯一一个从事这个项目的人。我已经在 Mac 上设置了 Beanstalk 帐户并安装了版本。在本地,我有 MySQL 和 PHP 通过 MAMP 运行。我想做的是本地开发并将代码推送到 Beanstalk 中。我目前不打算从 Beanstalk 部署到我的实时服务器。
在 Beanstalk 中,我创建了一个存储库并导入了所有代码。然后我安装了 Versions 并向 Beanstalk 存储库添加了一个书签。到目前为止,一切都很好。接下来我想(这是一个疯狂的猜测)我需要添加一个所谓的“工作副本书签”,以便版本可以监视我的本地副本的更改并将其提交到我的 Beanstalk 存储库。
问题: 当我在版本中单击“创建工作副本书签”并选择计算机上的一个文件夹时,出现错误:
“/Applications/MAMP/www_mydomain”不是工作副本”
我不知道这意味着什么,现在我卡住。如何告诉版本跟踪本地文件夹的更改?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“不是工作副本”意味着它与 SVN 不同步,并且未检出,或者不是存储库的一部分(在这种情况下,需要将其添加到工作副本)。
我不熟悉版本,但对于 Subversion,我通常通过从存储库签出来启动一个项目。这会跟踪您端的更改并使其成为存储库的“工作副本”。
您可以选择从存储库中签出吗?尝试对新文件夹执行此操作,看看会发生什么。
'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.