[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-vcm-dev] Team + Refactoring
|
-----Original Message-----
From: Michael Valenta [mailto:Michael_Valenta@xxxxxxx]
Sent: Tuesday, June 18, 2002 11:13 AM
To: platform-vcm-dev@xxxxxxxxxxx
Subject: Re: [platform-vcm-dev] Team + Refactoring
David,
Depending on how the refactoring tool performs the rename, at least one of
the methods in the IMoveDeleteHook should get invoked. Did you put a
breakpoint in all of them? If you perform a file deletion, does the proper
delete method get invoked?
I'll have to do some more debugging to tell you, but I don't think my
RepositoryProvider.getMoveDeleteHook was called.
As an aside, the purpose of the move/delete hook is to support the veto of
an operation. If you are interested in allowing the operation but want to
react to it in some way, the core resource delta mechanism may be more
appropriate. The resource deltas will contain information that
differentiates additions and deletions from moves and will contain the
source path for moves.
I do need to react to it. In fact, I want to be responsible for the
operation as far as the file/folder itself is concerned. (There may be
a perforce flag that prevents, but default behavior is for the change to
happen in the "change list", and the local file system.)
Can you elaborate more on the "core resource delta mechanism"?
Hope this helps
Michael