Skip to content
Snippets Groups Projects

svn sub-project dump fails to be loaded when using svnrdump but succeeds when using rsvndump

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Antoine Lambert

    Example of a subversion sub-project (not rooted at repository root) dump that fails to be loaded by svnadmin when dump was generated using svnrdump but succeeds when dump was generated using rsvndump.

    Edited
    shell 886 B
    $ svn info https://svn.labri.fr/repos/acs/www/redmine
    Path: redmine
    URL: https://svn.labri.fr/repos/acs/www/redmine
    Relative URL: ^/www/redmine
    Repository Root: https://svn.labri.fr/repos/acs
    Repository UUID: 5e1d62f3-7209-480c-aa57-5b41b332592f
    Revision: 1713
    Node Kind: directory
    Last Changed Author: sutre
    Last Changed Rev: 1713
    Last Changed Date: 2017-05-22 18:15:09 +0200 (lun., 22 mai 2017)
    
    $ svnrdump dump -q https://svn.labri.fr/repos/acs/www/redmine > redmine.svnrdump
    
    $ svnadmin create redmine_svnrdump_repo
    
    $ cat redmine.svnrdump | svnadmin load -q redmine_svnrdump_repo/
    svnadmin: E160013: File not found: transaction '1680-1ao', path '/www/redmine'
    
    $ rsvndump -q --deltas --keep-revnums https://svn.labri.fr/repos/acs/www/redmine > redmine.rsvndump
    
    $ svnadmin create redmine_rsvndump_repo
    
    $ cat redmine.rsvndump | svnadmin load -q redmine_rsvndump_repo/
    
    $ echo $?
    0
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment