It is possible to check the locally checkout revision number with repository current version.
i.e I checkout a file from repository and made changes locally, before i commit other user checkout the same file and made changes and committed the file. Before commit i need to check whether the local revision and repository version are same or not. so that intimate the user about the revision incompatibility.