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

Re: How do I unconnect a directory from SVN

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 7 May 2010 21:50:21 +0100

On 7 May 2010 17:34, David Balazic <David.Balazic_at_hermes-softlab.com> wrote:
> Jean-Marc van Leerdam:
>
>> On 6 May 2010 16:39, David Balazic
>> <David.Balazic_at_hermes-softlab.com> wrote:
>> > Stefan K√ľng wrote:
>> >
>> >> On 05.05.2010 20:17, Kim Helper (khelper) wrote:
>> >> > I have a directory which I've accidently placed as an svn
>> >> directory... I want to remove that association without
>> >> removing the directory... it seems as is like the directory
>> >> is permanently a part of svn.
>> >>
>> >> http://tortoisesvn.net/node/343
>> >
>> > Wouldn't a simple "Unversion..." menu item be much more
>> intuitive and simpler to use?
>> > It shouldn't be much work on the programming side either,
>> to implement it.
>> >
>>
>> Well, there are at least 2 different use cases for 'unversioning':
>>
>> 1. There was a mistake and the file/folder should not be
>> versioned at all
>> 2. There is a need for an unversioned copy of the file/folder, but the
>> repository should stay the same
>>
>> Stefan pointed to a solution for use case 2 (the 'Export' command).
>> Use case 1 is also supported, via the 'Delete, keep local' command
>> available in TSVN.
>
> I believe the 'Delete, keep local' command changes the repository,
> while the export to same directory does not. So it is not the same.

Err, that's why he said there are two *different* use cases.

We already have (in trunk) "Unversion and add to ignore list" for
sub-directories which have been added accidentally. We "Delete, keep
local" which is almost the same except it doesn't do the ignoring bit.
What we don't have is a simple disconnection from SVN, although it can
be done using the non-intuitive trick of exporting to self. I suggest
having an Unversion context menu entry for this, but only available
for the WC root, so it is mutually exclusive with "Unversion and add
to ignore list" which requires an SVN parent.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2605236
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-07 22:50:25 CEST

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