Delete a File in TortoiseSVN 1.4.7
A website I worked on started out with a whole bunch of CSS files. I prefer having as few as possible and only add an ie.css
as a last resort. Here’s how I removed them.
Locate the File
- Go to the folder where the file you want to delete is.
- Right-click on it.
- Select the TortoiseSVN > Delete menu item.
Diff... also uses D for its access key. It could use f to keep Delete conventional with Windows. Changing “Diff” to “Differences” widens the choice.
Are you Sure?
Delete shows this message box:
'
C:\Program Files\WAMP\www\tower college\site\templates\beez\css\position.css
' has local modificationsDo you want to remove it anyway?
Command Buttons
- Yes
- No
- Yes to all
Yes to all is redundant in this case as only 1 item is selected.
Inconsistencies with Windows Explorer
- No Close button in the title bar even though a button lets it be dismissed.
- Icon is 6 pixels (90 twips) from top edge instead of 11 pixels (105 twips).
- Icon is 10 pixels (150 twips) from left edge instead of 11 pixels (105 twips).
- Uses a complete path instead of a filename.
- Lack of terminal punctuation for the first paragraph.
- No blank line between paragraphs.
- Buttons are centered to the window rather than:
- right-aligned to the window;
- centered to the text.
- or filling the window width;
- Buttons widths differ from each other.
- Buttons widths don’t match real message boxes.
- Buttons are too close to the bottom.
- Button order does not match other Window Explorer message boxes.
- Access keys for buttons are missing. Should be:
- Yes
- Yes to All
- No
- All does not begin with a capital letter.
- No Cancel button.
Pointless Warning?
The icon overlay showed the file had been altered. I still went through context menus to delete it. I knew what I was doing. This warning didn’t help me.
The Recycle Bin Properties set whether it warns before a deleting. I turned this off because:
- I know where the Recycle Bin is and how it works;
- and I know how to press Ctrl+Z.
TortoiseSVN use this setting for its warning, thus integrating more completely.
Silent Deletion
I clicked Yes and no windows appeared. The file was deleted silently. Statusbar text could say “File deleted” but the file had clearly gone from the listing.
This was a pleasant surprise. Other features could benefit from this approach.
Recycle Bin Integration
Supporting normal Delete and the Recycle Bin would make this easier to use.