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

Re: [r25803] Interactively dealing with obstructed-addition conflicts

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-20 20:26:39 CEST

C. Michael Pilato wrote:
> David Glasser wrote:
>> On 7/20/07, Daniel Rall <dlr@collab.net> wrote:
>>> I'm really hesitant to flat-out destroy the modified content in the
>>> user's WC (choose_repos option), even upon their request. I can see
>>> why an experienced user might want this behavior, but it's a definite
>>> gotcha for the newbie who selects the wrong option without a full
>>> understanding of the repercussions. Moving it aside into an
>>> unversioned foo.discarded file seems like a safe -- if potentially
>>> annoying -- behavior (possibly overridable in ~/.subversion/config?).
>> Agreed. I believe it is currently the case that svn will never
>> destroy unversioned data unless in the context of a command being run
>> with '--force'.
>
> Heh. I wish I could say the same of TortoiseSVN. Just this past Saturday,
> I lost hours worth of recent work, and years of older documents deemed
> interesting enough to keep but not version, when I mistakenly assumed that
> TSVN's 'Delete' action behaved like 'svn rm', removing versioned items but
> leaving unversioned or modified ones in a skeletal tree. Instead, it wiped
> the whole tree. And I would have thought, being an Explorer shell
> integration, that it made use of the Recycling Bin system. Nope -- no such
> luck.
>
> Data go bye-bye. C-Mike whimper.
>
> [Stefan, are you listening?]

Yes, reporting for duty!
I'm listening :)

Strange, you should have seen a dialog telling you
"The folder %s\ncontains unversioned and/or modified file(s). Do you
want to remove it anyway?"
or for files: "%s\nDo you want to remove it anyway?" (where %s is the
Subversion error message)

And only if you click on "Yes" or "Yes to all", then the files/folders
will get deleted (only then is the 'force' option passed to Subversion).

About using the trash: I wanted to do that, but last time I checked,
Subversion error'ed out if the file/folder to delete was already gone.
So I can't move the items to the trash before calling 'svn rm' (and no,
I haven't found a way to *copy* items to the trash).

Do you have a suggestion on how to improve this?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 20 20:25:49 2007

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