Re: How to check if a file is *really* modified against the repository?

Mark Phippard <[email protected]>
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <CAHFaGCoxMdJDGb0TossqEmSkrN8yi3NO7gKwHcD8J7VW=38tWg@mail.gmail.com>
On Mon, Nov 6, 2023 at 8:31 AM Bo Berglund <[email protected]> wrote:
>
> I have some files in my Windows PC that are under subversion versioning.
> One exe file has been committed and not recompiled or anything, yet TortoiseSvn
> marks it as modified...
>
> Is there a way with svn to check files against the repository so that a
> difference may be displayed or else just flagged?
> I think that something like Windows marking the file as used may have affected
> it because I have not recompiled it...

Subversion does not just blindly say the file is modified. It
ultimately computes a checksum of the file and compares that against
what it thinks it should be. If they are different it says the file is
modified. So something has changed.

If you are confident nothing should have changed, just run svn revert
and let SVN put back the version it thinks you should have.

Mark
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.