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

Re: Log command for directory 'file1' is mislocated

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 8 Apr 2009 15:02:18 +0400

Greetings, ANGonline!

>> Andrey Repin wrote:
>> Checkout your project to different place, and port any changes you have done
>> to it, then commit from fresh working copy.

> Of course I'm asking if it's possible to fix this problem without the need
> of re-checkout all the project.

If you can get svn status and see which files has been really modified, you can
checkout only these files. Even on per-file basis.

> It's a really big project and it lies inside a complicated directory
> structure that holds lots of unversioned files that will be quite
> complicated to rebuild.
> Of course I'm prepared to hear the answer "not, it's impossibile" but what
> I'm wondering if your answer is the "simple and clean way" rather than "the
> only one"... in this case I'd be glad to discover a "tricky and complicated"
> way to try fix my actual working copy.
> Thanks in advance for the effort.

Even svn revert? In what state the svn server at this moment?
Can you look in .svn dirs and see if you can manually break these locks? If it
is a WC lock, it should be something in there.
*** below is a pure guesswork ***
From my little knowledge and depends on the level of destruction, you can try
to replace certain directories in working copy, or only top-level directory,
if corruption happened on the top-most level.
svn co --depth=1
Or something similar. Unsure about exact command.
May be not replace, but at least you can get the top-level clean WC and
compare technical area of it to your actual WC to discover any differences,
which could indicate the tails of abandoned commit. Try to cut these tails and
see if your WC is back to normal operations.
However, you better back up your current working copy before trying any
experiments.

>> Andrey Repin wrote:
>> And please write new message next time, instead of hijacking nonrelated
>> conversation.

> I fear I don't understand what this means, please can you explain me what was wrong?

Headers of your initial message:

In-Reply-To: <D700D5F87E0614499D68C1860352CFE9062E5CBF_at_LNPEXCH01.cofunds.co.uk>
References: <1A3C06457633904EAC567D23DA0517170192A482_at_calrec-exch03.calrecaudio.com>
<D700D5F87E0614499D68C1860352CFE9062E5CBF_at_LNPEXCH01.cofunds.co.uk>

It was sent as reply into different thread rather than new message to the list.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 08.04.2009, <14:35>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1594727
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 13:06:19 CEST

This is an archived mail posted to the Subversion Users mailing list.