[p4] How to avoid getting default client of hostname
David Weintraub
qazwart at gmail.com
Sat Jan 6 15:37:37 PST 2007
This is just the way that Perforce works. The default client is the
name of the machine. That assumes that if each user has their own
system, it guarantees that each user will have a unique client name.
I'd rather the default is the user's name, but I understand the
concern. You do not want to use a single Perforce client on two
different machines that don't share the same directory. Clients named
after user names would have that. Clients named after the machine
won't.
I used a script to create to create new Perforce users. If a user was
a Windows user, I created a default client for them, then emailed them
a custom *.reg file that would setup the default client name, user ID,
and server.
You can also take a look at tech note #68
<http://www.perforce.com/perforce/technotes/note068.html> about
scripting scripting the Windows installations (there's one for P4V and
one for P4win). By using these, you can change the default client name
to something else.
On 1/4/07, William Deegan <bdbaddog at gmail.com> wrote:
> > I got by this problem by putting a p4.config file at my root directory
> > (in my case C:\) that had P4CLIENT set blank.
> I'd like to be able to do this for all users. Perhaps a server setting?
> It's not so much myself that the problem is caused by, but some of the
> newer users.
>
> -Bill
> >
> > >>> "William Deegan" <bdbaddog at gmail.com> 1/4/2007 1:16 PM >>>
> > Greetings,
> >
> > I use p4.config to set my P4CLIENT, however if I'm outside of a
> > perforce client
> > the default client seems to be the machine name.
> >
> > Is there a way to turn of this defaulting, so there would be no
> > client?
> >
> > Thanks,
> > Bill
> > _______________________________________________
> > 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
>
--
--
David Weintraub
qazwart at gmail.com
More information about the perforce-user
mailing list