Mercurial 是否对更改进行备份?
Does Mercurial make backups of changes?
有点初级问题,但我在掌握 Mercurial SCM 程序时遇到了问题。我知道它用于跟踪文件的更改,但这就是它的范围。我浏览了手册页和他们教程页面上的内容,但它似乎只谈论了跟踪的详细程度。还有什么?
澄清一下,我明白为什么跟踪这些更改很重要,但除此之外,能够恢复到较旧的状态不是很有用吗?原谅我的无知,这里是初学者开发者..
你完全可以做到。在 Mercurial 的情况下,请查看 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
有点初级问题,但我在掌握 Mercurial SCM 程序时遇到了问题。我知道它用于跟踪文件的更改,但这就是它的范围。我浏览了手册页和他们教程页面上的内容,但它似乎只谈论了跟踪的详细程度。还有什么?
澄清一下,我明白为什么跟踪这些更改很重要,但除此之外,能够恢复到较旧的状态不是很有用吗?原谅我的无知,这里是初学者开发者..
你完全可以做到。在 Mercurial 的情况下,请查看 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