[p4] Checking that a server exists?
steve@vance.com
steve at vance.com
Thu Nov 8 14:37:50 PST 2007
'p4 info' does not require a password.
And for verification that a server is there, just the fact that it tells
you that you need a password indicates that a Perforce server is there. Or
at least something that understands that much of the protocol.
Steve
Original Message:
-----------------
From: Dave Lewis dlewis78731 at gmail.com
Date: Thu, 8 Nov 2007 11:12:19 -0600
To: SGross at sjm.com, perforce-user at perforce.com
Subject: Re: [p4] Checking that a server exists?
try p4 info, it may not require a password
dave
On 11/8/07, Gross, Steve <SGross at sjm.com> wrote:
> What's the easiest way to use p4 to determine if a server exists? For
> instance, consider this statement:
> p4 -p someServerName depots
>
> If someServerName exists, p4 should list the depots in it, right?
>
> I've tried this approach, but p4 responds:
> Perforce password (P4PASSWD) invalid or unset.
>
> I've tried to login (successfully), as well as specify the client and/or
> password on the command line. This has not worked, so far.
>
> Any ideas?
>
> Thanks,
> --Steve
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
--------------------------------------------------------------------
mail2web.com What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint
More information about the perforce-user
mailing list