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

Prevent accidental commits

From: Jeenu V <jeenuv_at_gmail.com>
Date: Wed, 11 Jun 2008 12:06:49 +0530

Hi,

This is my first post to the group.

I'm wondering whether there's a means by which I can prevent myself from an
accidental commit, from a particular directory in my working copy. Most of
the times, I do an "svn ci" from a top-level directory, oblivious about a
not-ready-to-commit change in some of the sub-directories. I realize the
mistake mostly when I see the "sending ..." messages from the commit
command.

I thought I could use the "svn lock" but, IIUC, that only prevents others
from making commits. I was thinking of some client-side hooks to assist me,
and AFAIK, that's not supported by SVN.

Any help is appreciated.

--
Thanks
Jeenu
Received on 2008-06-11 23:40:54 CEST

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

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