RabbitVcs and Commit

2019-05-16 16:45发布

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.

标签: svn commit
5条回答
走好不送
2楼-- · 2019-05-16 17:00

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:

  • a/
  • a/.svn
  • a/b
  • a/b/.svn

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.

查看更多
劳资没心,怎么记你
3楼-- · 2019-05-16 17:01

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.

查看更多
倾城 Initia
4楼-- · 2019-05-16 17:05

This could well be a bug of the new version, see

Issue 632: No checkout/update/commit options from the menu

查看更多
再贱就再见
5楼-- · 2019-05-16 17:14

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.

查看更多
你好瞎i
6楼-- · 2019-05-16 17:20

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.

查看更多
登录 后发表回答