On Thu, Dec 26, 2002 at 06:42:46PM -0800, Rob Clark wrote:
[snip]
> "populate"
> ----------
>
> it would be nice to have a command to automatically add/remove files
> that have been added/removed since the last checkout/update, like with
> prcs's populate. Perhaps file properties on the directory could be
[snip]
My understanding is that tools/client-side/svn_load_dirs.pl was written
with this sort of thing in mind. I've never tried it though.
> keywords
> --------
>
> From looking through the mailing list archives, this has come up
> before. Having per-file keywords is fine, and I will be using them for
> sure, but it will be a step backwards from prcs to not have per-project
> (per-repository) keywords, at least when I export a release. I think a
> compromise solution would be a way to have an export-hook script which
> would run on the server when a client is doing an export... if that
> export script was able to modify the files sent to the client, then I
> could implement my own keyword substitution.
>
> I am not sure if export is a client side only thing, or not... if it is
> client side only, then maybe I could do the same thing with a checkout
> hook that did the keyword substitution, and perhaps a commit hook that
> undid the substitution.
AFAIK svn export is implemented as a checkout and then removal of all
the .svn directories. There is currently no checkout hook, but if you
have keyword substitution set for all the files you're interested in,
then the checkout process will expand all the keywords for you anyway.
I assume you mean you don't want to have to apply the same svn:keywords
property to every file in your huge repository and every time you add a
new file instead of once for the whole repository?
> keywords 2
> ----------
>
> a $Format: "some string"$ keyword, which replaces the following line
> with the specified string with all keywords expanded... for example,
[snip]
There is an issue filed for this:
http://subversion.tigris.org/issues/show_bug.cgi?id=890
If you need this sort of thing before issue 890 is resolved, it's not
very difficult to add your own keyword to your copy of svn.
So you could add a $oscript$ keyword which expands to whatever you need.
--
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 27 08:31:02 2002