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.
Asked
Active
Viewed 5,692 times
2 Answers
12
To update your working directory to revision <rev>
:
hg update -r <rev>

David Levesque
- 22,181
- 8
- 67
- 82
0
As an alternative to David Levesqe's answer you could use hg clone
with the --updaterev
(or -u
) option to make a copy with a specific revision, for example:
hg clone --updaterev 50 yourRepo/ copyWithRev50/

Bill Tür stands with Ukraine
- 3,425
- 30
- 38
- 48