logo       
Google Custom Search
    AddThis Social Bookmark Button

RE: [p4] Getting file-wise changes between two changelist limited tosome pa: msg#00138

Subject: RE: [p4] Getting file-wise changes between two changelist limited tosome path
Carsten --

You could do

p4 flush //...@A
p4 sync -n //...@B

It just depends on what you object to about this type of approach.

Things will also tend to go much faster if you redirect the output to the
null device (UNIX: /dev/null, Window: NUL:) or to a file. Terminal output
can really slow things down.  Try timing the difference between a large
'integrate -v' with and without terminal output.

Steve

Original Message:
-----------------
From: Carsten Orthbandt carsten.orthbandt@xxxxxxxxxx
Date: Tue, 15 Feb 2005 19:35:26 +0100
To: perforce-user@xxxxxxxxxxxx
Subject: [p4] Getting file-wise changes between two changelist limited
tosome path


Hi all!

I fail to find an _easy_ and _fast_ way to do this:
Given two changelists A and B (in any order), a path <PATH> and
a local client _not_ synced to A, I'd like to know the output (or an
equivalent) of

p4 sync -n //<PATH>/...@B

exactly like it would be _if_ the client was synced to A.

I could get the changelists between A and B, limited to my path and then
collect all the file changes in them. But this seems quite labourious
since files might not only get edited multiple times, but also be
branched,
deleted, re-added, whatever...

Is there an easy way to get this list? Format doesn't really matter, I
just
want to avoid the two solutions I found by now:
- parsing all changelists
- actually do the sync //...@A and use sync -n

Thanks in advance,

Carsten Orthbandt
Founder + Development Director
SEK SpieleEntwicklungsKombinat GmbH
http://www.sek-ost.de

Wenn ich Visionen habe, gehe ich zum Arzt. - Helmut Schmidt

_______________________________________________
Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
Learn more: http://www.perforce.com/conf 

perforce-user mailing list  -  perforce-user@xxxxxxxxxxxx
http://maillist.perforce.com/mailman/listinfo/perforce-user


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



_______________________________________________
Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
Learn more: http://www.perforce.com/conf 

perforce-user mailing list  -  perforce-user@xxxxxxxxxxxx
http://maillist.perforce.com/mailman/listinfo/perforce-user




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>