Gerald Richter > SVN-Push-0.02 > svnpush

Download:
SVN-Push-0.02.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

svnpush - command line interface for remote Subversion repository push

SYNOPSIS ^

    % svnpush init http://hosta/path http://hostb/path

    # run the actual mirroring
    % svnpush push http://hosta/path http://hostb/path

DESCRIPTION ^

svnpush push a repository to another repository or parts of a repository to another repository

COMMANDS ^

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

Possible options:

-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 HEAD which means the newest revision in the repository.

Example:

  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.

Possible options:

-c --create

Initialzie desturl for pushing if not already done

-m --message=<text>

Use <text> for every commit that is done during push

AUTHORS ^

Gerald Richter <richter@dev.ecos.de>

CREDITS ^

A lot of ideas and code is taken from SVN::Mirror by Chia-liang Kao <clkao@clkao.org>

COPYRIGHT ^

Copyright 2004 by Gerald Richter <richter@dev.ecos.de>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

syntax highlighting: