changeset 12537 | 5df8ef0f3f51 |
parent 12492 | 72be1ab55d62 |
child 12640 | 6cc4b14fb76b |
12536:208fc9ad6a48 | 12537:5df8ef0f3f51 |
---|---|
8 $ commit() |
8 $ commit() |
9 > { |
9 > { |
10 > hg up -qC null |
10 > hg up -qC null |
11 > count=1 |
11 > count=1 |
12 > for i in "$@"; do |
12 > for i in "$@"; do |
13 > for f in $i; do |
13 > for f in $i; do |
14 > echo $count > $f |
14 > echo $count > $f |
15 > done |
15 > done |
16 > count=`expr $count + 1` |
16 > count=`expr $count + 1` |
17 > done |
17 > done |
18 > hg commit -qAm "$*" |
18 > hg commit -qAm "$*" |
19 > } |
19 > } |
20 |
20 |
21 2 1 0 2 0 1 2 |
21 2 1 0 2 0 1 2 |