help-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Correct this error which i got while using Rcs.pm module in m


From: srinivasan venkat
Subject: Re: How to Correct this error which i got while using Rcs.pm module in my code.
Date: Sun, 30 Jul 2006 09:27:10 -0700 (PDT)

Hi,
 
Thanks for the info.
 
My purpose is to build filter based on versions of the file.
ie I would display all versions in the drop down menu.Based on user selection of the version number from dropdown menu ,i will display corresponding file of that version selected.
 
When i retrive version using co -r1.42 SOMEFILE,in multi user environment.
 
Say file having 1.4 as latest version.When one user select 1.2 version which retrives him 1.2 version.But for the other user who logs in other browser ie different machine.For other user,i should retrive him the latest ie 1.4.But it is displaying older 1.2 version for him also.Currently we have not tied our code with user name. 
 
So i am looking for any other command rather than using co command .That is the reason where i specified i dont want to use co command.No other reason apart from that.

Is there any  command to retrive always latest verisions,or any command where can i first do checkout(co) operation,then copy that to other file in  an location and do cancel checkout.Will this work out in multiuser environment.Or any other way to implement my conditions.I need help in this regard.
 
Thanks,
Srini. 
 
Bob Proulx <address@hidden> wrote:
srinivasan venkat wrote:
> I just want to know whether there is any Provision in Rcs,to
> retrive the file using version as the input.

See the -r option to the co command. Example:

co -r1.42 SOMEFILE

You may also retrieve specific versions to standard output such as to
be used by a pipepline.

co -r1.42 -p SOMEFILE | $PAGER
co -r1.42 -p SOMEFILE | grep PATTERN
co -r1.42 -p SOMEFILE > SOMEFILE-1.42

> ie Retrive files based on Versions without doing checkout operation(co).

Why do you want to avoid using the 'co' command to check out the file?
That is exactly the operation that it performs. Therefore I would say
on the surface, no, there is no way to check out a file without using
the 'co' checkout file command.

> I need to retrive the file of earlier versions, but i dont want to
> check out the file ie (not using co command).Is there any other
> command or options for this using Rcs.Please help me in this
> regard.

Please explain why you don't want to use the co command. That makes
no sense to me. The co command checks out files. Therefore not using
it makes it impossible to proceed further.

> Failed to retrieve revision info of test case - TC00631.xml due to system error:
> Can't locate object method "load" via package "Rcs" line 1514.

Looks to me like your perl is broken on your system. It seems unable
to dynamically load shared libraries that are part of perl modules.

Bob

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]