Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2008 18:03:12 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Perforce and `p4 diff2' against the origin
Message-ID:  <20080405160312.GA66126@freebsd.org>
In-Reply-To: <20080405145038.GE5934@hoeg.nl>
References:  <20080405145038.GE5934@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 05, 2008 at 04:50:38PM +0200, Ed Schouten wrote:
> Hello everyone,
> 
> Because my mpsafetty project in Perforce is going quite well, I'm
> considering running some kind of cron job to generate nightly diffs, so
> other people (interested friends, colleagues and others) to test my
> work.
> 
> I've read `p4 help diff2' and it seems you can run the following
> command:
> 
> 	p4 diff2 -b mpsafetty
> 
> Unfortunately this command just does a braindead diff against the latest
> FreeBSD vendor source, which is not useful in my case. I just want it to
> generate a diff against the version I integrated.
> 
> Is it possible to do this with Perforce?

this is what I use

p4 diff2 -du //depot/vendor/freebsd/src/sys/...@131880 //depot/projects/soc2007/rdivacky/linux_at/sys/...  | ~/awkdiff


you can adjust that to your needs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080405160312.GA66126>