将删除的目录提交到 SVN 存储库的问题 [英] Problems commiting deleted directory to SVN repository

查看:43
本文介绍了将删除的目录提交到 SVN 存储库的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从我的存储库中删除一个目录.我删除了该文件夹并执行了 svn commit,但出现以下错误:

I am trying to remove a directory from my repository. I delete the folder and do an svn commit and i get the following error :

错误:提交失败(详情如下):

Error: Commit failed (details follow):

错误:拒绝访问

我的用户对 [/] 拥有 rw 权限,我可以提交新的或修改过的文件

My user has rw permissions on [/], and i can commit new or modified files

对可能出现的问题有什么想法吗?

any ideas on what the problem might be?

似乎我可以执行单个文件删除,但我无法删除目录.例子我可以删除\data\a.txt但不是\数据

Seems i can perform single file deletes but i cannot remove a directory. Example i can remove \data\a.txt but not \data

我的授权

[别名]* =

[组]

# Harry_and_sally = 哈利,莎莉

# harry_and_sally = harry,sally

# harry_sally_and_joe = 哈利,莎莉,&乔

# harry_sally_and_joe = harry,sally,&joe

[/]

beta = rw

peras=rw

我的密码

[用户]

测试版 = Bunny1981

beta = Bunny1981

peras = MyDearBunny

peras = MyDearBunny

解决方案是对正确答案的评论

solution is on comments of the right answer

推荐答案

您是否使用基于路径的授权?如果是这样,请检查您的 authz 配置是否有错误.

Are you using path-based authorization? If so, check your authz configuration for errors.

如果您说您可以结帐,但不能提交(添加/修改/删除)并验证授权正常,那么我会说检查您的工作副本 URL 服务器名称,这是一个棘手的问题(路径-基于授权),其中 checkout 不区分大小写(对于服务器名称),但 commit 区分大小写.在这种情况下,您需要进行重新定位.

If you had said you could checkout, but not commit (add/modify/delete) and verified that authorization is OK, then I'd say check your working copy URL server name, there is a tricky issue (with path-based authorization) where checkout is case-insensitive (for server name), but commit is case-sensitive. In that case you need to do a relocate.

你能远程执行删除吗?

svn 删除网址

这将消除 WC 作为问题的根源.

That would remove the WC as source of problem.

这篇关于将删除的目录提交到 SVN 存储库的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆