ossp-pkg/shiela/shiela.pl 1.58 -> 1.59
--- shiela.pl 2004/05/10 17:57:48 1.58
+++ shiela.pl 2004/05/10 18:01:03 1.59
@@ -1440,7 +1440,7 @@
$RT->{cvsop} = 'commit-file';
# handle special invocation under `cvs add <dir>'
- if ($PA->{ARG}->[1] eq '- New directory') { # see CVS' src/add.c
+ if (defined($PA->{ARG}->[1]) and $PA->{ARG}->[1] eq '- New directory') { # see CVS' src/add.c
# Hmmm... we always just deal with files in OSSP shiela, so there
# is no obvious and consistent way to deal now with only a
# plain directory. And there is also no log message provided
@@ -1456,7 +1456,7 @@
# CVS only calls us inside the loginfo hook and never in the
# commitinfo hook before. Additionally CVS doesn't provide us with
# the %{sVvto} information :(
- if ($PA->{ARG}->[1] eq '- Imported sources') { # see CVS' src/import.c
+ if (defined($PA->{ARG}->[1]) and $PA->{ARG}->[1] eq '- Imported sources') { # see CVS' src/import.c
# I = ignored
# L = link (=error),
# N = new file
|
|