Package: cvsps
Version: 2.0rc1-5
Severity: important


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=es_ES, LC_CTYPE=es_ES

Versions of packages cvsps depends on:
ii  cvs                         1:1.12.5-6   Concurrent Versions System
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information

I'm having trouble using the cvsps command with a repository due
to a filename.  Basically, I can run "cvsps -x" to generate the
cache file, but the next run without the "-x" parameter fails with:

   file 'Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2' not found in hash

This is the layout of the files on disk:

   [EMAIL PROTECTED]:0] [~/music]$ find -ipath '*dmit*' -type f
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/01 Cello concerto No.1 in G minor, op.49.ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/02 Cello concerto No.1 in G minor, op.49.ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/03 Cello concerto No.1 in G minor, op.49.ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/04 Cello concerto No.2 in G major, op.77.ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/05 Cello concerto No.2 in G major, op.77.ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/06 Cello concerto No.2 in G major, op.77.ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/07 Symphonic poem: spring, op. 65 (Vesna).ogg
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/index.xml
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/CVS/Root
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/CVS/Repository
   ./Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/CVS/Entries
   ./Dmitry Borisovich Kabalevsky/CVS/Root
   ./Dmitry Borisovich Kabalevsky/CVS/Repository
   ./Dmitry Borisovich Kabalevsky/CVS/Entries

The problem seems to be in the semicolon in the directory name. If
I inspect the cvsps.cache file I find first this entry:

   1.1 HEAD

   file: Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/index.xml

...and some pages later...

   patchset: 48
   date: 1100252356
   author: gradha
   tag:
   tag_flags: 0
   branch: HEAD
   branch_add: 0
   descr:
   *** empty log message ***
   -=-END CVSPS DESCR-=-
   members:
   file:Dmitry Borisovich Kabalevsky/Cello concertos 1 and 2; Symphonic poem: 
vesna (spring)/index.xml; pre_rev:INITIAL; post_rev:1.1; dead:0; branch_point:0
   file:Texas/01 Southside/index.xml; pre_rev:INITIAL; post_rev:1.1; dead:0; 
branch_point:0
   file:Texas/07 The hush/index.xml; pre_rev:INITIAL; post_rev:1.1; dead:0; 
branch_point:0

AFAICS this is a problem of cvsps presuming there won't be semicolons
in the paths. I don't know the format of the cache file, but looks
like it would be better parsed if the first field of the regexp
used greedy matching, since the four last fields seem less likely
to have semicolons in their content.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to