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  -  CVS::COMMAND::COMMIT (3)

.ds Aq ’

NAME

Cvs::Command::Commit - commit changes to a CVS repository with Cvs.pm

CONTENTS

SYNOPSIS



  use Cvs;
  my $cvs = new Cvs foo;

  open FILE, ">>changed.txt" or die $!;
  print FILE "appended text\n";
  close FILE;

  my $commit = $cvs->commit
    ( { recursive => 0, message => bar, },
      changed.txt );

  die $commit->error unless $commit->success;



DESCRIPTION

This module provides commit capability for Cvs.pm.

    Parameters

local Only examine files for committing in the current directory. Boolean.
recursive Examine all subdirectories. Equivalent to the cvs commit -R option. Boolean.
message A message to commit the file with. Defaults to the Cvs version.
force Commit a file even if it hasn’t been changed. Using force will also turn off recursion unless it’s explicitly turned on with the ’recursive’ option. Boolean.
revision Commit to a revision.

SEE ALSO

Cvs::Result::Commit, Cvs, cvs(1).

AUTHOR

Steven Cotton <cotton@cpan.org>

LICENCE

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

COPYRIGHT

Copyright (C) 2003 - Olivier Poitrey
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CVS::COMMAND::COMMIT (3) 2003-12-24

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