git p4: fix an error message when "p4 where" fails

When "p4 where" fails, for whatever reason, the error message tries to show an undefined variable. This minor bug applies only when using a client spec, and was introduced recently in 9d57c4a (git p4: implement view spec wildcards with "p4 where", 2013-08-30). Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pete Wyckoff committed Jan 21, 2014 at 18:16 UTC 2000544330d5b047074d8043042f7cc66157f8f5
1 file changed +1 -1
git-p4.py
+1 -1
@@ -1871,7 +1871,7 @@ class View(object):
1871 # assume error is "... file(s) not in client view"
1872 continue
1873 if "clientFile" not in res:
1874 - die("No clientFile from 'p4 where %s'" % depot_path)
1874 + die("No clientFile in 'p4 where' output")
1875 if "unmap" in res:
1876 # it will list all of them, but only one not unmap-ped
1877 continue