M.Z. wrote:
> Thank you for the quick reply, Stefan. Reply interleaved below.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>> M.Z. wrote:
>> > When you've checked out an empty subdir using 1.5.X's files and dirs
> ---
>> > branches subdirs.
>
>> To cherry pick other folders for checkout:
>> * right-click on the checked out folder
>> * choose "repository browser" from the menu
>> * select the folder you want to add
>> * right-click, choose "checkout"
>
> Tried that, sometimes errors out with directory not empty type of
> errors, and doesn't
I need exact error messages.
> have the same default dirs behavior as the WC side commands do. I
> haven't saved
What do you mean with "default dirs behavior"?
> exact occurrence data so won't file a specific bug report on that.
> Besides, that's
> more a workaround, IMO, than what someone could reasonably expect to see as
> the behavior of the explorer right-click menu now that the depth option
> is there.
Problem is: you *can* checkout a subfolder into an already versioned
folder. But that won't do what you expect: it will create a nested
layout in your working copy.
To get subdirs from sparse checkouts, the correct command is "update",
not "checkout". That's why this is done in the repository browser.
btw: I mentioned before that you should use "checkout" from the
repository browser, that's not correct. You have to use "update item to
revision".
>> > Any possibility the Checkout and Update to Revision ops can be modified
> ---
>> > request to the repository, as it appears to be implemented now.
>
>> That's the behavior of the svn library. You'd have to ask for this on
>> the Subversion mailing list.
>
> I figure since you have the browser code, and the SVN repo doesn't, it
> would be
> easier for you to graft a prototype into the TortoiseProc command
> handlers in
> a block like:
>
> if repo-dir-from-dialog-or-admin-dir-exists && depth <> full {
> if query-repo-version < 1.5 {
> do repo-browse-logic dirs and files/files only checkout or update
> } else {
> keep current methods
> }
> }
Sorry, but even though it seems that your example would work, it can't.
> Where it would go in SVN more problematic: libsvn, wc, ra, or the svn app;
> all or some of these needing modifying, or more? If you got the change
> working in
> TSVN it would make it easier to decide how best to retrofit it into the
> command-line clients, I'd think. Bass-ackwards, I agree, but can consider
> it a temporary proof-of-concept kludge than the actual permanent
> implementation.
Something like this has to be done in the svn library.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-11-11 22:45:10 CET