状态“S"在颠覆 [英] Status "S" in Subversion

查看:36
本文介绍了状态“S"在颠覆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在某些时候,我的工作副本中的所有文件都标有S"符号,如下所示:

At some point all files in my working copy got marked with "S" symbol as shown below:

$ svn st
M    S   AclController.php
     S   InstallationController.php
     S   CustomerController.php
     S   RedirController.php
     S   IndexController.php
     S   LoginController.php
     S   OrderController.php
     S   ProductController.php
     S   SelfInstallController.php
     S   SelfcareController.php

有趣的是,它只出现在这个特定的工作副本中 - 当我将项目签出到新目录时,它没有显示S"标记.

Interestingly it occurs only int this particular working copy - when I checkout the project to new directory, it does not show the "S" marks.

如何摆脱这个烦人的S"符号?它显着降低了WC状态的清晰度.

How to get rid of this annoying "S" symbols? It significantly decreases clarity of WC status.

更新:我会不时使用标准的 svn switch 语法进行切换.直到最近才出现这个S"符号.用于切换的命令是:

Update: I do switch from time to time using standard svn switch syntax. It was never causing this "S" symbol to appear until recently. The command used to switch was:

svn switch svn+ssh://xxxxxx/subversion/xxxxxxx/releases/1.0.16 .

有什么办法可以清除S"标志?

Is there any way I can clear the "S" flag?

推荐答案

这意味着这些文件来自您的 Subversion 存储库中与包含它们的目录不同的位置.解决方法是将整个工作副本切换到同一位置.请参阅两个 部分 以了解如何调用命令的详细信息.

It means that the files are from a different location in your subversion repository than the directory containing them. The solution is to switch the entire working copy to the same location. See the two sections in the subversion book for details on how to invoke the command.

这篇关于状态“S"在颠覆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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