[svk-devel] How to fix "Can't decode commit message as ascii" ?

Peter Murray peter at OhioLINK.edu
Fri Dec 15 10:31:33 EST 2006


I am trying to mirror a remote CVS repository using SVK and I am
stumbling up against a "Can't decode commit message as ascii." error.
I've tried svk 1.08 and the latest beta released a few days ago, and
both exhibit the same problem:

  svk: $ cvs ... checkout program   # establish local CVS workspace
  svk: appending required ChangeSets, StringEdit filters
  svk: running cvs log program
  svk: found 11822 rev(s) with 18115 tag applications
  svk: Map filter skipped 1309 revisions
  svk: aggregating changes
  svk: writing revisions: [##|       ] 1373/4993
  Can't decode commit message as ascii.
  try --encoding.
  --- !perl/SVK::XD
  checkout: !perl/Data::Hierarchy
   hash:
    /home/me/tmp/vcp21452/dest-svk/trunk:
      depotpath: //remote/fedora
      encoding: ascii
      revision: 20234
   sep: /
   sticky: {}
 depotmap:
   '': /home/me/.svk/local
 encoding: ~
 modified: 1
 signature: !perl/SVK::XD::Signature
   floating: ~
   root: /home/me/.svk/local/cache
 svkpath: /home/me/.svk/local
 updated: 1
 Can't fetch initial working directory at
/usr/lib/perl5/vendor_perl/5.8.8/VCP/DB_File.pm line 218

This problem occurs when I don't specify an encoding:

  svk sync //remote/program --skipto HEAD

...and when I do:

  svk sync //remote/program --skipto HEAD --encoding utf8

The mirror definition looks like:

  //remote/program
cvs::ext:user at host:/cvsroot/project:program/... --branch-only=trunk


What am I missing and how do I fix it?  Thanks in advance...


Peter
-- 
Peter Murray                       http://www.pandc.org/peter/work/
Assistant Director, Multimedia Systems  tel:+1-614-728-3600;ext=338
OhioLINK: the Ohio Library and Information Network   Columbus, Ohio
The Disruptive Library Technology Jester           http://dltj.org/



More information about the svk-devel mailing list