Restoring Mercurial repositories¶
How a bare repository looks like¶
It contains a single folder named
How to restore¶
Clone the bare repository into a “regular” one:
hg clone bare-repo working-repo
working-repo will have a working directory.
Updating a bare repo to any revision will create a working directory in that repository.
To do this,
hg update to any revision. For the newest revision, update to
tip (a tag which points to the latest commit):
cd bare-repo hg update tip
In TortoiseHG, right-click on any revision ⇒ Update.