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

Re: [TSVN] Selective checkouts/updated directories-several issues

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-12 17:50:34 CEST

raymond.2.barlow@gsk.com wrote:
[snip]
> So, the first problem is here-I cannot use TortoiseSVN to do the svn update
> command for a single directory that does not locally exist. If I
> right-click source, and do the SVN Update listed, there are no further
> options. It just does a default svn update with no specified parameters.

You can't do an update for non-existing files/folders with TSVN.
But there's a menu entry "update to revision" in the TSVN menu where you
can do non-recursive updates.

> The second problem I have is, after setting up my directory as above, I
> would go to do a top level update (update on source) and get a message
> like:
> Working copy s:/source/area2 is missing or not locked
> Please execute the "Cleanup" command.
>
> 1. I did not WANT area2
> 2. I notice that source/.svn/entries has obtained an attribute incomplete
> ="true" in the entry tag
> 3. On a subsequent update, it goes ahead and grabs the area2, and area4
> directories out local-I don't want these!

That's a Subversion issue. Non-recursive checkouts/updates don't really
work that well, and *one* recursive command on such folders will remove
the "incomplete" tag and get everything recursively again.

> I've found a work around. If after the message is displayed I edit the
> entries file and remove the incomplete="true" attribute, I can then again
> do an update and it seems to work fine. This is OK for me, but trying to
> show all the developers how to get around this problem is a pain.

By doing that, you cheated Subversion to think that there are no folders
area2 and area4 at all. So Subversion doesn't even try to update them
anymore (until someone renames those folders, then you'll get a
corrupted working copy - Subversion doesn't work very well if you try to
lie to it).

> In summary:
> 1. Is it possible (or can it be added) to get TortoiseSVN to specify
> --non-recursive, selective directories, and other parameters for the update
> command?

It's already there: use the command "update to revision..." from the
TSVN submenu.

> 2. Is this 'missing or not locked' message a bug? -maybe I'm approaching
> this problem (for selective local directories) the wrong way.

You'd have to ask on the Subversion mailing list about that if you want
more detailed information why that error message is thrown.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Apr 12 17:55:57 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.