[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vss2cvs.pl - problems with labels
From: |
Eric Johanson |
Subject: |
vss2cvs.pl - problems with labels |
Date: |
Fri, 30 Nov 2001 14:32:16 -0800 (PST) |
-----BEGIN PGP SIGNED MESSAGE-----
Hi there,
I've been working on importing a large VSS tree into CVS. (Using
vss2cvs.pl). Anyway, It's looking like it's upset with the "Labels" on
the tree. In both cases where it's gotten upset, it's been a label that
looks like a date:
can't parse timestamp Label: "v020201"
- -or-
can't parse timestamp Label: "Daily-04.09.2001"
So, I've been reviewing the code for vss2cvs.... Inside of sub
resync_file, it's looking at the data coming from vss... Then it calls: "
($user,$timestamp) = parse_user_and_timestamp($_);" So I'm guessing that
it's looking for a user & timestamp. The part I don't get is, why it's
trying to get this from the label, as I would not expect it to look for a
username from the label.... :/
Here is where it finally dies, right at the start of
parse_user_and_timestamp():
# *** DATE FORMAT CHANGE HERE ***
#
# For U.S. format dates: mm/dd/yy, time as hh:mm[am or pm indicator]
#
die "can't parse timestamp $_"
unless(address@hidden:[\s]*([^\s]+)\s+Date:\s+(\d+)/(\d+)/(\d+)\s+Time:\s+(\d+):(\d+)([ap])@);
my ($user, $mo, $day, $yr, $hr, $min, $sec) = ($1, $2, $3, $4, $5, $6,
0);
# Version: $Id: vss2cvs.pl,v 1.12 2001/02/24 17:18:27 laine Exp $
- -It looks like I'm running version 1.12; is there I newer version
around? I found some postings with problems with it running under a
cygwin shell; I think I've fixed those; I'd be happy to submit a patch...
Please reply to me directly, as I'm not on the cvs mailing list.
Thanks in advance!
- -Eric Johanson
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQEVAwUBPAgI8iPfrIWTXLkpAQHjMAf7Bxjp1aXljTYvEd4u4nVleLqQCxWwT+S8
JXecAs2llPwlZa3TvNxqDvwqwDMAnc4o9Yc8vpnfTl2Agf6VM4LHPVpxx6/Nithl
V8xxmpNIZm9N2YqUCtF5LAY3r/gcxyekshrQjpGdqygS1rtWEolGhul3N2HiuXor
rl07GE7hJh7iRYqa7TgFyqorQxWyYVf8QKDmb4CpYMs247Fyny0CHfYtMfai93Z5
Y3r5mJ/11sKh6gV+vR3/9HCCHYC3wU/alMW+LcKClyiKQcTZxRnSYQAhanKoQBm0
Ga6PwIRSnjoIh9BHWz6lIWieGDepK4TNq9TcrH+ttIsnTbmgsgkDEw==
=qsoJ
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- vss2cvs.pl - problems with labels,
Eric Johanson <=