On Fri, Dec 27, 2002 at 05:19:47PM -0600, Karl Fogel wrote:
> Seth Landsman <email@example.com> writes:
> > So I'm slowing trying to convert my CVS use to SVN. One feature which
> > is bothering me is the use of svn:keywords. Generally, all my source
> > files have an $Id$ substitution. It would be annoying to have to run
> > svn propset of each file (though I could get by with a perl script) but
> > it would be impossible to train the other people in my group to run svn
> > propset when making a new file.
> > Is there any way to have a sticky svn:keywords property on a directory?
> > Or set a default svn:keywords property for a repository?
> I think there'd be a higher chance of it happening for the directory
> than for the repository, as we already have a mechanism for the
> former, whereas the latter requires protocol changes.
Makes sense to me. I wonder if there would be room for a set of
defaults, though? I am wondering why things like $Id$ are not
automatically expanded by default, as they are in CVS?
> So: How would people feel about svn:keywords on a directory having the
> same effect as that property set for every file immediately in the
> directory (would be overridden by per-file properties, of course)?
> My instinct is that it shouldn't descend into subdirs, you'd just have
> to set it on every directory you care about.
Looking at my pattern of development (and only my pattern of
development, I could be wrong in the general case), I'd make heavy use
of the concept of "sticky" tags. i.e., I would like to turn on $Id$
for my whole project. If I come across a situation where the expansion
is in appropriate, I would turn it off for that file. The issue here is
that, as CVS users, where you do not have that option (for the most
part), we are very careful about the use of expanded strings in our
> By asking, I'm not volunteering to write this :-). But it might be a
> small patch. Let's first decide if we want it, though...
I had another thought which might be a valid compromise. Is it
possible to write a server-side commit script which would set
it is by will alone I set my mind in motion
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sat Dec 28 15:52:42 2002