[Users] GetComponents doesn't handle repository declarations without thorns

Erik Schnetter schnetter at cct.lsu.edu
Thu Jul 1 14:46:45 CDT 2010


I had the following lines in my thorn list:

# Private thorns
!TARGET   = $ARR
!TYPE     = ignore
!CHECKOUT = 

Note that the checkout item is empty.  GetComponents reports two errors:

$ utils/Scripts/GetComponents --update --root=. manifest/einsteintoolkit.th 
Odd number of elements in hash assignment at utils/Scripts/GetComponents line 335.
Use of uninitialized value in split at utils/Scripts/GetComponents line 441.

It should instead either report an error, or handle the case of a repository without thorns correctly.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/





More information about the Users mailing list