develooper Front page | perl.perl6.source.control | Postings from September 2000

Re: Can perforce gateway to CVS without loss of metadata? (was Re: code repository)

Thread Previous | Thread Next
From:
Barrie Slaymaker
Date:
September 13, 2000 04:36
Subject:
Re: Can perforce gateway to CVS without loss of metadata? (was Re: code repository)
Message ID:
39BF67CD.14FF946A@slaysys.com
I wrote:
> 
> Nick Ing-Simmons wrote:
> >
> >
> > I see no reason why the perforce changes cannot be 'checked in' to CVS
> > one-by-one so that CVS builds its own representation of the change history.
> 
> I've got this working now in a program called 'vcp', I need to test
> p4->cvs updates using the perl5 repository next week.

Some progress.  Below is the cvs log from perl.c for the first 800 and some
changes.  There's a few bugs to work out yet (including the one in VCP::Dest::cvs
that crapped out at change 871, but you get the idea.  It's also not labelling
every revision of a file at every change number, which makes change number labels
near useless, I think.

Feedback welcome.

- Barrie

barries@//jester~/src/revengine/tmp$ cvs log perl/perl.c

RCS file: /var/cvs/cvsroot/perl/perl.c,v
Working file: perl/perl.c
head: 1.62
branch:
locks: strict
access list:
symbolic names:
        perl5_004_64: 1.62
        ch_868: 1.62
        r_65: 1.62
        ch_855: 1.61
        r_64: 1.61
        ch_846: 1.60
        r_63: 1.60
        ch_842: 1.59
        r_62: 1.59
        perl5_004_63: 1.58
        ch_822: 1.58
        r_61: 1.58
        ch_820: 1.57
        r_60: 1.57
        ch_812: 1.56
        r_59: 1.56
        perl5_004_62: 1.55
        perl5_004_61: 1.55
        ch_598: 1.55
        r_58: 1.55
        ch_584: 1.54
        r_57: 1.54
        ch_581: 1.53
        r_56: 1.53
        ch_575: 1.52
        r_55: 1.52
        ch_573: 1.51
        r_54: 1.51
        perl5_004_60: 1.50
        ch_560: 1.50
        r_53: 1.50
        ch_552: 1.49
        r_52: 1.49
        perl5_004_59: 1.48
        perl5_004_58: 1.48
        ch_466: 1.48
        r_51: 1.48
        perl5_004_57: 1.47
        ch_459: 1.47
        r_50: 1.47
        ch_457: 1.46
        r_49: 1.46
        ch_453: 1.45
        r_48: 1.45
        ch_439: 1.44
        r_47: 1.44
        perl5_004_56: 1.44
        ch_374: 1.44
        r_46: 1.44
        ch_373: 1.43
        r_45: 1.43
        ch_353: 1.42
        r_44: 1.42
        perl5_004_55: 1.41
        ch_299: 1.41
        r_43: 1.41
        ch_296: 1.40
        r_42: 1.40
        ch_290: 1.39
        r_41: 1.39
        ch_274: 1.38
        r_40: 1.38
        ch_267: 1.37
        r_39: 1.37
        ch_262: 1.36
        r_38: 1.36
        perl5_004_54: 1.35
        ch_247: 1.35
        r_37: 1.35
        ch_231: 1.34
        r_36: 1.34
        ch_230: 1.33
        r_35: 1.33
        ch_229: 1.32
        r_34: 1.32
        ch_228: 1.31
        r_33: 1.31
        ch_205: 1.30
        r_32: 1.30
        ch_204: 1.29
        r_31: 1.29
        ch_195: 1.28
        r_30: 1.28
        ch_190: 1.27
        r_29: 1.27
        ch_172: 1.26
        r_28: 1.26
        perl5_004_53: 1.25
        ch_140: 1.25
        r_27: 1.25
        ch_139: 1.24
        r_26: 1.24
        ch_137: 1.23
        r_25: 1.23
        perl5_004_52: 1.22
        ch_131: 1.22
        r_24: 1.22
        ch_125: 1.21
        r_23: 1.21
        ch_120: 1.20
        r_22: 1.20
        ch_114: 1.19
        r_21: 1.19
        ch_113: 1.18
        r_20: 1.18
        ch_106: 1.17
        r_19: 1.17
        ch_102: 1.16
        r_18: 1.16
        perl5_004_51: 1.15
        ch_84: 1.15
        r_17: 1.15
        ch_77: 1.14
        r_16: 1.14
        ch_68: 1.14
        r_15: 1.14
        ch_67: 1.14
        r_14: 1.14
        perl5_004_50: 1.13
        ch_56: 1.13
        r_13: 1.13
        ch_49: 1.12
        r_12: 1.12
        ch_44: 1.11
        r_11: 1.11
        ch_41: 1.10
        r_10: 1.10
        ch_39: 1.9
        r_9: 1.9
        ch_34: 1.8
        r_8: 1.8
        ch_27: 1.7
        r_7: 1.7
        ch_25: 1.6
        r_6: 1.6
        ch_24: 1.5
        r_5: 1.5
        perl_works: 1.4
        ch_19: 1.4
        r_4: 1.4
        ch_18: 1.3
        r_3: 1.3
        thr3: 1.2
        ch_2: 1.2
        r_2: 1.2
        perl_may24: 1.1
        perl5_003: 1.1
        ch_1: 1.1
        r_1: 1.1
keyword substitution: kv
total revisions: 62;    selected revisions: 62
description:
----------------------------
revision 1.62
date: 2000/09/13 05:49:30;  author: cvs;  state: Exp;  lines: +19 -19
Integrate win32 branch into mainline
----------------------------
revision 1.61
date: 2000/09/13 05:46:57;  author: cvs;  state: Exp;  lines: +1 -1
From: Jan-Pieter Cornet <johnpc@xs4all.net>
Subject: Re: [PATCH] [BUG 5.004_63] define/set of PERL_DESTRUCT_LEVEL
Date: Fri, 27 Mar 1998 02:11:21 +0100 (MET)
Subject: [PATCH] another destruct_level fix
Date: Mon, 30 Mar 1998 23:48:12 +0200 (MET DST)
----------------------------
revision 1.60
date: 2000/09/13 05:45:48;  author: cvs;  state: Exp;  lines: +29 -7
Subject: [PATCH] 5.004_63: further -e patching
Date: Wed, 18 Mar 1998 23:21:08 +0200 (EET)
From: Jarkko Hietaniemi <jhi@iki.fi>
----------------------------
revision 1.59
date: 2000/09/13 05:44:23;  author: cvs;  state: Exp;  lines: +7 -7
From: Stephen Potter <spp@psasolar.colltech.com>
Subject: Re: doc: perlrun typo
Date: Wed, 18 Mar 1998 10:06:55 -0600
Subject: Re: [PATCH 5.004_63] PerlLIO abstraction cleanup
Date: Tue, 24 Mar 1998 21:20:51 -0600
----------------------------
revision 1.58
date: 2000/09/13 05:41:51;  author: cvs;  state: Exp;  lines: +5 -7
Bump patchlevel.h to 63.
----------------------------
revision 1.57
date: 2000/09/13 05:40:43;  author: cvs;  state: Exp;  lines: +22 -13
Subject: [PATCH] STRESS_REALLOC
Date: Fri, 13 Mar 1998 22:28:19 -0600 (CST)
From: Stephen McCamant <alias@mcs.com>
----------------------------
revision 1.56
date: 2000/09/13 05:38:38;  author: cvs;  state: Exp;  lines: +13 -3
From: Andy Dougherty <doughera@lafcol.lafayette.edu>
Subject: [PATCH 5.004_62} Config_62-01 patch available.
Date: Mon, 9 Mar 1998 15:23:33 -0500 (EST)
Subject: [PATCH 5.004_62] Tiny hint file updates
Date: Mon, 9 Mar 1998 13:21:46 -0500 (EST)
----------------------------
revision 1.55
date: 2000/09/13 05:15:35;  author: cvs;  state: Exp;  lines: +3 -0
Make refcounts atomic for threading (dependent on appropriate
arch-dependent and compiler-dependent definitions in atomic.h
or else falls back to a global mutex to protect refcounts).
----------------------------
revision 1.54
date: 2000/09/13 05:13:29;  author: cvs;  state: Exp;  lines: +1 -1
Subject: [PATCH 5.004_60] dos-djgpp update
Date: Wed, 25 Feb 1998 11:17:07 +0100
From: Laszlo Molnar <molnarl@cdata.tvnet.hu>
----------------------------
revision 1.53
date: 2000/09/13 05:12:33;  author: cvs;  state: Exp;  lines: +0 -8
Subject: [PATCH] #ifdef CAN_PROTOTYPE cleanup
Date: 23 Feb 1998 23:36:09 +0100
From: Gisle Aas <gisle@aas.no>
----------------------------
revision 1.52
date: 2000/09/13 05:11:03;  author: cvs;  state: Exp;  lines: +1 -5
Subject: Re: ANNOUNCE: perl5.004_60 Configure patch is available
Date: Tue, 24 Feb 1998 16:02:43 -0500 (EST)
From: Andy Dougherty <doughera@lafcol.lafayette.edu>
----------------------------
revision 1.51
date: 2000/09/13 05:10:17;  author: cvs;  state: Exp;  lines: +0 -17
Remove old Linux+threads segfault degugging kludge.
----------------------------
revision 1.50
date: 2000/09/13 05:08:07;  author: cvs;  state: Exp;  lines: +1 -0
Initialise $@ early (fixes t/lib/ph.t for threaded perl).
----------------------------
revision 1.49
date: 2000/09/13 05:06:54;  author: cvs;  state: Exp;  lines: +3 -3
Subject: [PATCH] - perl5.005_59, update Copyright
Date: Mon, 16 Feb 1998 20:31:06 -0500 (EST)
From: lusol@CS4.CC.Lehigh.EDU (Stephen O. Lidie)
----------------------------
revision 1.48
date: 2000/09/13 04:55:40;  author: cvs;  state: Exp;  lines: +2 -2
Subject: Newer -DLEAKTEST patch
Date: Fri, 9 Jan 1998 17:55:09 -0500 (EST)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
----------------------------
revision 1.47
date: 2000/09/13 04:53:23;  author: cvs;  state: Exp;  lines: +2 -11
Replaced two occurrences of THREADSV(find_thread_sv(...)) (order
of execution causes core dump if threadsvp is moved). Replaced
lvalue occurrence of AvARRAY(av) with SvPVX(av) (former does cast).
----------------------------
revision 1.46
date: 2000/09/13 04:51:28;  author: cvs;  state: Exp;  lines: +27 -27
Integrate win32 into mainline. My last integration from ansiperl
to the mainline was a dismal failure: I did -ay but meant -at.
This should fix things now since win32 has already integrated
all the necessary changes from ansiperl.
----------------------------
revision 1.45
date: 2000/09/13 04:49:18;  author: cvs;  state: Exp;  lines: +4 -3
Introduced thr->threadsvp and THREADSV() for faster per-thread
variables. Moved threadnum to a per-interpreter variable and
made dTHR and lock/unlock of sv_mutex bypass the get/lock unless
more than one thread may be running. Minor tweaks to Thread.xs.
----------------------------
revision 1.44
date: 2000/09/13 04:33:53;  author: cvs;  state: Exp;  lines: +11 -1
Lots of VMS changes. vms/gen_shrfls.pl (which parses header files)
needs rewriting now that we use perlvars.h and foovar.h:
        Subject: [PATCH] 5.004_54 under VMS (fwd)
        Date: Wed, 26 Nov 1997 12:32:09 -0400 (EDT)
        From: Charles Bailey <BAILEY@newman.upenn.edu>
----------------------------
revision 1.43
date: 2000/09/13 04:33:28;  author: cvs;  state: Exp;  lines: +3 -2
Major changes to the DOS/djgpp port (including threading):
        Subject: Re: dos-djgpp port not in perl 5.004_54
        Date: Fri, 21 Nov 1997 10:58:26 +0100
        From: Molnar Laszlo <molnarl@cdata.tvnet.hu>
----------------------------
revision 1.42
date: 2000/09/13 04:28:39;  author: cvs;  state: Exp;  lines: +5 -4
Integrate win32 back into mainline (trivial).
----------------------------
revision 1.41
date: 2000/09/13 04:22:30;  author: cvs;  state: Exp;  lines: +0 -2
Move malloc_mutex initialisation/destruction:
        Subject:  patch to 5.004_54 for pthreads with Perl's malloc
        From: ilya@math.ohio-state.edu (Ilya Zakharevich)
----------------------------
revision 1.40
date: 2000/09/13 04:20:43;  author: cvs;  state: Exp;  lines: +5 -2
Integrate from ansi branch to mainline.
----------------------------
revision 1.39
date: 2000/09/13 04:16:57;  author: cvs;  state: Exp;  lines: +5 -5
AIX patch (including Configure support for {sched,pthread}_yield,
pthread initial detach state, renaming perl_thread to perl_os_thread
and struct thread to struct perl_thread):
        Subject: Re: _54 on AIX
        Date: Thu, 20 Nov 1997 06:10:51 -0800 (PST)
        From: Jarkko Hietaniemi <jarkko.hietaniemi@research.nokia.com>
----------------------------
revision 1.38
date: 2000/09/13 04:13:59;  author: cvs;  state: Exp;  lines: +5 -5
$_ is now per-thread (rather a lot of changes). Only tested under
*-linux-thread at the moment.
----------------------------
revision 1.37
date: 2000/09/13 04:11:22;  author: cvs;  state: Exp;  lines: +0 -30
Jumbo regexp patch applied (with minor fix-up tweaks):
        Subject: Version 7 of Jumbo RE patch available
        Date: Sun, 16 Nov 1997 00:29:39 -0500 (EST)
        From: Ilya Zakharevich <ilya@math.ohio-state.edu>
----------------------------
revision 1.36
date: 2000/09/13 04:09:31;  author: cvs;  state: Exp;  lines: +6 -1
Integrate win32 branch back into mainline.
----------------------------
revision 1.35
date: 2000/09/13 04:07:00;  author: cvs;  state: Exp;  lines: +5 -5
Change CONTEXT to PERL_CONTEXT throughout source (since the #define
to avoid the Digital UNIX clash no longer works). Changed the #ifdef
in pp_sys.c for whether getnet* function get protoyped (since the
default had a broken prototype for getnetbyaddr).
----------------------------
revision 1.34
date: 2000/09/13 04:05:16;  author: cvs;  state: Exp;  lines: +7 -8
Fix up ansiperl integration. Back to passing all expected tests
with usethreads. Untested with non-threaded perl.
----------------------------
revision 1.33
date: 2000/09/13 04:03:20;  author: cvs;  state: Exp;  lines: +64 -96
Initial integration of ansi branch into mainline (untested).
----------------------------
revision 1.32
date: 2000/09/13 04:01:32;  author: cvs;  state: Exp;  lines: +9 -6
Change name of OP_SPECIFIC to OP_THREADSV. Fixed perl_get_sv when
getting per-thread magicals. Fixed thr->errsv initialisation.
----------------------------
revision 1.31
date: 2000/09/13 04:00:36;  author: cvs;  state: Exp;  lines: +24 -15
Fix up $@ (ERRSV now refers to GvSV(errgv) for non-threaded perl and
thr->errsv for threaded perl). Fix pp_tie and pp_dbmopen to use
GvCV(gv) instead of gv so AUTOLOAD stuff works. All tests now pass
again for non-threaded perl. Enhanced perl_get_sv to return
per-thread magicals where necessary for threaded perl.
----------------------------
revision 1.30
date: 2000/09/13 03:57:19;  author: cvs;  state: Exp;  lines: +61 -1
Per-thread magicals now stored in their own thr->magicals and keyed
more directly. cvcache and oursv become ordinary struct thread
fields instead of #defined thr->Tfoo ones. SvREFCNT_inc now checks
for 0 again. Main thread initialisation done by new function
init_main_thread instead of (now fixed) new_struct_thread.
----------------------------
revision 1.29
date: 2000/09/13 03:56:24;  author: cvs;  state: Exp;  lines: +6 -11
Per-thread magicals mostly working (and localisable). Now getting
intermittent occasional "Use of uninitialized value" warnings
which may be due to some op flag black magic I've broken.
----------------------------
revision 1.28
date: 2000/09/13 03:54:23;  author: cvs;  state: Exp;  lines: +44 -47
Half way through moving per-thread magicals into per-thread fields
and the associated new OP_SPECIFIC and find_thread_magical stuff.
perl will compile but plenty of the magicals are still broken.
----------------------------
revision 1.27
date: 2000/09/13 03:53:18;  author: cvs;  state: Exp;  lines: +1 -1
Remove global macro "self". Change thr->Tself to thr->self.
----------------------------
revision 1.26
date: 2000/09/13 03:51:24;  author: cvs;  state: Exp;  lines: +5 -6
Improve internal threading API. Introduce win32/win32thread.[ch]
to use new API and patch win32 makefile stuff a little.
----------------------------
revision 1.25
date: 2000/09/13 03:48:13;  author: cvs;  state: Exp;  lines: +35 -6
Correct threads_mutex locking in main thread destruction.
Add per-interp thrsv to hold SV struct thread for main thread.
Move Thread.xs MUTEX_DESTROY from end of threadstart to remove_thread.
Add Thread/list.t test of Thread->list method.
Let Thread::Semaphore methods up and down take an extra argument.
----------------------------
revision 1.24
date: 2000/09/13 03:47:57;  author: cvs;  state: Exp;  lines: +2 -0
Fix up merge with 5.004_04.
----------------------------
revision 1.23
date: 2000/09/13 03:46:20;  author: cvs;  state: Exp;  lines: +85 -60
Merge maint-5.004 branch (5.004_04) with mainline.
----------------------------
revision 1.22
date: 2000/09/13 03:44:08;  author: cvs;  state: Exp;  lines: +30 -9
Finish thread state machine: fixes global destruction of threads,
detaching, joining etc. Alter FAKE_THREADS-specific fields to use
new HAVE_THREAD_INTERN stuff. Updates docs. Various fixes to
Thread.xs.
----------------------------
revision 1.21
date: 2000/09/13 03:43:05;  author: cvs;  state: Exp;  lines: +17 -7
Started rewriting thread state machine.
----------------------------
revision 1.20
date: 2000/09/13 03:42:35;  author: cvs;  state: Exp;  lines: +29 -40
Rewrite thread destruction system using linked list of threads.
Still not completely done. Add methods self, equal, flags, list
to Thread.xs. Add Thread_MAGIC_SIGNATURE check to typemap.
----------------------------
revision 1.19
date: 2000/09/13 03:40:33;  author: cvs;  state: Exp;  lines: +127 -32
Merge maint-5.004 branch (5.004_03) with mainline.
MANIFEST is out of sync.
----------------------------
revision 1.18
date: 2000/09/13 03:38:30;  author: cvs;  state: Exp;  lines: +25 -24
Move init of global mutexes/cond vars earlier.
----------------------------
revision 1.17
date: 2000/09/13 03:37:47;  author: cvs;  state: Exp;  lines: +1 -0
Remove last traces of "tokenbuf as temp buffer" and removed it
from struct thread. Added missing thr->Tfoo defines for statbuf
and timesbuf and removed unused Tbuf field.
----------------------------
revision 1.16
date: 2000/09/13 03:36:33;  author: cvs;  state: Exp;  lines: +1 -0
Reliable thread signal handling.
----------------------------
revision 1.15
date: 2000/09/13 03:33:03;  author: cvs;  state: Exp;  lines: +4 -0
Merge maint-5.004 branch (5.004_01) with mainline.
----------------------------
revision 1.14
date: 2000/09/13 03:24:52;  author: cvs;  state: Exp;  lines: +3 -3
More fprintf -> PerlIO_printf changes.
----------------------------
revision 1.13
date: 2000/09/13 03:23:01;  author: cvs;  state: Exp;  lines: +19 -2
Rewrite synchronisation of subs/methods and add attrs
extension for specifying 'locked' and 'method' attributes.
----------------------------
revision 1.12
date: 2000/09/13 03:21:36;  author: cvs;  state: Exp;  lines: +2 -2
Rename RESTART to INIT and associated changes
----------------------------
revision 1.11
date: 2000/09/13 03:20:10;  author: cvs;  state: Exp;  lines: +13 -2
Assorted changes for multi-threading (now works rather more).
----------------------------
revision 1.10
date: 2000/09/13 03:18:50;  author: cvs;  state: Exp;  lines: +2 -2
Start support for fake threads.
pp_lock now returns its argument.
----------------------------
revision 1.9
date: 2000/09/13 03:17:41;  author: cvs;  state: Exp;  lines: +2 -0
Fix multiple problems with lexical @_.
----------------------------
revision 1.8
date: 2000/09/13 03:16:02;  author: cvs;  state: Exp;  lines: +2 -2
Support for op in global register (still buggy)
----------------------------
revision 1.7
date: 2000/09/13 03:14:29;  author: cvs;  state: Exp;  lines: +11 -9
More fixups for thrperl integration.
----------------------------
revision 1.6
date: 2000/09/13 03:13:57;  author: cvs;  state: Exp;  lines: +0 -1
Fixups for thrperl integration.
----------------------------
revision 1.5
date: 2000/09/13 03:12:26;  author: cvs;  state: Exp;  lines: +124 -20
Integrate thrperl 5.003->5.004.
----------------------------
revision 1.4
date: 2000/09/13 03:10:22;  author: cvs;  state: Exp;  lines: +1 -1
Fix up integration 5.003->5.004.
----------------------------
revision 1.3
date: 2000/09/13 03:07:55;  author: cvs;  state: Exp;  lines: +967 -404
First stab at 5.003 -> 5.004 integration.
----------------------------
revision 1.2
date: 2000/09/13 03:00:20;  author: cvs;  state: Exp;  lines: +3 -1
Initial devel changes.
Pseudo-hashes. Optional strong typing. RESTART {}.
----------------------------
revision 1.1
date: 2000/09/13 02:57:09;  author: cvs;  state: Exp;
Perl 5.003 check-in
=============================================================================

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About