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

David Levner <[email protected]> Thu, 21 Mar 2024 01:56:39 +0000 (UTC)
Newsgroups gmane.comp.gnu.rcs
Message-ID <[email protected]>
------=_Part_7580650_396592367.1710986199551
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 contin=
ue 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 cre=
ate 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. O=
nce I save the temporary file and close the text editor, file.txt is unlock=
ed and my description of the changes is recorded in the RCS file.
David Levner=20

    On Wednesday, March 20, 2024 at 12:01:41 PM EDT, [email protected]=
rg <[email protected]> wrote: =20
=20
 Send help-rcs mailing list submissions to
=C2=A0=C2=A0=C2=A0 [email protected]

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

You can reach the person managing the list at
=C2=A0=C2=A0=C2=A0 [email protected]

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


Today's Topics:

=C2=A0 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:
=C2=A0=C2=A0=C2=A0 <qsyiIJ0DB58wxJKM4UBNxZvHikSf65ubnx1rks0sl5EnEtMiow6EgIc=
Vf5EfKLQru3w9_DHHZFSX2rabX79Om3iOdy_QZlXkWmlfB9-BSV4=3D@proton.me>
=C2=A0=C2=A0=C2=A0=20
Content-Type: text/plain; charset=3Dutf-8

=C2=A0 =C2=A0 ...it would be great if there was an option to leave the conf=
ig source file in place when storing a version, instead of deleting the sou=
rce file. In this way the to-be-modified config file could then be edited i=
n safety, knowing that one could fall back to the back-up in /RCS/.
=C2=A0 =C2=A0 Even better would be an option which would open the config fi=
le in emacs/vim/nano/etc at the same time as storing the old version at /RC=
S/. 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
****************************************
 =20
------=_Part_7580650_396592367.1710986199551
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydp16a9f4ecyahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px=
;"><div><div dir=3D"ltr" data-setdir=3D"false">Brian,</div><div dir=3D"ltr"=
 data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">I c=
an't speak for the RCS maintainers about incorporating your suggestions int=
o RCS. I have found it convenient to write wrapper scripts that improve my =
RCS experience. For example, my scripts contain a 'putlock' command that st=
ores 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.</div><div dir=3D"ltr" data-setdir=3D"false"><br><=
/div><div dir=3D"ltr" data-setdir=3D"false">For me, the biggest convenience=
 is my 'put' command. When I type 'put file.ext', rcsdiff is run on file.ex=
t and its output is written into a temporary file that opens in a text edit=
or. I then review all the changes I've made since the last revision and wri=
te a multi-line description of my changes. Once I save the temporary file a=
nd close the text editor, file.txt is unlocked and my description of the ch=
anges is recorded in the RCS file.</div><div><br></div><div class=3D"ydp16a=
9f4ecsignature">David Levner</div></div>
        <div><br></div><div><br></div>
       =20
        </div><div id=3D"ydpe51ee5c8yahoo_quoted_1157048193" class=3D"ydpe5=
1ee5c8yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    On Wednesday, March 20, 2024 at 12:01:41 PM EDT, help-r=
[email protected] &lt;[email protected]&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir=3D"ltr">Send help-rcs mailing list submission=
s to<br></div><div dir=3D"ltr">&nbsp;&nbsp;&nbsp; <a href=3D"mailto:help-rc=
[email protected]" rel=3D"nofollow" target=3D"_blank">[email protected]</a><br></div=
><div dir=3D"ltr"><br></div><div dir=3D"ltr">To subscribe or unsubscribe vi=
a the World Wide Web, visit<br></div><div dir=3D"ltr">&nbsp;&nbsp;&nbsp; <a=
 href=3D"https://lists.gnu.org/mailman/listinfo/help-rcs" rel=3D"nofollow" =
target=3D"_blank">https://lists.gnu.org/mailman/listinfo/help-rcs</a><br></=
div><div dir=3D"ltr">or, via email, send a message with subject or body 'he=
lp' to<br></div><div dir=3D"ltr">&nbsp;&nbsp;&nbsp; <a href=3D"mailto:help-=
[email protected]" rel=3D"nofollow" target=3D"_blank">help-rcs-request@gn=
u.org</a><br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">You can reac=
h the person managing the list at<br></div><div dir=3D"ltr">&nbsp;&nbsp;&nb=
sp; <a href=3D"mailto:[email protected]" rel=3D"nofollow" target=3D"_b=
lank">[email protected]</a><br></div><div dir=3D"ltr"><br></div><div d=
ir=3D"ltr">When replying, please edit your Subject line so it is more speci=
fic<br></div><div dir=3D"ltr">than "Re: Contents of help-rcs digest..."<br>=
</div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr=
">Today's Topics:<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">&nbs=
p;  1. Feature request: When revisioning config files... (Brian Cady)<br></=
div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">=
----------------------------------------------------------------------<br><=
/div><div dir=3D"ltr"><br></div><div dir=3D"ltr">Message: 1<br></div><div d=
ir=3D"ltr">Date: Tue, 19 Mar 2024 16:42:38 +0000<br></div><div dir=3D"ltr">=
From: Brian Cady &lt;<a href=3D"mailto:[email protected]" rel=3D"nofol=
low" target=3D"_blank">[email protected]</a>&gt;<br></div><div dir=3D"=
ltr">To: "[email protected]" &lt;<a href=3D"mailto:[email protected]" rel=3D"=
nofollow" target=3D"_blank">[email protected]</a>&gt;<br></div><div dir=3D"l=
tr">Subject: Feature request: When revisioning config files...<br></div><di=
v dir=3D"ltr">Message-ID:<br></div><div dir=3D"ltr">&nbsp;&nbsp;&nbsp; &lt;=
qsyiIJ0DB58wxJKM4UBNxZvHikSf65ubnx1rks0sl5EnEtMiow6EgIcVf5EfKLQru3w9_DHHZFS=
[email protected]&gt;<br></div><div dir=3D"ltr"=
>&nbsp;&nbsp;&nbsp; <br></div><div dir=3D"ltr">Content-Type: text/plain; ch=
arset=3Dutf-8<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">&nbsp; &=
nbsp; ...it would be great if there was an option to leave the config sourc=
e 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/.<br></div><div d=
ir=3D"ltr">&nbsp; &nbsp;  Even better would be an option which would open t=
he config file in emacs/vim/nano/etc at the same time as storing the old ve=
rsion 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 reversa=
bly attempt modification to fix a config problem.<br></div><div dir=3D"ltr"=
><br></div><div dir=3D"ltr">Brian<br></div><div dir=3D"ltr">-<br></div><div=
 dir=3D"ltr"><br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><br></di=
v><div dir=3D"ltr">------------------------------<br></div><div dir=3D"ltr"=
><br></div><div dir=3D"ltr">Subject: Digest Footer<br></div><div dir=3D"ltr=
"><br></div><div dir=3D"ltr">______________________________________________=
_<br></div><div dir=3D"ltr">help-rcs mailing list<br></div><div dir=3D"ltr"=
><a href=3D"mailto:[email protected]" rel=3D"nofollow" target=3D"_blank">hel=
[email protected]</a><br></div><div dir=3D"ltr"><a href=3D"https://lists.gnu.or=
g/mailman/listinfo/help-rcs" rel=3D"nofollow" target=3D"_blank">https://lis=
ts.gnu.org/mailman/listinfo/help-rcs</a><br></div><div dir=3D"ltr"><br></di=
v><div dir=3D"ltr"><br></div><div dir=3D"ltr">-----------------------------=
-<br></div><div dir=3D"ltr"><br></div><div dir=3D"ltr">End of help-rcs Dige=
st, Vol 129, Issue 1<br></div><div dir=3D"ltr">****************************=
************<br></div></div>
            </div>
        </div></body></html>
------=_Part_7580650_396592367.1710986199551--