[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: small user request: confirm before commit

From: Florin Iucha <florin_at_iucha.net>
Date: 2003-05-27 22:42:52 CEST

On Tue, May 27, 2003 at 08:30:36PM +0000, Faheem Mitha wrote:
> On Tue, 27 May 2003 14:41:07 -0500, Florin Iucha <florin@iucha.net> wrote:
> > --TnYVF1hk1c8rpHiF
> > Content-Type: text/plain; charset=us-ascii
> > Content-Disposition: inline
> > Content-Transfer-Encoding: quoted-printable
> >
> > On Tue, May 27, 2003 at 07:29:51PM +0000, Faheem Mitha wrote:
> >> I have a small user request. Once I type `svn commit', there appears
> >> to be no clean way for me to back out if I decide I don't want to
> >> commit after all. Bear in mind that committing is an irreversible
> >> process. As far as I know there is no way currently of removing
> >> changesets from the respository once you have committed them.
> >
> > Exit the editor without making changes asks you if you want to abort.
>
> Oh, I see. I didn't know that. I tend to always save changes
> reflexively,

You will do so too with the confirmation message. I would bet that if
after 10 "Confirm commit (Y/n)" the software will print "Confirm
rocket launch (Y/n)", "Confirm shoot in the foot (Y/n)" most users
will happily hit "Enter".

> so it didn't enter my mind as a possibility. I assume you
> mean that *any* unsaved changes will prompt an abort message?

Don't save anything, just quit. If you saved once though, you are not out
of luck: open another console and kill the processes - I don't think
the wc has been tampered with at this stage.

Cheers,
florin

-- 
"NT is to UNIX what a doughnut is to a particle accelerator."

  • application/pgp-signature attachment: stored
Received on Tue May 27 22:43:45 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.