Why the button "Tree Hierarchy" in Folder Diff of Perforce disabled?
I have a problem when using Perforce.
I'm using P4V, but don't know the Perforce Server version.
There are often some files in our project that don't need 开发者_如何学Goto be version-controlled. And I found a way to exclude folders or files from Perforce by editing the Workspace View.
Using "-//depot/. //Perforce/..."
or "-//depot/*.dll //Perforce/*.dll"
I could exclude all files or folders in a path. Then the Folder Diff will mark them with "Excluded Folder". The world is clean.
BUT! there are a lot of projects, and each of them has the same folders that we don't need like "bin" "obj", and with WebStorm there are ".idea"s, and with ReSharper there are a lot of folders starts with "_ReSharper"
, very disgusting.
With the articles here and here, the wildcards (...\*
) seem to be put in the middle of path, like "//Perforce/.../bin/..."
, to let Folder Diff exclude every descendant folder names "bin".
But there is the problem. When I use "Diff Against.." Then the Folder Diff view shows up. All the files are not shown in tree view but in list view. The button "Show files in a tree hierarchy" up there is disabled. And the most important thing is that excluded folders /files in workspace view are lying down there.
When I delete the descendant folder path, it turns normal with tree view and marked "exclude folders"
I have no idea about that. Could anyone tell me what happened there?
精彩评论