Show More
@@ -11,6 +11,12 b' if ! hg update --check -q .; then' | |||
|
11 | 11 | exit 1 |
|
12 | 12 | fi |
|
13 | 13 | |
|
14 | revset=$1 | |
|
15 | if [ -z "$revset" ]; then | |
|
16 | echo "Warning: no revisions specified, checking draft changes up to the current one." | |
|
17 | revset='draft() and ancestors(.)' | |
|
18 | fi | |
|
19 | ||
|
14 | 20 | venv=$(mktemp -d kallithea-validatecommits-env-XXXXXX) |
|
15 | 21 | resultfile=$(mktemp kallithea-validatecommits-result-XXXXXX) |
|
16 | 22 | echo > "$resultfile" |
@@ -29,7 +35,7 b' finish()' | |||
|
29 | 35 | } |
|
30 | 36 | trap finish EXIT |
|
31 | 37 | |
|
32 |
for rev in $(hg log -r "$ |
|
|
38 | for rev in $(hg log -r "$revset" -T '{node}\n'); do | |
|
33 | 39 | hg log -r "$rev" |
|
34 | 40 | hg update "$rev" |
|
35 | 41 |
General Comments 0
You need to be logged in to leave comments.
Login now