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

Re: svn+dokuwiki Problem !

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-16 22:29:58 CET

On Jan 16, 2007, at 15:15, svn stuff wrote:

> On 1/16/07, Ryan Schmidt wrote:
>
>> Sounds like Subversion doesn't think it's a working copy anymore.
>> Somehow it broke. I don't know how, but it doesn't much matter.
>>
>> Is /var/www/docuwiki/data a working copy? If so, you can fix the
>> attic directory by removing it, then updating the data directory.
>>
>> cd /var/www/docuwiki/data
>> rm -rf attic
>> svn up attic
>>
>> If /var/www/docuwiki/data is not a working copy, then you will want
>> to check out a new attic:
>>
>> cd /var/www/docuwiki/data
>> rm -rf attic
>> svn checkout url://to/repo/attic
>>
>> Of course, in either scenario, if you had any uncommitted changes in
>> attic, they will be irretrievably deleted by the rm -rf. So if this
>> is the case, and you want to save those changes, you should instead
>> move the broken attic out of the way, then update or checkout attic
>> again (as above), then move the changed files over from the broken
>> attic to the new working one, then commit the changes, then remove
>> the broken attic.
>
> data is a working copy and the first method you supplied worked.
> (rm then up).
> But please tell me:
> There's a way to delete or add "all" files in a folder right? What
> "wildcharacter" should I use?
> cause * doesn't seem to work.

What occurs when you try this? The * is expanded by your shell;
Subversion never sees it. It should work fine. You may have to use
the --force option to svn add, since some of the files will already
have been added, and Subversion may complain that you are trying to
add them again otherwise.

> These *.gz files get generated all the time, and the one difference
> before the failing commit was that I used a script to remove files
> older than 30 days.

How did you remove old files? Did you use "svn rm"? That would be the
correct thing to do.

Did you remove old files from the .svn directory too? If so, that
could certainly have corrupted the working copy.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 16 22:30:37 2007

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.