Login | Join Now

ankhsvn
Subversion

Revision
( previous | next )
Author sander
Date 2010-03-06 16:44:25-0700 (6 months ago)
Log message
Add new QueryEditFiles handling for readonly non-scc files. According to the spec we should warn about
them being readonly  offer to make them writeable when an option for this has been set.
This solves issue #619.

* src/Ankh.Ids/AnkhCommand.cs
* src/Ankh.Package/Gui/AnkhSvn.xml
* src/Ankh/Ankh.csproj
* src/Ankh/Commands/MakeNonSccFileWriteableCommand.cs
  New command that's fired to show the UI and handle the rename
* src/Ankh.Scc/AnkhSccProvider.QueryEditSave.cs
  Read the option wether we should warn about readonly files, and trigger the above command when we find one
* src/Ankh.UI/Ankh.UI.csproj
* src/Ankh.UI/EditReadonlyFileDialog.cs
* src/Ankh.UI/EditReadonlyFileDialog.Designer.cs
* src/Ankh.UI/EditReadonlyFileDialog.resx
  Dialog that shows the warning