[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: Mark Wagner <carnildo_at_gmail.com>
Date: 2007-03-30 22:51:41 CEST

On 3/30/07, Ryan Schmidt <subversion-2007a@ryandesign.com> wrote:
> 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.

That was it, thanks. I don't suppose there's an undocumented
"--force" option for "svn revert"?

-- 
Mark
---------------------------------------------------------------------
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:52:04 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.