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
Cvs::Command::Commit(3) User Contributed Perl Documentation Cvs::Command::Commit(3)

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

  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;

This module provides commit capability for Cvs.pm.

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.

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

Steven Cotton <cotton@cpan.org>

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 (C) 2003 - Olivier Poitrey
2003-12-24 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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