Mercurial
hg/apidesign
/ file revision
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
| file |
latest
|
revisions
|
annotate
|
diff
|
raw
|
help
samples/version.sh
author
Jaroslav Tulach <jtulach@netbeans.org>
Wed, 08 Aug 2012 23:55:35 +0200
changeset 399
06362e8bbcd9
permissions
-rw-r--r--
Was this a reverted condition? It seems that a code that can only be called be a test needs to be allowed when assertions are on.
When assertions are off, it should throw IllegalStateException. Right?
1
#!/bin/sh
2
hg log --template '0' . | wc -c