Change 15605

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 15606
View Review
Download .zip
Per review, Rusty noted a preference for the current behvaior, i.e.
always
doing a login if p4login is called.

This version introduces SDP_ALWAYS_LOGIN, which defaults to 1 (enabled),
which preserves the traditional 'always login each time the script is
run' behavior, while allowing the new 'login only if a ticket is not
available' behavior.  (An advantage of the traditional behavior is that
it fixes the case where a human admin does a 'p4 login' but forgets the
'-a' on a server a network card configuration setup such that 'p4 login -a'
is required).

Customers desiring the 'login only if required' can set SDP_ALWAYS_LOGIN=0
in p4_vars.

Also includes style improvements.

#review-15606
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4login#5
Loading...
Tip: Use n and p to cycle through the changes.