TortoiseSVN:显示父文件夹中多个工作文件夹的状态
我的存储库配置如下:
\Util_1 \branches \tags \trunk \Util_2 \branches \tags \trunk ...
现在,在我的本地磁盘上,我有:
\dev \Utils \Util_1 \Util_2
在 Util_xx 文件夹中只有 trunks。如果我进入 Utils 文件夹,TortoiseSvn 会显示每个 Util 的状态图标。不幸的是,包含它们的 Utils 文件夹没有任何状态图标。它并不是真正的签出文件夹,因此除非我输入它,否则我看不到其中有任何更改。从 Dev 文件夹中查看它没有显示任何内容。所以碰巧我没有立即签入,而且由于我不是这个存储库的常规开发人员,所以我一个月都忘记了一个文件。
有没有办法让TortoiseSVN显示父文件夹中子文件夹的累积状态?
I have repository configured like this:
\Util_1 \branches \tags \trunk \Util_2 \branches \tags \trunk ...
Now, on my local disk i have:
\dev \Utils \Util_1 \Util_2
In Util_xx folders are only trunks. If I enter the Utils folder, TortoiseSvn shows status icons for each Util. Unfortunately, Utils folder that contain them doesn't have any status icon. It's not really a checkout folder so i can't see that there is something changed in it unless I enter it. Looking at it from Dev folder shows nothing about it. So it happened that I didn't checkin immediately and since I'm not regular developer for this repo, I forgot a file there for month.
Is there any way to make TortoiseSVN show cumulative status of child folders in parent folder?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
由于
Utils
不是签出文件夹并且不包含.svn
,因此您无法使用 SVN 对它执行任何操作。Because
Utils
isn't a checkouted folder and doesn't contain.svn
, you can't do anything with it using SVN.您可以在本地安装 svn 服务器,设置一个“Utils”存储库,通过指向每个 Util_1、Util_2 等的“externals”链接保持最新状态。 ,...即使如此,我也不确定它是否会起作用,因为我不知道 TortoiseSVN 是否在父级的图标中显示外部子级的状态。
您应该只需更改文件夹层次结构以与实际存储库层次结构保持一致。像这样:
你也应该改变你的流程。如果有一个项目您一个月或更长时间都没有进行,为什么还要保留它的工作副本呢?
You could install an svn server locally, set up a 'Utils' repo that you keep up to date with 'externals' links to each of the Util_1, Util_2, etc., ... and even then I don't know for sure if it would work because I don't know if TortoiseSVN shows the status of external children in the icon of the parent.
You should just change your folder hierarchy to align with your actual repository hierarchy. Like this:
You should also change your process. If there is a project that you don't work on for a month at a time or longer, why are you keeping a working copy of it anyway?
不。正是出于您给出的原因...TortoiseSVN 对
Utils
或dev
一无所知,因为它们都不是工作副本。No. For exactly the reason you gave ... TortoiseSVN knows nothing about
Utils
ordev
since neither are working copies.否。但是,如果 Utils_1 和 Utils_2 在您的存储库中有父目录(见下文),您可以检出整个 Utils 目录,这将显示累积状态。但我不建议这样做,因为检查所有分支和标签可能会变得混乱。
No. However, if Utils_1 and Utils_2 have a parent directory in your repository (see below), you could do a checkout of the entire Utils directory which would show the accumalated status. I would not advise this though, because checking out all branches and tags could get messy.