47d46
< CONV_HG="$SCRIPT_DIR"/git-patch-to-hg-patch
51d49
< PATCH_FORMAT=
62d59
< -f FMT Patch format (hg or git)
73c70
< 3. Generate a set of patches in git format or Mercurial format.
---
> 3. Generate a set of patches in git format.
82c79
< while getopts ":u:d:f:h" OPT; do
---
> while getopts ":u:d:h" OPT; do
90,92d86
< f)
< PATCH_FORMAT="$OPTARG"
< ;;
120,134d113
< case "$PATCH_FORMAT" in
< git|hg)
< ;;
<
< "")
< echo "Error: No patch format specified" >&2
< exit 1
< ;;
<
< *)
< echo "Error: Illegal patch format specified: '$PATCH_FORMAT'" >&2
< exit 1
< esac
<
<
171,177d149
<
< if [ "$PATCH_FORMAT" == "hg" ]; then
< echo "Converting patches..."
< for P in "$PATCH_DIR"/*.patch; do
< "$CONV_HG" $P
< done
< fi