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

Re: Repository corruption? If so how do I recover?

From: Robert Sfeir <yosemitesam_at_gmail.com>
Date: 2005-01-17 14:57:56 CET

Just fyi, way to reproduce this issue (bug?)

Create a file (Foo.java) in your subversion dir.

svn add Foo.java

now do: mv Foo.java to another directory (I will explain shortly)

svn add Foo.java in new location.

go to root of your repository and svn commit. The commit happens
happily, however try to do an svn update on the first directory you
put Foo.java and you will error out.

The reason this happened is because I was in IntelliJIDEA Irida
working with the tmate plugin, and since Irida doesn't currently
support moving, it moved the file and I forgot to remove it from that
location manually. When I committed using svn commit, svn didn't warn
or throw an error.

So I think while this is a problem with the way the file was moved,
Subversion should be smarter about picking that up I think, or at
least interrupt the commit and error out to show that there is a
missing file which was added.

Thanks
R

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 17 15:00:26 2005

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.