[p4] How do I get(sync) only those source files that havechanged?
Isaac Rodriguez
isaac.rodriguez at autodesk.com
Wed Mar 14 04:57:23 PST 2007
I will do a p4 sync //...#0 before the real sync to insure that any
previously synched files are removed, then run the command as Robert
shows to sync just the files that have changed.
Thanks,
Isaac
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Robert Cowham
Sent: Wednesday, March 14, 2007 5:44 AM
To: 'Bell, Alan'; 'Perforce list'
Subject: Re: [p4] How do I get(sync) only those source files that
havechanged?
As an aside (because I think the patch question has been answered
below), if
you want only to sync the files, how about
P4 sync //product/sdk/productsdk1.0.0/... at 4000, at 5000
Robert
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Ken Williams
> Sent: 13 March 2007 23:50
> To: Bell, Alan; Perforce list
> Subject: Re: [p4] How do I get(sync) only those source files
> that have changed?
>
> If you want to create a patch, maybe it would be simpler to
> just use the -u flag to diff2:
>
> p4 diff2 -u //product/sdk/productsdk1.0.0/... at 4000
> //product/sdk/productsdk1.0.1/... at 5000
>
> -Ken
>
>
> On 3/13/07 4:05 PM, "Bell, Alan"
> <Alan.Bell at monotypeimaging.com> wrote:
>
> > My company delivers source code and one thing we want to
> automate it
> > our patch generation.
> >
> > To create a patch we use Perforce to identify what files
> have changed
> > between 2 changelists. This list the files that have
> changed but what
> > I am looking for is a way to setup a workspace or branch spec that
> > will only get me those files that have changed between the
> 2 changelists.
> >
> > I have run:
> >
> > p4 diff2 -q //product/sdk/productsdk1.0.0/... at 4000
> > //product/sdk/productsdk1.0.1/... at 5000
_______________________________________________
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