chiark / gitweb /
Clarify error message for missing refs/remotes/dgit/dgit/<suite>.
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 16bf56d9a8dbc445ecef087eb3422e77e6389c32..207b5d09b6898258608f096cdc205a56ea36641e 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -745,9 +745,9 @@ sub fetch_from_archive () {
     print DEBUG "previous reference hash=$lastpush_hash\n";
     my $hash;
     if (defined $dsc_hash) {
-       fail "missing git history even though dsc has hash -".
-           " could not find commit $dsc_hash".
-           " (should be in ".access_giturl()."#".rrref().")"
+       fail "missing remote git history even though dsc has hash -".
+           " could not find ref ".lrref().
+           " (should have been fetched from ".access_giturl()."#".rrref().")"
            unless $lastpush_hash;
        $hash = $dsc_hash;
        ensure_we_have_orig();