[p4] Checking that a server exists?

Dave Lewis dlewis78731 at gmail.com
Thu Nov 8 09:12:19 PST 2007


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
>


More information about the perforce-user mailing list