Kervvv
Kervvv

Reputation: 845

Does Mercurial make backups of changes?

Kind of an elementary question, but I'm having trouble grasping the Mercurial SCM program. I understand it's used for tracking changes to files, but is that the extent of it. I skimmed through the man pages and the content on their tutorial pages, but it seemed to only talk about how detailed you can be with the tracking. What else?

Just to be clear, I can see why it's important to track these changes, but in addition to that, wouldn't it be beneficial to have the ability to revert back to an older state? Pardon my ignorance, beginner developer here..

Upvotes: 0

Views: 56

Answers (1)

Jonah
Jonah

Reputation: 17958

You can do exactly that. In Mercurial's case look at update to switch to any changeset in the history of your repository. This can let you look at earlier versions of the project but I think a more common case is using it to maintain multiple branches of work at once: https://www.mercurial-scm.org/guide#separate_features

Upvotes: 2

Related Questions