Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mercurial: Checkout Files for Revision

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.

like image 503
sdoca Avatar asked Dec 19 '22 20:12

sdoca


1 Answers

To update your working directory to revision <rev>:

hg update -r <rev>
like image 193
David Levesque Avatar answered Jan 04 '23 00:01

David Levesque