equal
deleted
inserted
replaced
43 echo |
43 echo |
44 echo 'Checking mercurial log for matches ...' |
44 echo 'Checking mercurial log for matches ...' |
45 echo |
45 echo |
46 result=$(hg log -R "$HW_HG" -u "$author" -d "$date" -v -l1) |
46 result=$(hg log -R "$HW_HG" -u "$author" -d "$date" -v -l1) |
47 if [ -z "$result" ]; then |
47 if [ -z "$result" ]; then |
|
48 echo 'No match with this author'\''s name. It might differ, so let'\''s try using date only ...' |
|
49 echo |
|
50 result=$(hg log -R "$HW_HG" -d "$date" -v) |
|
51 fi |
|
52 if [ -z "$result" ]; then |
48 echo 'No match :(' |
53 echo 'No match :(' |
49 shift |
54 shift |
50 continue |
55 continue |
51 fi |
56 fi |
52 rev=$(echo "$result" | sed 's/^.*://;q') |
57 rev=$(echo "$result" | sed 's/^.*://;q') |