hg-mirror http://hg.grml.org
hg-mirror - create a full mirror over hgwebdir
hg-mirror
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.
Print a help summary
Filter list of repositories through this regular expression
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("/") + "/.*".
Do not sync repositories, only print what would be done
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
hg(1), hgmergevim(1), hgr(1), hg-mirror(1), hg-mirror(1)
hg-mirror was written by Michael Gebetsroither <gebi@grml.org>
This manual page was written by Michael Gebetsroither <gebi@grml.org>