You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bill Mill <bi...@gmail.com> on 2007/04/19 15:47:01 UTC

Can't resurrect directory because of svn:needs-lock?

Hello all,

I accidentally deleted a directory a few revisions ago, so I'm trying to follow 
the instructions at http://tinyurl.com/nh8ff .

I'm able to successfully copy the directory from the repo to my working
directory:

11:35 AM /c/test/Common$ svn copy -r 1105 http://oursvn.server/dir/PQEbay
 ./PQEbay
A    PQEbay\PQEbay\OrderProcessor.cs
A    PQEbay\PQEbay\RePricer.cs
... and so on

11:37 AM /c/test/Common$ svn status
A  +   PQEbay

However, when I try to check in, I get:

11:37 AM /c/test/Common$ svn ci -m "Resurrected PQEbay"
Adding         PQEbay
svn: Commit failed (details follow):
svn: Cannot verify lock on path '/PQ_CODE/Common/PQEbay/FilterConstants.cs';
 no matching lock-token available

PQEbay has the svn:needs-lock property on it, could that be causing the problem?
If so, how can I remove it, or do anything to allow myself to check in?

I've tried to lock the dir, but it's not checked in, so I get a catch-22
situation:

11:40 AM /c/test/Common$ svn lock --force PQEbay/
svn: Lock request failed: 405 Method Not Allowed (http://oursvn.server)

I've also removed the locks in the local copy, but that doesn't have any effect.
Any help would be appreciated.

Thanks
Bill Mill
bill.mill at gmail.com
http://billmill.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org