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

Re: copy tag shows repo revision, not tag revision - why?

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Mon, 12 Sep 2011 07:01:26 +1000

On Sun, Sep 11, 2011 at 6:09 AM, sebb <sebbaz_at_gmail.com> wrote:

> When copying a tag (URL -> URL), the log message shows the repo
> revision at the time of the copy, rather than the last commit revision
> of the tag.
>
> This occurs if no revision is specified, or if the revision is
> specified as HEAD.
>

This is correct. The copy operation is copying the tag as it appeared at the
revision specified (ie HEAD), not as at the last commit revision. In your
case, there's no difference.

> The only way to get the log message to show the last commit revision
> of the tag seems to be to specify it on the svn copy command; this is
> tedious and error-prone.
>
> Is there any simpler way to ensure that the log message shows the last
> committed version of the source tag?

No. You can look at the history of the tag ('svn log') to see what the last
change on the source was, though. I'm confused as to why the source copy
revision matters.

Cheers,
Daniel B.
Received on 2011-09-11 23:02:22 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.