开发者

TortoiseHg update fails with "Access is denied", how to work around that?

I've pulled in some changes to read-only files from a remote repository and I'm trying to update my working area, but I get [Errno 13] ... Access is denied errors when TortoiseHg tries to update the read-only files.

I'm wondering if there's a command, option, or sett开发者_开发技巧ing that will solve this problem in the TortoiseHg GUI. I can't seem to updated read-only files from the command line, either, so I'm also interested command-line solutions as well.


On Windows, attrib -r * /s from the repository root will remove all read-only attributes from files.


reconsider the requirement that they need to be readonly. maybe a piece of the deployment script that makes them readonly on deploy instead of having them readonly in your working directory would be a better answer.


I sometimes read about the makewritable extension, perhaps this may help you in any way ... unless it's still in alpha state?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜