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

Re: 'svn log' lost an author name.

From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Fri, 29 Feb 2008 13:07:30 -0600

On Feb 29, 2008, at 06:46, paptimusx wrote:

> On Feb 29, 2008, at 05:48, Lieven Govaerts wrote:
>
>> paptimusx scirocco wrote:
>>>
>>
>>> I noticed that author's information has disappeared from the
>>> result of 'svn log'. why?
>>> How should I do?
>>> author information of old revision in the CVS age (converted it
>>> with cvs2svn) remains.
>>> thanx in advance.
>>> -pa*x
>>> % svn info README.TXT
>>> Path: README.TXT
>>> Name: README.TXT
>>> URL: http://server/svn/SRC/.../README.TXT
>>> Revision: 9474
>>> Node Kind: file
>>> Schedule: normal
>>> Last Changed Author: myname <-- ok
>>> Last Changed Rev: 9474
>>> Last Changed Date: 2007-12-26 11:27:09 +0900 (Wed, 26 12 2007)
>>> Text Last Updated: 2007-12-26 11:06:10 +0900 (Wed, 26 12 2007)
>>> % svn st -v README.TXT
>>> 9474 9474 myname README.TXT <-- ok
>>> % svn log README.TXT
>>> --------------------------------------------------------------------
>>> ----
>>> r9474 | (no author) | 2007-12-26 11:27:09 +0900 (Wed, 26 12 2007)
>>> | 2
>>> lines <-- why lost
>>> :
>>> --------------------------------------------------------------------
>>> ----
>>> r9451 | (no author) | 2007-12-05 16:14:14 +0900 (Wed, 05 12 2007)
>>> | 2
>>> lines <- svn, why lost?
>>> :
>>> --------------------------------------------------------------------
>>> ----
>>> r9025 | myname | 2007-07-19 21:15:27 +0900 (Thu, 19 7 2007) | 4
>>> lines
>>> <- cvs
>>
>> One possible reason is that you don't have read-access anymore to
>> that file.
>>
>> You can check if there's still an author set on that revision by
>> getting the 'svn:author' revision property:
>>
>> % svn pg --revprop -r 9474 "svn:author" http://server/svn/SRC
>
> thank you for your answer Lieven.
>
> Is anything understood from this?

You never executed the command that Lieven recommended...

> % svn pl README.TXT
> roperties on 'README.TXT':
> svn:keywords
> svn:eol-style

svn:author is a revision property, not a versioned property.

> % svn pg --revprop -r 9474 README.TXT

You didn't tell it what property to get.

> % svn pl -r 9474 README.TXT
> Properties on 'http://server/svn/.../README.TXT':
> svn:keywords
> svn:eol-style
>
> % svn pl -r 9474 http://server/svn/.../README.TXT
> Properties on 'http://server/svn/.../README.TXT':
> svn:keywords
> svn:eol-style

svn:author is a revision property, not a versioned property.

> % svn pg --revprop -r 9474 http://server/svn/.../README.TXT
> (no message)

You didn't tell it what property to get.

> % svn info README.TXT
> Path: README.TXT
> Name: README.TXT
> URL: http://server/svn/.../README.TXT
> Repository Root: http://server/svn/..
> Repository UUID: 4fe207a9-67fb-534b-a93f-28f524836101
> Revision: 9528
> Node Kind: file
> Schedule: normal
> Last Changed Author: myname
> Last Changed Rev: 9528
> Last Changed Date: 2008-02-29 11:47:18 +0900 (Fri, 29 2 2008)
> Text Last Updated: 2008-02-29 11:37:32 +0900 (Fri, 29 2 2008)
> Checksum: f9577769fa668f8c29d29edfb90688ca
>
> % svn info -r9474 README.TXT
> Path: README.TXT
> Name: README.TXT
> URL: http://server/svn/.../README.TXT
> Repository Root: http://server/svn/..
> Repository UUID: 4fe207a9-67fb-534b-a93f-28f524836101
> Revision: 9474
> Node Kind: file
> Last Changed Rev: 9474
> Last Changed Date: 2007-12-26 11:27:09 +0900 (Wed, 26 12 2007)
>
> % svn info -r HEAD README.TXT
> Path: README.TXT
> Name: README.TXT
> URL: http://server/svn/.../README.TXT
> Repository Root: http://server/...
> Repository UUID: 4fe207a9-67fb-534b-a93f-28f524836101
> Revision: 9530
> Node Kind: file
> Last Changed Rev: 9528
> Last Changed Date: 2008-02-29 11:47:18 +0900 (Fri, 29 2 2008)

As per Lieven's message, you should try:

svn pg --revprop -r 9474 "svn:author" http://server/svn/.../README.TXT

But the above output is already interesting in that it does not show
a "Last Changed Author" for r9474 or rHEAD. So I suspect the "svn pg"
command above is going to show that the property is empty.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-29 20:08:30 CET

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.