GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  REX::COMMANDS::SCM (3)

.ds Aq ’

NAME

Rex::Commands::SCM - Sourcecontrol for Subversion and Git.

CONTENTS

DESCRIPTION

With this module you can checkout subversion and git repositories.

Version <= 1.0: All these functions will not be reported.

All these functions are not idempotent.

SYNOPSIS



 use Rex::Commands::SCM;

 set repository => "myrepo",
    url => git@foo.bar:myrepo.git;

 set repository => "myrepo2",
    url      => "https://foo.bar/myrepo",
    type     => "subversion",
    username => "myuser",
    password => "mypass";

 task "checkout", sub {
   checkout "myrepo";

   checkout "myrepo",
     path => "webapp";

   checkout "myrepo",
     path   => "webapp",
     branch => 1.6;    # branch only for git

   # For Git only, will replay any local commits on top of pulled commits
   checkout "myrepo",
     path   => "script_dir",
     rebase => TRUE;

   checkout "myrepo2";
 };



EXPORTED FUNCTIONS

checkout($name, CW%data);

With this function you can checkout a repository defined with set repository. See Synopsis.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 REX::COMMANDS::SCM (3) 2016-03-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.