On Sat, 21 Apr 2007 12:00:55 +0200
Thilo Bangert <[EMAIL PROTECTED]> wrote:

> > I do the same.  The '$Header: $' tells me which version of a file in
> > the CVS tree I last synced to in my overlay, then I can just do a
> > cvs diff on the tree to get a patch of differences since then.  Very
> > useful.
> 
> right - but this functionality would not go away - it would just have
> to be implemented differently. a potential move to git would make
> this much more easy, if i am not mistaken.

By "implemented differently" you mean "by adding extra steps and data
to the synchronisation process".  Currently, I compare the Header field
in my overlay (which SVN doesn't touch) with that in the Gentoo CVS,
and use the difference to drive the 'cvs diff' command to get a patch.

Removing the header would mean I'd have to record the origin version
somewhere, and keep that up-to-date whenever the file is
re-synchronised.

Having said that, it only works for me because my overlay is in SVN and
and is not configured to process CVS header keywords.

However I can honestly say that in my experience, the file revision
identification is _always_ recorded in the file - I've never yet seen
an SCM used in practice that didn't have that information.  The reason
people put that information in, is so that when the file is taken out
of the context of the SCM repository, it's still clear where it came
from.  This is precisely how I'm using it.

-- 
Kevin F. Quinn

Attachment: signature.asc
Description: PGP signature

Reply via email to