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

Codegen tool corrupts .svn directory; how to recover so I can commit changes?

From: Marc Sherman <msherman_at_projectile.ca>
Date: 2005-08-18 06:48:19 CEST

We have a tool that we must run which generates content that we have to
check in to the repository. For example:

src/
   foo_generator/
     ...
   foo/
     ...

The code in foo_generator re-creates the files in foo, which are then
checked in. Ideally, the foo_generator would run as part of our build
process, and foo would not be in the repository at all, but that's not
currently possible due to some technical constraints.

However, the problem is that the foo_generator tool is corrupting the
.svn directory in foo. Specifically, this is the error message I get
running svn status after running the generator:

C:\test\src>svn status
svn: Can't open '.svn\tmp\Printing_Your_Report.htm.tmp': The system
cannot find the path specified.

At this point, we can't commit the newly re-generated contents of foo,
because of the corrupt .svn directory. Is there any way to work around
this? We run the foo_generator quite infrequently, so it's ok if the
only fix is a hack like manually deleting .svn directories or something.
  Any suggestions?

Thanks,
- Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 18 06:50:54 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.