Vcs root configuration problems when starting in sub folder

Answered

Vcs root configuration problems when starting in sub folder

<my git project local folder>

 

I always start project in sub folder.

Then, problem comes.

Though i set vcs root, when webstorm restart, this problem comes again.

 

Can i saved vcs root this situcation?

 

0
2 comments

Do I understand correctly, that you configure the correct mapping and the error goes away, and then you restart WebStorm and it is again reported?

Do you have .idea/vcs.xml tracked in git? Do you commit it after the mapping change? Probably, it gets reverted to the older state somehow.

1
Avatar
Permanently deleted user

Thanks!! @Dmitriy Smirnov!

I found sub folders's .idea/vcs.xml file

In this file,

<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />

But, I always execute in bglam/manager.

so I changed this

<mapping directory="$PROJECT_DIR$/.." vcs="Git" />

 

Then, problem dont come again.

 

Thanks your help!

0

Please sign in to leave a comment.