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

Re: svn revert not reverting

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-30 22:43:50 CEST

On Mar 30, 2007, at 15:37, Mark Wagner wrote:

> On 3/30/07, Ryan Schmidt wrote:
>
>> On Mar 30, 2007, at 14:59, Mark Wagner wrote:
>>
>> > While making automated changes to the codebase I'm working on , I
>> > accidentally deleted all newlines from some of the files. The
>> obvious
>> > fix would be to use "svn revert" to roll back all the changes, but
>> > it's not working: "svn revert borkedfile.cpp" does nothing.
>> >
>> > Any idea on what could be causing this, and how to convince
>> subversion
>> > to revert these files?
>>
>> Did your automated changes also bork the pristine copy of the same
>> file in .svn/text-base? If so, you have ruined your working copy and
>> should check out a new one.
>
> I was very careful about that. The pristine copy is fine.

Only other thing I could think of: are the timestamps of the pristine
file and the modified file the same? If so, Subversion may not think
they are different. Try "touch"ing the modified file first. Then see
if it will revert.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 30 22:44:19 2007

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.