tcpip: (Default)
Diary of a B+ Grade Polymath ([personal profile] tcpip) wrote in [site community profile] dw_dev 2009-09-03 01:35 am (UTC)

Thanks for the prompt response Mark... If you like, I'm more than happy to help with documentation.

When I run bin/cvsreport.pl I get an error message suggesting that Mecurial isn't installed! Which certainly isn't the case. i.e.,


dw@dreamwidth:~$ bin/cvsreport.pl --checkout
abort: destination '/home/dw/cvs/perlbal' already exists
Failed to run hg: is it installed? at /home/dw/bin/vcv line 202, line 17.


The relevant code fragment seems to suggest that install directory for Mecurial (which is done by package much earlier in the piece) hasn't been associated properly..


unless (-d $full_ldir && -d $full_ldir_svn) {
unless ($opt_checkout) {
die "Mercurial directory '$ldir' doesn't exist under $DIR_CVS. " .
"Re-run vcv with --checkout for me to automatically get it for you.\n";
}
my @opts;
if ($rev) { push @opts, "-r", $rev; }
system("hg", "clone", @opts, $src, $full_ldir) and
die "Failed to run hg: is it installed?";


Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org