VCS (mercurial) only subfolder


maybe a silly question, I'm not very used to VCS


is it possible to set just one (or some) subfolder/s of a project (and possibly the very same folder/s of other projects) under a common repository?

I tried in many ways (with a local mercurial on my PC) in some fake projects, but without results


what I want is to manage some "library folders" (not the whole project) with common files used in many projects, to detect and distribute updates


thank you in advance for any clue ;)

1 comment
Comment actions Permalink


Did you try to add the necessary subfolder of a project as a directory in File | Settings (or PhpStorm | Preferences for Mac OS) | Version Control? If not then, please, try to add it there and check how this will work.


Please sign in to leave a comment.