[p4] p4 -G client -i
Roger Day
roger.day at globalgraphics.com
Thu Jan 11 03:23:17 PST 2007
Thanks everyone for the replies b/c.
support say
client['View0'] ='<view spec>'
:
:
client['View{n}']='<view spec>'
and this works
At 10/01/2007 18:10:25, perforce-user-bounces at perforce.com wrote:
>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.
>_______________________________________________
>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