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

locking and subdirectories bug?

From: Andy Peters <devel_at_latke.net>
Date: 2006-05-02 01:22:20 CEST

I think I've come across a bug in svn. Given a checked-out project
structure as follows:

projs\proj1
       proj2\file1
            \file2
            \file3
            \subdir1\file4
            \subdir2\file5
                    \file6

(subdir1 and subdir2 are externals, but I don't think that this matters.)

If in Windows Explorer, I right-click on the proj2 icon and choose
"TortoiseSVN | Get Lock..." I'll get an error message like:

Lock Finished!
Action Path Mime Type
Error 'subdir1\file4' is not under version control

Yes, it is, as it's been checked out because of the externals property
attached to proj2 and subdir1 has a .svn subdirectory. The lock command
does not continue, so nothing gets locked.

If I right-click on the subdir1 icon and choose "Get Lock ..." the
command succeeds.

If I select both subdir1 and subdir2 and attempt to "Get Lock ...", the
command fails with the same error as above.

So I thoughtthere's a problem handling multiple subfolders, as TSVN
walks down the tree? When in doubt, try from the command line:

C:\projs\proj1> svn lock *
svn: 'subdir1' is not under version control

Boink. Not a TSVN issue, but rather with svn itself.

Ideas? A bug? I'm on svn 1.3.1; both server and client are WinXP.

-a

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 2 01:23:27 2006

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.