如何获得“绿色” (即无需提交)VisualSVN 中的整个解决方案

发布于 2024-12-13 18:47:00 字数 418 浏览 4 评论 0原文

我正在使用 VisualSVN 和 VS

我的解决方案中的所有项目都有“绿色”圆圈,意味着没有任何可提交的内容 然而整个解决方案有“黄色”圆圈。

tortoisesvn 表示仅更改了一个文件夹,该文件夹的状态为“已修改(仅属性更改)”

它还表示该文件夹的“工作基础”为空,“工作副本”为:

*.suo
*.ncb
*.sdf
*.opensdf
ipch
*.user
_ReSharper.*
Myproject

我不明白发生了什么事。 文件夹本身怎么可能有一些可以更改、比较和提交的内容? 我的意思是文件夹只是文件和其他文件夹的容器,不是吗?

我应该提交此更改吗?应该进行版本控制吗?那是什么?

谢谢

I'm using VisualSVN and VS

All projects in my Solution has "green" circle meaning that there is nothing to commit
However entire solution has "yellow" circle.

tortoisesvn says that only one folder is changed, the status of this folder is "modified (property change only)"

It also says that "Working base" of this folder is empty and "Working copy" is:

*.suo
*.ncb
*.sdf
*.opensdf
ipch
*.user
_ReSharper.*
Myproject

I don't understand what's going on.
How is that possible that folder itself has some content that can be changed and compared and commited?
I mean folder is just a container for files and other folders, isn't it?

Should I commit this change? Should it be versioned? What is that?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故人的歌 2024-12-20 18:47:00

属性更改仅意味着文件夹上的 svn 元数据已更改。如果你仔细观察,可能所有这些更改都来自 svn:ignore 属性,它告诉 subversion 不要考虑这些文件的版本。

元数据的其他示例包括 svn 合并跟踪和 svn:externals (例如 递归地列出所有 svn:externals?)

是否提交元数据与任何其他更改相同,它是否符合您的要求?我猜想在这种情况下,Resharper(或其他一些工具)会自动添加该元数据。

由于您使用的是tortoise svn,因此您可以通过右键单击文件夹->查看文件夹上的元数据属性->颠覆->属性

另请参阅 http://svnbook.red-bean.com /nightly/en/svn.advanced.props.html 了解 svn 属性的更完整说明。

Property change only means that the svn metadata on a folder has changed. If you look carefully, probably all of those changes are coming from the svn:ignore property, which tells subversion not to consider those files versioned.

Other examples of metadata include svn merge tracking and svn:externals (for example List all svn:externals recursively?)

Whether or not to commit metadata is the same as any other change, does it do what you want? I would guess that in this case, Resharper (or some other tool) is adding that metadata automatically.

Since you are using tortoise svn, you can view the metadata on the folder by right clicking the folder -> properties -> Subversion -> Properties

See also http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html for a more full explanation of svn properties.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文