When I configure a TeamCity project to use a specific clientspec, isn't it supposed to use that clientspec when syncing to the head revision before building? What I'm seeing is that although my projects build just fine, if I try to manipulate the state of the clientspec in a subsequent project, or outside of TeamCity using the p4 command line or the p4win application, the clientspec shows no files synced to the client. This means that I can't use ssindex to index symbols, or label the sources appropriately.
I'm guessing that I could fudge this by syncing or flushing manually inside my build scripts by using the p4 command line directly, but I don't think I can do this and still guarantee that I'm dealing with the exact same sources that TeamCity regards as having been used to compile the projects.
What am I missing here? I feel like I'm fighting the system by not using it properly, but I can't seem to discern how TC wants me to do it.