New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with working path node and SVN project #241
Comments
If I understand your situation correctly, you have a let g:ctrlp_root_markers = ['.svn'] As for why, see my answers in issue #181. But now I think I might need to change this a bit. It seems like a lot of people expect it to work without the priority thing. |
Thank you for your answer and the related link; it's working now (yes, I have a .git directory at my home directory). The problem now is that the working dir is constantly changing because my project has .svn directories at each sub-directory of my project. I'l probably have to use the .root tip to manage this situation. Nevertheless, you have another idea ? Thank you and cheers for this great plugin ! |
No, there's no other way with the plugin. But if you can, update your project and SVN install. From SVN 1.7, there's only one Anyway, I'll be making some changes to remove markers' priority so that people using multiple VCS'es won't have to put |
I've noticed it takes a very long time for me to finish indexing my svn repo, so I tried this with setting root_markers. Now it takes even longer:
What is this number to the left? I only want it to operate on .php files, of which there are 1927. |
@danielb2: The number on the left is the total number of files found until the last directory depth. How do you tell ctrlp to only search for .php files? Also, the root_markers option is only for determining the local working directory inside ctrlp, it has no impact on the indexing. Unless of course the new root (with root_markers) is a parent directory of the old root (without root_markers), then the indexing being slower is simply because the parent directory has more files. P.S. I wasn't ignoring this, btw. For some reason I didn't get any notification for your comment, so I only saw it just now. |
@prezjordan: It's an optional feature which you can disable. See |
Hello,
I run vim from a svn project (i.e. a directory having a .svn sub-directory) and g:ctrl_working_path_node is set to 2. However, when I run ctrlp, the working dir is my home dir (~) and NOT the project dir.
Note that I don't have this problem when I run vim from a git project.
It looks like ctrlp finds its working path from my ~/.git directory instead of my project directory: ~/workspace/myproject/.svn
What could be wrong ? Thank you.
The text was updated successfully, but these errors were encountered: