Difference between revisions of "Converting svn repository to bazaar"

From Notes_Wiki
m
m
 
Line 1: Line 1:
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Versioning tools]] > [[Subversion|Subversion (SVN)]] > [[Converting svn repository to bazaar]]
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Versioning tools]] > [[Subversion|Subversion (SVN)]] > [[Converting svn repository to bazaar]]
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Versioning tools]] > [[Bazaar]] > [[Converting svn repository to bazaar]]


To conver SVN repository to bazaar use following steps:
To conver SVN repository to bazaar use following steps:
Line 22: Line 24:


[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Versioning tools]] > [[Subversion|Subversion (SVN)]] > [[Converting svn repository to bazaar]]
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Versioning tools]] > [[Subversion|Subversion (SVN)]] > [[Converting svn repository to bazaar]]
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Versioning tools]] > [[Bazaar]] > [[Converting svn repository to bazaar]]

Latest revision as of 15:45, 24 August 2022

Home > CentOS > CentOS 6.x > Versioning tools > Subversion (SVN) > Converting svn repository to bazaar

Home > CentOS > CentOS 6.x > Versioning tools > Bazaar > Converting svn repository to bazaar

To conver SVN repository to bazaar use following steps:

  1. Go to parent folder of svn repository folder.
  2. If access to Internet is via proxy server then export proxy using:
    export http_proxy='http://proxy.virtual-labs.ac.in:8080/'
  3. Download tool called svn2bzr.py using command 'bzr branch lp:svn2bzr'
  4. Dump SVN repository to a file using:
    svnadmin dump <svn-repo-dir> > repo.dump
    where <svn-repo-dir> should be replaced with name of SVN repository directory
  5. Create a bazaar branch using SVN repository using:
    ./svn2bzr/svn2bzr.py repo.dump branch1

Note that './svn2bzr/svn2bzr.py <(svnadmin dump svn-repo1) branch1' does not works as svn2bzr.py tries to seek into file being read. So there is no option to avoid creation of dump file in case of large SVN repositories.


Home > CentOS > CentOS 6.x > Versioning tools > Subversion (SVN) > Converting svn repository to bazaar

Home > CentOS > CentOS 6.x > Versioning tools > Bazaar > Converting svn repository to bazaar