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

Re: How to reject svn changes?

From: marc gonzalez-carnicer <carnicer.lists_at_gmail.com>
Date: Tue, 18 Mar 2008 23:14:10 +0100

blair, you probably forgot a '-' sign :

svn merge -c -N . .

anyway, that was (to me) one of the most interesting posts
to the list lately. thanks :)

2008/3/15, Blair Zajac <blair_at_orcaware.com>:
> Chris wrote:
> > Every once in a while (more often than I care to admin) one of our
> > developers does something really boneheaded. They check in changes that
> > shouldn't be there.
> >
> > I'm finding it an enormous pain to back out the changes, particularly if
> > then extend across multiple files.
>
>
> That's really easy to back out. If revision N is the bad commit, then you can use
>
> svn up
> svn merge -cN . .
> svn commit -m 'revert rN'
>
> If you want to keep in some changes, then you can either do the merge for the
> few files you want, or if more files need to be kept, then you can svn revert
> the few that shouldn't be reverted.
>
> Regards,
> Blair
>
>
> --
> Blair Zajac, Ph.D.
> CTO, OrcaWare Technologies
> <blair_at_orcaware.com>
> Subversion training, consulting and support
> http://www.orcaware.com/svn/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-18 23:14:32 CET

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