Writer.pm #3

  • //
  • guest/
  • perforce_software/
  • revml/
  • lib/
  • RevML/
  • Writer.pm
  • View
  • Commits
  • Open Download .zip Download (744 B)
package RevML::Writer ;

=head1 NAME

RevML::Writer - Write RevML files using the RevML DTD

=head1 SYNOPSIS

   use RevML::Doctype::v1_1 ;
   use RevML::Writer ;

=head1 DESCRIPTION

This class provides facilities to write out the tags and content of
RevML documents.  See XML::AutoWriter for all the details on this
writer's API.

=cut


use strict ;
use vars qw( $VERSION ) ;

use base qw( XML::AutoWriter ) ;

$VERSION = 0.1 ;

=head1 AUTHOR

Barrie Slaymaker <barries@slaysys.com>

=head1 COPYRIGHT

Copyright 2000, Perforce Software, Inc.  All Rights Reserved.

This module and the VCP package are licensed according to the terms given in
the file LICENSE accompanying this distribution, a copy of which is included in
L<vcp>.

=cut

1 ;
# Change User Description Committed
#3 628 Barrie Slaymaker Cleaned up POD in bin/vcp, added BSD-style license.
#2 468 Barrie Slaymaker - VCP::Dest::p4 now does change number aggregation based on the
  comment field changing or whenever a new revision of a file with
  unsubmitted changes shows up on the input stream.  Since revisions of
  files are normally sorted in time order, this should work in a number
  of cases.  I'm sure we'll need to generalize it, perhaps with a time
  thresholding function.
- t/90cvs.t now tests cvs->p4 replication.
- VCP::Dest::p4 now doesn't try to `p4 submit` when no changes are
  pending.
- VCP::Rev now prevents the same label from being applied twice to
  a revision.  This was occuring because the "r_1"-style label that
  gets added to a target revision by VCP::Dest::p4 could duplicate
  a label "r_1" that happened to already be on a revision.
- Added t/00rev.t, the beginnings of a test suite for VCP::Rev.
- Tweaked bin/gentrevml to comment revisions with their change number
  instead of using a unique comment for every revision for non-p4
  t/test-*-in-0.revml files.  This was necessary to test cvs->p4
  functionality.
#1 467 Barrie Slaymaker Version 0.01, initial checkin in perforce public depot.