[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Keyword substitution?
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] Keyword substitution? |
Date: |
Wed, 27 Jul 2005 22:47:41 +0200 (CEST) |
In message <address@hidden> on Wed, 27 Jul 2005 14:09:32 -0400, Hendrik Boom
<address@hidden> said:
hendrik> Perhaps a revision number could be inserted (if desired)
hendrik> when a revision is checked in, thather than when it is
hendrik> exported? That way the external version will be identical to
hendrik> the one in the database?
If done on checkin, it will generate all kinds of problems. First of
all, since the revision has a hash of the manifest, which has a hash
of the file, changing the file will change the hash of the file, which
will change the manifest, which will change the hash of the manifest,
which will change the revision, which will change the revision hash
(ID), so you need to change that in the file... Now, let's all sing:
o/~ Neverending sto-ory... o/~
hendrik> Or maybe it could be inserted when the file is exported from
hendrik> monotone to elsewhere, if desired. And at the same time
hendrik> create that revision -- with the externally known revision
hendrik> number -- into the monotone data base, possibly marked as an
hendrik> exported version?
Well, substitution could happen on export, as long as the keywords are
canonicalised back. If that's to happen, I actually like the
subversion way, where you have to say explicitely which keywords
should be expanded. If monotone is to have keywords, I suggest doing
it that way (perhaps by creative use of .mt-attrs).
Either way, keyword expansion is an error-prone business which
requires great thought and care, so let's not rush into it. We have
bigger issues to deal with, so I suggest we put the keyword thought on
hold for now.
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis
- [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, 2005/07/27
- 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 <=
- [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