[OSM-dev] svn again, revision number in public file?

Karl Newman siliconfiend at gmail.com
Thu May 28 18:17:38 BST 2009


2009/5/28 Iván Sánchez Ortega <ivan at sanchezortega.es>

> El día Thursday 28 May 2009 18:32:27, Ed Loach dijo:
> > Perhaps I'm misunderstanding the issue, but couldn't you just update
> >
> > #  $Revision$ by $Author$, $Date$
> >
> > manually each time you upload a revision?
>
> No, because you can't know the revision number until you've commited the
> file.
> And, at that point, you cannot put the revision number in.
>
> --
> Iván Sánchez Ortega <ivan at sanchezortega.es>
>

I think you're looking for the svn:keywords property:
http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html

Note that after you commit a file with keywords, I think you have to do an
update in order for the keyword values to be properly updated in your
working copy.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090528/490f319d/attachment.html>


More information about the dev mailing list