question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for TFVC roots not corresponding to the project base directory

See original GitHub issue

Currently, the TFVC part of the plugin doesn’t support TFVC roots being outside of the project base directory (be it multiple roots inside of one project, or just a single root not in the default directory).

There’re some calls to project.getBaseDir() and e.g. CommandUtils.getPartialWorkspace(Project) in our code base, which doesn’t work well with multiple VCS roots (the VCS plugin in unable to perform the basic operations for such projects).

We’ll need to change that part to address the issue, and make the plugin to rely on registered VCS roots instead of touching project.getBaseDir().

This, in turn, may cause problems like #367.

Probably this will require us to enhance workfold command speed, or somehow utilize TfvcRootCache for it, because otherwise enumerating all registered VCS roots could require us to perform a lot of synchronous work (to scan for VCS roots, IntelliJ may call workfold on every item in the project directory; without an umbrella-like cache such as one in TfvcRootCache this could take too much time).

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
erythanacommented, Aug 5, 2021

@ForNeVeR Sorry for pinging but just wondering, any news on this? 💯

1reaction
ForNeVeRcommented, Oct 2, 2020

Thanks, I have updated the issue title and initial post body to accomodate that case better.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A brand new website interface for an even better experience!
Support for TFVC roots not corresponding to the project base directory.
Read more >
Build TFVC repositories - Azure Pipelines
Using a TFVC repository with Azure Pipelines. ... By default the root folder of project is mapped in the workspace.
Read more >
Visual Studio 2015 TFS .tfignore file
I created a file called '.tfignore' in the root of the project that is containing the folder I want to exclude. The content...
Read more >
TFS folder download cause vs not responding
I choose single folder from TFS Project Folder. Tap get latest version and vs freezes with information about downloading. VS can be minimalized...
Read more >
How to use Visual Studio's TFVС local workspace in Rider
Select the main menu item VCS → Enable Version Control Integration… and select TFVC. Server workspace. Run the following command in the command ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found