mdounin at mdounin.ru
Wed Aug 6 12:20:51 UTC 2014
On Wed, Aug 06, 2014 at 08:16:44AM -0400, Cole Tierney wrote:
> On Wed, 06 Aug 2014 15:19:43 +0400, Maxim Konovalov wrote:
> > On 8/6/14 3:15 PM, Cole Tierney wrote:
> >> Hello,
> >> Thanks for the update!
> >> Are there plans to update the mercurial respository? I just tried pulling changesets, recompiling, and I am still at 1.7.1.
> > You are doing something wrong:
> > $ hg -q clone http://hg.nginx.org/nginx tmp
> > $ grep NGINX_VERSION tmp/src/core/nginx.h
> > #define NGINX_VERSION "1.7.5"
> > #define NGINX_VER "nginx/“ NGINX_VERSION
> I do get 1.7.5 if clone a new copy. Strange that when I pull to my usual repo I don’t get anything past 1.7.1:
> hg pull
> pulling from http://hg.nginx.org/nginx
> searching for changes
> no changes found
> grep NGINX_VERSION src/core/nginx.h
> #define NGINX_VERSION "1.7.1"
> #define NGINX_VER "nginx/" NGINX_VERSION
You have to update working copy as well, not just pull. Try "hg
update". And there is also "-u" / "--update" flag for "hg pull"
which does update automatically while pulling new changes.
More information about the nginx