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

Re: How to undo a commit?

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sat, 28 Mar 2009 19:38:57 +0100

On Sat, Mar 28, 2009 at 19:30, Kynn Jones <kynnjo_at_gmail.com> wrote:
> By mistake, I ran the following command while in the wrong directory:
> svn commit -m 'a lengthy description string'
> This was a big mistake: The directory in question was not even part of the
> project that I thought I was working with!  Hence, the lengthy message that
> I passed as the argument to the -m option is wholly inappropriate, and in
> fact misleading.  (In addition, a couple of files got committed prematurely
> to the repository, but this is the lesser problem.)
>
> Is there a straightforward way to undo this mistake, and delete the
> incorrect message?
> I assume the answer is no, since Subversion is designed to "keep
> everything".  In this case, what's the best approximation to a full delete
> of this incorrect message?

http://subversion.tigris.org/faq.html#change-log-msg

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1459435

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-28 19:39:44 CET

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.