config #2

  • //
  • guest/
  • perforce_software/
  • utils/
  • cvs2p4/
  • test/
  • config
  • View
  • Commits
  • Open Download .zip Download (3 KB)
#
#  Config file for cvs2p4
#

# $Id: //guest/perforce_software/utils/cvs2p4/test/config#2 $

# p4 command location (If other than "/usr/local/bin/p4")
#
$P4		= "/u/p4/VERS/bin.osf/p4";

# path to the RCS "co" command
#
$CO		= "/usr/local/bin/co";

# Perforce server we're using.
#
$P4PORT = "p4netapp:1672";

# Top of the module in the p4 depot namespace
#
$P4_DEPOT     	= "//depot/Test";

# Top of the CVS module repository to convert
#
# (Typically, you'll use an absolute path, but it can also be relative
# to where you execute the conversion commands from.)
#
$CVS_MODULE	= "test";

# Allow symlinks to directories in the top level of the RCS module.
# Useful for partial converts of CVS modules, where you only want
# certain subtrees, e.g., you have a cvs module "d" with:
#
#   $CVSROOT/d/x
#   $CVSROOT/d/y
#   $CVSROOT/d/z
#
# ...and you only want to import d/x & d/z; you create
#
#   $CVSROOT/D
#   $CVSROOT/D/x -> $CVSROOT/d/x
#   $CVSROOT/D/z -> /d/z
#
# set CVS_MODULE to "D", and set this:
#
$SYM_SPECIAL    = 1;

# Files you don't want.
# (Any files matching this regular expression will not be imported).
#
$IGNOREFILES	= "^(.cvsignore)\$";

# Name of the "head" codeline
#
$TRUNKLINE    	= "shemp";

# Conventional branch tag name suffix to remove when importing to
# Perforce. (This is a netapp specific thing; our branch tags are
# named <name>_BRANCH, but we want the "branches" in the Perforce
# depot to be "$P4_DEPOT/<name>").
#
$BRANCH_FLASH   = "_BRANCH";

# How often (if > 0) to checkpoint.
#
# (I.e., "1000" means every 1000 change groups, as numbered in the
# generated "changes" file)
#
# Note: this uses the NetApp-local tool "p4d_admin", which, if you're
# not at NetApp (and you probably are not, otherwise you'd be me, and
# would not bother to read this, right?). Anyway, this will only kick
# in when you runs this in the "netapp.com" domain... so you can
# probably ignore this entriely.
#
if ($CVS_MODULE eq "test" && $P4_DEPOT eq "//depot/Test")
  { $CHECKPOINT_INTERVAL = 10; }
else
  { $CHECKPOINT_INTERVAL = 0; }

# Whether to go all the way back to the first rev on the trunk.
# (Otherwise, we just go back to the oldest ancestor rev of any
# converted branch).
#
$ALLTHEWAYBACK=1;

# Whether we're doing selected lines only...
# 
# Typically, you might run "genmeteadata" once with this set to 0,
# which will print a list of all branch tag names encountered in the
# repository. Then, you might want to fill in the <<LINES here file to
# specify the list of lines you want to import into Perforce, set
# WANTLINES to 1, and rerun "genmetadata".
#
$WANTLINES = 0;

# If WANTLINES != 0, %WANTLINES contains a member for each line
# wanted...
#
if ($WANTLINES)
  {
    $wantlines = <<LINES;
shemp
curly
chupa
LINES
    @wantlines = split(/\n/, $wantlines);
    foreach $wantline (@wantlines)
      { $WANTLINES{$wantline} = 1; }
  }

1;

# Change User Description Committed
#14 5601 Richard Geiger Integrate 3.0 changes, preparing to publish.
#13 4923 Richard Geiger Integrate 2.5.1-3 changes.
#12 3600 Richard Geiger publish 2.3.5.
#11 2063 rmg Publish 2.3.2
#10 1989 Richard Geiger Public 2.3.1
#9 1971 rmg Publish 2.2
#8 1786 rmg Publish 2.0
#7 1410 rmg Publish 1.3.2
#6 1205 Richard Geiger Publish 1.3.1
#5 1187 Richard Geiger 1.3.
Mainly, support for labels!
#4 1033 Richard Geiger publish 1.2.17
#3 796 Richard Geiger Release 1.2.16 update
#2 230 Laura Wingerd Pull cvs2p4 into //public so latest version (1.2.4) gets synced
onto the Perforce FTP area.
#1 152 Laura Wingerd cvs2p4 goes public.
//guest/richard_geiger/utils/cvs2p4/test/config
#1 130 Richard Geiger CVS-to-Perforce converter.
This is release 1.2.2
(first submit to the Perforce Public Depot)