[p4] p4 -G client -i

Roger Day roger.day at globalgraphics.com
Wed Jan 10 10:10:25 PST 2007


almost works, just doesn't accept the View dictionary field

cmd = self.p4+' -G client -i'
client = {}
client['Client']='pandora'
client['Owner'] ='rday'
client['Root'] ='/Users/build/hope2p4'
client['Options'] ='allwrite noclobber nocompress unlocked modtime 
normdir'
client['View']='//depot/... //pandora/depot/...'
log.info(client)
p = Popen(cmd, stdin=PIPE, stdout=PIPE, shell=True)
marshal.dump(client, p.stdin, 0)
p.stdin.close()
return p.stdout.read()

I've also tried View as a dictionary. When I run up 'p4 client pandora', 
the View field is stubbornly missing.

TIA
Roger

PS Yes, I know about the Python interface to P4 - but the script is almost 
finished.


More information about the perforce-user mailing list