git-p4: test and document --use-client-spec
commit09fca77b9ecd64e2008835208bab29e15a4b2809
authorPete Wyckoff <pw@padd.com>
Sun, 25 Dec 2011 02:07:39 +0000 (24 21:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2011 18:19:31 +0000 (27 10:19 -0800)
treeb4a7e2c95118b4d39b562ba18592d43c2bb6a5ce
parentae3f41f20a0b5a9fa3e83a12557c887855b920f3
git-p4: test and document --use-client-spec

The depot path is required, even with this option.  Make sure
git-p4 fails and exits with non-zero.

Contents in the specified depot path will be rearranged according
to the client spec.  Test this and add a note in the docs.

Leave an XXX suggesting that this is somewhat confusing behavior
that might be good to fix later.

Function stripRepoPath() looks at self.useClientSpec.  Make sure
this is set both for command-line option --use-client-spec and
for configuration variable git-p4.useClientSpec.  Test this.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-p4.txt
contrib/fast-import/git-p4
t/t9806-git-p4-options.sh