-----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. > <snip> > 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-----
