Mercurial > hg
view contrib/wix/defines.wxi @ 31613:5c1d3f1b8f44
largefiles: omit redundant isstandin() before splitstandin()
There are many isstandin() invocations before splitstandin().
The former examines whether specified path starts with ".hglf/". The
latter returns after ".hglf/" of specified path if it starts with that
prefix, or returns None otherwise.
Therefore, value returned by splitstandin() can be used for
replacement of preceding isstandin(), and this replacement can omit
redundant string comparison after isstandin().
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 24 Mar 2017 22:24:58 +0900 |
parents | bd9bc4123920 |
children |
line wrap: on
line source
<Include> <?if $(var.Platform) = "x64" ?> <?define IsX64 = yes ?> <?else?> <?define IsX64 = no ?> <?endif?> </Include>