---
name: "svn-mirror"
section: "1p"
platform: "linux"
package: "libsvn-mirror-perl"
version: "0.68-3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/svn-mirror"
---

# svn-mirror(1p)

command line interface for remote Subversion repository mirroring

## NAME

svn-mirror - command line interface for remote Subversion repository mirroring

## SYNOPSIS

```
    # the svn repository for svn-mirror to use
    % setenv SVMREPOS ~/svm
```

```
    # set the path mirror/svn to mirror official subversion trunk
    % svn-mirror init mirror/svn http://svn.collab.net/repos/svn/trunk
```

```
    # run the actual mirroring
    # flatten the changesets between revision 1 thru 6000
    % svn-mirror sync mirror/svn 6000
```

```
    # merge back changes in local branch
    % svn cp file://$SVMREPOS/mirror/svn file://$SVMREPOS/svn-local
    # make some changes and then merge back to source repository
    % svn-mirror mergeback mirror/svn svn-local
```

## DESCRIPTION

*svn-mirror* mirrors remote repository accissible via SVN::Ra interface to a local repository.

## COMMANDS

- init **path** **url**

  Initialize the **path** in svm repository to mirror from **url**.

- sync **path** **\[sync\_to\]**

  Invoke the synchronization of **path** in svn-mirror repository according the how it is initialized.

## AUTHORS

Chia-liang Kao \<clkao@clkao.org\>

## COPYRIGHT

Copyright 2003 by Chia-liang Kao \<clkao@clkao.org\>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See \<http://www.perl.com/perl/misc/Artistic.html\>
