From owner-freebsd-questions@FreeBSD.ORG Mon Jan 15 23:49:56 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E6A316A415 for ; Mon, 15 Jan 2007 23:49:56 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id 37E9713C428 for ; Mon, 15 Jan 2007 23:49:56 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp2-g19.free.fr (Postfix) with ESMTP id 67860752C for ; Tue, 16 Jan 2007 00:49:55 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 166299D41F; Mon, 15 Jan 2007 23:51:20 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 700B2405D; Tue, 16 Jan 2007 00:51:20 +0100 (CET) Date: Tue, 16 Jan 2007 00:51:19 +0100 From: Jeremie Le Hen To: freebsd-questions@FreeBSD.org Message-ID: <20070115235119.GE4259@obiwan.tataz.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: jeremie@le-hen.org Subject: Diffing RELENG_6 between two dates from cvs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 23:49:56 -0000 Hi list, (Please Cc: my in your replies.) I am looking for a way to achieve what I would intuitively write: cvs diff -r RELENG_6 -D -D Some people would point me to the info-cvs mailing-list for this question doesn't seem to be related to FreeBSD. Nonetheless FreeBSD 6 has cvs 1.11.17-FreeBSD and I am pretty sure that cvs guys would to me to use a newer version of cvs: this is indeed a FAQ [1]. Starting at version 1.12.12, cvs can handle the following syntax: cvs diff -r : -r : [1] http://ximbiot.com/cvs/wiki/index.php?title=CVS_FAQ#How_do_I_get_a_date_based_diff_on_a_branch.3F The proposed workaround works but it implies to have write access to the repository. Moreover tagging the whole src/ tree is a bit overkill for such a task. I've read somewhere it is possible to use "cvs diff -j :", but I wasn't able to confirm this. Any clue or pointers are welcome. Thank you. Best regards, PS: In the meantime, one can use "cvs update -r -D " but "cvs status" reveals only a sticky tag. The sticky date is lost, probably because the CVS/Entries file can handle either flag "T" or "D" and not both together. Does any one know how to workaround this, or if it has been addressed in later version of cvs ? -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >