+-----
+Odkazy na mou komunikaci s vývojáři
+=======
+
+**mudrama1@fel.cvut.cz**
+
+12.4.
+komu: dev
+[[[
+Fix issue #708/707: Dont crash when try to perform uniffiedDiff, Annotation and Lock operations on added and uncommited
+]]]
+
+---
+
+Best regards Martin Mudra
+
+PatchForUncommitedFilesDiffAnotationLockOperations.patch 9 kB Stáhnout
+
+
+**Bert Huijben bert@qqmail.nl**
+
+13.4.
+Hi Martin,
+
+I committed slightly tweaked portions of your patch in r11156, r11157 and
+r11158.
+
+Somehow your patch was broken by the mailing list software. (There are blank
+lines between all the useful lines).
+
+Annotate:
+I used an SvnItem.HasCopyableHistory check instead of added, to allow the
+command to keep working on copied files. (The root of a copy is also
+.IsAdded)
+I applied the check in the update and execute handler to just disable the
+command where it doesn't work instead of showing an error dialog.
+(Another bug fixed was that it checked for .IsVersionable when fetching a
+targets list)
+I also fixed a TODO: Save the file if annotating against the working
+revision.
+
+Unified Diff:
+Unified diff does work on added files, but it didn't work on files that had
+the change status 'New'. I fixed this by applying the 'New' status directly
+here.
+To avoid further errors I disabled the exceptions from the diff handler and
+write the error to the patch file instead.
+
+Lock:
+Same as annotate: I applied the fix to the selection filter instead of to
+the dialog processing to avoid showing UI that doesn't work instead of
+showing errors.
+(Also: fixed a missing resource reference)
+
+Thanks for your patch!,
+ Bert
+
+
+-----
+
+**scrumtraining@collab.net**