Marc,
Thanks for the correction.
Regards,
Blair
marc gonzalez-carnicer wrote:
> 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
Received on 2008-03-18 23:27:50 CET