X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;fp=dgit;h=944de8592418be52f5fae781bdf2447a4439f418;hb=83af484ee17f5d18ee6a161b01aa0b546d8943cb;hp=a68bf19c943502d3f039440caa29368ab2a388d9;hpb=a68894875ce0d11261882f62b2aa28a6e3eed673;p=dgit.git diff --git a/dgit b/dgit index a68bf19c..944de859 100755 --- a/dgit +++ b/dgit @@ -6363,7 +6363,7 @@ END fail "cannot import $dscfn which seems to be inside working tree!"; } $there =~ s#/+[^/]+$## or - fail "cannot import $dscfn which seems to not have a basename"; + fail "import $dscfn requires ../$f, but it does not exist"; $there .= "/$f"; symlink $there, $here or fail "symlink $there to $here: $!"; progress "made symlink $here -> $there";