equal
deleted
inserted
replaced
46 VERSION: |
46 VERSION: |
47 \ |
47 \ |
48 vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \ |
48 vtagdist=$$(hg log -r . --template '{latesttagdistance}'); \ |
49 vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \ |
49 vatrelease=$$([ $$vtagdist -le 1 ] && echo yes || echo no); \ |
50 vtag=$$(hg log -r . --template '{latesttag}'); \ |
50 vtag=$$(hg log -r . --template '{latesttag}'); \ |
51 vmajor=$${vtag#t}; \ |
51 vmajor=$${vtag#v}; \ |
52 vmajor=$${vmajor%%.*}; \ |
52 vmajor=$${vmajor%%.*}; \ |
53 vminor=$${vtag#*.}; \ |
53 vminor=$${vtag#*.}; \ |
54 vrev=$$(hg id -i); \ |
54 vrev=$$(hg id -i); \ |
55 visclean=$$(case $$vrev in *+) echo no;; *) echo yes;; esac); \ |
55 visclean=$$(case $$vrev in *+) echo no;; *) echo yes;; esac); \ |
56 vrev=$${vrev%+}; \ |
56 vrev=$${vrev%+}; \ |