[p4] PowerShell Integration
Robert Cowham
robert at vaccaperna.co.uk
Thu Nov 30 07:38:20 PST 2006
No need to start from scratch:
Courtesy of Shawn Hladky:
http://public.perforce.com:8080/@md=d&cd=//guest/shawn_hladky/&ra=s&c=CQu@//
guest/shawn_hladky/P4.Net/?ac=83
Robert
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of
> mancaus.40868864 at bloglines.com
> Sent: 30 November 2006 09:49
> To: perforce-user at perforce.com
> Subject: Re: [p4] PowerShell Integration
>
> Yes, that's sort of what I was thinking too.
>
>
>
> I'll have a look at the Ruby
> implementation - it's probably a good starting point and, as
> much as it will grate with many, powershell does pay quite a
> homage to Ruby.
>
>
>
> Ideally I'd
> like to be able to do a
>
> # Revert open changelists with comments beginning "Temp"
>
> Get-P4Changes ... | ?{
>
> $_.Comment.StartsWith( "Temp" } -and $_.IsOpen
> | %{
>
> $_.Revert()
>
> }
>
> }
More information about the perforce-user
mailing list