开发者

Updating a mercurial webserver

I have a server running mercuial 1.7.2 and want to upgrade to the newest version. What is the best way to go about deploying a new version? Do I need to recopy the templates folde开发者_StackOverflow社区r and mercurial folder for python?


Generally speaking, you can simply replace your installed Mercurial with a new version and have it work.

  • old CGI and WSGI scripts are all forward-compatible and you don't need to update them
  • you shouldn't need to update config files
  • new Mercurial versions will read and write old repositories without issue

The only thing you need to worry about is if you've modified the stock web templates, in which case you'll want to back them up and restore them.

See this page for other notes on upgrading:

https://www.mercurial-scm.org/wiki/UpgradingMercurial

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜