I'm looking for something that would let me know if a new folder has been added directly under my branch in TFVC. I tried using the tf client but though I can fetch the changesets and get history but I couldn't find what I was looking for.
What I want is, suppose there is a TFS branch TestBranch
my script will poll that branch at regular intervals and return the folder name if a new folder has been added under that branch directly (sub-folders should be ignored).
Is there any tf command for this ? or how should I try to achieve my desired result?
Note : We are using TFS 2015. Also I tried looking into TFS service hooks so I don't have to poll the branch but creating service hooks requires administrator access which I don't have.