tests: Widely switch to new commit/branch syntax
Lift most test cases to the new syntax, just with few exceptions: - tests/test_refspec/test2.yml actually stresses the mixed usage (but clean per repo) - tests/test_repo_includes references kas as external repo at a point where there was no new syntax yet; this needs to be migrated differently later on Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		@@ -1,12 +1,12 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    commit: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,10 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    commit: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: non-existent
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +1,12 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/ilbers/isar.git
 | 
			
		||||
    refspec: 47aaeedecd0ea6f754da36be1d10717b04eb8275
 | 
			
		||||
    commit: 47aaeedecd0ea6f754da36be1d10717b04eb8275
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +1,12 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    commit: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
@@ -17,7 +17,7 @@ repos:
 | 
			
		||||
 | 
			
		||||
  kas-branch:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: master
 | 
			
		||||
    branch: master
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
@@ -25,7 +25,7 @@ repos:
 | 
			
		||||
 | 
			
		||||
  hello:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: 82e55d328c8c
 | 
			
		||||
    commit: 82e55d328c8c
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
@@ -37,7 +37,7 @@ repos:
 | 
			
		||||
 | 
			
		||||
  hello-branch:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: default
 | 
			
		||||
    branch: default
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +1,12 @@
 | 
			
		||||
header:
 | 
			
		||||
  version: 8
 | 
			
		||||
  version: 14
 | 
			
		||||
 | 
			
		||||
repos:
 | 
			
		||||
  this:
 | 
			
		||||
 | 
			
		||||
  kas:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: master
 | 
			
		||||
    branch: master
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
@@ -14,7 +14,7 @@ repos:
 | 
			
		||||
 | 
			
		||||
  kas-branch:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    commit: 907816a5c4094b59a36aec12226e71c461c05b77
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
@@ -25,7 +25,7 @@ repos:
 | 
			
		||||
 | 
			
		||||
  hello:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: default
 | 
			
		||||
    branch: default
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
@@ -37,7 +37,7 @@ repos:
 | 
			
		||||
 | 
			
		||||
  hello-branch:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: 0a04b987be5a
 | 
			
		||||
    commit: 0a04b987be5a
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user