---
name: "hgimportsvn"
section: "1"
platform: "linux"
package: "hgsvn"
version: "0.1.8-1.1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/hgimportsvn"
---

# hgimportsvn(1)

import a subversion (svn) repository into a mercurial (hg) one

## NAME

hgimportsvn - import a subversion (svn) repository into a mercurial (hg) one

## SYNOPSIS

**hgimportsvn** \[*-r SVN rev*\] \[*-p SVN peg rev*\] *\<SVN URL\>* \[*local checkout*\]

## DESCRIPTION

-

  hgimportsvn **--local-only** \<local checkout\>

## OPTIONS

- **-r** SVN\_REV, **--svn-rev**=*SVN\_REV*

  SVN revision to checkout from

- **-p** SVN\_PEG, **--svn-peg**=*SVN\_PEG*

  SVN peg revision to locate checkout URL

- **--no-hgignore**

  Don't autogenerate .hgignore

- **--local-only**

  Don't use the server, just build from a local checkout

- **--version**

  show version and exit

- **-h**, **--help**

  show this help message and exit

- **-v**, **--verbose**

  enable additional output

- **--debug**

  enable debugging output

## SEE ALSO

The full documentation for **hgimportsvn** is maintained as a Texinfo manual.  If the **info** and **hgimportsvn** programs are properly installed at your site, the command

-

  **info hgimportsvn**

should give you access to the complete manual.
