Don't print the 'Merging revision...' message until we know there's actually a commit to merge.

Also args.until is a string, needs to be an int for the loop to end.