diff options
author | jmg <jmg@FreeBSD.org> | 1997-06-09 10:08:07 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 1997-06-09 10:08:07 +0000 |
commit | 2d544ac5cddb63ac002ee3243649526718ab1a26 (patch) | |
tree | 6507544783013a684e61e0e6a51d4ba4b0a33adf /gnu/usr.bin/cvs | |
parent | 1cd3c44a3b4fe80607d37353e7f17a3e551a7859 (diff) | |
download | FreeBSD-src-2d544ac5cddb63ac002ee3243649526718ab1a26.zip FreeBSD-src-2d544ac5cddb63ac002ee3243649526718ab1a26.tar.gz |
support remote imports (you must have a local cvs with same path as
remote for this to work)
Approved/Improved by: joerg
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r-- | gnu/usr.bin/cvs/contrib/easy-import.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/contrib/easy-import.pl b/gnu/usr.bin/cvs/contrib/easy-import.pl index 2c457ac..9caba25 100644 --- a/gnu/usr.bin/cvs/contrib/easy-import.pl +++ b/gnu/usr.bin/cvs/contrib/easy-import.pl @@ -8,7 +8,7 @@ # # Written by Jörg Wunsch, 95/03/07, and placed in the public domain. # -# $Id$ +# $Id: easy-import.pl,v 1.12 1997/02/22 15:45:12 peter Exp $ require "complete.pl"; require "getopts.pl"; @@ -22,7 +22,7 @@ sub scan_opts $dont_do_it = "-n" if $opt_n; if($opt_v) { - print STDERR '$Source: /home/ncvs/src/gnu/usr.bin/cvs/contrib/easy-import.pl,v $ $Revision: 1.11 $' . "\n"; # 'emacs kludge + print STDERR '$Source: /home/ncvs/src/gnu/usr.bin/cvs/contrib/easy-import.pl,v $ $Revision: 1.12 $' . "\n"; # 'emacs kludge exit 0; } die "usage: $0 [-v] [-n] [moduledir]\n" . @@ -155,6 +155,7 @@ sub cvs_init # get the list of available repositories $cvsroot = $ENV{'CVSROOT'}; + $cvsroot = (split(/:/, $cvsroot, 2))[1] if $cvsroot =~ /:/; @reps = &lsdir($cvsroot); } |