git-p4: fix clone @all regression
commitac34efcf214269201849a1ca32ab86614bfe4c8b
authorPete Wyckoff <pw@padd.com>
Sat, 12 Mar 2011 16:23:23 +0000 (12 11:23 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Mar 2011 08:06:25 +0000 (13 00:06 -0800)
tree0dc64c20815833fd1b5d9c26cef63bbb8d961a3a
parent382000769477ed0666e99d01c21df64df9ba0911
git-p4: fix clone @all regression

e32e00d (git-p4: better message for "git-p4 sync" when not cloned,
2011-02-19) broke the use of the "@all" revision specifier, e.g.,

    git-p4 clone //depot/xxx@all

Fix it as per Tor Arvid's quick patch.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Reported-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Based-on-patch-by: Tor Arvid Lund <torarvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4