help-rcs
[Top][All Lists]
Advanced

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

Re: Feature request: When revisioning config files... (Brian Cady)


From: David Levner
Subject: Re: Feature request: When revisioning config files... (Brian Cady)
Date: Thu, 21 Mar 2024 01:56:39 +0000 (UTC)

Brian,

I can't speak for the RCS maintainers about incorporating your suggestions into RCS. I have found it convenient to write wrapper scripts that improve my RCS experience. For example, my scripts contain a 'putlock' command that stores a revision of a file and immediately locks the file so I can continue working on it. I also have an 'edit' command that locks a file and opens it in a text editor. It would be easy to combine these two commands to create a 'putlockedit' command.

For me, the biggest convenience is my 'put' command. When I type 'put file.ext', rcsdiff is run on file.ext and its output is written into a temporary file that opens in a text editor. I then review all the changes I've made since the last revision and write a multi-line description of my changes. Once I save the temporary file and close the text editor, file.txt is unlocked and my description of the changes is recorded in the RCS file.

David Levner


On Wednesday, March 20, 2024 at 12:01:41 PM EDT, help-rcs-request@gnu.org <help-rcs-request@gnu.org> wrote:


Send help-rcs mailing list submissions to
    help-rcs@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.gnu.org/mailman/listinfo/help-rcs
or, via email, send a message with subject or body 'help' to
    help-rcs-request@gnu.org

You can reach the person managing the list at
    help-rcs-owner@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of help-rcs digest..."


Today's Topics:

  1. Feature request: When revisioning config files... (Brian Cady)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Mar 2024 16:42:38 +0000
From: Brian Cady <Brian413Cady@proton.me>
To: "help-rcs@gnu.org" <help-rcs@gnu.org>
Subject: Feature request: When revisioning config files...
Message-ID:
    <qsyiIJ0DB58wxJKM4UBNxZvHikSf65ubnx1rks0sl5EnEtMiow6EgIcVf5EfKLQru3w9_DHHZFSX2rabX79Om3iOdy_QZlXkWmlfB9-BSV4=@proton.me>
   
Content-Type: text/plain; charset=utf-8

    ...it would be great if there was an option to leave the config source file in place when storing a version, instead of deleting the source file. In this way the to-be-modified config file could then be edited in safety, knowing that one could fall back to the back-up in /RCS/.
    Even better would be an option which would open the config file in emacs/vim/nano/etc at the same time as storing the old version at /RCS/. In this way only one step would get one to modifying config files while backing up the old version. One might then rapidly and reversably attempt modification to fix a config problem.

Brian
-



------------------------------

Subject: Digest Footer

_______________________________________________
help-rcs mailing list
help-rcs@gnu.org
https://lists.gnu.org/mailman/listinfo/help-rcs


------------------------------

End of help-rcs Digest, Vol 129, Issue 1
****************************************

reply via email to

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