On 11/08/11 17:02, Giulio Troccoli wrote:
On 11/08/11 16:59, Michael Hüttermann wrote:
Hello,
given a Subversion tag, what's the best way to get the revision
number of that tag, i.e. the revision number with which the tag was
created? Is it possible at all having checked out the tag to a local
working copy? Or is there any other way to cross-reference a "tag" to
a revision number?
Thanks.
Michael
I think svn log --limit 1 would work. It will give you the last log
when the tag was modified. Since a tag should never be modified that
log should refer to the copy
G
Obviously there will need to be some parsing of the output if you want
just the revision number (to be used in a script for example)