TortoiseSVN正在显示问号装饰器

时间:2021-05-18 22:24:30

At the root of my d: drive, TortoiseSVN is showing the question mark decorators on all the folders. The d: drive is not a SVN working copy. How do I remove the decorators?

在我的d:驱动器的根目录下,TortoiseSVN在所有文件夹上显示问号装饰器。 d:驱动器不是SVN工作副本。如何删除装饰器?

5 个解决方案

#1


TSVNCache, which TortoiseSVN uses to keep those icons uptodate, doesn't always make the correct choices about which directories need decoration. You can limit which directories it will consider by:

TortoiseSVN使用TSVNCache来保持这些图标的最新状态,并不总能正确选择哪些目录需要修饰。您可以限制它将考虑的目录:

  • In TortoiseSVN|Settings|Look and Feel|Icon Overlays
  • 在TortoiseSVN |设置|外观和图标叠加

  • In the Drive Types section

    在“驱动器类型”部分中

    • Mark the drive types you want monitored.
    • 标记要监控的驱动器类型。

    • Use Include paths for the directories you want monitored
    • 使用包含要监视的目录的路径

    • Use exclude paths for directories to be excluded (strangely enough)
    • 使用目录排除路径(奇怪的是)

I have only Fixed Drives checked.

我只检查了固定驱动器。

Exclude paths:

c:\*

Include paths:

c:\cygwin\home\me\workspaces\*
c:\dev\*
d:\development\*

#2


There are two things you should check.

你应该检查两件事。

  1. Remove any .svn folders from the root level of your drive.

    从驱动器的根级别删除任何.svn文件夹。

    The .svn folder is hidden so you will have to make sure Windows Explorer shows hidden files and folders.

    .svn文件夹是隐藏的,因此您必须确保Windows资源管理器显示隐藏的文件和文件夹。

  2. Open a command prompt and run the following command.

    tortoiseproc /command:rebuildiconcache

  3. 打开命令提示符并运行以下命令。 tortoiseproc /命令:rebuildiconcache

If this doesn't remove the icon overlays, you may need to reboot as well.

#3


The question mark decorators can be deactivated as shown here.

可以停用问号装饰器,如此处所示。

Go to Tortoise SVN >> Settings >> Icon Overlays

转到Tortoise SVN >>设置>>图标叠加

In the Drive Types section

在“驱动器类型”部分中

Un-check

  • Fixed drivers

And check

  • Show excluded root folders as normal
  • 正常显示排除的根文件夹

#4


If a restart doesn't solve it (i.e. it's not a TortoiseSVN bug), the root folder is probably a working copy created by mistake.

如果重启没有解决它(即它不是TortoiseSVN错误),根文件夹可能是错误创建的工作副本。

#5


To remove the svn sync we have to 'un-version' the folder/drive, the proper way to do it is as follows

要删除svn同步,我们必须“取消版本”文件夹/驱动器,正确的方法如下

Click on the folder/drive --> selectTortoiseSVN --> Export --> choose the same location as the folder currently is in, export the folder to itself

单击文件夹/驱动器 - > selectTortoiseSVN - >导出 - >选择与当前文件夹相同的位置,将文件夹导出到自身

#1


TSVNCache, which TortoiseSVN uses to keep those icons uptodate, doesn't always make the correct choices about which directories need decoration. You can limit which directories it will consider by:

TortoiseSVN使用TSVNCache来保持这些图标的最新状态,并不总能正确选择哪些目录需要修饰。您可以限制它将考虑的目录:

  • In TortoiseSVN|Settings|Look and Feel|Icon Overlays
  • 在TortoiseSVN |设置|外观和图标叠加

  • In the Drive Types section

    在“驱动器类型”部分中

    • Mark the drive types you want monitored.
    • 标记要监控的驱动器类型。

    • Use Include paths for the directories you want monitored
    • 使用包含要监视的目录的路径

    • Use exclude paths for directories to be excluded (strangely enough)
    • 使用目录排除路径(奇怪的是)

I have only Fixed Drives checked.

我只检查了固定驱动器。

Exclude paths:

c:\*

Include paths:

c:\cygwin\home\me\workspaces\*
c:\dev\*
d:\development\*

#2


There are two things you should check.

你应该检查两件事。

  1. Remove any .svn folders from the root level of your drive.

    从驱动器的根级别删除任何.svn文件夹。

    The .svn folder is hidden so you will have to make sure Windows Explorer shows hidden files and folders.

    .svn文件夹是隐藏的,因此您必须确保Windows资源管理器显示隐藏的文件和文件夹。

  2. Open a command prompt and run the following command.

    tortoiseproc /command:rebuildiconcache

  3. 打开命令提示符并运行以下命令。 tortoiseproc /命令:rebuildiconcache

If this doesn't remove the icon overlays, you may need to reboot as well.

#3


The question mark decorators can be deactivated as shown here.

可以停用问号装饰器,如此处所示。

Go to Tortoise SVN >> Settings >> Icon Overlays

转到Tortoise SVN >>设置>>图标叠加

In the Drive Types section

在“驱动器类型”部分中

Un-check

  • Fixed drivers

And check

  • Show excluded root folders as normal
  • 正常显示排除的根文件夹

#4


If a restart doesn't solve it (i.e. it's not a TortoiseSVN bug), the root folder is probably a working copy created by mistake.

如果重启没有解决它(即它不是TortoiseSVN错误),根文件夹可能是错误创建的工作副本。

#5


To remove the svn sync we have to 'un-version' the folder/drive, the proper way to do it is as follows

要删除svn同步,我们必须“取消版本”文件夹/驱动器,正确的方法如下

Click on the folder/drive --> selectTortoiseSVN --> Export --> choose the same location as the folder currently is in, export the folder to itself

单击文件夹/驱动器 - > selectTortoiseSVN - >导出 - >选择与当前文件夹相同的位置,将文件夹导出到自身