A Scalable, User-Friendly Source Control System.
Go to file
Augie Fackler 6f8b90fbad utility_commands: Implement rebuildmeta so that metadata can be rebuilt.
hg_delta_editor: Fixed some longstanding branch_info bugs detected while
rebuilding meta.
2008-12-23 22:19:26 -06:00
notes utility_commands: Implement rebuildmeta so that metadata can be rebuilt. 2008-12-23 22:19:26 -06:00
svnwrap utility_commands: Implement rebuildmeta so that metadata can be rebuilt. 2008-12-23 22:19:26 -06:00
tests utility_commands: Implement rebuildmeta so that metadata can be rebuilt. 2008-12-23 22:19:26 -06:00
__init__.py Phrasing nits. 2008-12-15 21:36:14 -06:00
.hgignore .hgignore: ignore nose coverage html. 2008-12-11 19:21:05 -06:00
diff_cmd.py push: Fix the bad implementation that required modifying the dirstate to push. 2008-12-22 21:22:11 -06:00
fetch_command.py fetch: Refactor extra creation to be shared by real and diff replay. 2008-12-23 11:10:32 -06:00
hg_delta_editor.py utility_commands: Implement rebuildmeta so that metadata can be rebuilt. 2008-12-23 22:19:26 -06:00
push_cmd.py push: Fix the bad implementation that required modifying the dirstate to push. 2008-12-22 21:22:11 -06:00
README rebase: preserve local branch names. 2008-12-22 21:20:10 -06:00
rebuildmeta.py utility_commands: Implement rebuildmeta so that metadata can be rebuilt. 2008-12-23 22:19:26 -06:00
svncommand.py utility_commands: Implement rebuildmeta so that metadata can be rebuilt. 2008-12-23 22:19:26 -06:00
tag_repo.py tag_repo: remove gentags command, extend repo.tags(), HgChangeEditor now takes either repo or repo_path 2008-12-04 13:10:40 -06:00
util.py fetch: Refactor extra creation to be shared by real and diff replay. 2008-12-23 11:10:32 -06:00
utility_commands.py push: Fix the bad implementation that required modifying the dirstate to push. 2008-12-22 21:22:11 -06:00

-*-restructuredtext-*-

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

Right now it is *not* ready for production use. You should only be using this if 
you're ready to hack on it, and go diving into the internals of Mercurial and/or 
Subversion.

Installation
------------
You need to have Subversion installed with the SWIG Python bindings from Subversion 1.5 or later.
You need Mercurial 1.1.1 or later.

.. _mercurial: http://selenic.com/repo/hg
.. _mercurial-stable: http://selenic.com/repo/hg-stable
.. _crew: http://hg.intevation.org/mercurial/crew
.. _crew-stable: http://hg.intevation.org/mercurial/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: http://www.selenic.com/mercurial/wiki/index.cgi/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/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.

.. _nose: http://code.google.com/p/python-nose/

Basic Use
-----------
Get a new clone of an svn server::

 $ hg svnclone <svn URI> [destination]

Real example::

 $ hg svnclone http://python-nose.googlecode.com/svn nose-hg

Note, you should pull from the root subversion directory, not specific folders (such as trunk).

Pull new revisions into an already-converted repo::

 $ hg svn pull

For more information, see 'hg help svn' while in a converted repo.