Welcome, Guest
Username Password: Remember me

Copy only certain SVN revisions from one repositor
(1 viewing) (1) Guest
SVN(Subversion)
  • Page:
  • 1

TOPIC: Copy only certain SVN revisions from one repositor

Copy only certain SVN revisions from one repositor 1 year, 10 months ago #261

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44591
  • Karma: 4
  • Honor Medal 2009
To extract a set of revisions (nn to mm) from a repository:

svnadmin dump --incremental -r nn:mm /path/to/repository > /path/to/dumpfile.svn
 

The --incremental option allows you to merge this set of changes without bringing the entire baseline along with the import.

To apply those revisions to a repository:

svnadmin load --ignore-uuid /path/to/repository < /path/to/dumpfile.svn


The --ignore-uuid option allows the import to strip out uuid information from the source repository.

I would restrict this operation to repositories with a common revision heritage otherwise the load would probably fail.
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar
  • Page:
  • 1
Time to create page: 0.66 seconds

     
    
Home Forum