Skip to main content

hgsubversion is a Mercurial extension for working with Subversion repositories.

Project description

hgsubversion is an extension for Mercurial that allows using Mercurial as a Subversion client.

At this point, hgsubversion is usable by users reasonably familiar with Mercurial as a VCS. It’s not recommended to dive into hgsubversion as an introduction to Mercurial, since hgsubversion “bends the rules” a little and violates some of the typical assumptions of early Mercurial users.

Installation

You need to have either have Subversion 1.5 (or later) installed along with either Subvertpy 0.7.4 (or later) or the Subversion SWIG Python bindings. You need Mercurial 2.0 or later.

If you are unfamiliar with installing Mercurial extensions, please see the UsingExtensions page in the Mercurial wiki. Look at the example for specifying an absolute path near the bottom of the page. You want to give the path to the top level of your clone of this repository.

Before using hgsubversion, I strongly encourage you to run the automated tests. Just use nose if you have it (or easy_install nose if you want it), or use python tests/run.py to run the suite with the conventional test runner. Note that because I use nose, there’s a lot of stdout spew in the tests right now. The important part is that all the tests pass.

You can check that hgsubversion is installed and properly activated using the following command:

$ hg version --svn
Mercurial Distributed SCM (version ...)

Copyright (C) 2005-2010 Matt Mackall <mpm@selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

hgsubversion: ...
Subversion: ...
bindings: Subvertpy ...

If your bindings are listed as SWIG, please consider installing Subvertpy.

Further Reading

More information on how to use hgsubversion is available from within Mercurial in the subversion help topic. To view it, use:

$ hg help subversion

The Restructured Text source for this topic is also available in the file hgsubverson/help/subversion.rst.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hgsubversion-1.8.6.tar.gz (180.7 kB view details)

Uploaded Source

File details

Details for the file hgsubversion-1.8.6.tar.gz.

File metadata

File hashes

Hashes for hgsubversion-1.8.6.tar.gz
Algorithm Hash digest
SHA256 23ad3d48a36639bc9bb9060b5bac8b12094100ee46f2a1290c73b100a12bae49
MD5 9310cb266031cf8d0779885782a84a5b
BLAKE2b-256 ce97032e5093ad250e9908cea04395cbddb6902d587f712a79b53b2d778bdfdd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page