Hi David, Would you share these valuable scripts? I would like to combine them.

Sent from Proton Mail mobile

-------- Original Message --------
On Mar 20, 2024, 21:56, David Levner wrote:

> 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, [email protected] 
> <[email protected]> wrote:
>
> Send help-rcs mailing list submissions to
> [email protected]
>
> 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
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> 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 <[email protected]>
> To: "[email protected]" <[email protected]>
> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-rcs
>
> ------------------------------
>
> End of help-rcs Digest, Vol 129, Issue 1
> ****************************************

Reply via email to