svnpush - command line interface for remote Subversion repository push
% svnpush init http://hosta/path http://hostb/path # run the actual mirroring % svnpush push http://hosta/path http://hostb/path
svnpush push a repository to another repository or parts of a repository to another repository
Initialize the desturl repository to be pushed from srcurl.
Check if desturl repository was pushed from srcurl and if it is up to date.
Invoke the push of srcurl to desturl
Initialzie desturl for pushing if not already done
Use <text> for every commit that is done during push
Push only changes between (including) the two given revision. Revision can also be
HEAD which means the newest revision in the repository.
svnpush push --create -r HEAD -m 'New Release' https://svn.example.com/repos https://svn2.example.com/release
This will push the HEAD revision of the first URL to the second URL. The direcory of the second URL will be created if it isn't there. If, since the last push, multiple revision had been commited to the source, they will be commited as one revision to the destination. If you leave out the -r option every revision in the source will be commited as one revision to the destination.
Invoke the push of for all reositories underneath srcurl to desturl given with as repos1 .. reposN. Only directories matching regex are replicated.
Gerald Richter <email@example.com>
A lot of ideas and code is taken from SVN::Mirror by Chia-liang Kao <firstname.lastname@example.org>
Copyright 2004 by Gerald Richter <email@example.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.