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

Re: Dupe file in repos stops checkout(?)

From: Scott Morgan <blumf_at_blueyonder.co.uk>
Date: 2004-11-23 16:44:57 CET

François Beausoleil wrote:

> Scott Morgan wrote:
>> It seems I've commited two copies of resource.h to the repos
>> (different caps) and this is confusing svn. how do I go about
>> resolving this? Delete the offending file and commit, leaving the
>> current revision as a dud? Or is a better approach available?
> Check the FAQ on Subversion's web site:
> http://subversion.tigris.org/

Thanks for the clue, dump->filter->load fixed it.


Quick synopsis to anybody browsing the archive as the manual's guide is
for *nix systems:

Get dump file of repository
WinNT> svnadmin dump c:\path\to\repos > broken.dmp

Filter offending file, note using 'type' instead of 'cat' on a Windows
box. Should report removal of file when done.
WinNT> type broken.dmp | svndumpfilter exclude path/to/resource.h >

Move broken repository out of the way (just in case)
WinNT> move c:\path\to\repos c:\path\to\repos.bak

Recreate repository and load back in the fixed dump file
WinNT> svnadmin create c:\path\to\repos
WinNT> type fixed.dmp | svnadmin load c:\path\to\repos

Scott Morgan

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 23 16:47:30 2004

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.