Tree [68191b] default tip /

File Date Author Commit
 hgsubversion 2012-12-01 Patrick Mezard Patrick Mezard [68191b] updatemeta: fix missing errno import
 notes 2009-05-04 Augie Fackler Augie Fackler [c3c647] Merge with danchr's changes.
 tests 2012-12-01 Patrick Mezard Patrick Mezard [68191b] updatemeta: fix missing errno import
 tools 2009-08-08 Augie Fackler Augie Fackler [c2d0e7] Merge win32 fixes
 .hgignore 2012-05-17 David Schleimer David Schleimer [e42a05] Add .noseids to the .hgignore
 .hgtags 2012-11-01 Augie Fackler Augie Fackler [109c41] Added tag 1.5 for changeset 77b22e5b4ea6
 COPYING 2009-08-08 Augie Fackler Augie Fackler [c07bcd] COPYING: include license (GPL == v2) 2012-03-01 Dirkjan Ochtman Dirkjan Ochtman [8a226f] Include documentation in tarballs (fixes #317).
 Makefile 2012-04-20 Dan Villiom Podlaski Christiansen Dan Villiom Podlaski Christiansen [055f92] Makefile: set HGRCPATH to protects us from brok...
 README 2010-10-10 Augie Fackler Augie Fackler [bfb88a] Merge 2012-06-07 Brad Hall Brad Hall [92bd7b] Add a changegroup hook to update svn metadata

Read Me

.. -*-restructuredtext-*-


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.

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 1.3 or later.

.. _mercurial:
.. _mercurial-stable:
.. _crew:
.. _crew-stable:

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.

.. _UsingExtensions:

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/`` 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.

.. _nose:

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 <> and others
 This is free software; see the source for copying conditions. There is NO

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

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

.. _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