[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Keyword substitution?
From: |
Todd A. Jacobs |
Subject: |
Re: [Monotone-devel] Keyword substitution? |
Date: |
Wed, 27 Jul 2005 08:58:42 -0700 |
User-agent: |
Mutt/1.5.9i |
On Wed, Jul 27, 2005 at 12:40:23PM +0200, Richard Levitte - VMS Whacker wrote:
Nothing stops you from doing exactly what monotone itself is doing,
though; creating a separate file containing the current revision
number and use that as the ident.
Sure there is: exported files. Not everything people keep in VCS is
source code. Web pages, shell scripts, and man pages are some examples
that come to mind where having some sort of version information embedded
in the file itself would be very useful, and where an external "version
file" would not be a reliable mechanism.
And of course, the problem with manually tagging files internally is
that doing so changes the timestamp and revision hash, making it
impossible to do without keyword support. With a manual approach, you
can never accurately tag individual files or an "external" revision file
which is maintained within the collection.
no sense of individual files as there is in CVS, so there's no need to
have the revision in each and every file, because it would be exactly
the same in all of them.
The assumes that all files in a collection are always kept/distributed
together. This is not always a valid assumption. Consider a repository
of perl programs, where the perl programs are distributed independently.
People post perl programs on mailing lists and web pages all the time;
how will they tell the program versions apart with no embedded
information?
--
Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g
- [Monotone-devel] Keyword substitution?, Todd A. Jacobs, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?, Richard Levitte - VMS Whacker, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?, Florian Weimer, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?,
Todd A. Jacobs <=
- Re: [Monotone-devel] Keyword substitution?, Richard Levitte - VMS Whacker, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?, Hendrik Boom, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?, Brian Campbell, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?, Richard Levitte - VMS Whacker, 2005/07/27
- [Monotone-devel] Re: Keyword substitution?, Bruce Stephens, 2005/07/27
- Re: [Monotone-devel] Keyword substitution?, Hendrik Boom, 2005/07/29
- Re: [Monotone-devel] Keyword substitution?, Richard Levitte - VMS Whacker, 2005/07/29
- Re: [Monotone-devel] Keyword substitution?, Hendrik Boom, 2005/07/29
- Re: [Monotone-devel] Keyword substitution?, Nathaniel Smith, 2005/07/29