Change 8178

sven_erik_knop (Sven Erik Knop)
Sven Erik Knop committed this change into //guest/sven_erik_knop/P4Pythonlib/triggers
Request Review
Download .zip
Filter out move/delete as well as delete from the list of existing
files. This solves the problem of a re-add to the deleted file if a
differently spelled version is also present in the same directory, but
with action "move/delete".

Consider the following case:

p4 add foo
p4 submit -d foo
p4 edit foo
p4 move foo Foo
p4 submit -d renamed

p4 delete Foo
p4 submit -d deleted

p4 add Foo
=> this would fail because "foo" is present with an action of "move/delete".

This is now fixed.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
CheckCaseTrigger.py#10
Loading...
Tip: Use n and p to cycle through the changes.