You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by si...@gmail.com on 2009/01/23 13:20:11 UTC

sparse directories and --set-depth

Hi

Reading about sparse directories, as available in svn 1.5.x, I'd really like to start using this, since we have a LARGE repository, organized as one big project (which comes from the SCCS days), but...

How to decrease the depth-level, in fact, after I did some changes in a certain directory, I'd like to remove that directory from my WC, without getting SVN errors, which I would get if I just do "rm -rf <DIR>".
Any clues for doing this in the current version? 
And: any plans for implementing this in a next version?

Thanks in advance!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1044825

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: sparse directories and --set-depth

Posted by eg <eg...@gmail.com>.
Konstantin Kolinko wrote:
> 2009/1/23  <si...@gmail.com>:
>> Hi
>>
>> Reading about sparse directories, as available in svn 1.5.x, I'd really like to start using this, since we have a LARGE repository, organized as one big project (which comes from the SCCS days), but...
>>
>> How to decrease the depth-level, in fact, after I did some changes in a certain directory, I'd like to remove that directory from my WC, without getting SVN errors, which I would get if I just do "rm -rf <DIR>".
>> Any clues for doing this in the current version?
>> And: any plans for implementing this in a next version?
>>
>> Thanks in advance!
>>
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=2843
> "[sparse-directories] Create interface for removing stuff from working copy"
> 

Actually, if you read it carefully, that bug report lists workarounds 
you can use to achieve the result now.  The case now refers to the 
addition of explicit commands to exactly what you want (i.e. a 
deselection interface).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1046210

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: sparse directories and --set-depth

Posted by Wouter Sieburgh <si...@gmail.com>.
Hi Andrew

I've taken a look at:

http://subversion.tigris.org/issues/show_bug.cgi?id=2843

The workarounds mentioned there seem useful to me. This means: I'll
try to convince my IT-department to
migrate from svn-server 1.4 to svn-server-1.5, so that I can actually
use the workarounds.
(yes, I know, I could use a 1.5 client on a 1.4 server, but this is
painfully slow if you have really large projects)

For me it is essential to be able to delete a subdirectory in my WC
(and tell svn somehow), and then
go on in my WC, without getting any complaints from SVN (and SVN
should not actually delete the subdirectory on the svn-server !!)
I just want to delete it from my WC, because if not, I have non-used
giga-bytes in my WC, which will end up on backup-tapes!!)


And: no, we don't use Tortoise, we use unix/linux systems, we just hate mice !

Thanks,
    Wouter

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1054380

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: sparse directories and --set-depth

Posted by "Bolstridge, Andrew" <an...@intergraph.com>.
2009/1/23  <si...@gmail.com>:
> Hi
>
> Reading about sparse directories, as available in svn 1.5.x, I'd
really like to start using this, since we have a LARGE repository,
organized as one big project (which comes from the SCCS days), but...
>
> How to decrease the depth-level, in fact, after I did some changes in
a certain directory, I'd like to remove that directory from my WC,
without getting SVN errors, which I would get if I just do "rm -rf
<DIR>".
> Any clues for doing this in the current version?
> And: any plans for implementing this in a next version?
>
> Thanks in advance!
>

Hi.
I'm not sure if this helps any, but I've noticed (using TortoiseSVN)
that you can delete directories from a sparse checkout.

I create a sparse checkout at the very root of the repository, with the
'only this item' depth. 
Then, using the repo-browser, I can go to any project within the tree
and 'update item to revision', this gets that directory and sub-dirs if
I leave the depth option as it was.

Afterwards, I can delete the project I retrieved without any effect on
subversion. So I assume that it is filling out the sparse tree in a
slightly different way than if I had done a checkout with the full
depth. 

I don't know if this is a tortoise thing or an intentional part of svn;
and you still cannot delete part of a tree once you've checked it out -
ie if you "update to revision" a project and it retrieves a
subdirectory, you cannot delete the subdir and expect svn to know what
you meant.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1054142

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: sparse directories and --set-depth

Posted by Konstantin Kolinko <kn...@gmail.com>.
2009/1/23  <si...@gmail.com>:
> Hi
>
> Reading about sparse directories, as available in svn 1.5.x, I'd really like to start using this, since we have a LARGE repository, organized as one big project (which comes from the SCCS days), but...
>
> How to decrease the depth-level, in fact, after I did some changes in a certain directory, I'd like to remove that directory from my WC, without getting SVN errors, which I would get if I just do "rm -rf <DIR>".
> Any clues for doing this in the current version?
> And: any plans for implementing this in a next version?
>
> Thanks in advance!
>

http://subversion.tigris.org/issues/show_bug.cgi?id=2843
"[sparse-directories] Create interface for removing stuff from working copy"

Do not know details about the status, but apparently the "issue-2843-dev" branch
has already been merged into trunk and so will be in 1.6,
(the svn:mergeinfo on /trunk mentions it and the branch itself does
not exist anymore)

/trunk/notes/sparse-directories.txt
still mentions "NOT YET FULLY IMPLEMENTED, SEE ISSUE #2843" on
some command line options.


Best regards,
Konstantin Kolinko

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1045347

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].