srins has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am using Rcs version control in my code.
I am doing check out operation for building version based filter.
User will select particular version from my dropdown menu .
Based on user selected version,I will use checkout "co" command in my code internally,to retrive the file based on version selected by user,i use
But i am getting error asmy version="1.4"; my $rcs = Rcs->new; $rcs->co('-r $version'); or $rcs->co('-r$version');
but when i giveco: /auto/data/Test/TestCase/public/TC11544.xml,v: improper revision n +umber: $version
i am getting expected output.Returning 1 as output ie success operation.$rcs->co('-r1.4');
But i am getting error asmy $verfile=`co -r$version`; $rcs->co("-r" => "$version"); my $verfile=`co -r $version`;
or asco: /auto/data/Test/TestCase/public/TC11544.xml,v: improper revision n +umber: $version
Could Some one help me in this regard. What i need to modify to get my code to work. Thanks,co: RCS/1.4,v: No such file or directory
20060802 Janitored by Corion: Removed PRE tags, added formatting, code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to correct my error in my code which uses Rcs.pm
by Joost (Canon) on Aug 02, 2006 at 21:01 UTC |