[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
updates to vss2cvs.pl script
From: |
Laine Stump |
Subject: |
updates to vss2cvs.pl script |
Date: |
10 Nov 2000 14:54:49 -0500 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Based on some enhancements and ideas I received from Ephraim Ofir, and
finding some bugs during a fairly large conversion attempt, I've
updated vss2cvs.pl and put the new version at:
http://www.laine.org/cvs/vss2cvs
Here's my commit log of the changes. Note that the two bugs I
found/fixed could be important for anyone who previously converted and
didn't watch the output for errors - you may have ended up with
incomplete/inaccurate history!
----------------------------
revision 1.5
date: 2000/11/09 19:50:38; author: laine; state: Exp; lines: +91 -111
* Change method of setting entire directory to branch to speed things
up (idea from Ephraim Ofir).
* Gather list of filenames from ss dir command rather than running
separate ss properties command, again speeding things up (idea and
code from Ephraim Ofir). NOTE: this may break the ability to
properly convert files which are in the "save latest version only"
mode in VSS - I don't have any such files, so I can't say for sure.
* don't make cvs add dependent on finding a revision 1 of file in VSS
- sometimes they start at a different revision (idea from Ephraim,
code from me).
* Explicitly supply directory name to ss get to avoid inadvertant gets
to the wrong directory "when ss feels like it".
* Add -r global option to cvs co, update, commit commands to guarantee
that file in working dir is always read-only (otherwise, ss get
barfs). The lack of this, and of the previous change, had caused
numerous incorrect results in the past.
* add access mode to mkdir call, so the script will run with older
(5.00x) versions of perl.
=============================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- updates to vss2cvs.pl script,
Laine Stump <=