 8e43a1d010
			
		
	
	8e43a1d010
	
	
	
		
			
			Search for a note attached to the ref to update and read it's 'Revision-number:'-line. Start import from the next svn revision. If there is no next revision in the svn repo, svnrdump terminates with a message on stderr an non-zero return value. This looks a little weird, but there is no other way to know whether there is a new revision in the svn repo. On the start of an incremental import, the parent of the first commit in the fast-import stream is set to the branch name to update. All following commits specify their parent by a mark number. Previous mark files are currently not reused. Signed-off-by: Florian Achleitner <florian.achleitner.2.6.31@gmail.com> Acked-by: David Michael Barr <b@rr-dav.id.au> Signed-off-by: Junio C Hamano <gitster@pobox.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			267 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			267 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef SVNDUMP_H_
 | |
| #define SVNDUMP_H_
 | |
| 
 | |
| int svndump_init(const char *filename);
 | |
| int svndump_init_fd(int in_fd, int back_fd);
 | |
| void svndump_read(const char *url, const char *local_ref, const char *notes_ref);
 | |
| void svndump_deinit(void);
 | |
| void svndump_reset(void);
 | |
| 
 | |
| #endif
 |