我们使用 VisualSVN Server 作为版本控制服务器。我们使用 VisualSVN 将 TortoiseSVN 集成到 Visual C++ 2008 中。
现在,我想查看文件是否被其他用户锁定。当我按下“刷新状态”按钮时,没有任何变化。我做错了什么?
我还卸载了 VisualSVN,并安装了 AnkhSVN。这里也存在同样的问题。当我按下“刷新状态”按钮(右键单击 -> Subversion -> 刷新状态)时,我看不到任何更改(文件名左侧的图标都没有更改,没有“锁定”,没有“修改的”, ...)。但是,当我按下“待定更改”窗口的“最近更改”选项卡中的“刷新待定更改”按钮时,其列表反映了更改。但我希望将更改视为文件名附近的图标!
有什么想法吗?
We use VisualSVN Server as our Version Control server. We integrated TortoiseSVN into Visual C++ 2008 using VisualSVN.
Now, I want to see if a file is locked by another user. When I press the "Refresh Status" button, nothing changes. What am I doing wrong?
I also uninstalled VisualSVN, and installed AnkhSVN instead. The same problem exists here. When I press the "Refresh Status" button (Right click -> Subversion -> Refresh Status), I cannot see any of the changes (none of the icons on the left side of filenames change, no "locked", no "modified", ...). But when I press the "Refresh Pending Changes" button in the "Recent Changes" tab of "Pending Changes" window, its list reflects the changes. But I want to see the changes as icons near filenames!
Any ideas?
发布评论
评论(1)
Subversion 以及 AnkhSVN 并不是为了将其他人的工作状态传达给您的工作副本而设计的。该工具专为 copy-modify-merge 工作方式,这意味着您更新工作副本,进行所需的更改,然后提交这些更改。
如果其他人同时修改了文件,您会在提交时收到通知,然后进行更新,并且在大多数情况下文件会自动合并。最糟糕的情况是您必须解决冲突,当您 设置适当的合并工具。我个人在 AnkhSVN 中使用 SourceGear DiffMerge,它是免费的。
Subversion, and therefor AnkhSVN, aren't designed to communicate the state of other's peoples work to your working copy. The tool is designed for the copy-modify-merge way of working, meaning you update your working copy, make the required change, and commit those.
If someone else modified the files in the meantime, you'll get notified of that at commit time, then you update, and in most cases the files are automatically merged. Worst case is that you have to resolve conflicts, which isn't very hard when you set up a proper merge tool. I personally use SourceGear DiffMerge in AnkhSVN, which is free.