For the future, if you want functionality like that you should use CVS or Subversion. They do version control which is compatible with xcode, and gives you persistent undo (rollback) support.
I don't know the answer to your query as stands, though. Sorry!