简体   繁体   English

在Mac OS X上Subversion提交失败,错误“没有这样的表:rep_cache”

[英]Subversion commit failed on Mac OS X with error “no such table: rep_cache”

I created a subversion repository, imported an empty structure, checked out the repo, added a file to the working copy and tried commiting the working copy with the following commands: 我创建了一个subversion存储库,导入了一个空结构,检出了repo,将一个文件添加到工作副本中,并尝试使用以下命令提交工作副本:

svnadmin create mysvn

svn import -m "initial empty structure" test/ file:///tmp/mysvn

svn co file:///tmp/mysvn mywc

svn ci -m "test"

The commit failed with the following error: 提交失败,出现以下错误:

Transmitting file data .svn: Commit failed (details follow): 传输文件数据.svn:提交失败(详情如下):
svn: While preparing '/tmp/mywc' for commit svn:为提交准备'/ tmp / mywc'
svn: no such table: rep_cache svn:没有这样的表:rep_cache

I am running Mac OS X 10.6.3 and subversion 1.6.5. 我正在运行Mac OS X 10.6.3和subversion 1.6.5。

Did I miss any steps or Mac specific commands? 我错过了任何步骤或Mac特定命令吗?

Thanks for your help. 谢谢你的帮助。

谷歌搜索后我找到了这个链接: http//www.cumps.be/howto-installing-subversion-on-readynas-nv/#div-comment-1177我不确定这是同一个问题,但也许它是值得一试。

Adding this to SVNREPOS/db/fsfs.conf 将其添加到SVNREPOS / db / fsfs.conf

enable-rep-sharing = false

Worked for me. 为我工作。 Using subversion 1.6.13 Mac OS 10.6 Snow Leopard. 使用subversion 1.6.13 Mac OS 10.6 Snow Leopard。

For those that don't want to dig... edit fsfs.conf in your svn repository (the repository not the local copy) directory, uncomment the line (or add if it's not there): 对于那些不想挖掘的人...在你的svn存储库(存储库而不是本地副本)目录中编辑fsfs.conf,取消注释该行(如果不存在则添加):

enable-rep-cache = false

Worked like a charm for me! 对我来说就像一个魅力!

"enable-repcache = false" worked for me as well. “enable-repcache = false”也适用于我。 I just registered to stackoverflow and for some reason can't 'up' the correct solution (I apparently don't have enough reputation yet). 我刚刚注册到stackoverflow,由于某种原因不能“正确”解决方案(我显然还没有足够的声誉)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM