System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have "File version control" in hp-ux like VMS

SOLVED
Go to solution
Manoj P.U.
Advisor

Is it possible to have "File version control" in hp-ux like VMS

Hello Friends,

I got to know that in VMS operating system there is an in-built feature "File version control", that will allow having multiple files with same file names but different version in single folder.

Would the same feature “file version control” possible in HP-UX 11i?

Thanks in Advance
Manoj PU
Manoj P.U.
11 REPLIES
john123
Trusted Contributor
Solution

Re: Is it possible to have "File version control" in hp-ux like VMS

Consider to use RCS

Refer link
http://docs.hp.com/en/B3921-90010/rcs.1.html

regards
John T
Steven Schweda
Honored Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

No. Welcome to UNIX.
Dennis Handly
Acclaimed Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

>Would the same feature "file version control" possible in HP-UX 11i?

If you want to spend money you can get Clearcase with MVFS.
OldSchool
Honored Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

if you are referring to those wonderful names like:
a;1
a;2
a;3

that are created transparently when a user edits and then saves a file, then no.

the unix-based tools, as a rule, require that the files in question first be placed in some sort of repository structure, then a checkout, edit, save and checkin process is used.

previous versions are available, as the repository copy stores the file as base file and a series of deltas. depending upon the product, the "base file" may be the "current" version, or the "original" version. The deltas are applied as required to retrieve whichever version of the file in required.
Doug O'Leary
Honored Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

Hey;

I'm not sure what the VMS version control s/w looks like, but RCS comes with HPUX. Very useful, if somewhat primitive version control software, but it does work. I use it religiously and it's saved my bacon on more than one occasion.

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Steven Schweda
Honored Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

> if you are referring to those wonderful
> names like:
> a;1
> a;2
> a;3
> [...]

For the record, those would actually be:
a.;1
a.;2
a.;3

For example:

alp $ dire /colu = 1

Directory ALP$DKA100:[sms.junk]

a.;3
a.;2
a.;1

Total of 3 files.

VMS file specifications include a File Type
(".type"). It may be a null type ("."), but
it's always there.

http://h71000.www7.hp.com/doc/731FINAL/4506/4506pro_014.html#apps_locating_naming_files
OldSchool
Honored Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

Doug: vms versioning is part of the base filesystem, as you save files, it places the version number after the ";" following the file name. There are some configurable parameters (somewhere) that set the "depth" to which prior versions are retained. One advantage is that you skip the check-out, check-in associated with add-ons like RCS. I used to really hate it when we got a programmer on the unix side of the house that came from vms. More than one of them decided that it was appropriate to checkin every change (even before they verified it worked, or even compiled)

Steven: i've not touched vms since the first micro-vaxes came out...forgot all about the null file types and the dot... now i'm going to go contemplate how long i've been doing this and why i'm still at it ;-)
Steven Schweda
Honored Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

> [...] now i'm going to go contemplate [...]

More fun than that: Load VMS onto a disk on
some convenient HP Itanium system. _That_'ll
give you something to contemplate.
Manoj P.U.
Advisor

Re: Is it possible to have "File version control" in hp-ux like VMS


Hello Doug,

rcs manual ofcourse there to help me however could you please detail how do you setup RCS in your hp systems?

That would help me to have some practical examples to guide.

Thanks in Advance
Manoj PU
Manoj P.U.
Dennis Handly
Acclaimed Contributor

Re: Is it possible to have "File version control" in hp-ux like VMS

>how do you setup RCS in your hp systems?

Nothing much to set up. You just do a "mkdir RCS" in every directory, and then "ci -u file" for each file. You can use add a comment the first time with "-tfile".

Then to checkout you use "co -l file".

See:
http://docs.hp.com/en/B2355-60130/rcsintro.5.html
Manoj P.U.
Advisor

Re: Is it possible to have "File version control" in hp-ux like VMS


Thanks a lot for all your helps

I wish you all A Mary Christmas and Happy New Year.

Best Regards
Manoj
Manoj P.U.