From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 7 20:02:46 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0171A106566C; Mon, 7 Apr 2008 20:02:46 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id B52E98FC1A; Mon, 7 Apr 2008 20:02:45 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id E6AC91CC4C; Mon, 7 Apr 2008 22:02:25 +0200 (CEST) Date: Mon, 7 Apr 2008 22:02:25 +0200 From: Ed Schouten To: John Baldwin Message-ID: <20080407200225.GQ5934@hoeg.nl> References: <20080405145038.GE5934@hoeg.nl> <200804071039.07210.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3sseE1tnmEs+TkKq" Content-Disposition: inline In-Reply-To: <200804071039.07210.jhb@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Hackers Subject: Re: Perforce and `p4 diff2' against the origin X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2008 20:02:46 -0000 --3sseE1tnmEs+TkKq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * John Baldwin wrote: > On Saturday 05 April 2008 10:50:38 am 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? >=20 > One option is to create a label and sync it each time you do an integ. I= do=20 > this for projects/smpng. Then I can do: >=20 > p4 diff2 -u -b smpng @smpng_base #head I just tried this and just wanted to say it works great. This method is quite useful when you want to generate nightly patches and such. Thanks! --=20 Ed Schouten WWW: http://g-rave.nl/ --3sseE1tnmEs+TkKq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkf6fdEACgkQ52SDGA2eCwUhcwCfdVcAs4kxyEpr2o8AzrdaibVv ypMAn2ScvHrWr3sJKlc9KG+nT6/2AL/Z =Qj73 -----END PGP SIGNATURE----- --3sseE1tnmEs+TkKq--