vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| RCS - Revision Control System I recently read an article about setting up and using RCS, and this works great on my RH linux bowes but fails with HPUX. The failure is substantial. on my RH linux I use the following command for RCS editing (instead of vi): rvi .................................................. #!/bin/sh co -l $1 $VISUAL $1 rcsdiff -u $1 ci -u $1 but I get substantial errors: root@shadow> rvi ./squid.conf co error: Can't find squid.conf,v /.root/bin/rvi[3]: ./squid.conf: Execute permission denied. rcsdiff error: unknown option: -u command format: rcsdiff [-b] [-cefhn] [-rrev1] [-rrev2] file rcsdiff aborted squid.conf,v <-- ./squid.conf initial revision: 1.1 enter description, terminated with ^D or '.': NOTE: This is NOT the log message! >> any help would be appreciated: thanks, steve -- __________________________________________________ _____ | Steve Sayler | |US Gov't, Department of Commerce, Tel: 303-497-3959 | |NOAA, Space Environment Center Fax: 303-497-3645 | _ |325 Broadway, MS: R/E/SE2 | _ / )|Boulder, Colorado, USA 80303 |( \ / / | | \ \ _( (_ | _ email: steve.sayler@noaa.gov _ | _) )_ (((\ \>|_/ >_______________________________________________ < \_|</ /))) (\\\\ \_/ / __ \ \_/ ////) \ / _ __ ___ __ _ __ _ / /__ ___ ___ \ / \ _/ | '_ \ / _ \ / _` |/ _` | / / __|/ _ \/ __| \_ / / / | | | | (_) | (_| | (_| |/ /\__ \ __/ (__ \ \ |_| |_|\___/ \__,_|\__,_/_/ |___/\___|\___| |
| |||
| Steve Sayler <steve.sayler@noaa.gov> wrote: |RCS - Revision Control System |I recently read an article about setting up and using RCS, and this |works great on my RH linux boxes but fails with HPUX. The failure is |substantial. |on my RH linux I use the following command for RCS editing (instead of |vi): |rvi |................................................. |#!/bin/sh |co -l $1 |$VISUAL $1 |rcsdiff -u $1 |ci -u $1 |but I get substantial errors: |root@shadow> rvi ./squid.conf |co error: Can't find squid.conf,v |/.root/bin/rvi[3]: ./squid.conf: Execute permission denied. This is complaining that you are trying to check out ./squid.conf but there is not ./squid.conf,v or RCS/./squid.conf,v. You need to create an initial version with "rcs -i ./squid.conf" or "ci -u ./squid.conf". If you create a RCS directory or symbolic link then RCS will keep its files in the ./RCS directory. |rcsdiff error: unknown option: -u |command format: | rcsdiff [-b] [-cefhn] [-rrev1] [-rrev2] file |rcsdiff aborted Even on RedHat Linux I don't see any -u option to rcsdiff. |squid.conf,v <-- ./squid.conf |initial revision: 1.1 |enter description, terminated with ^D or '.': |NOTE: This is NOT the log message! This is a normal prompt for a comment on the check-in. -- Mike Stroyan, mike.stroyan@hp.com |
| |||
| Steve Sayler <steve.sayler@noaa.gov> wrote: > /.root/bin/rvi[3]: ./squid.conf: Execute permission denied. This suggests that $VISUAL isn't defined. So, the line "$VISUAL $1" becomes ./squid.conf which can't be executed. You might want: ${VISUAL:-vi} $1 Michael |
| ||||
| Depending on your needs (and my suggestion might be off), I would recommend using CVS instead of RCS. You can do much more with that and it's 'workgroup' oriented versus 'individual' usage of RCS... Steve Sayler wrote: > RCS - Revision Control System > > I recently read an article about setting up and using RCS, and this > works great on my RH linux bowes but fails with HPUX. The failure is > substantial. > > on my RH linux I use the following command for RCS editing (instead of vi): > > rvi > ................................................. > #!/bin/sh > co -l $1 > $VISUAL $1 > rcsdiff -u $1 > ci -u $1 > > > > but I get substantial errors: > > root@shadow> rvi ./squid.conf > co error: Can't find squid.conf,v > /.root/bin/rvi[3]: ./squid.conf: Execute permission denied. > rcsdiff error: unknown option: -u > command format: > rcsdiff [-b] [-cefhn] [-rrev1] [-rrev2] file > rcsdiff aborted > squid.conf,v <-- ./squid.conf > initial revision: 1.1 > enter description, terminated with ^D or '.': > NOTE: This is NOT the log message! > >> > > > > any help would be appreciated: > > thanks, steve > > -- > __________________________________________________ _____ > | Steve Sayler | > |US Gov't, Department of Commerce, Tel: 303-497-3959 | > |NOAA, Space Environment Center Fax: 303-497-3645 | > _ |325 Broadway, MS: R/E/SE2 | _ > / )|Boulder, Colorado, USA 80303 |( \ > / / | | \ \ > _( (_ | _ email: steve.sayler@noaa.gov _ | _) )_ > (((\ \>|_/ >_______________________________________________ < \_|</ /))) > (\\\\ \_/ / __ \ \_/ ////) > \ / _ __ ___ __ _ __ _ / /__ ___ ___ \ / > \ _/ | '_ \ / _ \ / _` |/ _` | / / __|/ _ \/ __| \_ / > / / | | | | (_) | (_| | (_| |/ /\__ \ __/ (__ \ \ > |_| |_|\___/ \__,_|\__,_/_/ |___/\___|\___| > > -- ---------- __ _ / / (_)___ __ ___ __ / / / / __ \/ / / / |/_/ / /___/ / / / / /_/ /> < /_____/_/_/ /_/\__,_/_/|_| is what you make of it. |