Closed
Description
Hi,
a recurring annoyance is when switching branches and compiled classes from the old branch remain in the namespace sometimes creating compilation errors.
Scenario:
- I am working on branch X, I have added class C, it is installed into the namespace
- Using Git, switch to branch Y. This branch does not have the file for class C yet.
- Import and Compile to sync disk into namespace
Result:
If the dependencies of class C are no longer met, we will see a compilation error in the log. If the dependencies are met there will be no error, but we will still have a "zombie" class in our namespace. This may or may not affect the stability of the namespace.
Workaround has always been to delete zombie files by hand in the namespace.
Request:
Ideally the Import+Compile could purge the classes that no longer have an equivalent on disk. A manual purge command would also be acceptable, before or after the Import+Compile. N.B. We are using client-side editing.
Metadata
Metadata
Assignees
Labels
No labels