[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Keywords to include full wc last updated info?

From: dharana <dharana_at_dharana.net>
Date: 2004-07-21 19:31:22 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Uhm, well it seems an inexpensive solution is not available (i wouldn't
want every skel.html(php) to call svnversion).

I read the documentation about repository hooks but it seems it's not
possible to modify the wc from where you're updating or comitting.

Is it possible to make, let's say, "svn up" clear an ignored file (or
execute an script) on the wc? Hooks only execute at the repository,
right? So I don't see how it could be done.

That way I would be able to cleanly cache the svnversion output into a
file ignored by svn but automatically removed / updated on svn update.

Ben Collins-Sussman wrote:

| On Wed, 2004-07-21 at 12:06, dharana wrote:
|
|
|>I currently call "svn info ." and grep it's output but it's not
|>something I would consider clean and resource inexpensive.
|
|
| That only tells you the working rev of the root directory of your
| working copy. Your working copy (more-than-likely) has mixed working
| revisions scattered throughout, especially if it's been a long time
| since you ran 'svn up'.
|
| You should be running the 'svnversion' program to get a summary of the
| working revs in your working copy. Here's the FAQ you should be
| following:
|
| http://subversion.tigris.org/project_faq.html#version-value-in-source
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
| For additional commands, e-mail: users-help@subversion.tigris.org
|
|
|

- --
Juan Alonso

This message represents the official view of the voices in my head
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA/qhqccck1ev4GhgRApODAJ4nx7/lx7XzLUlh7atNOjRzxWz19gCfcjyB
fSKIuUvT2khhYuOkMs61rp4=
=H0sY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 21 19:31:59 2004

This is an archived mail posted to the Subversion Users mailing list.