diff --git a/src/root/reproduce.tt b/src/root/reproduce.tt index 6e277c1a..60fb3094 100644 --- a/src/root/reproduce.tt +++ b/src/root/reproduce.tt @@ -110,6 +110,7 @@ if ! [ -d "$inputDir" ]; then requireCommand hg inputDirTmp="$inputDir.tmp" rm -rf "$inputDirTmp" + mkdir -p "$inputDirTmp" hg clone '[% input.uri %]' "$inputDirTmp" (cd "$inputDirTmp" && hg update '[% input.revision %]') revCount="$(cd "$inputDirTmp" && (hg log -r '[% input.revision %]' --template "{rev}"))"