corrected test for gpg extension in hg #9

Merged
merged 1 commit into from Mar 15, 2013

Conversation

Projects
None yet
2 participants
Contributor

wrzasa commented Mar 15, 2013

At least in mercurial 2.4.2 to check if gpg extension is installed one should do hg showconfig extensions.hgext.gpg and if it returns anything, but empty string, the extension is enabled. Even "\n" indicates that extension is turned on, so chomp is invalid.

@wrzasa wrzasa corrected test for gpg extension in hg
At least in mercurial 2.4.2 to check if gpg extension is installed one should do `hg showconfig extensions.hgext.gpg` and if it returns anything, but empty string, the extension is enabled. Even "\n" indicates that extension is turned on, so chomp is invalid.
916e305

postmodern merged commit a8648d7 into postmodern:master Mar 15, 2013

wrzasa deleted the wrzasa:patch-1 branch Mar 16, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment