[p4] Folder Diff from command line

Hugues Moreau hugues.moreau at cggveritas.com
Mon Oct 20 01:30:00 PDT 2008


The command I tried ("p4v -merge") actually invokes p4merge. I also 
tried p4merge directly, with no more success : it does not seem to 
accept directories. When I said I was surprised to find nothing, I did 
not mean only in the list's archives, but also in the docs, or in the 
whole intarweb :o)

Maybe I need to improve my googling skills, but frankly at this point I 
have no idea, and I suspect it's not possible yet.

Thanks anyway,

Hugues

steve at vance.com wrote:
> P4Merge is a separate executable. I don't know the command line arguments,
> but I think you can find them on the list, in the docs, in the app, or
> maybe from support.
>
> For a textual diff, you can use 'p4 diff2'.
>
> Steve
>
> Original Message:
> -----------------
> From: Hugues Moreau hugues.moreau at cggveritas.com
> Date: 	Fri, 17 Oct 2008 17:50:03 +0200
> To: perforce-user at perforce.com
> Subject: [p4] Folder Diff from command line
>
>
> Hi,
>
> Using p4v's "Diff against..." feature, you can get a folder diff between 
> the user's workspace files and the corresponding tree on the depot 
> (among other options not relevant here). Nice. I would like to get this 
> from the command line, but can't find how. Is it only possible ?
>
> I tried "p4v -merge", with no success. Apparently it accepts only local 
> files, no folders. So in the end I'm not sure it is a good candidate.
>
> Any idea ?
> Bonus points if you know how to automatically expand all nodes in the 
> "Folder Diff" view (I fail to see why I have to manually expand each 
> node: the full tree is already processed anyway).
>
> Btw, I need this because I work under the Eclipse IDE, and I would like 
> to directly use some perforce tools directly from Eclipse. I already 
> managed to get the time lapse view,  graph revision and file history, 
> the dirty hack part being "how to get the appropriate port/client/user 
> from the current selection in eclipse" (anyone interested just ask). Now 
> I need this Folder Diff against the depot ; it would more or less 
> compensate for the lacking "Team Synchronize" features, provided you 
> hide identical file pairs.
>
> Thanks for any input or directions (and sorry if it has already been 
> discussed, I was surprised to find nothing...)
>
> Hugues
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
> --------------------------------------------------------------------
> mail2web LIVE – Free email based on Microsoft® Exchange technology -
> http://link.mail2web.com/LIVE
>
>
>
>   





More information about the perforce-user mailing list