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

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

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-08-18 14:38:07 CEST

Marc Sherman wrote:
> Ulrich Eckhardt wrote:
> > A similar way would be to use the svn_load_dirs script, which would
> > have the additional advantage that it automagically adds newly
> > generated files and deletes no more generated files.
>
> That might just work, thanks very much. I haven't used svn_load_dirs
> yet, so can you please confirm that the process for regenerating the
> built help files would be:
>
> 1) svn update
> 2) delete the webhelp dir from the working copy
> 3) regenerate webhelp from webhelp_generator
> 4) run svn_load_dirs to commit the new webhelp dir

5) delete the generated webhelp dir
6) svn update to get the committed webhelp dir from the repository

Without 5&6 svn up will complain that there is a dir called 'webhelp' which it
can't retrieve from the repository because a local unversioned dir is in its
way. You could of course choose to change either the name of the generated or
versioned dir to avoid that - there is however a feature/bug in svn_load_dirs
that makes it refuse to work when it thinks the user accidentally specified a
local dir instead of a remote one that might be activated. Note also that the
script requires manual intervention in some cases, i.e. is interactive - not
a desirable feature for fully automatic builds.

Uli

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