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
- init srcurl desturl
Initialize the desturl repository to be pushed from srcurl.
- check srcurl desturl
Check if desturl repository was pushed from srcurl and if it is up to date.
- push [options] srcurl desturl
Invoke the push of srcurl to desturl
- -c --create
Initialzie desturl for pushing if not already done
- -m --message=<text>
Use <text> for every commit that is done during push
- -r --revision=<from>:<to>
Push only changes between (including) the two given revision. Revision can also be
HEADwhich 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.
- walk [options] srcurl desturl regex repos1 .. reposN
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.