hg id gives you a revision of the working directory. hg sum provides the same information and a few more. You can also check the compass extension, which contains detailed information about the "location" of your working copy throughout the repository.
source share