diff options
author | Pete Wyckoff <pw@padd.com> | 2012-11-23 17:35:35 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-26 10:59:57 -0800 |
commit | 249da4c0dcd0534f416e2d5da0a9923c6068e492 (patch) | |
tree | a77889108234d68a49ab7b55df201a7dd8e981ce /hex.c | |
parent | 18fa13d0b34b6243d3679ea78325ee33ee4d0989 (diff) | |
download | git-249da4c0dcd0534f416e2d5da0a9923c6068e492.tar.gz git-249da4c0dcd0534f416e2d5da0a9923c6068e492.tar.xz |
git p4: handle servers without move support
Support for the "p4 move" command was added in 8e9497c (git p4:
add support for 'p4 move' in P4Submit, 2012-07-12), which checks
to make sure that the client and server support the command.
But older versions of p4d may not handle the "-k" argument, and
newer p4d allow disabling "p4 move" with a configuration setting.
Check for both these cases by testing a p4 move command on bogus
filenames and looking for strings in the error messages.
Reported-by: Vitor Antunes <vitor.hda@gmail.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hex.c')
0 files changed, 0 insertions, 0 deletions