Reputation: 146
I have an Android Gradle project that is recently converted from ant project resulting to have a lot of unversioned extra directories in Mercurial repository.
Is there any easy way to remove all "unversioned" directories that does not contain any "versioned" files?
I have tried hg purge command with many flags. But for example hg purge with --dirs flag does not remove directories that contains something (for example contains an empty directory).
Of course I can re-clone the whole project but this must be done on our CI-slave servers too and that's why single command could be a better solution.
Upvotes: 1
Views: 34