diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-05-14 15:14:02 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-16 16:04:23 +0000 |
commit | a7748f9cdaaf4112c30d7c15cb17fb45cbded08a (patch) | |
tree | 00e44b102bf4449cb86d31ec667d5ff981b5091b /tests.build | |
parent | 5477a3a9d785e2b853a68fd5a1b95ebaa38a30b5 (diff) | |
download | morph-a7748f9cdaaf4112c30d7c15cb17fb45cbded08a.tar.gz |
Improve error when local HEAD of definitions repo is not found in remote
Old error:
ERROR: Git directory
/build/cache/gits/git___git_baserock_org_baserock_baserock_definitions
has no commit at ref 5046c3a0e4fd587c23f7c6a9e0d0b50d1914dcca^{commit}.
New error:
ERROR: Commit 5046c3a0e4fd587c23f7c6a9e0d0b50d1914dcca wasn't found
in the "origin" remote
git://git.baserock.org/baserock/baserock/definitions. You either need
to push your local commits on branch xxx to "origin", or use the
--local-changes=include feature.
Change-Id: I0c3658e9cd27c23f40653662ba7e4ba58b7892de
Diffstat (limited to 'tests.build')
-rw-r--r-- | tests.build/missing-ref.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests.build/missing-ref.stderr b/tests.build/missing-ref.stderr index b5139e25..ac730554 100644 --- a/tests.build/missing-ref.stderr +++ b/tests.build/missing-ref.stderr @@ -1 +1 @@ -ERROR: Git directory TMP/morphs-repo has no commit at ref non-existent-branch^{commit}. +ERROR: Ref non-existent-branch was not found in repo test:morphs-repo. |