git p4: add support for 'p4 move' in P4Submit
commit8e9497c2e742f25dc25f85d0382833a0b79dfa8f
authorGary Gibbons <ggibbons@perforce.com>
Thu, 12 Jul 2012 23:29:00 +0000 (12 19:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jul 2012 23:31:34 +0000 (12 16:31 -0700)
treebf6f3e6c85dda40dbccec513160ba8c179e15546
parent84cb00036fb59cf0ff305dcc27551f0519b5098c
git p4: add support for 'p4 move' in P4Submit

For -M option (detectRenames) in P4Submit, use 'p4 move' rather
than 'p4 integrate'.  Check Perforce server for exisitence of
'p4 move' and use it if present, otherwise revert to 'p4 integrate'.

[pw: wildcard-encode src/dest, add/update tests, tweak code]

Signed-off-by: Gary Gibbons <ggibbons@perforce.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py
t/t9814-git-p4-rename.sh