From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KY7A3-0004FX-Dq for garchives@archives.gentoo.org; Tue, 26 Aug 2008 22:37:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1378DE03BD; Tue, 26 Aug 2008 22:37:14 +0000 (UTC) Received: from host171.sitepush.net (213-239-241-171.clients.your-server.de [213.239.241.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 5F15DE03BD for ; Tue, 26 Aug 2008 22:37:13 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by host171.sitepush.net (Postfix) with ESMTP id 1C07213EC0B3 for ; Wed, 27 Aug 2008 00:37:12 +0200 (CEST) Received: from [192.168.2.102] (p54A20AD0.dip0.t-ipconnect.de [84.162.10.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by host171.sitepush.net (Postfix) with ESMTP id F0EAA13EC09B for ; Wed, 27 Aug 2008 00:37:11 +0200 (CEST) Message-ID: <48B48595.4040208@necoro.eu> Date: Wed, 27 Aug 2008 00:37:09 +0200 From: =?UTF-8?B?UmVuw6kgJ05lY29ybycgTmV1bWFubg==?= User-Agent: Thunderbird 2.0.0.16 (X11/20080728) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Usages of CVS $Header$ keyword in ebuilds - use cases wanted References: <20080826204036.GE30560@curie-int.orbis-terrarum.net> <20080826154107.373c7095@xdune.lan> <20080826205421.GF30560@curie-int.orbis-terrarum.net> <20080826155909.6d2ba7a6@xdune.lan> <20080826214525.GH30560@curie-int.orbis-terrarum.net> <20080826165750.07a3792c@xdune.lan> <20080826222516.GI30560@curie-int.orbis-terrarum.net> In-Reply-To: <20080826222516.GI30560@curie-int.orbis-terrarum.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at host171.sitepush.net X-Archives-Salt: 5520acf0-7681-415d-b3ed-30eb368f2624 X-Archives-Hash: 8e0db3d419ce137e90d2104ee476061d -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robin H. Johnson schrieb: > On Tue, Aug 26, 2008 at 04:57:50PM -0500, Yuri Vasilevski wrote: >> I am writing a tool that creates deb (as in Debian package format) based >> distributions from gentoo packages and that tool encodes the CVS >> revision as part of "debian revision" of the packages. So I need this >> part to be chronologically ordered, as opposed to have only the >> knowledge of whenever the file has changed or not. > > That is an interesting use case, and would that would present a problem > with any VCS migration. I don't see this problem ... I guess it is possible in all VCS to get the information, which global revision touched a specific file last. For example in bzr (these examples are conceived by me - so probably there is an easier way): bzr log -l1 --line $FILE | cut -f1 -d: - --or: to have the unique rev-id instead of the branch-local rev-number-- bzr log -l1 --show-ids $FILE | grep "revision-id" | cut -f2 -d' ' And hg,svn,git sure have similar abilities. - - Necoro -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki0hZQACgkQ4UOg/zhYFuBTrgCeJ/2gfygwUvWCB5QOibsYz0mN sGMAnRmqz/ChCg6zSAVrS4JljP1+DYRV =g5fE -----END PGP SIGNATURE-----