tests: test patching of symbolic refspecs i.e branches
That once caused issues when rolling back (checkout) since our local branch we patched and commited on had the desired name. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		
				
					committed by
					
						
						Jan Kiszka
					
				
			
			
				
	
			
			
			
						parent
						
							26a1a0b03b
						
					
				
				
					commit
					e29035407f
				
			
							
								
								
									
										1
									
								
								tests/test_patch/patches/hello-branch/003.patch
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								tests/test_patch/patches/hello-branch/003.patch
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
../hello/quilt/003.patch
 | 
			
		||||
							
								
								
									
										1
									
								
								tests/test_patch/patches/kas-branch/003.patch
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								tests/test_patch/patches/kas-branch/003.patch
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
../kas/quilt/003.patch
 | 
			
		||||
@@ -15,6 +15,14 @@ repos:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/kas/quilt/
 | 
			
		||||
 | 
			
		||||
  kas-branch:
 | 
			
		||||
    url: https://github.com/siemens/kas.git
 | 
			
		||||
    refspec: master
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/kas-branch/003.patch
 | 
			
		||||
 | 
			
		||||
  hello:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: 82e55d328c8c
 | 
			
		||||
@@ -26,3 +34,12 @@ repos:
 | 
			
		||||
      quilt:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/hello/quilt/
 | 
			
		||||
 | 
			
		||||
  hello-branch:
 | 
			
		||||
    url: https://www.mercurial-scm.org/repo/hello/
 | 
			
		||||
    refspec: default
 | 
			
		||||
    type: hg
 | 
			
		||||
    patches:
 | 
			
		||||
      plain:
 | 
			
		||||
        repo: this
 | 
			
		||||
        path: patches/hello-branch/003.patch
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user