开发者

hg: how do I view a file as it was at a particular revision?

开发者 https://www.devze.com 2023-02-27 02:21 出处:网络
In Mercurial, I can do hg glog templates/base.html to see the complete revision history for a file. How can I view the file as it was at, say, changeset 1000开发者_StackOverflow社区?

In Mercurial, I can do

hg glog templates/base.html 

to see the complete revision history for a file.

How can I view the file as it was at, say, changeset 1000开发者_StackOverflow社区?

thanks!


hg cat -r 1000 templates/base.html
0

精彩评论

暂无评论...
验证码 换一张
取 消