How to undo SCCS get -e ?

How to undo SCCS get -e ?

Post by Paul D. Smi » Thu, 23 Nov 1995 04:00:00



%% Regarding How to undo SCCS get -e ?;

    hc> Can I possibly cancel this get -e

"man sccs" says:

     unedit
          "Undo" the last edit or `get -e', and return the working copy  to
          its  previous  condition.   unedit  backs out all pending changes
          made since the file was checked out.

    hc> Besides, are there any alternatives to SCCS?

RCS.  It's free, runs on all UNIX systems plus VMS and DOS, and it has
many real advantages over SCCS in ease-of-use and features.  Or, if you
want something more comprehensive, try CVS which is built on top of RCS.

Look at:

    ftp://prep.ai.mit.edu/pub/gnu

or it's mirrors.
--
-------------------------------------------------------------------------------

 Senior Software Engineer                                   Bay Networks, Inc.
-----------------------------------------------==<http://www.baynetworks.com/>-
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.

 
 
 

How to undo SCCS get -e ?

Post by Edward X » Sat, 25 Nov 1995 04:00:00



Quote:

>I am using SCO unix SCCS utilities right now.  I issue the command

>        get -e s.file.c

>to get a file and edit.  Can I possibly cancel this get -e so that the
>other guys can get -e?

On my Solaris 2.3, I use:

        sccs unedit file

Maybe it'll be same on SCO.

You could also try this but I'm not sure:

        sccs unget file

--
Edward Xue


 
 
 

How to undo SCCS get -e ?

Post by Guy Harr » Tue, 28 Nov 1995 04:00:00



>On my Solaris 2.3, I use:

>    sccs unedit file

>Maybe it'll be same on SCO.

Or maybe it won't.  The "sccs" command is a front end to SCCS written by
Eric Allman.  It came with BSD, and some vendors have picked it up from
BSD; others might not have.

The fact that the original poster said "How to undo SCCS get -e" rather
than "How to undo 'sccs edit'" suggests that either

        1) SCO UNIX doesn't have the "sccs" front end command

or

        2) it does, but the original poster doesn't know about it.

If the answer is 2), they should check out the documentation for the
"sccs" front end command.

If the answer is 1), they'd have to simulate what "sccs unedit" does by
hand, as per the suggestions of other posters in this thread (or, if
they're sufficiently ambitious, get the source to the "sccs" front end
command from a recent BSD release, and get it to work under SCO UNIX).

 
 
 

How to undo SCCS get -e ?

Post by Tye McQue » Fri, 01 Dec 1995 04:00:00



) >
) >  sccs unedit file
[...]
)       1) SCO UNIX doesn't have the "sccs" front end command
[...]
) If the answer is 1), they'd have to simulate what "sccs unedit" does by
) hand, as per the suggestions of other posters in this thread (or, if
) they're sufficiently ambitious, get the source to the "sccs" front end
) command from a recent BSD release, and get it to work under SCO UNIX).

To check out for editting:
    % get -e file.c

To un-check-out:
    % rm file.c SCCS/p.file.c

Not that tough.  Assumes no one else has a revision of that file
checked out.

Sorry, haven't seen any other postings from this thread, but it
seemed this was being made to be harder than it should be.
--

             Nothing is obvious unless you are overlooking something
       http://www.metronet.com/~tye/ (scripts, links, nothing fancy)

 
 
 

How to undo SCCS get -e ?

Post by Bill Rober » Sat, 02 Dec 1995 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----



>To un-check-out:
>    % rm file.c SCCS/p.file.c

NO!  DON'T DO THAT!  If you do, and someone else has checked out
another version of the file, his checkout goes away as well.  Use the
unget command:
        % unget [-r<version>] SCCS/s.file.c
Use the commands within the SCCS system.

(n for next article, return for signature)

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQB1AwUBML8O/YtP21awDalZAQGawQMAnx5Cw/jtHozfAQ5BcMAaU6Q1YAU3+/wT
tPDFrK6u7eUSOBR3rmdoNQE0bkF0qsYiMlWrfeYltZo5bqcFdofXAWFb9ieQ3NxP
aUwDv51uw6cDj4zzXKOwsAKBrpMKiSbY
=4xCg
-----END PGP SIGNATURE-----

Bill Roberts -            | Usual employers disclaimer on what I say.
Technology Service Corp   | I reserve the right to change my opinion in
(812) 323-4057 x 134      | mid sentence
http://www.tsc.com/~billr |
Key fingerprint =  12 8B 28 01 DC AE 10 31  08 0B 49 CD 65 02 3C D9

 
 
 

How to undo SCCS get -e ?

Post by Joan Colle » Sun, 03 Dec 1995 04:00:00


Why not use the SCCS command unget ???

Joan.




>) >
>) >      sccs unedit file
>[...]
>)   1) SCO UNIX doesn't have the "sccs" front end command
>[...]
>) If the answer is 1), they'd have to simulate what "sccs unedit" does by
>) hand, as per the suggestions of other posters in this thread (or, if
>) they're sufficiently ambitious, get the source to the "sccs" front end
>) command from a recent BSD release, and get it to work under SCO UNIX).

>To check out for editting:
>    % get -e file.c

>To un-check-out:
>    % rm file.c SCCS/p.file.c

>Not that tough.  Assumes no one else has a revision of that file
>checked out.

>Sorry, haven't seen any other postings from this thread, but it
>seemed this was being made to be harder than it should be.
>--

>             Nothing is obvious unless you are overlooking something
>       http://www.metronet.com/~tye/ (scripts, links, nothing fancy)

 
 
 

1. SCCS front end for HP SCCS commands ?

Does anyone have an sccs(1) program/script as provided on other UN*X
systems (e.g. Sun ...) in their back pocket.

The synopsis of the command is something like:

    sccs [-r] [-drootprefix] [-psubdir]
        subcommand [option...] [file...]

Where 'subcommand' is one of the following:
    admin, clean, create, deledit, delget, ...

Many thanks
Lloyd Burgess

2. iso_8859_1

3. Why does System V make use SCCS's -p option when getting files?

4. Setting up X-Windows on a Cirrus Logic GD5428!

5. Undoing a ForceType directive

6. tar problem

7. Undoing a patch, HOW ?

8. RBAC access granularity

9. question: how to undo linux tapes in dos

10. undo ScrollLock

11. How to undo boot sector changes?

12. Apache: undoing a require

13. undoing an rpm?