• Florian Achleitner's avatar
    remote-svn: add incremental import · 8e43a1d0
    Florian Achleitner authored
    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: default avatarFlorian Achleitner <florian.achleitner.2.6.31@gmail.com>
    Acked-by: David Michael Barr's avatarDavid Michael Barr <b@rr-dav.id.au>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    8e43a1d0
svn-fe.c 361 Bytes