Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Cvs::Command::Commit(3User Contributed Perl DocumentatiCvs::Command::Commit(3)

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

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

perl v5.32.1			  2003-12-24	       Cvs::Command::Commit(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | LICENCE | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Cvs::Command::Commit&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help