HG-MIRROR(1)
============
Michael Gebetsroither <michael.geb@gmx.at>


NAME
----
hg-mirror - create a full mirror over hgwebdir


SYNOPSIS
--------
*hg-mirror*


DESCRIPTION
-----------
This manual page documents briefly the *hg-mirror* command.

*hg-mirror* is a script to create a full repository mirror of a remote site served by hgwebdir.
*hg-mirror* uses the new raw template from hgwebdir which is included after 0.9.3.

OPTIONS
-------
*-h/--help*::
Print a help summary

*-i/--ignore <regexp> (default="(?!)")*::
Filter list of repositories through this regular expression

*-s/--strip <regexp> (defaul="(?!)")*::
Strip the path component matched by regexp from local patch. This comes in handy if you only want to clone a subdirectory from the server. Your given regexp component is modified to: "^" + regexp.strip("/") + "/.*".

*--try (default=False)*::
Do not sync repositories, only print what would be done


EXAMPLES
--------
On the command line:
--------------------------------
    hg-mirror http://hg.grml.org
--------------------------------

Crontab entry:
--------------------------------
    @hourly cd $HOME/hp/hg/mirror/grml.org && hg-mirror http://hg.grml.org
--------------------------------

Example with filter (mirror all but own grml packages):
--------------------------------
    hg-mirror -i 'grml.*' http://hg.grml.org
--------------------------------


SEE ALSO
--------
hg(1), hgmergevim(1), hgr(1), hg-mirror(1), hg-mirror(1)


AUTHOR
------
hg-mirror was written by Michael Gebetsroither <gebi@grml.org>

This manual page was written by Michael Gebetsroither <gebi@grml.org>
