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

Re: Feature request...

From: Joseph Galbraith <galb_at_vandyke.com>
Date: 2006-09-11 21:03:32 CEST

Stefan Küng wrote:
> Joseph Galbraith wrote:
>> One thing I find myself doing a lot is removing all the
>> files not under version control so I can do a clean build
>> with my changes before committing...
>>
>> Currently I do this by bringing up the "Check for Modifications"
>> dialog, sorting by status, removing all the file non-versioned
>> files, checking the "Show ignored files", sorting agina,
>> and removing all the ignored files.
>>
>> I have several features I'd wish for here :-)
>>
>> o Can the dialog maintain the sort order when I
>> check / uncheck boxes that change the contents.
>
> Not really. Because checking/unchecking e.g. "show unversioned files"
> requires a refetch of the status. And when that happens, there is no
> sorting done at all - the 'sorting' is done by the Subversion library,
> it's not by path/author/revision/status... but by 'crawling and status'.
> So we can't just resort there - because you can't get 'back' after you
> sort by one of the columns.
>
>> o When I delete the ignored files, they change to
>> status "deleted"... doing a refresh removes them
>> from the list. Can they just be removed when I
>> delete them.
>
> Can't reproduce that. The deleted files are removed from the list when I
> tried it.
>
>> o Would it be possible to add a "Remove all non-versioned
>> files" menu item, which wouldn't care about the ignored
>> status and allow me to do this in a single step?
>
> That's a little dangerous, don't you think? A command which deletes all
> files which you haven't even seen first?

Well, the chances that I have a non-versioned file in
my working copy that I care about are pretty low...
the chances that I accidentally select a modified
file and delete it when working with the 'Check for
modifications' dialog is a lot higher.

Note that when I do this, I'm selecting between several
hundred files and several thousand files depending on how
many different configurations I've built, so it's not like
I'm examining the files before I delete them.

Think of it as a short-cut for creating a patch,
whacking the working copy, and doing a fresh
check-out and applying a patch containing my
changes. Once I've decided to take this step,
if I haven't managed the working copy correctly
and added the everything I care about to version
control, it's a goner.

Sorry, you can't protect me from myself :-)

Thanks,

Joseph

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 11 21:12:22 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.