I'm using mercurial and I think I may have an older revision of a python file running on my server. How can I tell which revision, of a particular file, is currently being ran on in my web application? 
I suspect an older revision because I currently have an error being thrown in sentry that refers to a line of code that no longer exists in my latest code file. I can log directly onto the server and see my latest file, but still my web app runs this old version
I have ruled out browser caching and server caching 
Thanks in advance.
You can use hg id -i to see the currently checked out revision on your server, and hg status to check if the file has been modified relative to that revision.
HG - Find current running revision of a code file