Perforce P4CONFIG not being set? -
firstly i'm total beginer perforce, , i'm learning through documentations mostly.
so, migrate cvs perforce, , learned way avoid changing p4client each workspace, creating p4config file inside workspace root.
so have used command:
p4 set p4config=p4config
(and current directory workspace root, , p4config.txt located there)
in p4config file have following:
p4port=host:port p4user=user p4client=myworkspace
i have created 'myworkspace' command 'p4 client' mapping myworkspace root , alright.
however when try command
p4 info
it shows 'client name:' hostname, showing variable haven't been set.
and when try 'p4 set p4config' prints:
p4config=p4config.txt (set) (config 'noconfig')
i've tried p4config.txt full path, , still gets same...
does have idea problem is?
by way, it's running on windows.
if file 'p4config.txt', should do
p4 set p4config=p4config.txt
not
p4 set p4config=p4config
you'll know it's working when 'p4 set' prints "(config 'p4config.txt')".
Comments
Post a Comment