FileStatusProvider statuses not taken into account in Check In Project
Olesya, I am trying to provide my own statuses and I have a questions/suggestion:
Shouldn't CheckInDialog.analyzeChanges() use the statuses to figure out what need to be shown in the diff view? Isn't inconsistent to be able to flag a file as blue/modified but not being able to make it show up in the check in project?
In my specific case I am trying to work around the fact that IDEA doesn't track writability changes. So I am providing a StatusProvider to check for that. The problem is that the change of writability is the result of a file check out. If the file is not changed, IDEA won't check it in and it will be left checked out. If IDEA could use my status then it would pick even these files that aren't really modified except for their access rights.
Jacques
PS: Thanks for the LocalVcs simplification! It is much simpler!
Please sign in to leave a comment.
Even though its inconsistent with the status I show in the file, somehow I
like the fact that when I am checking in a project Idea does not take files
which are just checked out not modified at all. That reduces clutter in the
vcs submissions.
Ofcourse someway to control that behaviour should be nice.
-Dash.
"Jacques Morel" <jacmorel@yahoo.com> wrote in message
news:7121272.1074664804731.JavaMail.itn@is.intellij.net...
questions/suggestion:
>
what need to be shown in the diff view? Isn't inconsistent to be able to
flag a file as blue/modified but not being able to make it show up in the
check in project?
track writability changes. So I am providing a StatusProvider to check for
that. The problem is that the change of writability is the result of a file
check out. If the file is not changed, IDEA won't check it in and it will be
left checked out. If IDEA could use my status then it would pick even these
files that aren't really modified except for their access rights.
>
>