On 11.01.2012 15:02, Jens Bannmann wrote:
> Strictly speaking, the dialog "Delete Unversioned Items" (reachable
> via Revert) does exactly what its title says. However, it would be
> more useful if it took into account the svn:ignore information.
>
> My use case is this: I want to make sure that there are no source code
> files in my project working directory that are not under version
> control (for example, this can happen if you merge from another
> branch, then undo the add operation). The "Delete Unversioned Items"
> dialog lists these files, but it also lists the following groups of
> items:
>
> 1) Files/folders which are ignored by SVN (thanks to svn:ignore)
> 2) Files/folders *inside* ignored folders (one or more levels below
> the ignored folder). Let's call these "recursively ignored".
>
> Now consider that my project has around 50 modules, each with its own
> (versioned) subdirectory. Each of those has the following structure:
>
> .classpath (ignored file)
> .project (ignored file)
> .settings (ignored folder)
> org.eclipse.jdt.core.prefs (non-versioned file inside
> ignored folder)
> org.maven.ide.eclipse.prefs (non-versioned file inside
> ignored folder)
> target (ignored folder)
> classes (non-versioned folder with hundreds to thousands
> of generated class files in a deep hierarchy)
> ...
> ...
>
> Due to the large number of ignored files and the myriads of
> unversioned files that are "recursively ignored", the "Delete
> Unversioned Items" dialog fails to address my use case.
>
> I therefore propose that a checkbox is added to the dialog. If
> checked, the item groups 1) and 2) mentioned above are left out from
> the list (it might also be split into two separate checkboxes).
> Probably, it should be unchecked by default.
>
> What do you think?
The "delete unversioned items" feature is for deleting all unversioned
items and clean the working copy to a state where only versioned items
remain.
What you should do instead:
Both the commit dialog and the check-for-modifications dialog have a
checkbox "show unversioned items" which when active shows all
unversioned and not ignored items. You can then sort by status, select
all those entries, right-click and choose "Delete" from the context menu.
I recommend to have that checkbox active in the commit dialog anyway:
without that you might miss adding important files when you commit.
Stefan
--
___
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=2907982
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-11 19:08:22 CET