4

Is it possible to checkout all the files in a repository for a specific revision? Say for example that my repository is at revision 88. I don't want to revert or backout any of the changes up to revision 88, but just get a copy of them at revision 50.

Zoe
  • 23,712
  • 16
  • 99
  • 132
sdoca
  • 7,402
  • 21
  • 65
  • 119

1 Answers1

10

To update your working directory to revision <rev>:

hg update -r <rev>
David Levesque
  • 20,680
  • 8
  • 62
  • 78
  • Thanks, I'm still getting familiar with Mercurial and have used update to merge updates from our central repo to my local one, but the action didn't seem intuitive for "checking out" a previous revision. – sdoca Dec 06 '13 at 16:39