File hg-fast-export-path_and_param_fix.patch of Package hg-fast-export
diff -urN fast-export-231118/hg-fast-export.py fast-export-231118-patch/hg-fast-export.py
--- fast-export-231118/hg-fast-export.py 2023-03-27 21:35:36.000000000 +0300
+++ fast-export-231118-patch/hg-fast-export.py 2024-11-13 09:54:19.485277858 +0200
@@ -602,7 +602,7 @@
parser.add_option("-f","--force",action="store_true",dest="force",
default=False,help="Ignore validation errors by force, implies --ignore-unnamed-heads")
parser.add_option("--ignore-unnamed-heads",action="store_true",dest="ignore_unnamed_heads",
- default=False,help="Ignore unnamed head errors")
+ default=True,help="Ignore unnamed head errors")
parser.add_option("-M","--default-branch",dest="default_branch",
help="Set the default branch")
parser.add_option("-o","--origin",dest="origin_name",
diff -urN fast-export-231118/hg-fast-export.sh fast-export-231118-patch/hg-fast-export.sh
--- fast-export-231118/hg-fast-export.sh 2023-03-27 21:35:36.000000000 +0300
+++ fast-export-231118-patch/hg-fast-export.sh 2024-11-13 09:52:24.039744681 +0200
@@ -16,7 +16,7 @@
exit 1
fi
else
- ROOT="$(dirname "$($READLINK -f "$(which "$0")")")"
+ ROOT=/usr/share/hg-fast-export
fi
REPO=""