RabbitVcs 和提交
我在 Ubuntu Linux 上使用 RabbitVcs 客户端进行 svn,当我右键单击工作副本文件夹时,它没有显示“提交”命令。
我试图将一个项目置于版本控制系统下,该系统一开始就没有使用源代码控制来管理代码。
该项目有几个文件夹,其中包含代码文件,这些代码文件要么是相同代码的连续版本(经过更改),要么是先前文件夹中不存在的全新代码文件,例如代码中添加的新特性/功能。
根据此处提供的建议,我为完成任务所做的是将最旧的代码文件夹导入到远程存储库,然后从远程存储库进行签出以在本地系统上创建工作副本(WC)。
然后我用下一个代码文件夹中的较新代码文件覆盖了 WC,但是当我尝试将最新版本的 WC 提交到远程存储库时,右键单击 WC 时不会显示提交选项。
非常感谢对此的任何帮助。
I am using RabbitVcs client for svn on Ubuntu Linux and it doesn't show me the 'Commit' command when i right click on the Working Copy folder.
I am trying to bring a project under Version Control system that did not use source control to manage code at the start.
The project has a few folders with code files that are either successive versions of the same code with changes or completely new code files that did not exist in the previous folder such as a new feature/functionality addition to code.
On a suggestion provided here, what i did to accomplish the task was that i imported the oldest code folder to remote repository, and then did a checkout from remote repository to create a working copy(WC) on local system.
Then i overwrote the WC with newer code files from the next code folder, however when i try to commit the latest version of WC to remote repository, the commit option doesn't show up on right clicking on WC.
Any help on this is much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
提交选项在那里,只是它不会显示在主工作副本文件夹中,但当您右键单击其中的 svn 子文件夹时会显示。
The commit option is there, just that it doesn't show up on the main working copy folder but does show up when you right click on the svn sub-folder inside it.
您是否以某种方式破坏了 .svn 隐藏文件夹?
所有 SVN 客户端都依赖 .svn 文件夹来了解某些内容是工作副本并能够正确操作。你应该特别是。小心它们——不要删除它们(除非删除包含它们的文件夹),也不要移动它们。
如果您有一个结帐,例如:
并删除 b 文件夹,然后复制新的 b 文件夹,SVN 客户端会感到困惑。
尝试一次复制一个文件,您会发现 WC 不会出现问题。您正在执行的某些操作正在损坏 .svn 文件夹。
另一种可能性是 Rabbit 无法正常工作。我还建议使用命令行 Subversion。我猜 Rabbit 确实在下面使用了它,但它可能不是 100% 准确,或者它可能不会向您显示错误或其他内容。
Have you destroyed somehow the .svn hidden folders?
All SVN clients rely on the .svn folder to know that something is a working copy and to be able to operate correctly. You should be esp. careful with them- no deleting them (except if deleting the folder that contains them) and no moving them around.
If you have a checkout such as:
And remove the b folder and then copy a new b folder, SVN clients will get confused.
Try copying a file at a time, you'll see the WC doesn't get borked. Some operation you are performing is corrupting the .svn folder.
Another possibility is that Rabbit is not working correctly. I'd also suggest using command-line Subversion. I guess Rabbit does use it underneath, but it might not be 100% accurate or it might not be showing you errors or something.
这很可能是新版本的错误,请参阅
问题 632:无法结账菜单中的/更新/提交选项
This could well be a bug of the new version, see
Issue 632: No checkout/update/commit options from the menu
我也遇到了同样的问题 - 右键单击文档,但没有显示“提交”、“更新”选项。
我用的是rabbitvcs和ubuntu。
我的解决方案是:先结帐,然后右键单击文档,您会找到“提交”、“更新”选项。
希望有帮助。
i also met the same problem - right click the document, but didn't show the 'commit', 'update' option.
i used rabbitvcs and ubuntu.
my solution is : do checkout first, then right click the document and you'll find the 'commit', 'update' option.
hope to helpful.
如果您使用的是最新版本的 RabbitVCS,只需右键单击顶级目录,指向 RabbitVCS SVN 并选择 Release Lock... 菜单项。这将允许您提交或更新文件。
If you are using the latest version of RabbitVCS, just right click on the top level directory, point to RabbitVCS SVN and select Release Lock... menu item. This will allow you to commit or update files.
我设法通过 Ubuntu 终端解决了同样的问题。
只需转到终端中的文件夹并按照说明使用 svn 命令即可。
我使用了以下参考 HScript.com 有所帮助。
I managed to solve the same problem through Ubuntu terminal.
Simply, go to the folder in the terminal and use the svn command as explained.
I used the following reference HScript.com that helped.